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

Unified Diff: third_party/WebKit/Source/devtools/front_end/components/EventListenersUtils.js

Issue 2160843002: [DevTools] Introduce DOM capability. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
Index: third_party/WebKit/Source/devtools/front_end/components/EventListenersUtils.js
diff --git a/third_party/WebKit/Source/devtools/front_end/components/EventListenersUtils.js b/third_party/WebKit/Source/devtools/front_end/components/EventListenersUtils.js
index b2b038946b4504a57045c1583259d93b47dffb14..c817a0daa2000bfaac945ba67dea39fb3f41b1dd 100644
--- a/third_party/WebKit/Source/devtools/front_end/components/EventListenersUtils.js
+++ b/third_party/WebKit/Source/devtools/front_end/components/EventListenersUtils.js
@@ -14,7 +14,7 @@ WebInspector.EventListenerObjectInInspectedPage;
*/
WebInspector.EventListener.frameworkEventListeners = function(object)
{
- if (!object.target().hasBrowserCapability()) {
+ if (!object.target().hasDOMCapability()) {
// TODO(kozyatinskiy): figure out how this should work for |window|.
return Promise.resolve(/** @type {!WebInspector.FrameworkEventListenersObject} */ ({eventListeners: [], internalHandlers: null}));
}

Powered by Google App Engine
This is Rietveld 408576698