mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 912d7039be45 (bug 1118865
)
This commit is contained in:
parent
e226c3a7c6
commit
482117a15c
@ -1,10 +0,0 @@
|
||||
var dbgGlobal = newGlobal();
|
||||
var dbg = new dbgGlobal.Debugger();
|
||||
dbg.addDebuggee(this);
|
||||
function f() {
|
||||
var a = arguments;
|
||||
a[1];
|
||||
dbg.getNewestFrame().eval("a");
|
||||
}
|
||||
f();
|
||||
|
@ -1430,9 +1430,8 @@ class DebugScopeProxy : public BaseProxyHandler
|
||||
static bool isMagicMissingArgumentsValue(JSContext* cx, ScopeObject& scope, HandleValue v)
|
||||
{
|
||||
bool isMagic = v.isMagic() && v.whyMagic() == JS_OPTIMIZED_ARGUMENTS;
|
||||
MOZ_ASSERT_IF(isMagic,
|
||||
isFunctionScope(scope) &&
|
||||
scope.as<CallObject>().callee().nonLazyScript()->argumentsHasVarBinding());
|
||||
MOZ_ASSERT_IF(isMagic, isFunctionScope(scope) &&
|
||||
!scope.as<CallObject>().callee().nonLazyScript()->needsArgsObj());
|
||||
return isMagic;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user