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

Side by Side Diff: LayoutTests/fast/storage/disallowed-storage.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/resources/js-test-pre.js"></script> 6 <script src="../js/resources/js-test-pre.js"></script>
7 <script> 7 <script>
8 description("This tests that storage methods throw exceptions when stora ge is disabled with reasonable messages."); 8 description("This tests that storage methods throw exceptions when stora ge is disabled with reasonable messages.");
9 9
10 if (window.testRunner) 10 if (window.testRunner)
11 testRunner.setStorageAllowed(false); 11 testRunner.setStorageAllowed(false);
12 12
13 shouldThrow('window.sessionStorage'); 13 shouldThrow('window.sessionStorage');
14 shouldThrow('window.localStorage'); 14 shouldThrow('window.localStorage');
15 </script> 15 </script>
16 <script src="../js/resources/js-test-post.js"></script>
17 </body> 16 </body>
18 </html> 17 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698