DescriptionSupport missing and invalid defaults for reflected attributes.
Some enumerated attributes have a designated state if the underlying
attribute value is either missing or in an invalid state. That state
should be observable for reflected IDL attributes on getting, hence
add support for controlling what values to use for these attribute
states:
[ReflectMissing=missingValue]
[ReflectInvalid=invalidValue]
The attributes only have an interpretation for limited DOMString
attributes that use [ReflectOnly=<list>]. The missing/invalid value
defaults must appear in the ReflectOnly list.
R=
BUG=331694
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=164579
Patch Set 1 #
Total comments: 2
Patch Set 2 : Use same idiom for looking up value in array #
Messages
Total messages: 6 (0 generated)
|