Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/iso-latin1-header-iframe.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/iso-latin1-header-iframe.html b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/iso-latin1-header-iframe.html |
deleted file mode 100644 |
index 8da25828a643a32720ffbbc89bd8d81982885f4c..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/iso-latin1-header-iframe.html |
+++ /dev/null |
@@ -1,27 +0,0 @@ |
-<script src="../../resources/testharness.js"></script> |
-<script src="test-helpers.js"></script> |
-<script> |
- |
-function xhr_send(method, data) { |
- return new Promise(function(resolve, reject) { |
- var xhr = new XMLHttpRequest(); |
- xhr.onload = function() { |
- resolve(); |
- }; |
- xhr.onerror = function() { |
- reject('XHR must succeed.'); |
- }; |
- xhr.responseType = 'text'; |
- xhr.open(method, './dummy?test', true); |
- xhr.send(data); |
- }); |
-} |
- |
-window.addEventListener('message', function(evt) { |
- var port = evt.ports[0]; |
- xhr_send('POST', 'test string') |
- .then(function() { port.postMessage({results: 'finish'}); }) |
- .catch(function(e) { port.postMessage({results: 'failure:' + e}); }); |
- }); |
- |
-</script> |