Index: LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js |
diff --git a/LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js b/LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js |
index 00f4f9d40b68f27c52832dcc1254466f64487a66..c24f676a109b616af419dece417dfc328d43e411 100644 |
--- a/LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js |
+++ b/LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js |
@@ -92,11 +92,9 @@ test(function() { |
assert_equals( |
new FetchEvent('FetchEvent', {isReload : true}).isReload, true, |
'FetchEvent.isReload with option {isReload : true} should be true'); |
- var req = new Request('http://localhost/', |
- {method: 'POST', |
- headers: [['Content-Type', 'Text/Html']]}); |
+ var req = new Request('https://www.google.com/', {method: 'POST'}); |
nhiroki
2015/08/26 09:02:28
example.com could be better because this will be u
jeremyarcher
2015/08/27 07:45:44
Done.
|
assert_equals( |
- new FetchEvent('FetchEvent', {request : req, isReload : true}).request.url, |
- 'http://localhost/', |
+ new FetchEvent('FetchEvent', {request: req, isReload: true}).request.url, |
+ 'https://www.google.com/', |
'FetchEvent.request.url should return the value it was initialized to'); |
}, 'Event constructors'); |