[Webkit-unassigned] [Bug 220096] New: Remove non-inclusive language from tests in http/tests/xmlhttprequest

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 22 11:37:51 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=220096

            Bug ID: 220096
           Summary: Remove non-inclusive language from tests in
                    http/tests/xmlhttprequest
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bdakin at apple.com

See results of 'report-non-inclusive-language --verbose' inside http/tests/xmlhttprequest below. I tried re-naming everything, but the tests broke (failure diff below), and I don't understand these tests enough to take the investigation much further. 

Script output:
access-control-basic-allow-list-request-headers.html: whitelist: 1
access-control-basic-allow-list-response-headers.html: whitelist: 1
resources/access-control-basic-whitelist-response-headers.cgi: whitelist: 2
Total: 4 (blacklist: 0, whitelist: 4, slave: 0)


Failure from simple re-name:
--- /Volumes/Data/worker/macOS-Mojave-Debug-WK1-Tests-EWS/build/layout-test-results/http/tests/xmlhttprequest/access-control-basic-allow-list-request-headers-expected.txt
+++ /Volumes/Data/worker/macOS-Mojave-Debug-WK1-Tests-EWS/build/layout-test-results/http/tests/xmlhttprequest/access-control-basic-allow-list-request-headers-actual.txt
@@ -1,6 +1,4 @@
-Accept: *
-Accept-Language: ru
-Content-Language: ru
-Content-Type: text/plain
+CONSOLE MESSAGE: Origin http://127.0.0.1:8000 is not allowed by Access-Control-Allow-Origin.
+CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/resources/access-control-basic-allowlist-request-headers.cgi due to access control checks.
+Unexpected exception: NetworkError:  A network error occurred.

-


--- /Volumes/Data/worker/macOS-Mojave-Debug-WK1-Tests-EWS/build/layout-test-results/http/tests/xmlhttprequest/access-control-basic-allow-list-response-headers-expected.txt
+++ /Volumes/Data/worker/macOS-Mojave-Debug-WK1-Tests-EWS/build/layout-test-results/http/tests/xmlhttprequest/access-control-basic-allow-list-response-headers-actual.txt
@@ -1,9 +1,4 @@
-PASS: Response header cache-control allowed.
-PASS: Response header content-language allowed.
-PASS: Response header content-type allowed.
-PASS: Response header expires allowed.
-PASS: Response header last-modified allowed.
-PASS: Response header pragma allowed.
-PASS: Response header x-webkit denied.
-PASS: Non-allowlisted headers not passed to getAllResponseHeaders().
+CONSOLE MESSAGE: Origin http://127.0.0.1:8000 is not allowed by Access-Control-Allow-Origin.
+CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/resources/access-control-basic-allowlist-response-headers.cgi due to access control checks.
+CONSOLE MESSAGE: NetworkError:  A network error occurred.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201222/4593aed7/attachment.htm>


More information about the webkit-unassigned mailing list