blob: f71ee1f0139b466ddcb16275282f882aa083242a [file] [log] [blame]
ALERT: Executing script in the child window.
CONSOLE WARNING: line 4: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
ALERT: XHR POST opened.
CONSOLE ERROR: line 7: Mixed Content: The page at 'https://127.0.0.1:8443/security/mixedContent/resources/frame-with-insecure-sync-xhr-post.html' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://example.test:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=*&headers=Content-Type'. This request has been blocked; the content must be served over HTTPS.
ALERT: exception! NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://example.test:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=*&headers=Content-Type'.
This test opens a HTTPS window that loads insecure data via XHR. We should trigger a mixed content callback and block the load.