Title: [225921] trunk/LayoutTests/imported/w3c
Revision
225921
Author
[email protected]
Date
2017-12-14 12:16:25 -0800 (Thu, 14 Dec 2017)

Log Message

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:

Modified Paths

Diff

Modified: trunk/LayoutTests/imported/w3c/ChangeLog (225920 => 225921)


--- trunk/LayoutTests/imported/w3c/ChangeLog	2017-12-14 20:13:16 UTC (rev 225920)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2017-12-14 20:16:25 UTC (rev 225921)
@@ -1,3 +1,16 @@
+2017-12-14  Chris Dumez  <[email protected]>
+
+        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  <[email protected]>
 
         Re-sync imported/w3c/web-platform-tests/service-workers/service-worker/interfaces-sw.https.html

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/interfaces-sw.https-expected.txt (225920 => 225921)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/interfaces-sw.https-expected.txt	2017-12-14 20:13:16 UTC (rev 225920)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/interfaces-sw.https-expected.txt	2017-12-14 20:16:25 UTC (rev 225921)
@@ -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 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/resources/interfaces-worker.sub.js (225920 => 225921)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/resources/interfaces-worker.sub.js	2017-12-14 20:13:16 UTC (rev 225920)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/resources/interfaces-worker.sub.js	2017-12-14 20:16:25 UTC (rev 225921)
@@ -57,9 +57,6 @@
       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(
@@ -66,12 +63,14 @@
       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(() => {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to