Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/invalid-blobtype.https.html

Issue 2415873002: Import w3c tests for the service workers (Closed)
Patch Set: Rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/invalid-blobtype.https.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/invalid-blobtype.html b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/invalid-blobtype.https.html
similarity index 73%
copy from third_party/WebKit/LayoutTests/http/tests/serviceworker/invalid-blobtype.html
copy to third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/invalid-blobtype.https.html
index 02e8a6794752ba39ce0e921cbe4afe3c26b138af..f1f2d1bdc618c7c48cb46f07a08ecb087b43631c 100644
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/invalid-blobtype.html
+++ b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/invalid-blobtype.https.html
@@ -1,12 +1,12 @@
<!DOCTYPE html>
<title>Service Worker: respondWith with header value containing a null byte</title>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<script src="../resources/get-host-info.js?pipe=sub"></script>
-<script src="resources/test-helpers.js"></script>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="resources/get-host-info.sub.js"></script>
+<script src="resources/test-helpers.sub.js?pipe=sub"></script>
<script>
async_test(function(t) {
- var SCOPE = 'resources/invalid-blobtype-iframe.html';
+ var SCOPE = 'resources/invalid-blobtype-iframe.https.html';
var SCRIPT = 'resources/invalid-blobtype-worker.js';
var host_info = get_host_info();
service_worker_unregister_and_register(t, SCRIPT, SCOPE)
@@ -22,7 +22,7 @@ async_test(function(t) {
service_worker_unregister_and_done(t, SCOPE);
});
frame.contentWindow.postMessage({},
- host_info['HTTP_ORIGIN'],
+ host_info['HTTPS_ORIGIN'],
[channel.port2]);
})
.catch(unreached_rejection(t));

Powered by Google App Engine
This is Rietveld 408576698