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

Issue 1509493002: Disallow [Measure] and [MeasureAs] on interfaces without a constructor (Closed)

Created:
5 years ago by davve
Modified:
5 years ago
Reviewers:
haraken, fs
CC:
chromium-reviews, Eric Willigers, krit, rjwright, blink-reviews-animation_chromium.org, darktears, kouhei+svg_chromium.org, shans, f(malita), gyuyoung2, blink-reviews, blink-reviews-bindings_chromium.org, Stephen Chennney, rwlbuis, pdr+svgwatchlist_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disallow [Measure] and [MeasureAs] on interfaces without a constructor For the instances where MeasureAs was specified on interfaces without a constructor, simply remove the MeasureAs. Since they can't be created by script, it seems more worthwhile want to measure where these object are returned rather than the use of the interfaces themselves. The only change in generated code will be less includes of core/frame/UseCounter.h, as can be seen in the binding testsuite update. BUG=415074, 567015 Committed: https://crrev.com/ec4fb75106a96b90facdcfe0a762d65d6c066c84 Cr-Commit-Position: refs/heads/master@{#363503}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -22 lines) Patch
M third_party/WebKit/Source/bindings/scripts/v8_interface.py View 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/idls/core/TestInterface.idl View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimatedAngle.idl View 1 chunk +0 lines, -1 line 3 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimatedBoolean.idl View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimatedEnumeration.idl View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimatedInteger.idl View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimatedLength.idl View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimatedLengthList.idl View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimatedNumber.idl View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimatedNumberList.idl View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimatedPreserveAspectRatio.idl View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimatedRect.idl View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimatedString.idl View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimatedTransformList.idl View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGLength.idl View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGLengthList.idl View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGNumberList.idl View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGPointList.idl View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGPreserveAspectRatio.idl View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGTransform.idl View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGTransformList.idl View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 17 (5 generated)
davve
+haraken for bindings, +philipj for the rest. PTAL.
5 years ago (2015-12-07 14:47:49 UTC) #2
davve
On 2015/12/07 14:47:49, David Vest wrote: > +haraken for bindings, +philipj for the rest. PTAL. ...
5 years ago (2015-12-07 14:48:22 UTC) #3
fs
On 2015/12/07 at 14:48:22, davve wrote: > On 2015/12/07 14:47:49, David Vest wrote: > > ...
5 years ago (2015-12-07 14:50:27 UTC) #4
haraken
LGTM https://codereview.chromium.org/1509493002/diff/1/third_party/WebKit/Source/core/svg/SVGAnimatedAngle.idl File third_party/WebKit/Source/core/svg/SVGAnimatedAngle.idl (left): https://codereview.chromium.org/1509493002/diff/1/third_party/WebKit/Source/core/svg/SVGAnimatedAngle.idl#oldcode31 third_party/WebKit/Source/core/svg/SVGAnimatedAngle.idl:31: MeasureAs=SVG1DOM, What has this been counting before this ...
5 years ago (2015-12-07 14:51:38 UTC) #5
davve
https://codereview.chromium.org/1509493002/diff/1/third_party/WebKit/Source/core/svg/SVGAnimatedAngle.idl File third_party/WebKit/Source/core/svg/SVGAnimatedAngle.idl (left): https://codereview.chromium.org/1509493002/diff/1/third_party/WebKit/Source/core/svg/SVGAnimatedAngle.idl#oldcode31 third_party/WebKit/Source/core/svg/SVGAnimatedAngle.idl:31: MeasureAs=SVG1DOM, On 2015/12/07 14:51:38, haraken wrote: > > What ...
5 years ago (2015-12-07 14:53:13 UTC) #6
haraken
On 2015/12/07 14:53:13, David Vest wrote: > https://codereview.chromium.org/1509493002/diff/1/third_party/WebKit/Source/core/svg/SVGAnimatedAngle.idl > File third_party/WebKit/Source/core/svg/SVGAnimatedAngle.idl (left): > > https://codereview.chromium.org/1509493002/diff/1/third_party/WebKit/Source/core/svg/SVGAnimatedAngle.idl#oldcode31 ...
5 years ago (2015-12-07 14:55:58 UTC) #7
davve
https://codereview.chromium.org/1509493002/diff/1/third_party/WebKit/Source/core/svg/SVGAnimatedAngle.idl File third_party/WebKit/Source/core/svg/SVGAnimatedAngle.idl (left): https://codereview.chromium.org/1509493002/diff/1/third_party/WebKit/Source/core/svg/SVGAnimatedAngle.idl#oldcode31 third_party/WebKit/Source/core/svg/SVGAnimatedAngle.idl:31: MeasureAs=SVG1DOM, On 2015/12/07 14:53:12, David Vest wrote: > On ...
5 years ago (2015-12-07 14:57:16 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1509493002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1509493002/1
5 years ago (2015-12-07 14:59:40 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/88435)
5 years ago (2015-12-07 16:20:18 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1509493002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1509493002/1
5 years ago (2015-12-07 16:23:33 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-12-07 17:22:19 UTC) #15
commit-bot: I haz the power
5 years ago (2015-12-07 17:23:50 UTC) #17
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/ec4fb75106a96b90facdcfe0a762d65d6c066c84
Cr-Commit-Position: refs/heads/master@{#363503}

Powered by Google App Engine
This is Rietveld 408576698