Resync service workers WPT tests from upstream
[WebKit-https.git] / LayoutTests / imported / w3c / web-platform-tests / service-workers / service-worker / update.https-expected.txt
1 CONSOLE MESSAGE: Not allowed to follow a redirection while loading https://localhost:9443/service-workers/service-worker/resources/update-worker.py?Key=a26db9b5-061d-4079-a310-3a4f94e3cda5&Mode=redirect
2 CONSOLE MESSAGE: Cannot load https://localhost:9443/service-workers/service-worker/resources/update-worker.py?Key=a26db9b5-061d-4079-a310-3a4f94e3cda5&Mode=redirect due to access control checks.
3
4 PASS update() should succeed when new script is available. 
5 PASS update() should fail when mime type is invalid. 
6 FAIL update() should fail when a response for the main script is redirect. assert_throws: function "function () { throw e }" threw object "SecurityError: Script https://localhost:9443/service-workers/service-worker/resources/update-worker.py?Key=a26db9b5-061d-4079-a310-3a4f94e3cda5&Mode=redirect load failed" ("SecurityError") expected object "TypeError" ("TypeError")
7 PASS update() should fail when a new script contains a syntax error. 
8 PASS update() should resolve when the install event throws. 
9 PASS update() should fail when the pending uninstall flag is set. 
10 PASS update() should succeed when the script shrinks. 
11