DescriptionIDL: Values for dictionaries should be a object, null or undefined
To follow the spec[1]. We should throw an type error when
a V8 value for IDL dictionary is neither an object, null, nor
undefined. The current implementation returns an
impl instance with default values.
[1] http://heycam.github.io/webidl/#es-dictionary
BUG=321462
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181891
Patch Set 1 #Patch Set 2 : Rebase #Patch Set 3 : Remove assertion and added a guard #
Total comments: 2
Patch Set 4 : #Patch Set 5 : #Messages
Total messages: 10 (3 generated)
|