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

Issue 2687623002: DevTools: Support breakpoints on canvas context creation (Closed)

Created:
3 years, 10 months ago by pfeldman
Modified:
3 years, 10 months ago
Reviewers:
kozy, caseq, Justin Novosad
CC:
chromium-reviews, caseq+blink_chromium.org, dshwang, ajuma+watch-canvas_chromium.org, blink-reviews-html_chromium.org, pfeldman+blink_chromium.org, dglazkov+blink, Rik, apavlov+blink_chromium.org, lushnikov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: Support breakpoints on canvas context creation BUG=689782 Review-Url: https://codereview.chromium.org/2687623002 Cr-Commit-Position: refs/heads/master@{#448904} Committed: https://chromium.googlesource.com/chromium/src/+/3abea62a6cf6a2e0ca7e1026923f0cd0f5e45b3c

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -4 lines) Patch
M third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp View 4 chunks +6 lines, -3 lines 1 comment Download
M third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp View 2 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorInstrumentation.idl View 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/EventListenerBreakpointsSidebarPane.js View 3 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 17 (7 generated)
pfeldman
3 years, 10 months ago (2017-02-08 02:44:28 UTC) #2
caseq
lgtm
3 years, 10 months ago (2017-02-08 02:47:38 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2687623002/1
3 years, 10 months ago (2017-02-08 02:48:18 UTC) #5
kozy
lgtm
3 years, 10 months ago (2017-02-08 04:21:25 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/3abea62a6cf6a2e0ca7e1026923f0cd0f5e45b3c
3 years, 10 months ago (2017-02-08 04:37:16 UTC) #11
Justin Novosad
https://codereview.chromium.org/2687623002/diff/1/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp File third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp (right): https://codereview.chromium.org/2687623002/diff/1/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp#newcode275 third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp:275: InspectorInstrumentation::didCreateCanvasContext(&document()); You need to do the same thing in ...
3 years, 10 months ago (2017-02-09 20:23:03 UTC) #13
pfeldman
> You need to do the same thing in OffscreenCanvas::getCanvasRenderingContext I don't think I _need_ ...
3 years, 10 months ago (2017-02-09 21:01:47 UTC) #14
Justin Novosad
On 2017/02/09 21:01:47, pfeldman wrote: > > You need to do the same thing in ...
3 years, 10 months ago (2017-02-16 16:53:01 UTC) #15
pfeldman
> I see. FYI, OffscreenCanvas is also exposed on the main thread, not just > ...
3 years, 10 months ago (2017-02-16 18:43:58 UTC) #16
Justin Novosad
3 years, 10 months ago (2017-02-16 18:50:06 UTC) #17
Message was sent while issue was closed.
On 2017/02/16 18:43:58, pfeldman wrote:
> > I see. FYI, OffscreenCanvas is also exposed on the main thread, not just
> > workers.
> 
> would it make sense calling isDocument() on execution context and only doing
it
> for document-side ones? that one is cheap.

I think so.

Powered by Google App Engine
This is Rietveld 408576698