Commit Graph
166 Commits
Author SHA1 Message Date
Dan Epstein c958bdf812 Bug 1402394 CamelCase all React component files in \devtools\client\shared\components\. r=pbro
MozReview-Commit-ID: HH4mbqB6RTK
2017-09-27 01:12:13 -04:00
Gabriel Luong 55cc6bcd6c Bug 1402709 - Don't use capture for the toolbox context menu. r=bgrins 2017-09-26 08:43:22 -04:00
Ian Moody acc73889b0 Bug 1395367 - Highlight relevant iframe in the page when it's active in the iframe document selector. r=ochameau
MozReview-Commit-ID: 7DnW4iwGnfA
2017-09-25 14:03:11 +01:00
Tom Tromey 433e8fc2dd Bug 952127 - notify source map subscribers after pretty-printing; r=bgrins
Intercept the applySourceMap source map worker request, so that when a
source is pretty-printed, source map subscribers can be updated.

That this does not yet handle pretty-printing original sources.  This
isn't supported yet by the debugger, and since the plan is to handle it
by augmenting the existing source map, it should be easy to fix this
code when it is implemented.

The mochitest is included here for testing but I am going to land it
upstream as well.

MozReview-Commit-ID: 3Lp1ikO8IzZ
2017-09-15 07:54:56 -06:00
Luca Greco 4d4c2ebb93 Bug 1374590 - Refactoring ParentDevToolsPanel class to provide create/destroyBrowserElement helper methods. r=aswan,ochameau
MozReview-Commit-ID: FsGlCU0H9VG
2017-09-11 15:49:36 +02:00
Alexandre Poirot 5dad69df35 Bug 1399548 - Prevent updating toolbox react component until it is ready to be displayed. r=gregtatum
MozReview-Commit-ID: 5gOAq7mRygf
2017-09-12 00:40:08 +02:00
abhinav 1292cbd1ac Bug 1327971 - Add support to show list of frames on key-press of "Alt+Down" on the "iframes" button. r=Honza
MozReview-Commit-ID: EZFG4br17mC
2017-09-10 15:41:35 +05:30
Tom Tromey 7d2e54a89e Bug 1388497 - apply source maps to CSS warnings in the console; r=bgrins
MozReview-Commit-ID: 8ObL0uwENrM
2017-08-15 14:32:56 -06:00
Jan Odvarko efc4519b3d Bug 1396811 - Add new telemetry probe collecting the current theme; r=chutten,liuche,ochameau
MozReview-Commit-ID: KlUHlc7YEx9
2017-09-11 13:47:56 +02:00
Brian Grinstead bed411d3a6 Bug 1251658 - Reset the ui.popup.disable_autohide pref when closing the Browser Toolbox;r=ochameau
But only reset if the pref has been toggled from the Browser Toolbox UI, to prevent
unexpected resetting if the pref was changed from about:config before opening the
Browser Toolbox.

MozReview-Commit-ID: LwI2M5Uj4jf
2017-09-05 10:25:25 -07:00
Julian Descottes 09c0897077 Bug 1391228 - remove unused devtools profiler actor, specs and front;r=gregtatum,mstange
MozReview-Commit-ID: 82R4C3NFolu
2017-08-18 17:27:56 +02:00
Luca Greco b083d1070c Bug 1341305 - Provide an internal DevTools API to register an Extension Sidebar for the inspector panel. r=gl
MozReview-Commit-ID: IvAptqCN5ne
2017-07-24 16:00:10 +02:00
Brian Grinstead 985f65c5ae Bug 1390927 - Only show the toolbox edit context menu on text inputs;r=gl
MozReview-Commit-ID: KRqKwwHkx1u
2017-08-16 09:11:46 -07:00
Brian Grinstead fddc263d45 Bug 1388104 - Open the textbox context menu on any html input in the toolbox;r=gl
Right now HTML inputs do not get a context menu when being right clicked. The inspector
works around this by calling toolbox.openTextBoxContextMenu on each individual input,
but the rest of the toolbox can be served by handling this at the toolbox level.

MozReview-Commit-ID: KuRQmuf01xh
2017-08-15 15:39:32 -07:00
Wes Kocher 1865918a1a Merge m-c to autoland a=merge
MozReview-Commit-ID: LsPv9Mdodvf
2017-08-11 13:39:17 -07:00
Brian Grinstead 2be258f821 Bug 1388552 - Export the HUDService object directly instead of individual methods and properties;r=nchevobbe
MozReview-Commit-ID: 9AYCuqqv1U7
2017-08-11 09:07:04 -07:00
Tom Tromey 2f65c65a28 Bug 1387477 - report source map errors due to missing sources; r=jdescottes
MozReview-Commit-ID: 5UbkJH8fvLn
2017-08-04 13:14:11 -06:00
Tom Tromey 0f65d40c76 Bug 1345533 - report source map errors to the web console; r=bgrins
MozReview-Commit-ID: 7gynPYFxyIv
2017-08-03 09:00:19 -06:00
Tom Tromey 70a7919a33 Bug 1384943 - add initial implementation of SourceMapServiceWrapper; r=bgrins
This adds a simple wrapper for the source map service.  This wrapper
logs errors using console.error, preserving the status quo from before
this series.

MozReview-Commit-ID: 2ckUZaerrcJ
2017-07-31 15:57:07 -06:00
ZER0 d78f1c54ef Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8
2017-08-11 03:47:30 +02:00
Wes Kocher aa1caed330 Backed out changeset 58f678547059 (bug 1381542) for conflicting with the incoming m-c merge a=backout
MozReview-Commit-ID: 1wKVHbOAUdc
2017-08-10 18:23:14 -07:00
ZER0 c91b128704 Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8
2017-08-11 02:43:47 +02:00
Alexandre Poirot 5c610c8eff Bug 1359855 - Fix support of per tool key shortcuts in toolboxes opened in a window. r=jdescottes
MozReview-Commit-ID: kP07KzpzxI
2017-07-13 15:27:37 +02:00
Carsten "Tomcat" Book 88cc560a7f Backed out changeset 8d68726f1c34 (bug 1359855) 2017-07-24 12:07:16 +02:00
Alexandre Poirot 7e34fb649a Bug 1359855 - Fix support of per tool key shortcuts in toolboxes opened in a window. r=jdescottes
MozReview-Commit-ID: kP07KzpzxI
2017-07-13 15:27:37 +02:00
Luca Greco 3858a8a30b Bug 1341304 - Emit "selection-changed" event on the DevTools toolbox object. r=jdescottes,ochameau
MozReview-Commit-ID: G2jRxqDH9wx
2017-07-06 19:47:21 +02:00
Vangelis Katsikaros c790c99910 Bug 1366102 - Remove the DEVTOOLS_OS_* probes from our Telemetry. r=miker
MozReview-Commit-ID: IGjaTqiGoFz
2017-05-30 16:36:35 +03:00
Tom Tromey 2547134c0a Bug 1371852 - make Frame component listen for source-map pref changes; r=jryans
MozReview-Commit-ID: 51DTsRGogCh
2017-06-12 16:44:27 -06:00
Luca Greco 518ffdfbaa Bug 1347108 - Reduce the amount of time to show up a WebExtensions DevTools panel. r=aswan,bgrins
MozReview-Commit-ID: LJl8VJNErnz
2017-06-08 17:10:07 +02:00
Paolo Amadini 7afba17088 Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.

MozReview-Commit-ID: 1buqgX1EP4P
2017-06-19 11:32:37 +01:00
Tom Tromey 0d6495d3fd Bug 1366853 - SourceMapURLService must wait for sources to be available; r=bgrins
MozReview-Commit-ID: CVbYQCzJQTu
2017-05-22 13:47:42 -06:00
Phil Ringnalda e02b3c1e2c Backed out changeset cff7d7889369 (bug 1366853) for frequently failing browser_source_map-no-race.js at line 39 with: newLoc is null.
MozReview-Commit-ID: CEfFwc3LA2K
2017-06-08 19:29:28 -07:00
Tom Tromey 34efe9a51b Bug 1366853 - SourceMapURLService must wait for sources to be available; r=bgrins
MozReview-Commit-ID: CVbYQCzJQTu
2017-05-22 13:47:42 -06:00
Luca Greco 8c05041220 Bug 1300590 - Implement support for $0 and inspect bindings in devtools.inspectedWindow.eval. r=aswan,ochameau
MozReview-Commit-ID: CHuc57tfgzo
2017-02-15 14:54:50 +01:00
Sebastian Hengst d7ba46af71 Backed out changeset 30c2b38c4a0f (bug 1366853) for frequently failing browser_source_map-no-race.js at line 39 with: newLoc is null. r=backout 2017-06-03 12:37:10 +02:00
Tom Tromey 9254dca8cb Bug 1366853 - SourceMapURLService must wait for sources to be available; r=bgrins
MozReview-Commit-ID: CVbYQCzJQTu
2017-05-22 13:47:42 -06:00
Luca Greco 7d53dd3164 Bug 1302702 - Shorter extension urls in addon debugger window title and frames list selector. r=ochameau
MozReview-Commit-ID: zMdiVPyBUR
2017-04-24 13:47:56 +02:00
Sebastian Hengst 213e3196bd Backed out changeset b5e20d92d062 (bug 1302702) 2017-05-17 20:01:17 +02:00
Luca Greco 4fc754dd2c Bug 1302702 - Shorter extension urls in addon debugger window title and frames list selector. r=ochameau
MozReview-Commit-ID: zMdiVPyBUR
2017-04-24 13:47:56 +02:00
Tom Tromey 1fae2b4bb3 Bug 1349354 - remove now-unused source-map-service; r=jryans
MozReview-Commit-ID: umdc4XrpGf
2017-05-15 03:17:19 -06:00
Sebastian Hengst 60c6c1785b Bug 1361975 Fixing tests in order to support window.location not nullable: fix eslint complaint. r=eslint-fix 2017-05-08 16:24:32 +02:00
Andrea Marchesini 65f693ccac Bug 1361975 Fixing tests in order to support window.location not nullable, r=me 2017-05-08 15:53:03 +02:00
Tom Tromey c4042ba67b Bug 1359144 - use client-side source map service in console; r=jryans
MozReview-Commit-ID: Jn9fr1EoPg9
2017-04-28 10:12:57 -06:00
Tom Tromey c9635177ce Bug 1360554 - devtools-source-map v0.4.0: Update bundle from GitHub; r=jryans
MozReview-Commit-ID: 7eYjx2QXM8P
2017-04-28 10:43:41 -06:00
Florian Queze d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
J. Ryan Stinnett 1fe6338d4c Bug 1346854 - Delay network listening until toolbox open. r=ochameau
Once upon a time (bug 862341), we decided to enable network listening by
default in DevTools.

In a general sense, that's fine.  When you open a toolbox, we listen to that
tab and stop listening when the toolbox closes.

GCLI / Developer Toolbar is quite different, though.  It connects to the whole
browser.  This meant that enabling GCLI would start listening to network
activity in *every* tab (even though it doesn't have any way to even use that
data).  This of course will slow down performance with all the extra tracking
and eat up memory with the tracked request data.

In this change, we move the step to enable network listening into the toolbox,
which seems more like what we intended anyway.

MozReview-Commit-ID: 2UYoQtWCAE1
2017-03-23 14:34:37 -05:00
J. Ryan Stinnett 2c3648012a Bug 1353897 - Only destroy preference front if used. r=ochameau
The toolbox can get a preference front for toggling various prefs on the server.
The toolbox destruction code path was written in such a way that it would
request a preference front during toolbox destroy, only to immediately destroy
the front right after.  This is extra painful, since we send a `listTabs`
request and other fun things as part of this.

With this change, we cache the preference front when it is first used, and we
only attempt to destroy it if it was previously used.

MozReview-Commit-ID: 9repQSXjdRj
2017-04-05 16:17:47 -05:00
Ricky Chien 82e8981d8d Bug 1350215 - Move top level source files to src folder r=gasolin,Honza
MozReview-Commit-ID: 6iJr5BNlnbd
2017-03-26 20:35:38 +08:00
Wes Kocher 2baab983e8 Backed out 7 changesets (bug 1350215) for OSX failures in browser_all_files_referenced.js a=backout
Backed out changeset 435557f30204 (bug 1350215)
Backed out changeset b8358b21928c (bug 1350215)
Backed out changeset 59d2a3f98f6d (bug 1350215)
Backed out changeset e219f3f6e8e7 (bug 1350215)
Backed out changeset f812f7a98a9c (bug 1350215)
Backed out changeset e676e004d08e (bug 1350215)
Backed out changeset e6d27888cb6f (bug 1350215)
2017-03-28 23:25:01 -07:00
Ricky Chien e89142cfa8 Bug 1350215 - Move top level source files to src folder r=gasolin,Honza
MozReview-Commit-ID: 6iJr5BNlnbd
2017-03-26 20:35:38 +08:00