Bug 206874

Summary: [GTK] imported/w3c/web-platform-tests/cors/origin.htm is failing since r251490
Product: WebKit Reporter: Diego Pino <dpino>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Diego Pino 2020-01-28 07:07:42 PST
wk-testhunter shows the following range when the regression happens:

r251482                       NOERROR
[r251483-r251497]             UNKNOWN
r251498                       TEXT (Expected: PASS)

Inspecting r251483-r251498, it seems the likely cause for the regression is r251490.

Diff:

--- /imported/w3c/web-platform-tests/cors/origin-expected.txt
+++ /imported/w3c/web-platform-tests/cors/origin-actual.txt
@@ -25,13 +25,13 @@
 PASS Disallow origin: http://localhost:8800%23
 PASS Disallow origin: http://localhost:8800:80
 PASS Disallow origin: http://localhost:8800, *
-PASS Disallow origin: http://localhost:8800\0 
+FAIL Disallow origin: http://localhost:8800\0 assert_throws: send function "function () { client.send() }" did not throw
 PASS Disallow origin: HTTP://LOCALHOST:8800
 PASS Disallow origin: HTTP://localhost:8800
 PASS Disallow origin: -
 PASS Disallow origin: **
-PASS Disallow origin: \0* 
-PASS Disallow origin: *\0 
+FAIL Disallow origin: \0* assert_throws: send function "function () { client.send() }" did not throw
+FAIL Disallow origin: *\0 assert_throws: send function "function () { client.send() }" did not throw
 PASS Disallow origin: '*'
 PASS Disallow origin: "*"
 PASS Disallow origin: * *
@@ -40,7 +40,7 @@
 PASS Disallow origin: *http://localhost:8800
 PASS Disallow origin: * http://localhost:8800
 PASS Disallow origin: *, http://localhost:8800
-PASS Disallow origin: \0http://localhost:8800 
+FAIL Disallow origin: \0http://localhost:8800 assert_throws: send function "function () { client.send() }" did not throw
 PASS Disallow origin: null http://localhost:8800
 PASS Disallow origin: http://example.net
 PASS Disallow origin: null
Comment 1 Diego Pino 2022-12-28 23:54:50 PST
The test(s) file under this bug is no longer failing. The test(s) was removed from TestExpectation in https://commits.webkit.org/258351@main.
Comment 2 Radar WebKit Bug Importer 2022-12-28 23:55:57 PST
<rdar://problem/103754689>