On 12/30/12 2:16 PM, Robert O'Callahan wrote:
How bad would it be to make "<expr> instanceof <expression resolving to WebIDL interface>" special-cased to re-map the RHS to the appropriate WebIDL interface object for <expr>?
In terms of implementation complexity on our end, it's trivial as long as we don't follow the WebIDL spec and make things like HTMLAnchorElement actual Function instances.
In terms of specs and getting other UAs to go along... I don't know. -Boris _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform