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

Issue 1486663002: Expose ImageBitmap to (Window,Worker) (Closed)

Created:
5 years ago by xidachen
Modified:
4 years, 11 months ago
CC:
chromium-reviews, blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

This CL put [Exposed=(Window,Worker)] in the ImageBitmap.idl Along with that, some of the layout tests results has to be updated. Also, a layout test has been updated to show that the worker is able to get width&height for an ImageBitmap. The thread of Intent to ship ImageBitmap can be found here: https://groups.google.com/a/chromium.org/d/topic/blink-dev/jRzvehX9U1U/discussion BUG=563984 Committed: https://crrev.com/0b95bd78dc3ac8936f7dec1dce92ec1118d04f95 Cr-Commit-Position: refs/heads/master@{#370179}

Patch Set 1 #

Patch Set 2 : adding layout test for width/height in worker #

Total comments: 1

Patch Set 3 : fix layout tests error #

Patch Set 4 : hiding ImageBitmap after ExperimentalCanvasFeatures flag #

Patch Set 5 : update layout tests results #

Patch Set 6 : Remove the runtime flag and update layout tests results #

Patch Set 7 : More on updating layout test results #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -3 lines) Patch
M third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-data-in-workers-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/resources/canvas-createImageBitmap-data-in-workers.js View 1 1 chunk +9 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/stable/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-dedicated-worker-expected.txt View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-shared-worker-expected.txt View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-dedicated-worker-expected.txt View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-shared-worker-expected.txt View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/ImageBitmap.idl View 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 32 (12 generated)
xidachen
PTAL https://codereview.chromium.org/1486663002/diff/20001/third_party/WebKit/LayoutTests/fast/canvas/resources/canvas-createImageBitmap-data-in-workers.js File third_party/WebKit/LayoutTests/fast/canvas/resources/canvas-createImageBitmap-data-in-workers.js (right): https://codereview.chromium.org/1486663002/diff/20001/third_party/WebKit/LayoutTests/fast/canvas/resources/canvas-createImageBitmap-data-in-workers.js#newcode16 third_party/WebKit/LayoutTests/fast/canvas/resources/canvas-createImageBitmap-data-in-workers.js:16: shouldBe("bitmapHeight", "50"); This will test that getting the ...
5 years ago (2015-12-01 02:19:05 UTC) #2
Justin Novosad
You should have a crbug for this.
5 years ago (2015-12-01 04:39:40 UTC) #3
Justin Novosad
On 2015/12/01 04:39:40, Justin Novosad wrote: > You should have a crbug for this. The ...
5 years ago (2015-12-01 04:51:58 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1486663002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1486663002/40001
5 years ago (2015-12-01 13:19:48 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/123508)
5 years ago (2015-12-01 13:27:58 UTC) #10
xidachen
rbyers@: I changed several expected.txt for layout tests in this CL and requires lgtm from ...
5 years ago (2015-12-01 14:54:38 UTC) #12
Rick Byers
On 2015/12/01 14:54:38, xidachen wrote: > rbyers@: I changed several expected.txt for layout tests in ...
5 years ago (2015-12-01 16:12:27 UTC) #13
xidachen
On 2015/12/01 16:12:27, Rick Byers wrote: > On 2015/12/01 14:54:38, xidachen wrote: > > rbyers@: ...
5 years ago (2015-12-01 19:38:49 UTC) #14
Rick Byers
On 2015/12/01 19:38:49, xidachen wrote: > On 2015/12/01 16:12:27, Rick Byers wrote: > > On ...
5 years ago (2015-12-01 19:50:22 UTC) #15
xidachen
> Ah, I missed that createImageBitmap was behind a > RuntimeEnabled=ExperimentalCanvasFeatures. Is there a reason ...
5 years ago (2015-12-02 02:54:04 UTC) #16
Rick Byers
On 2015/12/02 02:54:04, xidachen wrote: > > Ah, I missed that createImageBitmap was behind a ...
5 years ago (2015-12-02 03:57:36 UTC) #17
xidachen
> Ok, so it was shipped only by accident then with no practical use, right? ...
5 years ago (2015-12-02 13:40:21 UTC) #18
Rick Byers
On 2015/12/02 13:40:21, xidachen wrote: > > Ok, so it was shipped only by accident ...
5 years ago (2015-12-02 14:31:52 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1486663002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1486663002/100001
4 years, 11 months ago (2016-01-19 16:36:23 UTC) #21
xidachen
Hi Rick, Now that I got 3 LGTMs on ImageBitmap, let's land this CL first. ...
4 years, 11 months ago (2016-01-19 18:37:28 UTC) #22
Justin Novosad
Sorry I did not chime in earlier. I can answer Rick's questions. Due to a ...
4 years, 11 months ago (2016-01-19 18:58:30 UTC) #23
Rick Byers
On 2016/01/19 18:58:30, Justin Novosad wrote: > Sorry I did not chime in earlier. I ...
4 years, 11 months ago (2016-01-19 19:04:26 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1486663002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1486663002/120001
4 years, 11 months ago (2016-01-19 19:12:29 UTC) #28
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 11 months ago (2016-01-19 20:25:08 UTC) #30
commit-bot: I haz the power
4 years, 11 months ago (2016-01-19 20:26:55 UTC) #32
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/0b95bd78dc3ac8936f7dec1dce92ec1118d04f95
Cr-Commit-Position: refs/heads/master@{#370179}

Powered by Google App Engine
This is Rietveld 408576698