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

Issue 590443002: IDL: object type support for IDL dictionary (Closed)

Created:
6 years, 3 months ago by bashi
Modified:
6 years, 2 months ago
Reviewers:
haraken, Jens Widell
CC:
blink-reviews, blink-reviews-bindings_chromium.org, arv+blink, Inactive, abarth-chromium
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

IDL: object type support for IDL dictionary We need to support object type for IDL dictionary members because registerElement() takes a dictionary which has object? member[1]. In dictionary impl classes, dictionary members of which type object are represented using ScriptValue. [1] http://w3c.github.io/webcomponents/spec/custom/#dfn-document-registerElement BUG=321462 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182725

Patch Set 1 : #

Total comments: 6

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -32 lines) Patch
M LayoutTests/fast/dom/idl-dictionary-unittest.html View 6 chunks +16 lines, -0 lines 0 comments Download
M LayoutTests/fast/dom/idl-dictionary-unittest-expected.txt View 4 chunks +10 lines, -0 lines 0 comments Download
M Source/bindings/scripts/v8_dictionary.py View 7 chunks +14 lines, -7 lines 0 comments Download
M Source/bindings/scripts/v8_types.py View 1 2 3 4 3 chunks +7 lines, -3 lines 0 comments Download
M Source/bindings/templates/dictionary_v8.cpp View 1 2 2 chunks +11 lines, -2 lines 0 comments Download
M Source/bindings/tests/idls/core/TestDictionary.idl View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/core/TestDictionary.h View 3 chunks +9 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestDictionary.cpp View 3 chunks +66 lines, -20 lines 0 comments Download
M Source/core/testing/DictionaryTest.h View 2 chunks +3 lines, -0 lines 0 comments Download
M Source/core/testing/DictionaryTest.cpp View 3 chunks +6 lines, -0 lines 0 comments Download
M Source/core/testing/InternalDictionary.idl View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (5 generated)
bashi
Haraken-san, Jens, Could you take a look?
6 years, 3 months ago (2014-09-24 03:42:11 UTC) #3
haraken
https://codereview.chromium.org/590443002/diff/20001/Source/bindings/scripts/v8_dictionary.py File Source/bindings/scripts/v8_dictionary.py (right): https://codereview.chromium.org/590443002/diff/20001/Source/bindings/scripts/v8_dictionary.py#newcode117 Source/bindings/scripts/v8_dictionary.py:117: return '!(m_{0}.isEmpty() || m_{0}.isNull() || m_{0}.isUndefined())'.format(member.name) Just help me ...
6 years, 3 months ago (2014-09-24 04:08:57 UTC) #4
Jens Widell
https://codereview.chromium.org/590443002/diff/20001/Source/bindings/templates/dictionary_v8.cpp File Source/bindings/templates/dictionary_v8.cpp (right): https://codereview.chromium.org/590443002/diff/20001/Source/bindings/templates/dictionary_v8.cpp#newcode63 Source/bindings/templates/dictionary_v8.cpp:63: } Replace this and following 3 lines with {% ...
6 years, 3 months ago (2014-09-24 05:23:06 UTC) #5
bashi
Thank you for review! https://codereview.chromium.org/590443002/diff/20001/Source/bindings/scripts/v8_dictionary.py File Source/bindings/scripts/v8_dictionary.py (right): https://codereview.chromium.org/590443002/diff/20001/Source/bindings/scripts/v8_dictionary.py#newcode117 Source/bindings/scripts/v8_dictionary.py:117: return '!(m_{0}.isEmpty() || m_{0}.isNull() || ...
6 years, 3 months ago (2014-09-24 05:28:55 UTC) #6
haraken
LGTM
6 years, 3 months ago (2014-09-24 05:35:44 UTC) #7
Jens Widell
https://codereview.chromium.org/590443002/diff/40001/Source/bindings/scripts/v8_types.py File Source/bindings/scripts/v8_types.py (right): https://codereview.chromium.org/590443002/diff/40001/Source/bindings/scripts/v8_types.py#newcode830 Source/bindings/scripts/v8_types.py:830: idl_type.is_enum or idl_type.is_dictionary or idl_type.name == 'Object') For a ...
6 years, 3 months ago (2014-09-24 05:48:58 UTC) #8
bashi
https://codereview.chromium.org/590443002/diff/40001/Source/bindings/scripts/v8_types.py File Source/bindings/scripts/v8_types.py (right): https://codereview.chromium.org/590443002/diff/40001/Source/bindings/scripts/v8_types.py#newcode830 Source/bindings/scripts/v8_types.py:830: idl_type.is_enum or idl_type.is_dictionary or idl_type.name == 'Object') On 2014/09/24 ...
6 years, 3 months ago (2014-09-24 07:19:30 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/590443002/100001
6 years, 2 months ago (2014-09-25 23:31:25 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: android_blink_compile_dbg on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/android_blink_compile_dbg/builds/13933) android_chromium_gn_compile_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/android_chromium_gn_compile_rel/builds/11762)
6 years, 2 months ago (2014-09-25 23:41:53 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/590443002/100001
6 years, 2 months ago (2014-09-25 23:48:21 UTC) #15
commit-bot: I haz the power
6 years, 2 months ago (2014-09-26 03:20:04 UTC) #16
Message was sent while issue was closed.
Committed patchset #5 (id:100001) as 182725

Powered by Google App Engine
This is Rietveld 408576698