Title: [232353] trunk/LayoutTests
Revision
232353
Author
[email protected]
Date
2018-05-31 09:58:45 -0700 (Thu, 31 May 2018)

Log Message

Update http/wpt/service-workers/header-filtering.https.html to use a valid Referrer-Policy
https://bugs.webkit.org/show_bug.cgi?id=186148

Reviewed by Youenn Fablet.

Update http/wpt/service-workers/header-filtering.https.html to use a valid Referrer-Policy to
avoid logging a console message.

* http/wpt/service-workers/header-filtering.https-expected.txt:
* http/wpt/service-workers/resources/response-full-of-headers.py:
(main):

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (232352 => 232353)


--- trunk/LayoutTests/ChangeLog	2018-05-31 16:52:31 UTC (rev 232352)
+++ trunk/LayoutTests/ChangeLog	2018-05-31 16:58:45 UTC (rev 232353)
@@ -1,3 +1,17 @@
+2018-05-31  Chris Dumez  <[email protected]>
+
+        Update http/wpt/service-workers/header-filtering.https.html to use a valid Referrer-Policy
+        https://bugs.webkit.org/show_bug.cgi?id=186148
+
+        Reviewed by Youenn Fablet.
+
+        Update http/wpt/service-workers/header-filtering.https.html to use a valid Referrer-Policy to
+        avoid logging a console message.
+
+        * http/wpt/service-workers/header-filtering.https-expected.txt:
+        * http/wpt/service-workers/resources/response-full-of-headers.py:
+        (main):
+
 2018-05-31  Yacine Bandou  <[email protected]>
 
         [wpe] update the TestExpectations for encrypted-media after some investigations

Modified: trunk/LayoutTests/http/wpt/service-workers/header-filtering.https-expected.txt (232352 => 232353)


--- trunk/LayoutTests/http/wpt/service-workers/header-filtering.https-expected.txt	2018-05-31 16:52:31 UTC (rev 232352)
+++ trunk/LayoutTests/http/wpt/service-workers/header-filtering.https-expected.txt	2018-05-31 16:58:45 UTC (rev 232353)
@@ -1,4 +1,3 @@
-CONSOLE MESSAGE: Failed to set referrer policy: The value 'whatever' is not one of 'no-referrer', 'no-referrer-when-downgrade', 'same-origin', 'origin', 'strict-origin', 'origin-when-cross-origin', 'strict-origin-when-cross-origin' or 'unsafe-url'.
 
 PASS Prepare tests: setup worker and register the client 
 PASS Prepare tests: Add a frame controlled by service worker 

Modified: trunk/LayoutTests/http/wpt/service-workers/resources/response-full-of-headers.py (232352 => 232353)


--- trunk/LayoutTests/http/wpt/service-workers/resources/response-full-of-headers.py	2018-05-31 16:52:31 UTC (rev 232352)
+++ trunk/LayoutTests/http/wpt/service-workers/resources/response-full-of-headers.py	2018-05-31 16:58:45 UTC (rev 232353)
@@ -6,7 +6,7 @@
         ("Access-Control-Allow-Credentials", "true"),
         ("Access-Control-Allow-Methods", "GET, POST, HEAD"),
         ("Timing-Allow-Origin", "*"),
-        ("Referrer-Policy", "whatever"),
+        ("Referrer-Policy", "origin"),
         ("SourceMap", "1"),
         ("x-sourcemap", "2"),
         ("Access-Control-Expose-Headers", "x-Header1, content-length"),
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to