mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 03:00:30 +00:00
Bug 517640. TM: we don't substitute the global object for apply(null, ...). r=mrbkap
This commit is contained in:
parent
f6f7e598b9
commit
65d8ea2a32
@ -11580,7 +11580,7 @@ TraceRecorder::record_JSOP_APPLY()
|
||||
* We don't trace apply and call with a primitive 'this', which is the
|
||||
* first positional parameter.
|
||||
*/
|
||||
if (argc > 0 && JSVAL_IS_PRIMITIVE(vp[2]))
|
||||
if (argc > 0 && !JSVAL_IS_OBJECT(vp[2]))
|
||||
return record_JSOP_CALL();
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user