Commit Graph

37 Commits

Author SHA1 Message Date
Julian Descottes
32235897f2 Bug 1294038 - force selections to be read after webconsole completion;r=nchevobbe
MozReview-Commit-ID: 977wLMj3cSa
2017-02-06 13:59:41 +01:00
Florian Quèze
91f7a2ef3a Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Florian Quèze
63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
Sebastian Hengst
c6d9ef3e98 Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
Tim Nguyen
548b6bdbef Bug 1330099 - Enable object-shorthand eslint rule. r=jryans
MozReview-Commit-ID: 3wA25rfznBv
2017-01-11 21:22:15 +00:00
Gabriel Luong
a61285b0f2 Bug 1322028 - Avoid destructuring requires where possible in the inspector. r=jdescottes 2016-12-17 12:44:56 +09:00
Tom Tromey
1976c3df85 Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Wes Kocher
20d9f9713d Backed out 2 changesets (bug 1312041) for mass failures a=backout
Backed out changeset c4f42d7d5453 (bug 1312041)
Backed out changeset 9bfbc8480d43 (bug 1312041)
2016-11-01 10:30:45 -07:00
Tom Tromey
d1b2d82846 Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Gabriel Luong
4943d23a3b Bug 1307481 - Part 3: HTMLTooltip should receive the document that it should be attached to instead of the toolbox r=jdescottes 2016-10-08 09:49:07 -04:00
Wes Kocher
591a7b2fd1 Backed out 2 changesets (bug 1307481) for mass dt bustage a=backout
Backed out changeset 91c6a72e5d0d (bug 1307481)
Backed out changeset a9f9f5611272 (bug 1307481)
2016-10-07 11:54:38 -07:00
Gabriel Luong
52c4111f6c Bug 1307481 - Part 3: HTMLTooltip should receive the document that it should be attached to instead of the toolbox r=jdescottes 2016-10-07 13:33:52 -04:00
Brian Grinstead
d7ab8a54dd Bug 1304178 - Use a different node to scroll in old and new frontends;r=linclark
MozReview-Commit-ID: CirqjyCei5n
2016-10-06 17:10:00 -07:00
Brian Grinstead
b10a55c884 Bug 1304178 - Return a promise from dispatchMessageAdd to support jsterm.execute callback for tests;r=linclark
MozReview-Commit-ID: AeRsjFiyikv
2016-10-04 11:32:45 -07:00
Lin Clark
6d632efe28 Bug 1306751 - New console frontend: Emit new-message from componentDidMount. r=bgrins
MozReview-Commit-ID: 1JS6FcDU9qr
2016-10-02 15:16:50 -07:00
Brian Grinstead
8ea60d6962 Bug 1306124 - Consistently emit the last rendered message in dom for jsterm.execute and with new-messages event;r=linclark
MozReview-Commit-ID: 5100HMmdTr2
2016-09-28 14:28:58 -07:00
Lin Clark
516baa73fc Bug 1304003 - Part 1: Rewrite browser_bug_865871_variables_view_close_on_esc_key.js. r=bgrins
MozReview-Commit-ID: DHjTBSru0uu
2016-09-21 16:07:04 -07:00
Lin Clark
7eca89db43 Bug 1303787 - New console frontend: Fix missing icons/backgrounds. r=bgrins
MozReview-Commit-ID: 5CqORk9Qd84
2016-09-20 11:37:04 -07:00
Julian Descottes
9bd9cb2ea3 Bug 1295609 - Migrate devtools/client/webconsole to use l10n.js instead of Services.string;r=bgrins
MozReview-Commit-ID: 65AyxZ68GHt
2016-08-19 20:31:50 +02:00
Julian Descottes
1473b201d7 Bug 1296870 - Do not clear output of BrowserConsole when receiving console.clear();r=bgrins
MozReview-Commit-ID: 2quJg454BxU
2016-08-22 23:51:01 +02:00
Tom Tromey
44ebe29d9c Bug 1290227 - add replacement module for DOM_VK_ constants; r=bgrins
MozReview-Commit-ID: INmMxfP8ZuL
2016-08-08 15:41:37 -06:00
Lin Clark
38507b739b Bug 1290518 - Part 3: add tests for filters in store. r=bgrins 2016-08-01 15:39:03 -04:00
Brian Grinstead
4e42260d3e Bug 1288475 - Split webconsole utils.js into separate client and server parts;r=MattN,tromey
MozReview-Commit-ID: HlpiRvuMF1H
2016-08-05 10:44:38 -07:00
Lin Clark
d2b1724c14 Bug 1285549 - New console frontend: display console commands in console output. r=me 2016-07-12 18:57:00 -04:00
Julian Descottes
5bc2788731 Bug 1266456 - part9: use HTMLTooltip for autocomplete-popup;r=bgrins
Modify the devtools autocomplete-popup to rely on a HTMLTooltip instance
instead of a XUL panel.

Other than the straightforward migration to HTML, the main difference with
the new implementation is that the richlistbox has now been replace with a
simple HTML list element. The former XUL widget used to be able to take the
focus from the input it was linked to.

This is no longer the case. Most autocomplete users were always keeping the
focus in the input, except for the inspector-search, which was moving the
focus back and forth between the input and the autocomplete's richlistbox.
Now the focus is always in the input. A practical example to illustrate how
this changes the UX: before when the user had the focus on the first element
of the list, pressing "DOWN" would keep the element selected but visually move
the focus in the input. Now the selection simply cycles to the next item.

Even though this introduces a difference in behaviour compared to the previous
implementation, it makes the inspector search UX consistent with the other
autocomplete widgets used in devtools.

Another difference is about the display for the inspector-search. The position
of the autocomplete popup used to be above the input. This is now impossible to
achieve because the search input is at the top of the toolbox and the HTML tooltip
can not exceed the limits of the toolbox.

For this #2 issue, either we manage to use XUL panel wrappers, in which case, the
autocomplete will be displayed as it used to. Or we can invert the order in which
items are inserted and explicitly ask for the autocomplete to be displayed below the
input. I prefered not to change this here in order to make the code change easier to
understand, but it should be addressed in a follow-up.

MozReview-Commit-ID: jH9aXm9Jvz
2016-07-07 16:32:42 +02:00
Patrick Brosset
c820930b1a Bug 1284221 - Move the font panel to the last position in the sidebar; r=jdescottes
MozReview-Commit-ID: Kh64bTWxQkA
2016-07-04 15:21:58 +02:00
Florian Scholz
883f563bc5 Bug 1279195 - Update error doc URLs and add GA parameters; r=bgrins 2016-06-24 03:58:00 +02:00
J. Ryan Stinnett
44259f9611 Bug 1270596 - Fix devtools after ESLint 2.9.0 upgrade. r=tromey
MozReview-Commit-ID: 7LmcHCcIv1Q
2016-05-06 10:49:44 -05:00
James Long
ece81a7a77 Bug 1265775 - replace Cu.reportError with console.error in devtools client code r=tromey 2016-05-06 11:29:10 -04:00
Nicolas Chevobbe
54a76c9296 Bug 1260283 - Implement new console output frontend behind a pref. r=linclark
MozReview-Commit-ID: 77qsML4CXlh
2016-04-29 13:18:00 -07:00
Lin Clark
38bcd526e5 Bug 1260283 - Implement new console output frontend behind a pref. r=bgrins
MozReview-Commit-ID: JvM0xrK7rks
2016-04-29 13:17:00 -07:00
Brian Grinstead
09f5fd7538 Bug 1260283 - Implement new console output frontend behind a pref. r=linclark
MozReview-Commit-ID: 2WL6rKpiKgz
2016-04-29 13:15:00 -07:00
gasolin
ca7d4e05b1 Bug 1256772 - Fix ESLint issues in devtools/client/webconsole/jsterm.js; r=linclark
MozReview-Commit-ID: 4fS6PsBGORI
2016-04-07 14:43:39 +08:00
Morgan Phillips
4329bce57f Bug 1259563 - Display links to error message documentation alongside relevant errors (2/2); r=bgrins 2016-04-11 10:27:50 -07:00
Alexandre Poirot
bb787b541e Bug 1245530 - Use require(Services) instead of Cu.import(Services.jsm). r=jryans 2016-02-27 04:51:10 -08:00
AJ Kerrigan
03989ecdc3 Bug 1099071 - Display error message in console for thrown empty string;r=bgrins
MozReview-Commit-ID: IhOFhDnyMpF
2016-02-19 00:32:57 -05:00
Brian Grinstead
6b6b6ee741 Bug 1249715 - Split jsterm into different file than webconsole.js;r=linclark
MozReview-Commit-ID: GM1Y5NKXyir
2016-02-21 18:39:34 -08:00