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

Issue 2341723002: binding: Indexed property returns undefined if out-of-range. (Closed)

Created:
4 years, 3 months ago by Yuki
Modified:
4 years, 3 months ago
Reviewers:
haraken, peria
CC:
chromium-reviews, blink-reviews, blink-reviews-bindings_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

binding: Indexed property returns undefined if out-of-range. Makes indexed properties return undefined if the index is out of range. BUG=229750 Committed: https://crrev.com/9f6cd0eb83b8d3166071dd5d5780b688034e0a61 Cr-Commit-Position: refs/heads/master@{#418816}

Patch Set 1 #

Patch Set 2 : Updated layout test expectations. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -28 lines) Patch
M third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/css-computed-style-item-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/css-style-item-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/css-computed-style-item.js View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/css-style-item.js View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/gamepad/gamepad-api.html View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/gamepad/gamepad-api-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/gamepad/gamepad-polling-access.html View 1 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/gamepad/gamepad-polling-access-expected.txt View 1 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/interface.cpp View 2 chunks +7 lines, -2 lines 2 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp View 1 chunk +7 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface2.cpp View 1 chunk +7 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp View 1 chunk +7 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperationsNotEnumerable.cpp View 1 chunk +7 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp View 1 chunk +7 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (12 generated)
Yuki
Could you review this CL?
4 years, 3 months ago (2016-09-14 14:07:12 UTC) #8
haraken
LGTM
4 years, 3 months ago (2016-09-14 14:45:48 UTC) #9
peria
lgtm https://codereview.chromium.org/2341723002/diff/20001/third_party/WebKit/Source/bindings/templates/interface.cpp File third_party/WebKit/Source/bindings/templates/interface.cpp (right): https://codereview.chromium.org/2341723002/diff/20001/third_party/WebKit/Source/bindings/templates/interface.cpp#newcode24 third_party/WebKit/Source/bindings/templates/interface.cpp:24: // We assume that all the implementations support ...
4 years, 3 months ago (2016-09-14 15:25:03 UTC) #13
Yuki
https://codereview.chromium.org/2341723002/diff/20001/third_party/WebKit/Source/bindings/templates/interface.cpp File third_party/WebKit/Source/bindings/templates/interface.cpp (right): https://codereview.chromium.org/2341723002/diff/20001/third_party/WebKit/Source/bindings/templates/interface.cpp#newcode24 third_party/WebKit/Source/bindings/templates/interface.cpp:24: // We assume that all the implementations support length() ...
4 years, 3 months ago (2016-09-15 09:49:17 UTC) #14
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/2341723002/20001
4 years, 3 months ago (2016-09-15 09:49:48 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-15 09:55:05 UTC) #17
commit-bot: I haz the power
4 years, 3 months ago (2016-09-15 09:56:32 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9f6cd0eb83b8d3166071dd5d5780b688034e0a61
Cr-Commit-Position: refs/heads/master@{#418816}

Powered by Google App Engine
This is Rietveld 408576698