Closed
Bug 565745
Opened 15 years ago
Closed 15 years ago
JM: mochitest-plain failure: /tests/content/base/test/test_bug353334.html
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: dmandelin, Assigned: dmandelin)
References
Details
Attachments
(1 file)
1.50 KB,
patch
|
dvander
:
review+
|
Details | Diff | Splinter Review |
6166 ERROR TEST-UNEXPECTED-FAIL | /tests/content/base/test/test_bug353334.html | Wrong principal for document in node with id='one' - got [xpconnect wrapped (nsISupports, nsIPrincipal, nsISerializable) @ 0x673dcb0 (native @ 0x9537f38)], expected [xpconnect wrapped (nsISupports, nsIPrincipal, nsISerializable) @ 0x6748e38 (native @ 0x9537f38)]
+ 4 more failures just like it.
Assignee | ||
Comment 1•15 years ago
|
||
The cause was that jsl_Equality didn't include the equality hook case (probably because I couldn't easily test it in those early days). This test gets back 2 nodePrincipal values and tries to compare them. The nsNodePrincipal pointers are equal, but the JSObject* pointers are not; this test case relies on the equality hook to make them equal.
Attachment #445230 -
Flags: review?(dvander)
![]() |
||
Updated•15 years ago
|
Attachment #445230 -
Flags: review?(dvander) → review+
Assignee | ||
Comment 2•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•