[Webkit-unassigned] [Bug 114465] [DOM] Non-callback interface objects without [NoInterfaceObject] should be instanceof Function

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 11 15:36:49 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=114465





--- Comment #5 from Cameron McCormack <cam at mcc.id.au>  2013-04-11 15:35:04 PST ---
Sorry, callback interfaces *can* get interface objects, but only when there are consts declared on them.  So:

  callback interface Something {
    const long x = 1;
    void f();
  };

There exists window.Something, which has a single property "x".  window.Something is not a Function object.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list