Closed
Bug 1408929
Opened 8 years ago
Closed 8 years ago
Enable browser_webconsole_completion.js in the new console frontend
Categories
(DevTools :: Console, enhancement, P1)
DevTools
Console
Tracking
(firefox59 fixed)
RESOLVED
FIXED
Firefox 59
| Tracking | Status | |
|---|---|---|
| firefox59 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
Details
(Whiteboard: [newconsole-mvp])
Attachments
(1 file)
No description provided.
| Comment hidden (mozreview-request) |
| Assignee | ||
Updated•8 years ago
|
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Comment 2•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8929403 [details]
Bug 1408929 - Rename and enable browser_webconsole_completion.js in the new console frontend; .
https://reviewboard.mozilla.org/r/200732/#review205936
Looks good, thanks! (just one random question)
::: devtools/client/webconsole/new-console-output/test/mochitest/head.js:335
(Diff revision 1)
> + * Will default to COMPLETE_HINT_ONLY.
> + * @returns {Promise} resolves when the jsterm is completed.
> + */
> +function jstermComplete(jsterm, completionType) {
> const updated = jsterm.once("autocomplete-updated");
> - jsterm.complete(jsterm.COMPLETE_HINT_ONLY);
> + completionType = completionType === undefined || completionType === null
why not use a default argument value here instead?
Attachment #8929403 -
Flags: review?(jdescottes) → review+
| Assignee | ||
Comment 3•8 years ago
|
||
Oh, I did not think it would work in argument to use properties from another argument, great !
I'll update the patch
| Comment hidden (mozreview-request) |
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/02a2365fd62b
Rename and enable browser_webconsole_completion.js in the new console frontend; r=jdescottes.
Updated•8 years ago
|
Priority: P3 → P1
Whiteboard: [newconsole-mvp]
Comment 6•8 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 59
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•