Closed
Bug 1116199
Opened 9 years ago
Closed 9 years ago
Console eval broken with servers before 37 (missing evaluateJSAsync)
Categories
(DevTools :: Console, defect)
DevTools
Console
Tracking
(firefox37+ fixed)
RESOLVED
FIXED
Firefox 37
People
(Reporter: jryans, Assigned: bgrins)
References
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
1.91 KB,
patch
|
bgrins
:
review+
|
Details | Diff | Splinter Review |
In bug 1088861, the console changed to use a new "evaluateJSAsync" actor method. However servers before 37 don't have this method, so console eval is now broken for them. Traits or similar feature detection should be used client-side to detect if this server method is available before use.
Reporter | ||
Comment 1•9 years ago
|
||
Brian, would you be able to look at this since you worked on bug 1088861?
Flags: needinfo?(bgrinstead)
Reporter | ||
Comment 2•9 years ago
|
||
[Tracking Requested - why for this release]: DevTools console broken when connecting to any previous version, e.g. all B2G simulators, old Fennec, etc.
tracking-firefox37:
--- → ?
Assignee | ||
Comment 3•9 years ago
|
||
(In reply to J. Ryan Stinnett [:jryans] from comment #1) > Brian, would you be able to look at this since you worked on bug 1088861? Yes, I'll fix this
Assignee: nobody → bgrinstead
Status: NEW → ASSIGNED
Flags: needinfo?(bgrinstead)
Assignee | ||
Comment 4•9 years ago
|
||
What do you think? I tested with a simulator and all seemed well.
Attachment #8544116 -
Flags: review?(jryans)
Reporter | ||
Comment 5•9 years ago
|
||
Comment on attachment 8544116 [details] [diff] [review] evaluateJSAsync-backwards-compat.patch Review of attachment 8544116 [details] [diff] [review]: ----------------------------------------------------------------- Looks good, thanks! ::: toolkit/devtools/webconsole/client.js @@ +136,5 @@ > * See evaluateJS for parameter and response information. > */ > evaluateJSAsync: function(aString, aOnResponse, aOptions = {}) > { > + // Pre-37 clients need to do sync evaluation. Nit: Pre-37 servers don't support async evaluation
Attachment #8544116 -
Flags: review?(jryans) → review+
Assignee | ||
Comment 6•9 years ago
|
||
Updated comment
Attachment #8544116 -
Attachment is obsolete: true
Attachment #8544118 -
Flags: review+
Assignee | ||
Comment 7•9 years ago
|
||
Pushed to try: https://tbpl.mozilla.org/?tree=Try&rev=881ed49714fb
Keywords: checkin-needed
Updated•9 years ago
|
Assignee | ||
Comment 8•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/0dd788e4b214
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
Comment 9•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/0dd788e4b214
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox37:
--- → fixed
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 37
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•