Unreviewed, commit missing empty.js file in service workers WPT tests
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Dec 2017 05:20:36 +0000 (05:20 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Dec 2017 05:20:36 +0000 (05:20 +0000)
* web-platform-tests/service-workers/service-worker/resources/empty.js: Added.
* web-platform-tests/service-workers/service-worker/service-worker-csp-default.https-expected.txt:
* web-platform-tests/service-workers/service-worker/service-worker-csp-script.https-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@225961 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/imported/w3c/ChangeLog
LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/resources/empty.js [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/service-worker-csp-default.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/service-worker-csp-script.https-expected.txt

index 152c1b6..23b3a68 100644 (file)
@@ -1,5 +1,13 @@
 2017-12-14  Chris Dumez  <cdumez@apple.com>
 
+        Unreviewed, commit missing empty.js file in service workers WPT tests
+
+        * web-platform-tests/service-workers/service-worker/resources/empty.js: Added.
+        * web-platform-tests/service-workers/service-worker/service-worker-csp-default.https-expected.txt:
+        * web-platform-tests/service-workers/service-worker/service-worker-csp-script.https-expected.txt:
+
+2017-12-14  Chris Dumez  <cdumez@apple.com>
+
         Re-sync service-workers/service-worker/interfaces-sw.https.html from upstream
         https://bugs.webkit.org/show_bug.cgi?id=180814
 
diff --git a/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/resources/empty.js b/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/resources/empty.js
new file mode 100644 (file)
index 0000000..e69de29
index 18f5259..9a03306 100644 (file)
@@ -1,6 +1,6 @@
 
 PASS CSP test for default-src in ServiceWorkerGlobalScope 
-PASS importScripts test for default-src 
+FAIL importScripts test for default-src assert_true: Importing the other origins script should fail. expected true got false
 FAIL Fetch test for default-src assert_unreached: unexpected rejection: assert_unreached: fetch should fail. Reached unreachable code Reached unreachable code
 FAIL Redirected fetch test for default-src assert_unreached: unexpected rejection: assert_unreached: Redirected fetch should fail. Reached unreachable code Reached unreachable code
 
index d37a7b5..7161593 100644 (file)
@@ -1,6 +1,6 @@
 
 PASS CSP test for script-src in ServiceWorkerGlobalScope 
-PASS importScripts test for script-src 
+FAIL importScripts test for script-src assert_true: Importing the other origins script should fail. expected true got false
 PASS Fetch test for script-src 
 PASS Redirected fetch test for script-src