bugzilla.mozilla.org has resumed normal operation. Attachments prior to 2014 will be unavailable for a few days. This is tracked in Bug 1475801.
Please report any other irregularities here.

Round-trip change with "new" and ".@"

VERIFIED FIXED

Status

()

Core
JavaScript Engine
--
minor
VERIFIED FIXED
12 years ago
11 years ago

People

(Reporter: Jesse Ruderman, Unassigned)

Tracking

(Blocks: 1 bug, {testcase})

Trunk
PowerPC
Mac OS X
testcase
Points:
---
Dependency tree / graph
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

12 years ago
js> function() { return new (a()).@z; }
function () {
    return new a().@z;
}

js> function () {
    return new a().@z;
}
function () {
    return (new a).@z;
}
This stabilizes after the second time:

js> function () {
    return (new a).@z;
}
function () {
    return (new a).@z;
}

/be
(Reporter)

Updated

11 years ago
Blocks: 353146
(Reporter)

Comment 2

11 years ago
I was able to reproduce the bug earlier today, but now it works correctly:

js> function() { return new (a()).@z; }
function () {
    return new (a().@z);
}

--> FIXED by the second patch in bug 352013.
Status: NEW → RESOLVED
Last Resolved: 11 years ago
Depends on: 352013
Resolution: --- → FIXED
/cvsroot/mozilla/js/tests/e4x/decompilation/regress-352789.js,v  <--  regress-352789.js
initial revision: 1.1
Flags: in-testsuite+
verified fixed on trunk.
Status: RESOLVED → VERIFIED
(Reporter)

Updated

11 years ago
No longer blocks: 349611
(Reporter)

Updated

11 years ago
Blocks: 349611
You need to log in before you can comment on or make changes to this bug.