Closed
Bug 582039
Opened 14 years ago
Closed 14 years ago
JM: xpcshell-test failure on test_bug451678.js
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: dmandelin, Assigned: dmandelin)
References
Details
Attachments
(1 file)
2.08 KB,
patch
|
dvander
:
review+
|
Details | Diff | Splinter Review |
TEST-INFO | (xpcshell/head.js) | test 1 pending TEST-UNEXPECTED-FAIL | c:/builds/mo-d/_tests/xpcshell/TestXPC/unit/test_bug451678.js | false == true - See following stack: JS frame :: c:\sources\moo\testing\xpcshell\head.js :: do_throw :: line 273 JS frame :: c:\sources\moo\testing\xpcshell\head.js :: do_check_eq :: line 303 JS frame :: c:\sources\moo\testing\xpcshell\head.js :: do_check_true :: line 315 JS frame :: c:/builds/mo-d/_tests/xpcshell/TestXPC/unit/test_bug451678.js :: run_test :: line 51 JS frame :: c:\sources\moo\testing\xpcshell\head.js :: _execute_test :: line 166 JS frame :: -e :: <TOP_LEVEL> :: line 1 TEST-INFO | (xpcshell/head.js) | exiting test
Assignee | ||
Updated•14 years ago
|
Blocks: JaegerBrowser
Assignee | ||
Updated•14 years ago
|
Summary: TM: xpcshell-test failure on test_bug451678.js → JM: xpcshell-test failure on test_bug451678.js
Assignee | ||
Comment 1•14 years ago
|
||
Cause: loadSubScript calls EvaluateUCScript with a scope chain that has a parent (i.e., is not the global object). Our optimizations for globals assume that the initial scope chain and the global are the same, so those optimizations are not valid in this case.
Assignee | ||
Comment 2•14 years ago
|
||
Patch deoptimizes globals if the initial scope chain is not the global.
Updated•14 years ago
|
Attachment #460338 -
Flags: review?(dvander) → review+
Assignee | ||
Comment 3•14 years ago
|
||
http://hg.mozilla.org/projects/jaegermonkey/rev/40d061956e16
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•