| Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/event_body_attribute.js
|
| diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/event_body_attribute.js b/third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/event_body_attribute.js
|
| index 8220349f83b962706f863da0ea3969e102282490..d62563556227374e5665d68502535ccad783b28c 100644
|
| --- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/event_body_attribute.js
|
| +++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/event_body_attribute.js
|
| @@ -4,11 +4,14 @@ testStorages(function(storageString) {
|
| var storage = window[storageString];
|
| t.add_cleanup(function() { storage.clear() });
|
|
|
| - 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_body_handler.html";
|
| + function step0(msg)
|
| + {
|
| + iframe.onload = t.step_func(step1);
|
| + iframe.src = "resources/event_body_handler.html";
|
| + }
|
|
|
| function step1(msg)
|
| {
|
|
|