Closed Bug 698865 Opened 14 years ago Closed 14 years ago

notEqual fails if JSON.stringify encounters cycle objects

Categories

(Testing Graveyard :: Mozmill, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: k0scist, Unassigned)

References

Details

(Whiteboard: [mozmill-2.0+])

Attachments

(1 file)

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
Blocks: 698790
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
This needs to be fixed in 2.0 too
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Whiteboard: [mozmill-2.0+]
Attachment #571390 - Flags: review?(ahalberstadt)
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+
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
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: