Index: third_party/WebKit/LayoutTests/http/tests/fetch/resources/thorough-util.js |
diff --git a/third_party/WebKit/LayoutTests/http/tests/fetch/resources/thorough-util.js b/third_party/WebKit/LayoutTests/http/tests/fetch/resources/thorough-util.js |
index 9430393f850ab3cee03cae989abba54b9347e4d2..699fcf01dc0c28c9a03a15f3cef5e0cbb363a223 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/fetch/resources/thorough-util.js |
+++ b/third_party/WebKit/LayoutTests/http/tests/fetch/resources/thorough-util.js |
@@ -319,6 +319,12 @@ function getRequestInit(params) { |
['X-ServiceWorker-s', 'test1'], |
['X-ServiceWorker-Test', 'test3'], |
['X-ServiceWorker-U', 'test5']]; |
+ } else if (params['headers'] === 'SAFE') { |
+ init['headers'] = [['Accept', '*/*'], |
+ ['Accept-Language', 'en-us,de'], |
+ ['Content-Language', 'en-us'], |
+ ['Content-Type', 'text/plain'], |
+ ['Save-data', 'on']]; |
} else if (params['headers'] === '{}') { |
init['headers'] = {}; |
} |