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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/EventListenerBreakpointsSidebarPane.js

Issue 2687623002: DevTools: Support breakpoints on canvas context creation (Closed)
Patch Set: Created 3 years, 10 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/sources/EventListenerBreakpointsSidebarPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/EventListenerBreakpointsSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/sources/EventListenerBreakpointsSidebarPane.js
index 75f7496eecdc474f55adb9c1dfa943c75af8fcf0..b39685ff8b445561042851d051d53ebe38236ffb 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/EventListenerBreakpointsSidebarPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/EventListenerBreakpointsSidebarPane.js
@@ -24,6 +24,8 @@ Sources.EventListenerBreakpointsSidebarPane = class extends UI.VBox {
// this._createCategory(Common.UIString("Drag"), ["drag", "drop", "dragstart", "dragend", "dragenter", "dragleave", "dragover"]);
this._createCategory(
Common.UIString('Animation'), ['requestAnimationFrame', 'cancelAnimationFrame', 'animationFrameFired'], true);
+ this._createCategory(Common.UIString('Canvas'), ['canvasContextCreated', 'webglErrorFired', 'webglWarningFired'],
+ true);
this._createCategory(
Common.UIString('Clipboard'), ['copy', 'cut', 'paste', 'beforecopy', 'beforecut', 'beforepaste']);
this._createCategory(
@@ -60,7 +62,6 @@ Sources.EventListenerBreakpointsSidebarPane = class extends UI.VBox {
this._createCategory(Common.UIString('Script'), ['scriptFirstStatement', 'scriptBlockedByCSP'], true);
this._createCategory(Common.UIString('Timer'), ['setTimer', 'clearTimer', 'timerFired'], true);
this._createCategory(Common.UIString('Touch'), ['touchstart', 'touchmove', 'touchend', 'touchcancel']);
- this._createCategory(Common.UIString('WebGL'), ['webglErrorFired', 'webglWarningFired'], true);
this._createCategory(Common.UIString('Window'), ['close'], true);
this._createCategory(
Common.UIString('XHR'),
@@ -92,6 +93,7 @@ Sources.EventListenerBreakpointsSidebarPane = class extends UI.VBox {
'instrumentation:webglErrorFired': Common.UIString('WebGL Error Fired'),
'instrumentation:webglWarningFired': Common.UIString('WebGL Warning Fired'),
'instrumentation:setInnerHTML': Common.UIString('Set innerHTML'),
+ 'instrumentation:canvasContextCreated': Common.UIString('Create canvas context'),
};
}
if (auxData) {

Powered by Google App Engine
This is Rietveld 408576698