mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fixing bug 494051. Don't fall off trace when accessing the global property 'window'. r+sr=mrbkap@gmail.com
This commit is contained in:
parent
b4f9d96681
commit
7e36be9390
@ -6458,7 +6458,7 @@ nsWindowSH::NewResolve(nsIXPConnectWrappedNative *wrapper, JSContext *cx,
|
||||
PRBool ok =
|
||||
::JS_DefineUCProperty(cx, obj, ::JS_GetStringChars(str),
|
||||
::JS_GetStringLength(str),
|
||||
winVal, nsnull, nsnull,
|
||||
winVal, JS_PropertyStub, JS_PropertyStub,
|
||||
JSPROP_READONLY | JSPROP_ENUMERATE);
|
||||
|
||||
sDoSecurityCheckInAddProperty = doSecurityCheckInAddProperty;
|
||||
|
Loading…
Reference in New Issue
Block a user