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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/event_setattribute.js

Issue 1453993002: update-w3c-deps import using blink cc6d84edb87e89c363ab48dac8a983213b9dc02c: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Skip imported/web-platform-tests/html/webappapis/scripting/events/onerroreventhandler.html Created 5 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/event_setattribute.js
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/event_setattribute.js b/third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/event_setattribute.js
index a143cd6b2ea1169f362c989306f11d041f5a3a4f..9d8e328fcaff772e191bfde699750ee12ffa8e05 100644
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/event_setattribute.js
+++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/event_setattribute.js
@@ -4,16 +4,17 @@ testStorages(function(storageString) {
var storage = window[storageString];
t.add_cleanup(function() { storage.clear() });
- storageEventList = new Array();
- storage.clear();
+ clearStorage(storageString, t.step_func(step0));
assert_equals(storage.length, 0, "storage.length");
- iframe.onload = t.step_func(step1);
- iframe.src = "resources/event_setattribute_handler.html";
+ function step0(msg)
+ {
+ iframe.onload = t.step_func(step1);
+ iframe.src = "resources/event_setattribute_handler.html";
+ }
function step1(msg)
{
- storageEventList = new Array();
storage.setItem('FOO', 'BAR');
runAfterNStorageEvents(t.step_func(step2), 1);

Powered by Google App Engine
This is Rietveld 408576698