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

Unified Diff: LayoutTests/inspector/console/command-line-api-getEventListeners.html

Issue 48363002: DevTools: Improve CommandLineAPI's getEventListeners result. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: removed try-catch Created 7 years, 2 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 | LayoutTests/inspector/console/command-line-api-getEventListeners-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/console/command-line-api-getEventListeners.html
diff --git a/LayoutTests/inspector/console/command-line-api-getEventListeners.html b/LayoutTests/inspector/console/command-line-api-getEventListeners.html
index 465394ba4c05e68450a0274cd03ee8ef48559e23..4c64261b14ab147ceb3e468fca9829d634b3d857 100644
--- a/LayoutTests/inspector/console/command-line-api-getEventListeners.html
+++ b/LayoutTests/inspector/console/command-line-api-getEventListeners.html
@@ -73,6 +73,10 @@ function dumpObject(object, prefix)
function runTestsInPage(getEventListeners)
{
output("- inner -");
+ var innerListeners = getEventListeners(document.getElementById("inner"));
+ dumpObject(innerListeners);
+ innerListeners.keydown[0].remove();
+ output("- inner after a removal -");
dumpObject(getEventListeners(document.getElementById("inner")));
output("- outer -");
dumpObject(getEventListeners(document.getElementById("outer")));
« no previous file with comments | « no previous file | LayoutTests/inspector/console/command-line-api-getEventListeners-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698