Closed
Bug 589340
Opened 15 years ago
Closed 15 years ago
factor out / weaken dummy frames
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: luke, Assigned: luke)
Details
(Whiteboard: fixed-in-tracemonkey)
Attachments
(2 files, 1 obsolete file)
22.68 KB,
patch
|
mrbkap
:
review+
|
Details | Diff | Splinter Review |
1.84 KB,
patch
|
mrbkap
:
review+
|
Details | Diff | Splinter Review |
According to Blake, the callee/fun of the dummy frame created in jsdbgapi.cpp is ignored by caps since its a native function. Therefore, the dummy frames made by jsdbgapi.cpp are doing the same thing as those in jswrapper (providing a scopeChain so that cx->globalObject isn't used) and we can merge the two. This is good because it puts the grossness into one place, and narrows the set of possibilities of what we can see in a frame, which is good for stack frame evisceration.
Patch passes trace/ref tests, will try-server soon.
![]() |
Assignee | |
Comment 1•15 years ago
|
||
Green on try.
Attachment #467951 -
Attachment is obsolete: true
Attachment #468090 -
Flags: review?(mrbkap)
Updated•15 years ago
|
Attachment #468090 -
Flags: review?(mrbkap) → review+
![]() |
Assignee | |
Comment 2•15 years ago
|
||
http://hg.mozilla.org/tracemonkey/rev/b6179390c115
Minutes after I land I find that JSCrossCompartmentWrapper::{call,construct} are manually writing to vp[0] and vp[1]. Apparently nothing of value was in the fields of the dummy JSStackFrame being trampled...
Attachment #468991 -
Flags: review?(mrbkap)
Updated•15 years ago
|
Attachment #468991 -
Flags: review?(mrbkap) → review+
![]() |
Assignee | |
Comment 3•15 years ago
|
||
Whiteboard: fixed-in-tracemonkey
Comment 4•15 years ago
|
||
(In reply to comment #3)
> http://hg.mozilla.org/tracemonkey/rev/e81fa1f189dc
That should be http://hg.mozilla.org/tracemonkey/rev/12e0e9006ef4 instead.
Comment 5•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•