Closed
Bug 350226
Opened 18 years ago
Closed 18 years ago
Decompiler still can't make up its mind for <x/>.@[*]
Categories
(Core :: JavaScript Engine, defect, P2)
Tracking
()
VERIFIED
FIXED
mozilla1.8.1
People
(Reporter: jruderman, Assigned: brendan)
References
Details
(Keywords: testcase, verified1.8.1)
Attachments
(1 file)
(deleted),
patch
|
Waldo
:
review+
beltzner
:
approval1.8.1+
|
Details | Diff | Splinter Review |
This is a continuation of bug 349956.
> function () { <x/>[@[*]]; }
function () { <x/>.@[*]; }
> function () { <x/>.@[*]; }
function () { <x/>[@[*]]; }
Assignee | ||
Comment 1•18 years ago
|
||
(In reply to comment #0)
> This is a continuation of bug 349956.
>
> > function () { <x/>[@[*]]; }
> function () { <x/>.@[*]; }
I get the same result:
js> function () { <x/>[@[*]]; }
function () {
<x/>.@[*];
}
> > function () { <x/>.@[*]; }
> function () { <x/>[@[*]]; }
But I get the correct result here:
js> function () { <x/>.@[*]; }
function () {
<x/>.@[*];
}
I'm running with the patches for bug 349650 and bug 350531.
/be
Assignee | ||
Comment 2•18 years ago
|
||
The JOF_XMLNAME format is as commented in jsopcode.h -- it must not apply to the JSOP_XMLNAME or derived (JSOP_(BIND|SET)XMLNAME) ops. Those ops are used only for unqualified (that is, not preceded by the binary . or .. operators) XML names, and so if used in [] after a left operand of [], must be decompiled using [], not by converting [] to dot.
/be
Comment 3•18 years ago
|
||
Comment on attachment 237040 [details] [diff] [review]
fix
After staring at this long enough and after taking into (heavy) consideration the previous comment, I *think* this is correct.
Attachment #237040 -
Flags: review?(jwalden+bmo) → review+
Assignee | ||
Comment 4•18 years ago
|
||
Fixed on trunk.
/be
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 5•18 years ago
|
||
Comment on attachment 237040 [details] [diff] [review]
fix
This fix is a pure E4X only decompilation fix, can't break anything else, and demonstrably helps.
/be
Attachment #237040 -
Flags: approval1.8.1?
Comment 6•18 years ago
|
||
Checking in regress-350226.js;
/cvsroot/mozilla/js/tests/e4x/Regress/regress-350226.js,v <-- regress-350226.js
initial revision: 1.1
Flags: in-testsuite+
Comment 7•18 years ago
|
||
Comment on attachment 237040 [details] [diff] [review]
fix
a=beltzner on behalf of 181drivers
Attachment #237040 -
Flags: approval1.8.1? → approval1.8.1+
Assignee | ||
Updated•18 years ago
|
Priority: -- → P2
Target Milestone: --- → mozilla1.8.1
Assignee | ||
Comment 8•18 years ago
|
||
To avoid conflicts, this patch should land after the patches for bug 350531 and its followups.
/be
Depends on: 350531
Comment 10•18 years ago
|
||
verified fixed 1.9a1_2006090707 windows/mac*/linux
Status: RESOLVED → VERIFIED
Comment 11•18 years ago
|
||
verified fixed 1.8 1.9 20060909 windows/mac*/linux
Keywords: fixed1.8.1 → verified1.8.1
You need to log in
before you can comment on or make changes to this bug.
Description
•