DescriptionIDL: Properly support [Exposed] on static methods
They were conditionally installed as indicated by the [Exposed] attribute,
but they were installed on the prototype object rather than on the
interface object.
A static method with [Exposed] fulfills the requirements for being treated
both as a conditionally enabled method (because of [Exposed]) and a method
with custom registration (because of being static), and due to the order
in which those requirements were checked, it ended up being treated as a
conditionally enabled method, only.
Fix by giving custom registration priority and by adding the same
condition filters around that registration code, so that such methods can
still also be all sorts of conditionally enabled.
BUG=434741
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=187161
Patch Set 1 #
Total comments: 3
Patch Set 2 : #
Messages
Total messages: 10 (2 generated)
|