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

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

Issue 1492283002: Import web-platform-tests@f0a76a0823db8e1eca9039b08d31e136406253b5 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add Skip Created 5 years 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/eventTestHarness.js
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/eventTestHarness.js b/third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/eventTestHarness.js
index 893d25058a24b6bbeef8fdc1e4209bd0b64e412e..7d9ed01870ea1b21daa4687bc019f2dd9df9de9f 100644
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/eventTestHarness.js
+++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/eventTestHarness.js
@@ -4,9 +4,9 @@ document.body.appendChild(iframe);
iframe.contentWindow.document.body.textContent = "Nothing to see here.";
storageEventList = new Array();
-iframe.contentWindow.addEventListener("storage", function(e) {
+iframe.contentWindow.onstorage = function(e) {
window.parent.storageEventList.push(e);
-});
+};
function runAfterNStorageEvents(callback, expectedNumEvents)
{

Powered by Google App Engine
This is Rietveld 408576698