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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/registration-iframe.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/registration-iframe.https.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/registration-iframe.html b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/registration-iframe.https.html
similarity index 94%
copy from third_party/WebKit/LayoutTests/http/tests/serviceworker/registration-iframe.html
copy to third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/registration-iframe.https.html
index beba595cd0d4201c169c78bbaa65d73eb8fc1b47..fb60afe84975b1fa26862e577c3e6e5143911b0e 100644
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/registration-iframe.html
+++ b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/registration-iframe.https.html
@@ -1,9 +1,9 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>Service Worker: Registration for iframe</title>
-<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/testharnessreport.js"></script>
+<script src="resources/test-helpers.sub.js"></script>
<script>
// Set script url and scope url relative to the calling frame's document's url.
// Assert the implementation parses the urls against the calling frame's
@@ -47,7 +47,7 @@ async_test(function(t) {
'- normal case');
// Set script url and scope url relative to the iframe's document's url.
-// Assert the implementation throws a TypeError exception.
+// Assert the implementation throws a NetworkError exception.
async_test(function(t) {
var url = 'resources/blank.html';
var scope = 'registration-for-iframe-from-calling-frame';

Powered by Google App Engine
This is Rietveld 408576698