[Webkit-unassigned] [Bug 240024] New: REGRESSION (r293427): [ iOS ] http/tests/quicklook/same-origin-xmlhttprequest-allowed.html is a constant failure and crash

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 3 10:40:12 PDT 2022


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

            Bug ID: 240024
           Summary: REGRESSION (r293427): [ iOS ]
                    http/tests/quicklook/same-origin-xmlhttprequest-allowe
                    d.html is a constant failure and crash
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rackler at apple.com

Description:
http/tests/quicklook/same-origin-xmlhttprequest-allowed.html

This test is constant failing one [ iOS Release ] and constant crashing on [ iOS Debug ].  The first failure that I saw on the dashboard was 4/26/2022 r293432, but does not seem relevant. 

Commit r293427 at Canonical link: https://commits.webkit.org/249987@main | git-svn-id: https://svn.webkit.org/repository/webkit/trunk@293427 268f45cc-cd09-0410-ab3c-d52691b4dbfc modified some files that seem to have introduced the constant failures and crashes. 

REPRODUCTION STEPS
I can reproduce this constant failure and constant crash on r293427, but am unable to reproduce it on r293426 or earlier.

[ iOS Release ]
Command: 
run-webkit-tests --root 293427 --ios-simulator --exit-after-n-failures 1 --exit-after-n-crashes-or-timeouts 1 --iterations 50 --no-retry http/tests/quicklook/same-origin-xmlhttprequest-allowed.html

Result: 
Regressions: Unexpected text-only failures (1)
  http/tests/quicklook/same-origin-xmlhttprequest-allowed.html [ Failure ]

[ iOS Debug ]
Command: 
run-webkit-tests --root 293427-debug  --ios-simulator --debug --exit-after-n-failures 1 --exit-after-n-crashes-or-timeouts 1 --iterations 50 --no-retry http/tests/quicklook/same-origin-xmlhttprequest-allowed.html

Result: 
Regressions: Unexpected crashes (1)
  http/tests/quicklook/same-origin-xmlhttprequest-allowed.html [ Crash ]

History:
https://results.webkit.org/?suite=layout-tests&test=http%2Ftests%2Fquicklook%2Fsame-origin-xmlhttprequest-allowed.html&platform=ios&limit=50000

[ iOS Release ]
Diff:
--- /Volumes/Data/worker/Apple-iOS-15-Simulator-Release-WK2-Tests/build/layout-test-results/http/tests/quicklook/same-origin-xmlhttprequest-allowed-expected.txt
+++ /Volumes/Data/worker/Apple-iOS-15-Simulator-Release-WK2-Tests/build/layout-test-results/http/tests/quicklook/same-origin-xmlhttprequest-allowed-actual.txt
@@ -1,6 +1,4 @@
-CONSOLE MESSAGE: Refused to connect to about: because it appears in neither the connect-src directive nor the default-src directive of the Content Security Policy.
-CONSOLE MESSAGE: Blocked by Content Security Policy.
-CONSOLE MESSAGE: XMLHttpRequest cannot load about: due to access control checks.
+CONSOLE MESSAGE: Refused to connect to http://127.0.0.1:8000/x-apple-ql-magic/same-origin-xmlhttprequest-allowed.rtf because it appears in neither the connect-src directive nor the default-src directive of the Content Security Policy.
 CONSOLE MESSAGE: PASS: XMLHttpRequest allowed

[ iOS Debug ]
Crash Log: 
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0  com.apple.JavaScriptCore            0x7acc2553e    WTFCrash
1  com.apple.WebCore                   0x7d57edec8    WTFCrashWithInfo(int, char const*, char const*, int)
2  com.apple.WebCore                   0x7d9fa5c08    WebCore::ContentSecurityPolicy::copyStateFrom(WebCore::ContentSecurityPolicy const*)
3  com.apple.WebCore                   0x7d8e9620c    WebCore::Document::initSecurityContext()
4  com.apple.WebCore                   0x7d8e938f0    WebCore::Document::Document(WebCore::Frame*, WebCore::Settings const&, WTF::URL const&, WTF::OptionSet<WebCore::Document::DocumentClass>, unsigned int, WebCore::ProcessQualified<WTF::UUID>)
5  com.apple.WebCore                   0x7d93c7abc    WebCore::HTMLDocument::HTMLDocument(WebCore::Frame*, WebCore::Settings const&, WTF::URL const&, WebCore::ProcessQualified<WTF::UUID>, WTF::OptionSet<WebCore::Document::DocumentClass>, unsigned int)

-- 
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/20220503/26b03acb/attachment-0001.htm>


More information about the webkit-unassigned mailing list