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

Issue 1057453002: bindings: Throw TypeError when required dictionary member is undefined (Closed)

Created:
5 years, 8 months ago by bashi
Modified:
5 years, 8 months ago
Reviewers:
haraken, Jens Widell
CC:
blink-reviews, blink-reviews-bindings_chromium.org, vivekg_samsung, arv+blink, Inactive, vivekg
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

bindings: Throw TypeError when required dictionary member is undefined The spec[1] says that when a required dictionary member is undefined, a TypeError should be thrown. [1] http://heycam.github.io/webidl/#es-dictionary BUG=472220 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=192996

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -4 lines) Patch
M LayoutTests/fast/dom/idl-dictionary-unittest.html View 4 chunks +8 lines, -3 lines 0 comments Download
M LayoutTests/fast/dom/idl-dictionary-unittest-expected.txt View 1 chunk +5 lines, -1 line 0 comments Download
M Source/bindings/scripts/idl_definitions.py View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/scripts/v8_dictionary.py View 2 chunks +5 lines, -0 lines 0 comments Download
M Source/bindings/templates/dictionary_v8.cpp View 1 2 chunks +8 lines, -0 lines 0 comments Download
M Source/bindings/tests/idls/core/TestDictionaryDerived.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/tests/results/core/TestDictionaryDerivedImplementedAs.h View 2 chunks +6 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestDictionaryDerived.cpp View 1 2 chunks +21 lines, -0 lines 0 comments Download
M Source/core/testing/DictionaryTest.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/testing/DictionaryTest.cpp View 4 chunks +5 lines, -0 lines 0 comments Download
M Source/core/testing/InternalDictionaryDerived.idl View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
bashi
PTAL?
5 years, 8 months ago (2015-04-01 09:57:37 UTC) #2
haraken
Does the behavior align with Firefox and IE?
5 years, 8 months ago (2015-04-01 10:04:43 UTC) #3
Jens Widell
LGTM https://codereview.chromium.org/1057453002/diff/1/Source/bindings/tests/results/core/TestDictionaryDerivedImplementedAs.h File Source/bindings/tests/results/core/TestDictionaryDerivedImplementedAs.h (right): https://codereview.chromium.org/1057453002/diff/1/Source/bindings/tests/results/core/TestDictionaryDerivedImplementedAs.h#newcode30 Source/bindings/tests/results/core/TestDictionaryDerivedImplementedAs.h:30: bool hasRequiredLongMember() const { return !m_requiredLongMember.isNull(); } Slightly ...
5 years, 8 months ago (2015-04-01 10:06:20 UTC) #4
bashi
> Does the behavior align with Firefox and IE? WebCrypto defines Algorithm dictionary with required ...
5 years, 8 months ago (2015-04-01 10:42:15 UTC) #5
haraken
> > Does the behavior align with Firefox and IE? > > WebCrypto defines Algorithm ...
5 years, 8 months ago (2015-04-01 12:04:36 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1057453002/20001
5 years, 8 months ago (2015-04-02 01:27:39 UTC) #9
commit-bot: I haz the power
5 years, 8 months ago (2015-04-02 05:24:54 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=192996

Powered by Google App Engine
This is Rietveld 408576698