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

Issue 2357463002: Consolidate read-only exception throwing for SVG*TearOffs (Closed)

Created:
4 years, 3 months ago by fs
Modified:
4 years, 3 months ago
Reviewers:
pdr.
CC:
fs, blink-reviews, chromium-reviews, krit, f(malita), gyuyoung2, kouhei+svg_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Consolidate read-only exception throwing for SVG*TearOffs Where possible, use the "standard" message for read-only objects from ExceptionMessages. Move the setup of the ExceptionState with this message to SVGPropertyTearOffBase and reuse. It also saves a small chunk of code-space. Also drop a bunch of vspace, reorder checks in SVGPreserveAspectRatioTearOff to check for immutability first and do less work on error in SVGMatrixTearOff. Committed: https://crrev.com/2da30558858160bdb32812e3a1a1c172f0150e58 Cr-Commit-Position: refs/heads/master@{#419875}

Patch Set 1 #

Patch Set 2 : Add vspace #

Patch Set 3 : Baseline updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -155 lines) Patch
M third_party/WebKit/LayoutTests/svg/animations/animate-gradient-transform-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/svg/custom/baseval-animval-equality-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/svg/dom/SVGNumberList-basics-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/svg/dom/SVGTransformList-basics-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/svg/dom/SVGViewSpec-defaults-expected.txt View 1 2 3 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAngleTearOff.cpp View 7 chunks +5 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGLengthTearOff.cpp View 6 chunks +5 lines, -21 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGMatrixTearOff.h View 2 chunks +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGMatrixTearOff.cpp View 2 chunks +8 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGNumberTearOff.cpp View 2 chunks +1 line, -4 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGPointTearOff.cpp View 3 chunks +2 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGPreserveAspectRatioTearOff.cpp View 1 chunk +8 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGRectTearOff.cpp View 5 chunks +4 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGStringListTearOff.h View 5 chunks +7 lines, -18 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGTransformListTearOff.cpp View 2 chunks +1 line, -4 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGTransformTearOff.cpp View 7 chunks +7 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/core/svg/properties/SVGListPropertyTearOffHelper.h View 4 chunks +10 lines, -27 lines 0 comments Download
M third_party/WebKit/Source/core/svg/properties/SVGPropertyTearOff.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/svg/properties/SVGPropertyTearOff.cpp View 1 chunk +10 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (14 generated)
fs
4 years, 3 months ago (2016-09-20 12:31:08 UTC) #12
pdr.
On 2016/09/20 at 12:31:08, fs wrote: > LGTM
4 years, 3 months ago (2016-09-20 20:22:33 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2357463002/40001
4 years, 3 months ago (2016-09-20 22:25:42 UTC) #15
commit-bot: I haz the power
Failed to apply the patch. On branch working_branch Your branch is up-to-date with 'origin/refs/pending/heads/master'. nothing ...
4 years, 3 months ago (2016-09-20 22:34:19 UTC) #17
commit-bot: I haz the power
4 years, 3 months ago (2016-09-20 22:34:27 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/2da30558858160bdb32812e3a1a1c172f0150e58
Cr-Commit-Position: refs/heads/master@{#419875}

Powered by Google App Engine
This is Rietveld 408576698