Closed Bug 1203862 Opened 5 years ago Closed 5 years ago

Differential Testing: Different output message involving new

Categories

(Core :: JavaScript Engine: JIT, defect)

defect
Not set
major

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox43 --- affected

People

(Reporter: gkw, Unassigned)

References

Details

(Keywords: regression, testcase)

for (var x of new(function() {
        for (var y = 0; y < 9; ++y);
        yield;
})) {}
print(x);

$ ~/shell-cache/js-dbg-64-dm-nsprBuild-darwin-7671701d15ca/js-dbg-64-dm-nsprBuild-darwin-7671701d15ca --fuzzing-safe --no-threads --ion-eager testcase.js
undefined

$ ~/shell-cache/js-dbg-64-dm-nsprBuild-darwin-7671701d15ca/js-dbg-64-dm-nsprBuild-darwin-7671701d15ca --fuzzing-safe --no-threads --no-ion testcase.js
[object Object]

Tested this on m-c rev 7671701d15ca.

My configure flags are:

CC="clang -Qunused-arguments" CXX="clang++ -Qunused-arguments" AR=ar AUTOCONF=/usr/local/Cellar/autoconf213/2.13/bin/autoconf213 sh /Users/skywalker/trees/mozilla-central/js/src/configure --target=x86_64-apple-darwin12.5.0 --enable-debug --enable-nspr-build --enable-more-deterministic --with-ccache --enable-gczeal --enable-debug-symbols --disable-tests

python -u ~/funfuzz/js/compileShell.py -b "--enable-debug --enable-more-deterministic --enable-nspr-build" -r 7671701d15ca

autoBisect shows this is probably related to the following changeset:

The first bad revision is:
changeset:   https://hg.mozilla.org/mozilla-central/rev/d22779079708
user:        Eric Faust
date:        Wed Jun 03 02:01:15 2015 -0700
summary:     Bug 1141865 - Part 7: Make new.target work in generator functions. (r=jorendorff, r=jandem)

Eric, is bug 1141865 a likely regressor?
Flags: needinfo?(efaustbmo)
This no longer reproduces because the spec changed. You can no longer construct a generator.
Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(efaustbmo)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.