Commit Graph
44 Commits
Author SHA1 Message Date
Jonathan Kingston 01b84d1382 Bug 1374741 - Within devtools/ make openUILinkIn() provide the correct triggeringPrincipal. r=jryans
MozReview-Commit-ID: KecQcZWeU6a
2018-02-21 16:01:03 +00:00
Nicolas Chevobbe 7a62823af2 Bug 1447715 - Remove old-event-emitter usage from sourceeditor; r=gl.
MozReview-Commit-ID: 6o8I7TtPiFU
2018-03-21 18:30:21 +01:00
Florian Quèze c5f15a4700 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Vincent Lequertier f091572140 Bug 1393464 - Remove Heritage from devtools helper view-helpers.js; r=pbro
Calling "devtools/shared/extend" instead.

MozReview-Commit-ID: HbonI7vq8Be
2018-01-04 18:54:52 +01:00
Yury Delendik d60db968a3 Bug 1364535 - Devtools frontend WebAssembly support for wast. r=jlast
MozReview-Commit-ID: KEkXaAQCWYN
2017-06-06 20:11:00 -05:00
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
James Long 95e1a004ff Bug 1260042 - fix edge case with when auto-prettifying fails in debugger r=me 2016-03-28 13:18:09 -04:00
James Long 365a43d197 Bug 1258807 - update conditions on disabled conditional breakpoints properly r=me 2016-03-28 10:51:10 -04: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
James Long 9b3e4fea82 Bug 1253902 - fix adding a conditional breakpoint from context menu r=ejpbruel 2016-03-21 13:03:12 -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 00216fd13b Bug 1250427 - get correct breakpoint text if it moved in the debugger r=me 2016-03-03 12:21:16 -05: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 2aa523be48 Bug 1251965 - fix "remove other breakpoints" command in debugger r=me 2016-03-01 11:43:08 -05:00
Lin Clark 3304d86d2f Bug 1243243 - Use standard license boilerplate in debugger js files. r=jlongster 2016-01-27 14:46:00 +01:00
Tim Nguyen c76feaac84 Bug 762979 - Implement conditional breakpoint gutter style. r=jlongster 2016-01-29 23:42:27 -05:00
Alexandre Poirot f584357310 Bug 1227978 - Remove unecessary usages of promiseInvoke, rdpInvoke r=jlongster 2016-01-12 01:14:00 -08:00
James Long a72194673b Bug 1132501 - attach the thread on toolbox open instead of waiting for the debugger to initialize r=bgrins 2016-01-06 14:47:24 -05: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
J. Ryan Stinnett 2dada8f365 Bug 912121 - Rewrite require / import to match source tree. rs=devtools
In a following patch, all DevTools moz.build files will use DevToolsModules to
install JS modules at a path that corresponds directly to their source tree
location.  Here we rewrite all require and import calls to match the new
location that these files are installed to.
2015-09-21 12:04:18 -05:00
J. Ryan Stinnett a3073e0420 Bug 912121 - Migrate major DevTools directories. rs=devtools
Move major DevTools files to new directories using the following steps:

hg mv browser/devtools devtools/client
hg mv toolkit/devtools/server devtools/server
hg mv toolkit/devtools devtools/shared

No other changes are made.
2015-09-21 12:02:24 -05:00