Closed Bug 429249 Opened 15 years ago Closed 15 years ago

Confused decompilation with trapped startxml (e4x)

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
minor

Tracking

()

VERIFIED FIXED

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(1 file)

jesse-rudermans-computer:~/trunk/mozilla/js/src/Darwin_DBG.OBJ jruderman$ ./js
js> function g() { return <x/> }
js> g
function g() {
    return <x/>;
}
js> trap(g, 0, "");
js> g
function g() {
    return "<x/>";
}

Adding the trap should not change the decompilation.
This is fixed by my WIP patch from bug 422137.
Depends on: 422137
Status: NEW → RESOLVED
Closed: 15 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
I'll check in when the tree reopens.
/cvsroot/mozilla/js/tests/public-failures.txt,v  <--  public-failures.txt
new revision: 1.71; previous revision: 1.70

/cvsroot/mozilla/js/tests/e4x/decompilation/regress-429249.js,v  <--  regress-429249.js
initial revision: 1.1
Flags: in-testsuite?
Flags: in-testsuite+
Flags: in-litmus-
v 1.9.0
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.