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..67d99183a55596d38d9becff6f17841eca93634e 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.example.com/', {method: 'POST'}); |
assert_equals( |
- new FetchEvent('FetchEvent', {request : req, isReload : true}).request.url, |
- 'http://localhost/', |
+ new FetchEvent('FetchEvent', {request: req, isReload: true}).request.url, |
+ 'https://www.example.com/', |
'FetchEvent.request.url should return the value it was initialized to'); |
}, 'Event constructors'); |