mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
add spec issue as todo in [[OwnPropertyKeys]] trap
This commit is contained in:
parent
c831a136b2
commit
557ce73f5f
1 changed files with 3 additions and 0 deletions
|
@ -151,6 +151,9 @@ unsafe extern "C" fn own_property_keys(
|
|||
_proxy: HandleObject,
|
||||
props: MutableHandleIdVector,
|
||||
) -> bool {
|
||||
// TODO is this all we need to return? compare with gecko:
|
||||
// https://searchfox.org/mozilla-central/rev/af78418c4b5f2c8721d1a06486cf4cf0b33e1e8d/dom/base/WindowNamedPropertiesHandler.cpp#175-232
|
||||
// see also https://github.com/whatwg/html/issues/9068
|
||||
rooted!(in(cx) let mut rooted = SymbolId(GetWellKnownSymbol(cx, SymbolCode::toStringTag)));
|
||||
AppendToIdVector(props, rooted.handle().into());
|
||||
true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue