Re-sync service-workers/service-worker/interfaces-sw.https.html from upstream
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Dec 2017 20:16:25 +0000 (20:16 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Dec 2017 20:16:25 +0000 (20:16 +0000)
https://bugs.webkit.org/show_bug.cgi?id=180814

Reviewed by Youenn Fablet.

Re-sync service-workers/service-worker/interfaces-sw.https.html WPT from upstream after
https://github.com/w3c/web-platform-tests/pull/8669.

* web-platform-tests/service-workers/service-worker/interfaces-sw.https-expected.txt:
* web-platform-tests/service-workers/service-worker/resources/interfaces-worker.sub.js:

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

LayoutTests/imported/w3c/ChangeLog
LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/interfaces-sw.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/resources/interfaces-worker.sub.js

index 7e652de..152c1b6 100644 (file)
@@ -1,3 +1,16 @@
+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
+
+        Reviewed by Youenn Fablet.
+
+        Re-sync service-workers/service-worker/interfaces-sw.https.html WPT from upstream after
+        https://github.com/w3c/web-platform-tests/pull/8669.
+
+        * web-platform-tests/service-workers/service-worker/interfaces-sw.https-expected.txt:
+        * web-platform-tests/service-workers/service-worker/resources/interfaces-worker.sub.js:
+
 2017-12-12  Chris Dumez  <cdumez@apple.com>
 
         Re-sync imported/w3c/web-platform-tests/service-workers/service-worker/interfaces-sw.https.html
index 8cd5b09..c690c1f 100644 (file)
@@ -1,7 +1,7 @@
 
 PASS Interfaces and attributes in ServiceWorkerGlobalScope 
 PASS test setup (cache creation) 
-FAIL Event constructors assert_equals: Default FetchEvent.isReload should be false expected (boolean) false but got (undefined) undefined
+PASS Event constructors 
 PASS xhr is not exposed 
 PASS ServiceWorkerGlobalScope interface: existence and properties of interface object 
 PASS ServiceWorkerGlobalScope interface object length 
index 99f36b9..7bdf101 100644 (file)
@@ -57,21 +57,20 @@ test(function() {
       new FetchEvent('FetchEvent', {request: req}).clientId,
       '', 'Default FetchEvent.clientId should be the empty string');
     assert_equals(
-      new FetchEvent('FetchEvent', {request: req}).isReload,
-      false, 'Default FetchEvent.isReload should be false');
-    assert_equals(
       new FetchEvent('FetchEvent', {request: req, cancelable: false}).cancelable,
       false, 'FetchEvent.cancelable should be false');
     assert_equals(
       new FetchEvent('FetchEvent', {request: req, clientId : 'test-client-id'}).clientId, 'test-client-id',
       'FetchEvent.clientId with option {clientId : "test-client-id"} should be "test-client-id"');
     assert_equals(
-      new FetchEvent('FetchEvent', {request: req, isReload : true}).isReload, true,
-      'FetchEvent.isReload with option {isReload : true} should be true');
-    assert_equals(
-      new FetchEvent('FetchEvent', {request : req, isReload : true}).request.url,
+      new FetchEvent('FetchEvent', {request : req}).request.url,
       'http://{{host}}/',
       'FetchEvent.request.url should return the value it was initialized to');
+    assert_equals(
+      new FetchEvent('FetchEvent', {request : req}).isReload,
+      undefined,
+      'FetchEvent.isReload should not exist');
+
   }, 'Event constructors');
 
 test(() => {