Closed
Bug 563001
Opened 16 years ago
Closed 16 years ago
JM: Browser fails Mochitest content/base/test/test_NodeIterator_mutations_3.html
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: dmandelin, Assigned: dmandelin)
References
Details
The wrong value is read from a global variable.
| Assignee | ||
Updated•16 years ago
|
Blocks: JaegerGreen
| Assignee | ||
Updated•16 years ago
|
Assignee: general → dmandelin
| Assignee | ||
Comment 1•16 years ago
|
||
I have more info but still not sure what's going on. The test case has code like this:
var content = expr;
... content ...
Fx supports a property |window.content|. The DEFVAR here does a lookup on |content|, which creates a new property on the global. For some reason, we get:
in TM: prop created on window as enumerate "content": slot 73
in JM: prop created on window.__proto__ as enumerate shared getter "content":
slot -1
So in JM the assignment would shadow a readonly and thus has no effect. It's weird that there would be any difference because they are both just calling lookup() in DEFVAR.
| Assignee | ||
Comment 2•16 years ago
|
||
Works now. Probably got fixed with David's recent update to globals.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•