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

Side by Side Diff: LayoutTests/http/tests/appcache/exceptions.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 </head> 4 </head>
5 <body> 5 <body>
6 <script src="/js-test-resources/js-test-pre.js"></script> 6 <script src="/js-test-resources/js-test-pre.js"></script>
7 <script> 7 <script>
8 description("This tests that 'ApplicationCache' methods throw exceptions with reasonable messages."); 8 description("This tests that 'ApplicationCache' methods throw exceptions with reasonable messages.");
9 9
10 var cache = window.applicationCache; 10 var cache = window.applicationCache;
11 shouldThrow('cache.update()', '"InvalidStateError: Failed to execute \'u pdate\' on \'ApplicationCache\': there is no application cache to update."'); 11 shouldThrow('cache.update()', '"InvalidStateError: Failed to execute \'u pdate\' on \'ApplicationCache\': there is no application cache to update."');
12 shouldThrow('cache.swapCache()', '"InvalidStateError: Failed to execute \'swapCache\' on \'ApplicationCache\': there is no newer application cache to sw ap to."'); 12 shouldThrow('cache.swapCache()', '"InvalidStateError: Failed to execute \'swapCache\' on \'ApplicationCache\': there is no newer application cache to sw ap to."');
13 </script> 13 </script>
14 <script src="/js-test-resources/js-test-post.js"></script>
15 </body> 14 </body>
16 </html> 15 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698