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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/webstorage/event_setattribute.js

Issue 1984133002: Move web-platform-tests to wpt (part 2 of 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 testStorages(function(storageString) { 1 testStorages(function(storageString) {
2 async_test(function(t) { 2 async_test(function(t) {
3 assert_true(storageString in window, storageString + " exist"); 3 assert_true(storageString in window, storageString + " exist");
4 var storage = window[storageString]; 4 var storage = window[storageString];
5 t.add_cleanup(function() { storage.clear() }); 5 t.add_cleanup(function() { storage.clear() });
6 6
7 clearStorage(storageString, t.step_func(step0)); 7 clearStorage(storageString, t.step_func(step0));
8 assert_equals(storage.length, 0, "storage.length"); 8 assert_equals(storage.length, 0, "storage.length");
9 9
10 function step0(msg) 10 function step0(msg)
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 assert_equals(storageEventList.length, 8); 106 assert_equals(storageEventList.length, 8);
107 assert_equals(storageEventList[7].key, null); 107 assert_equals(storageEventList[7].key, null);
108 assert_equals(storageEventList[7].oldValue, null); 108 assert_equals(storageEventList[7].oldValue, null);
109 assert_equals(storageEventList[7].newValue, null); 109 assert_equals(storageEventList[7].newValue, null);
110 110
111 t.done(); 111 t.done();
112 } 112 }
113 113
114 }, storageString + " mutations fire StorageEvents that are caught by the eve nt listener attached via setattribute."); 114 }, storageString + " mutations fire StorageEvents that are caught by the eve nt listener attached via setattribute.");
115 }); 115 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698