Commit Graph

28 Commits

Author SHA1 Message Date
Julian Descottes
99bcf6d7c1 Bug 1354672 - update debugger frontend 04/18/17;r=jdescottes
MozReview-Commit-ID: HI2NymoCLYR
2017-04-20 14:49:44 +02: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
J. Ryan Stinnett
9f27fd28fb Bug 1311506 - Remove promise debugger. r=gl
MozReview-Commit-ID: 4xPoheUWZJc
2016-10-26 15:47:39 -05: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
Julian Descottes
33d5d3a7b5 Bug 1287388 - wait for popupshown event in debugger conditional breakpoint tests;r=jlongster
MozReview-Commit-ID: CXCoUKSLiGb
2016-07-11 10:01:18 +02: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
James Long
f359c2b1a1 Bug 1273730 - remove pretty-print button if debugging workers because it doesn't work r=ejpbruel 2016-07-01 17:40:27 -04:00
Philipp Kewisch
8b42287804 Bug 1279784 - Remove hardcoded navigator:browser in devtools. r=jryans 2016-06-28 11:03:11 +02:00
Dalimil Hajek
fc781d1def Bug 1145655 - Remove remnants of Browser Debugger. r=jryans 2016-06-25 03:35:00 +02:00
J. Ryan Stinnett
169c44d5f6 Bug 1193390 - Remove single arg Cu.import from /devtools. r=tromey
A few miscellaneous linting issues also addressed near the lines involved.

MozReview-Commit-ID: 9t1RwxdSS2X
2016-06-09 14:10:07 -05:00
Tom Tromey
86974842a1 Bug 1265869 - Add task.js and use in devtools. r=jryans
MozReview-Commit-ID: G5UuAh2RiZZ
2016-05-17 13:07:55 -06:00
J. Ryan Stinnett
530b903fcf Bug 1271084 - Apply ESLint autofixes to ignored /devtools files. r=tromey
For simple rules like function spacing, we can auto-fix these across the code
base so they are followed in a consistent way.

To generate this patch, I ran:

./mach eslint devtools --no-ignore --fix

After this, I reverted any changes to third party files that we really do want
to ignore.

MozReview-Commit-ID: 6Q8BApkAW20
2016-05-18 12:49:23 -05:00
Alexandre Poirot
e39e7b8130 Bug 1266828 - Convert ViewHelpers.jsm into a module. r=tromey 2016-05-16 03:13:30 -07:00
Jason Laster
54cddeb62a Bug 1258821 - Cannot open the expression panel of conditional breakpoint. r=jlong 2016-03-30 07:46:00 +02:00
Jarda Snajdr
35ae6bb0df Bug 1258981 - sources-view.js: The popupshown listener is incorrectly removed. r=jlongster 2016-03-23 02:59:00 -04:00
Jason Laster
c0fc818edd Bug 900763 - "edit conditional breakpoint". r=jlong
This patch updates the Source Editor contextmenu's UX. Prior to the
patch, the menu would show the option "Add conditional breakpoint" even
when there was a conditional breakpoint. Now, that option reads "Edit
conditional breakpoint".
2016-03-23 07:22:00 +01:00
Ryan VanderMeulen
ade5762ae1 Backed out changeset 0714a2e98d5e (bug 900763) for suspicion of causing widespread devtools leaks on a CLOSED TREE. 2016-03-22 23:46:38 -04:00
Jason Laster
1bc036f52e Bug 900763 - Change "add conditional breakpoint" menu option to "edit conditional breakpoint" when one already exists. r=jlong
This patch updates the Source Editor contextmenu's UX. Prior to the
patch, the menu would show the option "Add conditional breakpoint" even
when there was a conditional breakpoint. Now, that option reads "Edit
conditional breakpoint".
2016-03-18 11:22:00 -04:00
Jason Laster
20ea9d07cd Bug 1256704 - Conditional Breakpoints are set to line 1. r=jlong 2016-03-15 10:09:00 -04:00
James Long
2c462cec66 Bug 1255630 - add experimental badge to wasm sources r=bgrins 2016-03-16 13:58:02 -04:00
James Long
bc1afe6926 Bug 1251823 - fix adding breakpoints through context menu in debugger r=me 2016-03-03 12:19:09 -05:00
Alexandre Poirot
4f9be42328 Bug 1252346 - Fixes missing Services definition or tweaked eslint to figure out where does it comes from. r=jryans 2016-03-01 14:00:28 -06:00
James Long
55efced504 Bug 1230299 - avoid fetching sources twice on navigation in debugger 2015-12-10 16:58:15 -05:00
James Long
d94fbef9bd Bug 1200798 - refactor sources and breakpoints in debugger to use redux r=ejpbruel 2015-12-01 16:59:00 -05:00
Carsten "Tomcat" Book
f3d45a4d77 Backed out changeset 258cff340229 (bug 1200798) for new intermittent test failures in browser_dbg_breakpoints-button-02.js 2015-11-30 12:45:12 +01:00
James Long
267225b263 Bug 1200798 - refactor sources and breakpoints in debugger to use redux r=ejpbruel 2015-11-29 14:40:51 -05:00
Phil Ringnalda
41c1de0d7d Back out 34c9087517ea (bug 1200798) for e10s bustage in browser_dbg_reload-same-script.js
CLOSED TREE
2015-11-25 21:39:05 -08:00
James Long
bc08c20fd9 Bug 1200798 - refactor sources and breakpoints in debugger to use redux r=ejpbruel 2015-11-25 19:41:26 -05:00