| 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); | 
|  |