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

Issue 144463014: Add [StrictTypeChecking] to the SVGGeometryElement interface (Closed)

Created:
6 years, 10 months ago by fs
Modified:
6 years, 10 months ago
CC:
blink-reviews, krit, kojih, arv+blink, jsbell+bindings_chromium.org, sof, rwlbuis, fs, abarth-chromium, marja+watch_chromium.org, ed+blinkwatch_opera.com, pdr., f(malita), adamk+blink_chromium.org, gyuyoung.kim_webkit.org, Stephen Chennney, Nate Chapin, watchdog-blink-watchlist_google.com, Inactive
Visibility:
Public.

Description

Add [StrictTypeChecking] to the SVGGeometryElement interface Apply strict type checking to the SVGGeometryElement interface. Fix an issue with the [StrictTypeChecking] attribute, where 'undefined' would be accepted when it shouldn't have been. This made the explicit checking in SVGTransformListPropertyTearOff unnecessary, so remove (and update test with the new expected result.) BUG=341810 BUG=342741 BUG=341379 BUG=341620 BUG=345199 BUG=341030 BUG=341776 BUG=344474 BUG=345191 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167003

Patch Set 1 #

Total comments: 10

Patch Set 2 : Drop/change TC; Simplify generated code. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -32 lines) Patch
M LayoutTests/svg/dom/SVGTransformList-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/svg/dom/undefined-null.html View 1 5 chunks +11 lines, -11 lines 0 comments Download
M LayoutTests/svg/dom/undefined-null-expected.txt View 1 2 chunks +11 lines, -0 lines 0 comments Download
M Source/bindings/scripts/code_generator_v8.pm View 1 1 chunk +15 lines, -8 lines 0 comments Download
M Source/bindings/templates/methods.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfacePython.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestObjectPython.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestSVG.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGGeometryElement.idl View 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/svg/SVGTransformList.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/properties/SVGTransformListPropertyTearOff.h View 1 chunk +1 line, -5 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
fs
6 years, 10 months ago (2014-02-11 16:21:23 UTC) #1
Stephen Chennney
LGTM for SVG code and IDLs but I believe you'll also need an owner for ...
6 years, 10 months ago (2014-02-11 16:35:21 UTC) #2
haraken
On 2014/02/11 16:35:21, Stephen Chenney wrote: > LGTM for SVG code and IDLs but I ...
6 years, 10 months ago (2014-02-11 16:36:35 UTC) #3
Nils Barth (inactive)
LGTM for bindings - thanks for handling this! (Had a suggestion for comment, but code ...
6 years, 10 months ago (2014-02-12 01:15:22 UTC) #4
Nils Barth (inactive)
https://codereview.chromium.org/144463014/diff/1/Source/bindings/scripts/code_generator_v8.pm File Source/bindings/scripts/code_generator_v8.pm (right): https://codereview.chromium.org/144463014/diff/1/Source/bindings/scripts/code_generator_v8.pm#newcode2785 Source/bindings/scripts/code_generator_v8.pm:2785: # If the "StrictTypeChecking" extended attribute is present, and ...
6 years, 10 months ago (2014-02-12 01:15:44 UTC) #5
Nils Barth (inactive)
A few JS style points too. https://codereview.chromium.org/144463014/diff/1/LayoutTests/svg/dom/SVGGeometryElement.html File LayoutTests/svg/dom/SVGGeometryElement.html (right): https://codereview.chromium.org/144463014/diff/1/LayoutTests/svg/dom/SVGGeometryElement.html#newcode1 LayoutTests/svg/dom/SVGGeometryElement.html:1: <!doctype html> Style ...
6 years, 10 months ago (2014-02-12 03:29:51 UTC) #6
Nils Barth (inactive)
Hi Florin, As this CL fixes many bugs, I've first created a test case in ...
6 years, 10 months ago (2014-02-12 03:51:48 UTC) #7
Nils Barth (inactive)
On 2014/02/12 03:51:48, Nils Barth wrote: > Hi Florin, I mean: Hi Fredrik, (^_^;)
6 years, 10 months ago (2014-02-12 07:19:07 UTC) #8
fs
Dropped my TC (after fixing the style issue naturally ;-)) in favor of the one ...
6 years, 10 months ago (2014-02-12 10:07:26 UTC) #9
Nils Barth (inactive)
Thanks for fixes! On 2014/02/12 10:07:26, fs wrote: > Simplified the generated code a tad ...
6 years, 10 months ago (2014-02-12 10:49:15 UTC) #10
fs
The CQ bit was checked by fs@opera.com
6 years, 10 months ago (2014-02-12 11:48:02 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fs@opera.com/144463014/120001
6 years, 10 months ago (2014-02-12 11:48:13 UTC) #12
commit-bot: I haz the power
Change committed as 167003
6 years, 10 months ago (2014-02-12 12:46:40 UTC) #13
Nils Barth (inactive)
6 years, 10 months ago (2014-02-13 06:21:26 UTC) #14
Message was sent while issue was closed.
BTW, I've written documentation about |undefined| and |null| at:
https://sites.google.com/a/chromium.org/dev/blink/webidl#TOC-undefined-and-null

Powered by Google App Engine
This is Rietveld 408576698