Closed Bug 584868 Opened 14 years ago Closed 14 years ago

JSTest js1_5/extensions/regress-361964.js busted by harness

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dmandelin, Assigned: bc)

References

Details

This test now fails:

$ python ../tests/jstests.py -j8 shell/js 361964 -so
c:\sources\tracemonkey\js\src\debug\shell\js -f shell.js -f js1_5\shell.js -f js1_5\extensions\shell.js -f ./js1_5\extensions\regress-361964.js
    rc = 3, run time = 0.043000
BUGNUMBER: 361964
STATUS: Crash [@ MarkGCThingChildren] involving watch and setter
shell.js:328: TypeError: document.location is undefined
REGRESSIONS
    js1_5\extensions\regress-361964.js
FAIL


The manifest makes it run in the shell only. But it now doesn't work in the shell. It refers to "document", which should be OK, because the test case creates an empty object by that name if it doesn't exist, but the results reporting in the shell harness now does stuff with document.location if a "document" exists. Since it only runs in the shell, maybe we should just change the names used, or maybe just delete the test if it must run in the browser to test anything.
the names have been changed to protect the guilty.

http://hg.mozilla.org/tracemonkey/rev/f6c1d5ab87f9

thanks and sorry.
Assignee: general → bclary
Status: NEW → RESOLVED
Closed: 14 years ago
Depends on: 583155
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.