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

Side by Side Diff: LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/scope-relative-path.html

Issue 674133004: [ServiceWorker] Introduce the directory restriction of ServiceWorker scope [1/3 blink] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: remove LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/scope-default.html Created 6 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <title>ServiceWorkerGlobalScope: scope property is a relative path</title> 2 <title>ServiceWorkerGlobalScope: scope property is a relative path</title>
3 <script src="../../resources/testharness.js"></script> 3 <script src="../../resources/testharness.js"></script>
4 <script src="../../resources/testharnessreport.js"></script> 4 <script src="../../resources/testharnessreport.js"></script>
5 <script src="../resources/test-helpers.js"></script> 5 <script src="../resources/test-helpers.js"></script>
6 <script src="resources/scope.js"></script> 6 <script src="resources/scope.js"></script>
7 <script> 7 <script>
8 async_test(function(t) { 8 async_test(function(t) {
9 scope_test(t, 'resources/scope-worker.js', '/a/b/c/'); 9 scope_test(t, 'resources/scope-worker.js',
10 base_path() + 'resources/relative_path/');
10 }, 'Verify the scope property: relative path'); 11 }, 'Verify the scope property: relative path');
11 </script> 12 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698