Bug 244992

Summary: Rebaseline (254246@main): [ Monterey wk2 ] Two http/tests/security/xss-DENIED-xsl-external-entity tests are a consistent failure
Product: WebKit Reporter: Karl Rackler <rackler>
Component: New BugsAssignee: Karl Rackler <rackler>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Karl Rackler 2022-09-09 11:09:17 PDT
Description:
http/tests/security/xss-DENIED-xsl-external-entity.xml

The test was consistently passing until 254247@main, when the test began consistently failing. 

History:
https://results.webkit.org/?suite=layout-tests&test=http%2Ftests%2Fsecurity%2Fxss-DENIED-xsl-external-entity.xml&version_name=Monterey&flavor=wk2

Diff/:
--- /Volumes/Data/worker/Apple-Monterey-Release-WK2-Tests/build/layout-test-results/http/tests/security/xss-DENIED-xsl-external-entity-expected.txt
+++ /Volumes/Data/worker/Apple-Monterey-Release-WK2-Tests/build/layout-test-results/http/tests/security/xss-DENIED-xsl-external-entity-actual.txt
@@ -1,3 +1,5 @@
+CONSOLE MESSAGE: Unsafe attempt to load URL http://localhost:8000/security/resources/target.xml from origin http://127.0.0.1:8000. Domains, protocols and ports must match.
+
 CONSOLE MESSAGE: Unsafe attempt to load URL http://localhost:8000/security/resources/target.xml from origin http://127.0.0.1:8000. Domains, protocols and ports must match.
 
 This test includes a cross-origin external entity. It passes if the load fails and thus there is no text below this line.
Comment 1 Radar WebKit Bug Importer 2022-09-09 11:09:36 PDT
<rdar://problem/99751762>
Comment 2 Karl Rackler 2022-09-09 11:19:29 PDT
Edit - 
The text expectation was migrated at 254246@main and seems to be the regression point.

This test appears just to need to be rebaselined for Monterey.
Comment 3 Karl Rackler 2022-09-09 11:41:09 PDT
This also affects test http/tests/security/xss-DENIED-xsl-external-entity-redirect.xml
Comment 4 Karl Rackler 2022-09-09 11:47:46 PDT
Pull request: https://github.com/WebKit/WebKit/pull/4181
Comment 5 EWS 2022-09-09 11:48:45 PDT
Test gardening commit 254316@main (bf98a7f5da85): <https://commits.webkit.org/254316@main>

Reviewed commits have been landed. Closing PR #4181 and removing active labels.
Comment 6 EWS 2022-09-09 12:16:10 PDT
Test gardening commit 254318@main (aef5784f8015): <https://commits.webkit.org/254318@main>

Reviewed commits have been landed. Closing PR #4184 and removing active labels.
Comment 7 EWS 2022-09-09 16:00:35 PDT
Test gardening commit 254334@main (81c010ff9aae): <https://commits.webkit.org/254334@main>

Reviewed commits have been landed. Closing PR #4199 and removing active labels.
Comment 8 Karl Rackler 2022-09-12 06:40:25 PDT
Verified after the rebaseline for Monterey landing at 254334@main that the tests are consistently passing.