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

Issue 724733002: Support for [Clamp] and [EnforceRange] to IDL dictionary. (Closed)

Created:
6 years, 1 month ago by zino
Modified:
6 years, 1 month ago
Reviewers:
haraken, bashi
CC:
blink-reviews, blink-reviews-bindings_chromium.org, arv+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Support for [Clamp] and [EnforceRange] to IDL dictionary. We should be able to use [Clamp][1] and [EnforceRange][2] on dictionary as well as interface or method. They will be used in some dictionaries such as Geolocation API[3], Web Crypto API[4] and so on. [1] http://www.w3.org/TR/WebIDL/#Clamp [2] http://www.w3.org/TR/WebIDL/#EnforceRange [3] http://dev.w3.org/geo/api/spec-source.html#position-options [4] http://www.w3.org/TR/WebCryptoAPI/#dfn-RsaKeyGenParams BUG=321462 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185667

Patch Set 1 : #

Total comments: 6

Patch Set 2 : fixed #

Patch Set 3 : fixed #

Patch Set 4 : rebase #

Patch Set 5 : #

Total comments: 5

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -62 lines) Patch
M LayoutTests/fast/dom/idl-dictionary-unittest.html View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M LayoutTests/fast/dom/idl-dictionary-unittest-expected.txt View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M Source/bindings/scripts/v8_dictionary.py View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M Source/bindings/scripts/v8_types.py View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/templates/dictionary_v8.cpp View 1 2 3 4 5 1 chunk +4 lines, -7 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestDictionary.cpp View 1 2 3 4 5 5 chunks +55 lines, -42 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestDictionaryDerived.cpp View 1 2 3 4 5 2 chunks +7 lines, -10 lines 0 comments Download
M Source/core/testing/DictionaryTest.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/testing/DictionaryTest.cpp View 1 2 3 3 chunks +10 lines, -0 lines 0 comments Download
M Source/core/testing/InternalDictionary.idl View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (8 generated)
zino
Dear all, Please take a look. Thank you.
6 years, 1 month ago (2014-11-16 04:34:43 UTC) #8
haraken
bashi-san is more familiar with the code. https://codereview.chromium.org/724733002/diff/120001/Source/bindings/templates/dictionary_v8.cpp File Source/bindings/templates/dictionary_v8.cpp (right): https://codereview.chromium.org/724733002/diff/120001/Source/bindings/templates/dictionary_v8.cpp#newcode33 Source/bindings/templates/dictionary_v8.cpp:33: if (dictionary.getKey("{{member.name}}", ...
6 years, 1 month ago (2014-11-17 00:22:19 UTC) #9
bashi
Thank you for the CL! I believe we have a case in which we need ...
6 years, 1 month ago (2014-11-17 02:20:45 UTC) #10
bashi
Hi zino, Are you still working on this? If not, I'll willing to take over ...
6 years, 1 month ago (2014-11-19 11:17:21 UTC) #11
zino
On 2014/11/19 11:17:21, bashi1 wrote: > Hi zino, > > Are you still working on ...
6 years, 1 month ago (2014-11-19 11:22:20 UTC) #12
bashi
On 2014/11/19 11:22:20, zino wrote: > On 2014/11/19 11:17:21, bashi1 wrote: > > Hi zino, ...
6 years, 1 month ago (2014-11-19 13:16:51 UTC) #13
zino
Thank you for review :) I've uploaded new patch set. Please take a look. https://codereview.chromium.org/724733002/diff/120001/Source/bindings/templates/dictionary_v8.cpp ...
6 years, 1 month ago (2014-11-19 18:12:19 UTC) #14
bashi
non-owner LGTM with one comment that should be addressed. https://codereview.chromium.org/724733002/diff/120001/Source/bindings/templates/dictionary_v8.cpp File Source/bindings/templates/dictionary_v8.cpp (right): https://codereview.chromium.org/724733002/diff/120001/Source/bindings/templates/dictionary_v8.cpp#newcode30 Source/bindings/templates/dictionary_v8.cpp:30: ...
6 years, 1 month ago (2014-11-20 02:18:02 UTC) #15
zino
Thank you for review :) I'm waiting for owner's approval. https://codereview.chromium.org/724733002/diff/200001/Source/bindings/templates/dictionary_v8.cpp File Source/bindings/templates/dictionary_v8.cpp (left): https://codereview.chromium.org/724733002/diff/200001/Source/bindings/templates/dictionary_v8.cpp#oldcode55 ...
6 years, 1 month ago (2014-11-20 02:40:43 UTC) #16
haraken
Sorry about the review delay. LGTM.
6 years, 1 month ago (2014-11-20 13:05:40 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/724733002/220001
6 years, 1 month ago (2014-11-20 14:07:08 UTC) #19
commit-bot: I haz the power
6 years, 1 month ago (2014-11-20 14:14:49 UTC) #20
Message was sent while issue was closed.
Committed patchset #6 (id:220001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=185667

Powered by Google App Engine
This is Rietveld 408576698