DescriptionIDL: Add more test cases to idl-dictionary-unittest.html
Add DictionaryHelper::getWithUndefinedOrNullCheck() to fix a bug that
newly added tests found. When IDL dictionary member is undefined or null,
the member should be treated as 'not present' and default values should
be used when specified. Since DictionaryHelper::get() converts
null/undefined into a valid value, we can't use DictionaryHelper::get()
in IDL dictionary implementation directly.
BUG=321462
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181604
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|