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

Issue 2323933004: Disallow users modify canvas after it transfers control to offscreen (Closed)

Created:
4 years, 3 months ago by xlai (Olivia)
Modified:
4 years, 3 months ago
Reviewers:
Justin Novosad
CC:
chromium-reviews, dshwang, ajuma+watch-canvas_chromium.org, blink-reviews-html_chromium.org, haraken, dglazkov+blink, Rik, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disallow users modify canvas after it transfers control to offscreen After a canvas has transferred its control to Offscreen, we should not allow users to perform resizing, toDataURL, toBlob and getContext. This is a reland of https://crrev.com/85264448db0298f836e6d7bf95ad11134637e4ed at refs/heads/master@{#418114}. BUG=563852 Committed: https://crrev.com/3e197101b919d7fd7d64fbebabaaefc0c1f68344 Cr-Commit-Position: refs/heads/master@{#418357}

Patch Set 1 : redo #

Patch Set 2 : test #

Patch Set 3 : Rebase #

Total comments: 2

Patch Set 4 : Fixed mistake #

Patch Set 5 : Fix #

Messages

Total messages: 21 (11 generated)
xlai (Olivia)
4 years, 3 months ago (2016-09-09 20:21:15 UTC) #3
Justin Novosad
On 2016/09/09 20:21:15, xlai (Olivia) wrote: lgtm
4 years, 3 months ago (2016-09-12 19:40:40 UTC) #4
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/2323933004/60001
4 years, 3 months ago (2016-09-12 20:42:41 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 3 months ago (2016-09-13 00:13:39 UTC) #8
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/85264448db0298f836e6d7bf95ad11134637e4ed Cr-Commit-Position: refs/heads/master@{#418114}
4 years, 3 months ago (2016-09-13 00:17:38 UTC) #10
kjellander_chromium
A revert of this CL (patchset #3 id:60001) has been created in https://codereview.chromium.org/2335903003/ by kjellander@chromium.org. ...
4 years, 3 months ago (2016-09-13 07:42:18 UTC) #11
Justin Novosad
https://codereview.chromium.org/2323933004/diff/60001/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp File third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp (right): https://codereview.chromium.org/2323933004/diff/60001/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp#newcode666 third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp:666: exceptionState.throwDOMException(InvalidStateError, "canvas.toDataURL is not allowed for a canvas that ...
4 years, 3 months ago (2016-09-13 15:00:11 UTC) #12
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/2323933004/100001
4 years, 3 months ago (2016-09-13 18:29:21 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 3 months ago (2016-09-13 20:44:15 UTC) #19
commit-bot: I haz the power
4 years, 3 months ago (2016-09-13 20:47:36 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/3e197101b919d7fd7d64fbebabaaefc0c1f68344
Cr-Commit-Position: refs/heads/master@{#418357}

Powered by Google App Engine
This is Rietveld 408576698