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

Side by Side Diff: LayoutTests/storage/storageinfo-missing-arguments.html

Issue 58533003: Move fast/js/resources files to resources. (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 <script src="../fast/js/resources/js-test-pre.js"></script> 2 <script src="../resources/js-test.js"></script>
3 <script> 3 <script>
4 4
5 description('Ensures that we get exceptions when we do not include required argu ments for webkitStorageInfo methods.'); 5 description('Ensures that we get exceptions when we do not include required argu ments for webkitStorageInfo methods.');
6 6
7 if (window.webkitStorageInfo) { 7 if (window.webkitStorageInfo) {
8 shouldThrow('webkitStorageInfo.requestQuota()', '"TypeError: Failed to execu te \'requestQuota\' on \'StorageInfo\': 2 arguments required, but only 0 present ."'); 8 shouldThrow('webkitStorageInfo.requestQuota()', '"TypeError: Failed to execu te \'requestQuota\' on \'StorageInfo\': 2 arguments required, but only 0 present ."');
9 shouldThrow('webkitStorageInfo.requestQuota(webkitStorageInfo.TEMPORARY)', ' "TypeError: Failed to execute \'requestQuota\' on \'StorageInfo\': 2 arguments r equired, but only 1 present."'); 9 shouldThrow('webkitStorageInfo.requestQuota(webkitStorageInfo.TEMPORARY)', ' "TypeError: Failed to execute \'requestQuota\' on \'StorageInfo\': 2 arguments r equired, but only 1 present."');
10 shouldThrow('webkitStorageInfo.queryUsageAndQuota()', '"TypeError: Failed to execute \'queryUsageAndQuota\' on \'StorageInfo\': 1 argument required, but onl y 0 present."'); 10 shouldThrow('webkitStorageInfo.queryUsageAndQuota()', '"TypeError: Failed to execute \'queryUsageAndQuota\' on \'StorageInfo\': 1 argument required, but onl y 0 present."');
11 } else 11 } else
12 debug("This test requires window.webkitStorageInfo."); 12 debug("This test requires window.webkitStorageInfo.");
13 13
14 </script> 14 </script>
OLDNEW
« no previous file with comments | « LayoutTests/storage/script-tests/TEMPLATE.html ('k') | LayoutTests/storage/storageinfo-no-callbacks.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698