Closed
Bug 659301
Opened 14 years ago
Closed 12 years ago
GCLI commands should be able to have variant return types
Categories
(DevTools Graveyard :: Graphic Commandline and Toolbar, defect, P3)
DevTools Graveyard
Graphic Commandline and Toolbar
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: jwalker, Unassigned)
Details
It's valid in Javascript to do:
function(x) {
if (x) return 42;
else return "blah";
}
However GCLI forces return types to be interpreted in the same way because it defines a returnValue to specify the type.
Sometimes it is useful to provide the data in more than one format - see multi-part mime and the handling of clipboard data (although there could be better ways to achieve this).
Reporter | ||
Updated•14 years ago
|
Blocks: GCLI-FUTURE
Reporter | ||
Comment 1•13 years ago
|
||
Moving GCLI bugs to Developer Tools: Console. Filter on 'baked beans are off'.
Component: Developer Tools → Developer Tools: Console
Reporter | ||
Updated•13 years ago
|
No longer blocks: GCLI-FUTURE
Reporter | ||
Comment 3•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
Reporter | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
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
•