- From: <bugzilla@jessica.w3.org>
- Date: Tue, 27 Mar 2012 15:55:36 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16537
Boris Zbarsky <bzbarsky@mit.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bzbarsky@mit.edu
--- Comment #3 from Boris Zbarsky <bzbarsky@mit.edu> 2012-03-27 15:55:35 UTC ---
> I'm not sure what you want me to return there?
It depends on your binding and DOM implementation, no?
For example, in the JSC bindings for WebKit, static_cast<I*, V.toImpl()> would
be returned in many cases.
In the WebIDL-based Spidermonkey bindings for Gecko, UnwrapDOMObject<I>(V)
would be returned in many cases.
In the old XPIDL-based Spidermonkey bindings for Gecko,
static_cast<I*,JS_GetPrivate(V)> would be returned in many cases.
Basically, you return whatever your DOM implementation internally considers to
be "an instance of I". For the C++ DOM implementations mentioned above, that
would be a pointer to whatever object type the implementation considers to
implement the interface I internally. But what you want to return just depends
on your implementation.
--
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 27 March 2012 15:55:43 UTC