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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/interfaces.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/interfaces.https.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/interfaces.html b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/interfaces.https.html
similarity index 84%
copy from third_party/WebKit/LayoutTests/http/tests/serviceworker/interfaces.html
copy to third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/interfaces.https.html
index 8fc2a43433108e90ee1bdf63c3d464d3dcc2e755..403a005344eca869cdaafa08b6304ac7a0ddb527 100644
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/interfaces.html
+++ b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/interfaces.https.html
@@ -1,9 +1,9 @@
<!DOCTYPE html>
<title>Service Worker: Interfaces</title>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
<script src="resources/interfaces.js"></script>
-<script src="resources/test-helpers.js"></script>
+<script src="resources/test-helpers.sub.js"></script>
<script>
test(function() {
@@ -13,8 +13,7 @@ test(function() {
{
register: 'function',
getRegistration: 'function',
- oncontrollerchange: EVENT_HANDLER,
- onmessage: EVENT_HANDLER
+ oncontrollerchange: EVENT_HANDLER
});
}, 'Interfaces and attributes of ServiceWorkerContainer');
@@ -51,7 +50,7 @@ async_test(function(t) {
}, 'Interfaces and attributes of ServiceWorker');
service_worker_test(
- 'resources/interfaces-worker.js',
+ 'resources/interfaces-worker.sub.js',
'Interfaces and attributes in ServiceWorkerGlobalScope');
</script>

Powered by Google App Engine
This is Rietveld 408576698