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

Side by Side Diff: LayoutTests/http/tests/serviceworker/chromium/register-error-messages.html

Issue 1084423003: Merge 193840 "Service Worker: Add a test for error messages from..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/2357/
Patch Set: Created 5 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/http/tests/serviceworker/registration.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- This file tests JavaScript error messages of some of the 2 <!-- This file tests JavaScript error messages of some of the
3 failure cases from http/tests/serviceworker/registration.html. It 3 failure cases from http/tests/serviceworker/registration.html. It
4 should not be upstreamed to web platform tests since error messages 4 should not be upstreamed to web platform tests since error messages
5 are not defined by the specification. --> 5 are not defined by the specification. -->
6 <title>Service Worker: Error messages for register()</title> 6 <title>Service Worker: Error messages for register()</title>
7 <script src="../../resources/testharness.js"></script> 7 <script src="../../resources/testharness.js"></script>
8 <script src="../../resources/testharnessreport.js"></script> 8 <script src="../../resources/testharnessreport.js"></script>
9 <script> 9 <script>
10 10
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 var message = 'Failed to register a ServiceWorker: The provided scope ' + 150 var message = 'Failed to register a ServiceWorker: The provided scope ' +
151 '(\'http://127.0.0.1:8000/serviceworker/resources/scope/' + 151 '(\'http://127.0.0.1:8000/serviceworker/resources/scope/' +
152 'encoded-slash-in-script-url\') or scriptURL ' + 152 'encoded-slash-in-script-url\') or scriptURL ' +
153 '(\'http://127.0.0.1:8000/serviceworker/' + 153 '(\'http://127.0.0.1:8000/serviceworker/' +
154 'resources%2fempty-worker.js\') ' + 154 'resources%2fempty-worker.js\') ' +
155 'includes a disallowed escape character.'; 155 'includes a disallowed escape character.';
156 return assert_register_fails(script, scope, message); 156 return assert_register_fails(script, scope, message);
157 }, 'Script URL including URL-encoded slash'); 157 }, 'Script URL including URL-encoded slash');
158 158
159 </script> 159 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/serviceworker/registration.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698