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

Issue 1911793003: drawImage throw when ImageBitmap is neutered (Closed)

Created:
4 years, 8 months ago by xidachen
Modified:
4 years, 8 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
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

drawImage throw when ImageBitmap is neutered When the source of canvas.drawImage() is an ImageBitmap and it has been neutered, we should throw an InvalidStateError. BUG=605606 Committed: https://crrev.com/ee0c958459d7a6307735cdecaaabd64fa40c7b88 Cr-Commit-Position: refs/heads/master@{#389496}

Patch Set 1 #

Patch Set 2 : clean up code #

Total comments: 6

Patch Set 3 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -6 lines) Patch
M third_party/WebKit/LayoutTests/fast/canvas/canvas-ImageBitmap-close.html View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-ImageBitmap-close-expected.txt View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/ImageBitmap.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/canvas/CanvasImageSource.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.cpp View 1 2 5 chunks +19 lines, -6 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
xidachen
4 years, 8 months ago (2016-04-21 18:43:28 UTC) #3
Justin Novosad
https://codereview.chromium.org/1911793003/diff/20001/third_party/WebKit/LayoutTests/fast/canvas/canvas-ImageBitmap-close.html File third_party/WebKit/LayoutTests/fast/canvas/canvas-ImageBitmap-close.html (right): https://codereview.chromium.org/1911793003/diff/20001/third_party/WebKit/LayoutTests/fast/canvas/canvas-ImageBitmap-close.html#newcode32 third_party/WebKit/LayoutTests/fast/canvas/canvas-ImageBitmap-close.html:32: try { In tests that include js-test.js, you might ...
4 years, 8 months ago (2016-04-21 20:45:19 UTC) #4
xidachen
https://codereview.chromium.org/1911793003/diff/20001/third_party/WebKit/LayoutTests/fast/canvas/canvas-ImageBitmap-close.html File third_party/WebKit/LayoutTests/fast/canvas/canvas-ImageBitmap-close.html (right): https://codereview.chromium.org/1911793003/diff/20001/third_party/WebKit/LayoutTests/fast/canvas/canvas-ImageBitmap-close.html#newcode32 third_party/WebKit/LayoutTests/fast/canvas/canvas-ImageBitmap-close.html:32: try { On 2016/04/21 20:45:19, Justin Novosad wrote: > ...
4 years, 8 months ago (2016-04-22 01:58:13 UTC) #5
xidachen
gentle ping.
4 years, 8 months ago (2016-04-25 15:23:41 UTC) #6
Justin Novosad
On 2016/04/25 15:23:41, xidachen wrote: > gentle ping. lgtm
4 years, 8 months ago (2016-04-25 15:29:41 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1911793003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1911793003/40001
4 years, 8 months ago (2016-04-25 15:30:17 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_x86-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_x86-generic_chromium_compile_only_ng/builds/127130)
4 years, 8 months ago (2016-04-25 15:39:02 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1911793003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1911793003/40001
4 years, 8 months ago (2016-04-25 15:51:12 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-25 16:43:47 UTC) #15
commit-bot: I haz the power
4 years, 8 months ago (2016-04-25 16:45:32 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ee0c958459d7a6307735cdecaaabd64fa40c7b88
Cr-Commit-Position: refs/heads/master@{#389496}

Powered by Google App Engine
This is Rietveld 408576698