Support breakpoints on canvas context creation |
||||
Issue descriptionTwo times in the past week we've wanted to be able to set a breakpoint when the web page creates a rendering context for HTMLCanvasElement. Could this ability please be added to DevTools? Thanks.
,
Feb 8 2017
FYI, Pavel had this implemented almost before I filed this bug.
,
Feb 8 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/3abea62a6cf6a2e0ca7e1026923f0cd0f5e45b3c commit 3abea62a6cf6a2e0ca7e1026923f0cd0f5e45b3c Author: pfeldman <pfeldman@chromium.org> Date: Wed Feb 08 04:36:19 2017 DevTools: Support breakpoints on canvas context creation BUG= 689782 Review-Url: https://codereview.chromium.org/2687623002 Cr-Commit-Position: refs/heads/master@{#448904} [modify] https://crrev.com/3abea62a6cf6a2e0ca7e1026923f0cd0f5e45b3c/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp [modify] https://crrev.com/3abea62a6cf6a2e0ca7e1026923f0cd0f5e45b3c/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp [modify] https://crrev.com/3abea62a6cf6a2e0ca7e1026923f0cd0f5e45b3c/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.h [modify] https://crrev.com/3abea62a6cf6a2e0ca7e1026923f0cd0f5e45b3c/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.idl [modify] https://crrev.com/3abea62a6cf6a2e0ca7e1026923f0cd0f5e45b3c/third_party/WebKit/Source/devtools/front_end/sources/EventListenerBreakpointsSidebarPane.js
,
Feb 8 2017
Thanks Pavel! Is this now fixed already?
,
Feb 8 2017
It is
,
Feb 8 2017
Thanks again!
,
Feb 8 2017
No problem. We should a dozen or two more of these and improve the UI for toggling them.
,
Feb 8 2017
@Pavel is this correct? * New features * "canvasCreatedContext" event * "Canvas" category * Changes * Dropped "WebGL" category * Moved WebGL events to "Canvas" category
,
Feb 8 2017
* New features * Break on "HTML canvas context created" event * Changes * Moved WebGL events to "Canvas" category |
||||
►
Sign in to add a comment |
||||
Comment 1 by kozyatinskiy@chromium.org
, Feb 8 2017Status: Assigned (was: Untriaged)