Title: [226449] trunk/LayoutTests/imported/w3c
Revision
226449
Author
[email protected]
Date
2018-01-05 09:10:05 -0800 (Fri, 05 Jan 2018)

Log Message

LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event.https.html should not expect Upgrade-Insecure Requests header
https://bugs.webkit.org/show_bug.cgi?id=181286

Patch by Youenn Fablet <[email protected]> on 2018-01-05
Reviewed by Alex Christensen.

Test previously expected upgrade-insecure-requests header to be inserted in a HTTP request.
Given the request URL is HTTPS, there is no need for that header.

* web-platform-tests/service-workers/service-worker/fetch-event.https-expected.txt:
* web-platform-tests/service-workers/service-worker/fetch-event.https.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/imported/w3c/ChangeLog (226448 => 226449)


--- trunk/LayoutTests/imported/w3c/ChangeLog	2018-01-05 15:34:42 UTC (rev 226448)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2018-01-05 17:10:05 UTC (rev 226449)
@@ -1,3 +1,16 @@
+2018-01-05  Youenn Fablet  <[email protected]>
+
+        LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event.https.html should not expect Upgrade-Insecure Requests header
+        https://bugs.webkit.org/show_bug.cgi?id=181286
+
+        Reviewed by Alex Christensen.
+
+        Test previously expected upgrade-insecure-requests header to be inserted in a HTTP request.
+        Given the request URL is HTTPS, there is no need for that header.
+
+        * web-platform-tests/service-workers/service-worker/fetch-event.https-expected.txt:
+        * web-platform-tests/service-workers/service-worker/fetch-event.https.html:
+
 2018-01-04  Youenn Fablet  <[email protected]>
 
         FetchResponse should set its internal response text encoding name

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event.https-expected.txt (226448 => 226449)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event.https-expected.txt	2018-01-05 15:34:42 UTC (rev 226448)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event.https-expected.txt	2018-01-05 17:10:05 UTC (rev 226449)
@@ -1,6 +1,6 @@
 
 
-FAIL Service Worker headers in the request of a fetch event assert_unreached: unexpected rejection: assert_true: request specifies "Upgrade-Insecure Requests header as inserted by Fetch expected true got false Reached unreachable code
+PASS Service Worker headers in the request of a fetch event 
 PASS Service Worker responds to fetch event with string 
 PASS Service Worker responds to fetch event with blob body 
 PASS Service Worker responds to fetch event with the referrer URL 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event.https.html (226448 => 226449)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event.https.html	2018-01-05 15:34:42 UTC (rev 226448)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event.https.html	2018-01-05 17:10:05 UTC (rev 226449)
@@ -26,10 +26,6 @@
             header_names.hasOwnProperty('accept'),
             'request includes "Accept" header as inserted by Fetch'
           );
-          assert_true(
-            header_names.hasOwnProperty('upgrade-insecure-requests'),
-            'request specifies "Upgrade-Insecure Requests header as inserted by Fetch'
-          );
 
           return service_worker_unregister_and_done(t, scope);
         })
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to