Closed
Bug 546886
Opened 14 years ago
Closed 14 years ago
TM: remove scary live connect crap from call path
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: gal, Assigned: gal)
References
Details
(Whiteboard: fixed-in-tracemonkey)
Attachments
(1 file)
1.40 KB,
patch
|
brendan
:
review+
|
Details | Diff | Splinter Review |
/* * XXX this makes no sense -- why convert to function if clasp->call? * XXX better to call that hook without converting * * FIXME bug 408416: try converting to function, for API compatibility * if there is a call op defined. */ if ((ops == &js_ObjectOps) ? clasp->call : ops->call) { ok = clasp->convert(cx, funobj, JSTYPE_FUNCTION, &v); if (!ok) goto out2; if (VALUE_IS_FUNCTION(cx, v)) { /* Make vp refer to funobj to keep it available as argv[-2]. */ *vp = v; funobj = JSVAL_TO_OBJECT(v); parent = OBJ_GET_PARENT(cx, funobj); goto have_fun; } }
Assignee | ||
Comment 1•14 years ago
|
||
Mike, what is the chance that we will need liveconnect for 1.9.3?
Assignee | ||
Comment 2•14 years ago
|
||
Assignee: general → gal
Assignee | ||
Updated•14 years ago
|
Attachment #427563 -
Flags: review?(brendan)
Comment 3•14 years ago
|
||
Comment on attachment 427563 [details] [diff] [review] patch Bet this breaks LiveConnect, or once would have. Let's find out, on tm and m-c. /be
Attachment #427563 -
Flags: review?(brendan) → review+
Assignee | ||
Comment 4•14 years ago
|
||
Blah, forgot to quote the bug # in the commit. http://hg.mozilla.org/tracemonkey/rev/a4df44da864c
Assignee | ||
Updated•14 years ago
|
Whiteboard: fixed-in-tracemonkey
Comment 5•14 years ago
|
||
This caused ecma/GlobalObject/15.1-2-n.js to crash. regression changeset: 38099:a4df44da864c user: Andreas Gal <gal@mozilla.com> date: Fri Feb 19 17:31:44 2010 -0800 summary: Remove LiveConnect kludge from call path (1.9.3 will not have LiveConnect according to jst, r=brendan).
Comment 6•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/a4df44da864c
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•