Closed
Bug 698865
Opened 14 years ago
Closed 14 years ago
notEqual fails if JSON.stringify encounters cycle objects
Categories
(Testing Graveyard :: Mozmill, defect)
Testing Graveyard
Mozmill
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: k0scist, Unassigned)
References
Details
(Whiteboard: [mozmill-2.0+])
Attachments
(1 file)
|
1.03 KB,
patch
|
ahal
:
review+
|
Details | Diff | Splinter Review |
see https://bugzilla.mozilla.org/show_bug.cgi?id=698790#c4
ERROR | Test Failure: {"exception": {"stack": "notEqual([object
Proxy],null,\"A browser window has been
found\")@resource://mozmill/stdlib/securable-module.js ->
resource://mozmill/modules/assertions.js:319\n", "message": "cyclic
object value", "fileName":
"resource://mozmill/stdlib/securable-module.js ->
resource://mozmill/modules/assertions.js", "name": "TypeError",
"lineNumber": 319}}
caused by the call in assertions.js calling JSON.stringify on cyclic objects
| Reporter | ||
Comment 1•14 years ago
|
||
fixed on master: https://github.com/mozautomation/mozmill/commit/af726ea30723fe31d7c16cf8688ed81635206729
If there is a reason/need to fix on 2.0 please reopen.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 2•14 years ago
|
||
This needs to be fixed in 2.0 too
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Whiteboard: [mozmill-2.0+]
| Reporter | ||
Comment 3•14 years ago
|
||
Attachment #571390 -
Flags: review?(ahalberstadt)
Comment 4•14 years ago
|
||
Comment on attachment 571390 [details] [diff] [review]
fix for hotfix-2.0
Review of attachment 571390 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good. r+ assuming it's been tested.
Attachment #571390 -
Flags: review?(ahalberstadt) → review+
| Reporter | ||
Comment 5•14 years ago
|
||
pushed: https://github.com/mozautomation/mozmill/commit/8a420790250a968096e9f03adf32ed20b10d8bed
And yes, its been tested. There will only be a few more patches and the mutt tests will actually pass!
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•10 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•