Bug 243841

Summary: REBASELINE(253320@main): [ iOS macOS wk2 ] imported/w3c/web-platform-tests/html/dom/idlharness.https.html is a constant failure
Product: WebKit Reporter: Hercules Hjalmarsson <hhjalmarsson>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: rniwa, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Hercules Hjalmarsson 2022-08-11 13:00:02 PDT
imported/w3c/web-platform-tests/html/dom/idlharness.https.html

Is a constant text failure on macOS and iOS ToT and since 253320@main.

HISTORY:
https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fdom%2Fidlharness.https.html

DIFF:
--- /Volumes/Data/worker/Apple-Monterey-Release-AppleSilicon-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt
+++ /Volumes/Data/worker/Apple-Monterey-Release-AppleSilicon-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/html/dom/idlharness.https-actual.txt
@@ -1,7 +1,3 @@
-CONSOLE MESSAGE: [blocked] The page at https://localhost:9443/html/dom/idlharness.https.html was not allowed to display insecure content from http://invalid/.
-
-CONSOLE MESSAGE: Not allowed to request resource
-CONSOLE MESSAGE: EventSource cannot load http://invalid/ due to access control checks.
 HTML IDL tests

DIFF URL:
https://build.webkit.org/results/Apple-Monterey-Release-AppleSilicon-WK2-Tests/253337@main%20(4570)/imported/w3c/web-platform-tests/html/dom/idlharness.https-pretty-diff.html
Comment 1 Radar WebKit Bug Importer 2022-08-11 13:00:28 PDT
<rdar://problem/98524641>
Comment 2 Hercules Hjalmarsson 2022-08-11 13:03:46 PDT
I was able to reproduce this issue on macOS ToT running command:

run-webkit-tests imported/w3c/web-platform-tests/html/dom/idlharness.https.html
Comment 3 EWS 2022-08-11 13:17:29 PDT
Test gardening commit 253347@main (4d4f33ac2665): <https://commits.webkit.org/253347@main>

Reviewed commits have been landed. Closing PR #3238 and removing active labels.
Comment 4 Hercules Hjalmarsson 2022-08-11 15:06:12 PDT
Rebaselining test to resolve issue since console message should be included.
Comment 5 Ryosuke Niwa 2022-08-11 15:08:52 PDT
(In reply to Hercules Hjalmarsson from comment #4)
> Rebaselining test to resolve issue since console message should be included.

I think the issue is that console message shouldn't be there given these expectations:

LayoutTests/TestExpectations:[ Release ] imported/w3c/web-platform-tests/html/dom/idlharness.https.html [ DumpJSConsoleLogInStdErr ]
LayoutTests/TestExpectations:[ Debug ] imported/w3c/web-platform-tests/html/dom/idlharness.https.html [ Skip ]
Comment 6 Hercules Hjalmarsson 2022-08-11 16:09:53 PDT
*** Bug 243852 has been marked as a duplicate of this bug. ***
Comment 7 Hercules Hjalmarsson 2022-08-11 16:12:05 PDT
Correction:

Console message is NOT suppose to appear in expected output. Removed message and corrected other expected outputs which had a missing blank space in the following bug filed:

https://bugs.webkit.org/show_bug.cgi?id=243852. (Rebaselined tests)
Comment 8 Hercules Hjalmarsson 2022-08-11 16:24:30 PDT
(In reply to Hercules Hjalmarsson from comment #7)
> Correction:
> 
> Console message is NOT suppose to appear in expected output. Removed message
> and corrected other expected outputs which had a missing blank space in the
> following bug filed:
> 
> https://bugs.webkit.org/show_bug.cgi?id=243852. (Rebaselined tests)

Note:

I reverted the changes made in this bug(243841) and rebaselined in(243852). Assigning this bug to me to verify. All of the outputs were missing a blank new line, not a blank space.
Comment 9 Ryosuke Niwa 2022-08-11 19:42:38 PDT
Fixed by rebaseline.