mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-01 20:13:00 +00:00
Bug 923390 - Fix assertion failure in getpda() shell function r=sfink
This commit is contained in:
parent
9546f698c5
commit
92ea6ea13d
3
js/src/jit-test/tests/basic/bug923390.js
Normal file
3
js/src/jit-test/tests/basic/bug923390.js
Normal file
@ -0,0 +1,3 @@
|
||||
if (getpda) {
|
||||
getpda();
|
||||
}
|
@ -2397,7 +2397,7 @@ GetPDA(JSContext *cx, unsigned argc, jsval *vp)
|
||||
JSPropertyDesc *pd;
|
||||
|
||||
CallArgs args = CallArgsFromVp(argc, vp);
|
||||
if (!JS_ValueToObject(cx, args[0], &vobj))
|
||||
if (!JS_ValueToObject(cx, args.get(0), &vobj))
|
||||
return false;
|
||||
if (!vobj) {
|
||||
args.rval().setUndefined();
|
||||
|
Loading…
x
Reference in New Issue
Block a user