[webkit-dev] "ReflectOnly" IDL equivalent
yoav at yoav.ws
Thu Jun 1 22:57:04 PDT 2017
I'm working on the link preload feature and as part of that want to align
it to the spec from an IDL perspective.
The `as` attribute is defined <https://html.spec.whatwg.org/#attr-link-as>
as an "enumerated attribute", which reflects only a finite set of known
values. That is important for feature detection purposes, so that
developers can know which `as` values are supported by the implementation.
In Blink this is done using `ReflectOnly
(pending CL <https://codereview.chromium.org/2903653005/>), and I'm
wondering what is the WebKit equivalent to implement attributes that
to known values <https://html.spec.whatwg.org/#limited-to-only-known-values>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev