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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/serviceworkerobject-scripturl.html

Issue 2894883003: Upstream service worker tests to WPT (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/serviceworkerobject-scripturl.https.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/serviceworkerobject-scripturl.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/serviceworkerobject-scripturl.html b/third_party/WebKit/LayoutTests/http/tests/serviceworker/serviceworkerobject-scripturl.html
deleted file mode 100644
index 2fc512b19202baaccff9aef0fc1432238bf60a26..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/serviceworkerobject-scripturl.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html>
-<title>ServiceWorker object: scriptURL property</title>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<script src="resources/test-helpers.js"></script>
-<script>
-
-function url_test(name, url) {
- var scope = 'resources/scope/' + name;
- async_test(function(t) {
- var expectedURL = normalizeURL(url);
- service_worker_unregister_and_register(t, url, scope)
- .then(function(registration) {
- var worker = registration.installing;
- assert_equals(worker.scriptURL, expectedURL,
- 'Returned ServiceWorker object should have scriptURL');
- service_worker_unregister_and_done(t, scope);
- })
- .catch(unreached_rejection(t));
- }, 'Verify the scriptURL property: ' + name);
-}
-
-url_test('relative', 'resources/empty-worker.js');
-url_test('with-fragment', 'resources/empty-worker.js#ref');
-url_test('absolute', window.location.origin +
- '/serviceworker/resources/empty-worker.js');
-
-</script>
« no previous file with comments | « third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/serviceworkerobject-scripturl.https.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698