Closed
Bug 914341
Opened 11 years ago
Closed 11 years ago
Differential Testing: Different output message involving eval
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: gkw, Assigned: jandem)
References
Details
(Keywords: testcase)
Attachments
(1 file)
1.11 KB,
patch
|
djvj
:
review+
|
Details | Diff | Splinter Review |
function f() {
[eval("this()")]
}
for (a in [0, 0, 0]) {
try {
f()
} catch (e) {
print(e)
}
}
prints an additional TypeError in js debug shell on m-c changeset 3697f962bb7b with --ion-eager:
TypeError: undefined is not a function
which does not show without --ion-eager.
My configure flags are:
LD=ld CROSS_COMPILE=1 CXX="clang++ -Qunused-arguments -arch i386" RANLIB=ranlib CC="clang -Qunused-arguments -arch i386" AS=$CC AR=ar STRIP="strip -x -S" HOST_CC="clang -Qunused-arguments" HOST_CXX="clang++ -Qunused-arguments" sh ./configure --target=i386-apple-darwin9.2.0 --enable-macos-target=10.5 --enable-optimize --enable-debug --enable-profiling --enable-gczeal --enable-debug-symbols --enable-methodjit --enable-type-inference --disable-tests --enable-more-deterministic --with-ccache --enable-threadsafe <other NSPR options>
Flags: needinfo?(jdemooij)
Assignee | ||
Comment 1•11 years ago
|
||
BC was not wrapping |this| in eval/global scripts.
Assignee: general → jdemooij
Status: NEW → ASSIGNED
Attachment #802202 -
Flags: review?(kvijayan)
Flags: needinfo?(jdemooij)
Updated•11 years ago
|
Attachment #802202 -
Flags: review?(kvijayan) → review+
Assignee | ||
Comment 2•11 years ago
|
||
Comment 3•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in
before you can comment on or make changes to this bug.
Description
•