Closed Bug 914341 Opened 11 years ago Closed 11 years ago

Differential Testing: Different output message involving eval

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
major

Tracking

()

RESOLVED FIXED
mozilla26

People

(Reporter: gkw, Assigned: jandem)

References

Details

(Keywords: testcase)

Attachments

(1 file)

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)
Attached patch PatchSplinter Review
BC was not wrapping |this| in eval/global scripts.
Assignee: general → jdemooij
Status: NEW → ASSIGNED
Attachment #802202 - Flags: review?(kvijayan)
Flags: needinfo?(jdemooij)
Attachment #802202 - Flags: review?(kvijayan) → review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
No longer depends on: 922118
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: