mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 06:45:42 +00:00
Bug 961204 followup to address review comment. r=bholley
This commit is contained in:
parent
787877e0b4
commit
2b891c0ee4
@ -3408,7 +3408,7 @@ nsWindowSH::NewResolve(nsIXPConnectWrappedNative *wrapper, JSContext *cx,
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
// WebIDL quickstubs handle location for us, but Xrays don't see those. So if
|
||||
// WebIDL quickstubs handle "top" for us, but Xrays don't see those. So if
|
||||
// we're an Xray and we want "top" to be JSPROP_PERMANENT, we need to resolve
|
||||
// it here.
|
||||
if (sTop_id == id && isXray) {
|
||||
|
Loading…
Reference in New Issue
Block a user