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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/oninstall-script-error.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/oninstall-script-error.https.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/oninstall-script-error.html b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/oninstall-script-error.https.html
similarity index 87%
copy from third_party/WebKit/LayoutTests/http/tests/serviceworker/oninstall-script-error.html
copy to third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/oninstall-script-error.https.html
index bd5a0610aaf603013f9bec02662ecdc076e7b4b9..a9ca19cab7fd4d371b776b00f34562472993e02e 100644
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/oninstall-script-error.html
+++ b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/oninstall-script-error.https.html
@@ -1,7 +1,8 @@
<!DOCTYPE html>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<script src="resources/test-helpers.js"></script>
+<script src="/resources/testharness.js"></script>
+<script src="resources/testharness-helpers.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="resources/test-helpers.sub.js"></script>
<script>
function wait_for_install_event(worker) {
return new Promise(function(resolve) {
@@ -47,7 +48,7 @@ function make_test(name, script, expect_install) {
// The following two cases test what happens when the ServiceWorkerGlobalScope
// 'error' event handler cancels the resulting error event. Since the
- // original 'install' event handler threw, the installation should still
+ // original 'install' event handler through, the installation should still
// be stopped in this case. See:
// https://github.com/slightlyoff/ServiceWorker/issues/778
{

Powered by Google App Engine
This is Rietveld 408576698