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

Issue 1471563002: Add [TypeChecking=Interface] to the V8Path2D interface (Closed)

Created:
5 years, 1 month ago by philipj_slow
Modified:
5 years ago
Reviewers:
haraken, Jens Widell, bashi, Yuki
CC:
chromium-reviews, blink-reviews, ajuma+watch-canvas_chromium.org, Rik, dshwang
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add [TypeChecking=Interface] to the V8Path2D interface This affects the generated code of the constructor, which will now throw a TypeError if "parameter 1 is not of type 'Path2D'." However, this code path is unreachable, because there's a type check (V8Path2D::hasInstance()) to determine that this form of the constructor should be used. Promoting [TypeChecking=Interface] to the interface level will make it possible to make [TypeChecking=Interface] the default without changing the generated code for this interface. BUG=462561 Committed: https://crrev.com/884d8f3e48d2b2fd8dc1e75555c0f36f307d44fe Cr-Commit-Position: refs/heads/master@{#361317}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M third_party/WebKit/Source/modules/canvas2d/Path2D.idl View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 25 (9 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1471563002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1471563002/1
5 years, 1 month ago (2015-11-21 20:14:29 UTC) #2
philipj_slow
PTAL! There must be many more cases with redundant type checking, do you think it ...
5 years, 1 month ago (2015-11-21 21:28:49 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-22 04:52:15 UTC) #6
Justin Novosad
On 2015/11/22 04:52:15, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
5 years, 1 month ago (2015-11-23 15:17:12 UTC) #7
philipj_slow
On 2015/11/23 15:17:12, Justin Novosad wrote: > On 2015/11/22 04:52:15, commit-bot: I haz the power ...
5 years ago (2015-11-23 16:14:29 UTC) #8
bashi
On 2015/11/21 21:28:49, philipj wrote: > PTAL! > > There must be many more cases ...
5 years ago (2015-11-24 00:12:13 UTC) #11
Yuki
The CL itself looks good to me. +haraken@, I'm now thinking it's better to remove ...
5 years ago (2015-11-24 06:46:57 UTC) #13
Yuki
Oops, "looks good to me" didn't work. lgtm.
5 years ago (2015-11-24 06:47:44 UTC) #14
haraken
LGTM
5 years ago (2015-11-24 06:57:48 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1471563002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1471563002/1
5 years ago (2015-11-24 07:44:38 UTC) #17
philipj_slow
On 2015/11/24 06:46:57, Yuki wrote: > The CL itself looks good to me. > > ...
5 years ago (2015-11-24 07:45:32 UTC) #18
Yuki
On 2015/11/24 07:45:32, philipj wrote: > On 2015/11/24 06:46:57, Yuki wrote: > > The CL ...
5 years ago (2015-11-24 08:01:42 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/100514)
5 years ago (2015-11-24 08:56:02 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1471563002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1471563002/1
5 years ago (2015-11-24 10:04:04 UTC) #23
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-11-24 11:35:15 UTC) #24
commit-bot: I haz the power
5 years ago (2015-11-24 11:36:43 UTC) #25
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/884d8f3e48d2b2fd8dc1e75555c0f36f307d44fe
Cr-Commit-Position: refs/heads/master@{#361317}

Powered by Google App Engine
This is Rietveld 408576698