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

Unified Diff: third_party/WebKit/LayoutTests/inspector/elements/event-listener-sidebar-jquery2.html

Issue 2034533002: [DevTools] Add removeFunction to EventListener protocol object (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/elements/event-listener-sidebar-jquery2-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/inspector/elements/event-listener-sidebar-jquery2.html
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/event-listener-sidebar-jquery2.html b/third_party/WebKit/LayoutTests/inspector/elements/event-listener-sidebar-jquery2.html
index 854cfd85a0d0eb42534fb4483f7088e46659d95b..4f4c723d3a59972ce5c4d6907d258af0f293a401 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/event-listener-sidebar-jquery2.html
+++ b/third_party/WebKit/LayoutTests/inspector/elements/event-listener-sidebar-jquery2.html
@@ -10,7 +10,7 @@ function setupEventListeners()
$("#node").click(function(){ console.log("first jquery"); });
$("#node").click(function(){ console.log("second jquery"); });
node.addEventListener("click", function() { console.log("addEventListener"); });
- node.onclick = function() { constole.log("onclick"); }
+ node.onclick = function() { console.log("onclick"); }
}
function test()
@@ -37,7 +37,7 @@ function test()
promises.push(listenersItems[j].eventListener().remove());
}
InspectorTest.expandAndDumpSelectedElementEventListeners(InspectorTest.completeTest.bind(this));
- Promise.all(promises).then(eventListenersWidget.doUpdate());
+ Promise.all(promises).then(() => eventListenersWidget.doUpdate());
}
}
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/elements/event-listener-sidebar-jquery2-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698