Closed
Bug 656632
Opened 13 years ago
Closed 11 years ago
jsbridge JSONEncoder copy+pastes from simplejson code
Categories
(Testing Graveyard :: Mozmill, defect)
Testing Graveyard
Mozmill
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: k0scist, Assigned: berkerpeksag)
References
Details
Attachments
(1 file, 1 obsolete file)
2.33 KB,
patch
|
k0scist
:
review+
|
Details | Diff | Splinter Review |
https://github.com/mozautomation/mozmill/blob/master/jsbridge/jsbridge/network.py#L109 It shouldn't. Instead, it should just call the code it wants to call: def _iterencode(self, o, markers=None): if isinstance(o, jsobjects.JSObject): yield o._name_ else: yield simplejson.JSONEncoder._iterencode(self, o, markers)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → berker.peksag
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #710575 -
Flags: review?(hskupin)
Assignee | ||
Updated•11 years ago
|
Attachment #710575 -
Flags: review?(hskupin)
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #710575 -
Attachment is obsolete: true
Attachment #720264 -
Flags: review?(hskupin)
Comment 3•11 years ago
|
||
Jeff filed this bug and he better understands the underlying code to be the mentor here.
Status: NEW → ASSIGNED
Whiteboard: [mentor=jhammel][lang=py]
Comment 4•11 years ago
|
||
Comment on attachment 720264 [details] [diff] [review] Patch v2 Jeff, can you please review and land if it looks fine to you? Thanks.
Attachment #720264 -
Flags: review?(hskupin) → review?(jhammel)
Reporter | ||
Updated•11 years ago
|
Attachment #720264 -
Flags: review?(jhammel) → review+
Reporter | ||
Comment 5•11 years ago
|
||
pushed: https://github.com/mozilla/mozmill/commit/29c68aa5e36f6d2f14eda42a1a315c1f45564497 Thanks for the patch!
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 6•11 years ago
|
||
The landing of this patch caused us troubles with Mozmill 2.0 on OS X 10.6 with Python 2.6 installed. It's a hard-blocker for us to get that release out. Reverting the changes here will stop that behavior, so I will go ahead and backout the landing of this patch. Berker, would you be interested in working on a cleaner solution, which will work even under the platform specs as given above? Backed out: https://github.com/mozilla/mozmill/commit/d86ae556d654bf6277462f52ce2fb6707f976939 (master) https://github.com/mozilla/mozmill/commit/cd4ef346e2691697a71c0e6757d726d81e9fbc7a (hotfix-2.0)
Status: RESOLVED → REOPENED
Flags: needinfo?(berker.peksag)
Resolution: FIXED → ---
Whiteboard: [mentor=jhammel][lang=py] → [mentor=jhammel][lang=py][mozmill-2.1?]
Reporter | ||
Updated•11 years ago
|
Whiteboard: [mentor=jhammel][lang=py][mozmill-2.1?] → [mozmill-2.1?]
Comment 7•11 years ago
|
||
With bug 940035 we have removed the usage of simplejson from Mozmill. So the patch as attached on this bug is no longer necessary.
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → INVALID
Updated•11 years ago
|
Whiteboard: [mozmill-2.1?]
Updated•11 years ago
|
Flags: needinfo?(berker.peksag)
Updated•8 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•