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 d62563556227374e5665d68502535ccad783b28c..a0e596da95cf22ed94e8af45ff8c591a0f80f7af 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 |
@@ -10,6 +10,9 @@ testStorages(function(storageString) { |
function step0(msg) |
{ |
iframe.onload = t.step_func(step1); |
+ // Null out the existing handler eventTestHarness.js set up; |
+ // otherwise this test won't be testing much of anything useful. |
+ iframe.contentWindow.onstorage = null; |
iframe.src = "resources/event_body_handler.html"; |
} |