Closed
Bug 657595
Opened 14 years ago
Closed 12 years ago
GCLI type conversion should be a type->type affair not just arg->type
Categories
(DevTools Graveyard :: Graphic Commandline and Toolbar, defect, P3)
DevTools Graveyard
Graphic Commandline and Toolbar
Tracking
(Not tracked)
RESOLVED
FIXED
Future
People
(Reporter: jwalker, Assigned: jwalker)
References
Details
Attachments
(1 file, 2 obsolete files)
66.56 KB,
patch
|
Details | Diff | Splinter Review |
This will help while converting data for output display.
Assignee | ||
Updated•14 years ago
|
Blocks: GCLI-FUTURE
Assignee | ||
Comment 1•13 years ago
|
||
Moving GCLI bugs to Developer Tools: Console. Filter on 'baked beans are off'.
Component: Developer Tools → Developer Tools: Console
Assignee | ||
Updated•13 years ago
|
No longer blocks: GCLI-FUTURE
Assignee | ||
Updated•12 years ago
|
Target Milestone: Firefox 16 → Firefox 17
Assignee | ||
Comment 5•12 years ago
|
||
New component triage. Filter on "Lobster Thermidor aux crevettes with a Mornay sauce"
Component: Developer Tools: Console → Developer Tools: Graphic Commandline and Toolbar
Assignee | ||
Comment 6•12 years ago
|
||
Assignee | ||
Comment 7•12 years ago
|
||
The last pull request got closed: https://github.com/MikeRatcliffe/gcli/pull/2
Assignee | ||
Comment 8•12 years ago
|
||
The changes to gcli.jsm should be familiar to you.
Assignee | ||
Comment 9•12 years ago
|
||
Comment 10•12 years ago
|
||
Comment on attachment 727626 [details] [diff] [review]
v1
Review of attachment 727626 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good to me, r+.
::: browser/devtools/commandline/gcli.jsm
@@ +10903,5 @@
>
> promisedDirectTabText.resolve(directTabText);
> promisedArrowTabText.resolve(arrowTabText);
> promisedEmptyParameters.resolve(emptyParameters);
> + }.bind(this), onError);
Should this not be:
}.bind(this), util.errorHandler);
?
Attachment #727626 -
Flags: review?(mratcliffe) → review+
Assignee | ||
Comment 11•12 years ago
|
||
(In reply to Michael Ratcliffe [:miker] [:mratcliffe] from comment #10)
> Comment on attachment 727626 [details] [diff] [review]
> v1
>
> Review of attachment 727626 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Looks good to me, r+.
>
> ::: browser/devtools/commandline/gcli.jsm
> @@ +10903,5 @@
> >
> > promisedDirectTabText.resolve(directTabText);
> > promisedArrowTabText.resolve(arrowTabText);
> > promisedEmptyParameters.resolve(emptyParameters);
> > + }.bind(this), onError);
>
> Should this not be:
> }.bind(this), util.errorHandler);
> ?
Good spot, but in this case no. We don't want to see the error message, we want to pass it on to the promises. onError is a function to do that:
// If anything goes wrong, we pass the error on to all the child promises
var onError = function(ex) {
promisedDirectTabText.reject(ex);
promisedArrowTabText.reject(ex);
promisedEmptyParameters.reject(ex);
};
Thanks
Assignee | ||
Comment 12•12 years ago
|
||
Try breakage was down to forgetting to copy the helpers.js changes across.
Attachment #727626 -
Attachment is obsolete: true
Assignee | ||
Comment 13•12 years ago
|
||
Comment out a failing test.
That's OK we're fixing it in bug 784790 which is following this one down the landing strip.
Attachment #728117 -
Attachment is obsolete: true
Assignee | ||
Comment 14•12 years ago
|
||
https://tbpl.mozilla.org/?tree=Fx-Team&rev=f952eebd4cbd
https://hg.mozilla.org/integration/fx-team/rev/f952eebd4cbd
Whiteboard: [fixed-in-fx-team]
Comment 15•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•6 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•