mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1082672, part 3 - Add some more symbol support for DOM bindings. r=bz.
--HG-- extra : rebase_source : 79b314cb464e9c77ac25bc19e91b6e13aa241aeb
This commit is contained in:
parent
2950e9caff
commit
c365e5fdc8
@ -299,7 +299,7 @@ BaseDOMProxyHandler::ownPropertyKeys(JSContext* cx,
|
|||||||
JS::Handle<JSObject*> proxy,
|
JS::Handle<JSObject*> proxy,
|
||||||
JS::AutoIdVector& props) const
|
JS::AutoIdVector& props) const
|
||||||
{
|
{
|
||||||
return ownPropNames(cx, proxy, JSITER_OWNONLY | JSITER_HIDDEN, props);
|
return ownPropNames(cx, proxy, JSITER_OWNONLY | JSITER_HIDDEN | JSITER_SYMBOLS, props);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
@ -80,7 +80,8 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
// Hook for subclasses to implement shared ownPropertyKeys()/keys()
|
// Hook for subclasses to implement shared ownPropertyKeys()/keys()
|
||||||
// functionality. The "flags" argument is either JSITER_OWNONLY (for keys())
|
// functionality. The "flags" argument is either JSITER_OWNONLY (for keys())
|
||||||
// or JSITER_OWNONLY | JSITER_HIDDEN (for ownPropertyKeys()).
|
// or JSITER_OWNONLY | JSITER_HIDDEN | JSITER_SYMBOLS (for
|
||||||
|
// ownPropertyKeys()).
|
||||||
virtual bool ownPropNames(JSContext* cx, JS::Handle<JSObject*> proxy,
|
virtual bool ownPropNames(JSContext* cx, JS::Handle<JSObject*> proxy,
|
||||||
unsigned flags,
|
unsigned flags,
|
||||||
JS::AutoIdVector& props) const = 0;
|
JS::AutoIdVector& props) const = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user