Commit Graph
381 Commits
Author SHA1 Message Date
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
Brian Grinstead 7706cc57b5 Bug 1314091 - Sync the applied devtools toolbox theme and compact themes;r=ochameau
MozReview-Commit-ID: 38OLFmF3ALk
2017-01-13 11:53:59 -08:00
Brian Grinstead df0ce751e5 Bug 1314091 - Remove devtools-specific logic out of browser-devedition and into devtools-browser;r=ochameau
The devtools theme is no longer relevant when dealing with compact themes, since it doesn't
affect the theme colors. But we still need it for styling other things related to devtools
in browser.xul, like the splitter between the toolbox and page and gcli.

MozReview-Commit-ID: 2CXDuwQY19x
2017-01-13 11:53:58 -08:00
Joel Maher 0f0373cde1 Bug 1330325 - add BUG_COMPONENT to devtools/* files. r=jryans
MozReview-Commit-ID: Bd0ca7f6QE6
2017-01-13 08:40:35 -05:00
Alexandre Poirot e6f067a98c Bug 1328004 - Fix race when closing the devtools while a previous instance is still loading. r=jryans
MozReview-Commit-ID: 2a58l4DjCtv
2017-01-05 10:26:44 -08:00
Ricky Chien 20da090ea2 Bug 1317648 - Implement Headers Panel r=Honza,jsnajdr
MozReview-Commit-ID: 74kBBM4YsJR
2016-12-31 21:03:18 +08: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
Carsten "Tomcat" Book ef8fa78a99 merge mozilla-inbound to mozilla-central a=merge 2017-01-10 12:11:31 +01:00
Ricky Chien 6775276d8f Bug 1317650 - Implement Params Panel r=Honza,jsnajdr
MozReview-Commit-ID: A0GjfZeSOJi
2017-01-08 17:54:53 +08:00
Julian Descottes ec5e077f01 Bug 1307239 - add context menu to new console frontend;r=nchevobbe
MozReview-Commit-ID: 6btSC89pBmG
2016-12-29 17:06:59 +01:00
Tomer Cohen cd3ad7c1dc [Bug 1324118] RTL support for devtool framework connection screen r=jryans
MozReview-Commit-ID: 6h7JdUY4lsT
2016-12-17 01:08:07 +02:00
Alexandre Poirot 023f7a37d6 Bug 1323466 - Prevent loading webbrowser.js in child process. r=jryans
MozReview-Commit-ID: J1EmwxplNhA

Make actor registration more explicit and documented.
Each codepath depends on various set of actors, and it may be confused
as we often register actors if the DebuggerServer wasn't initialized yet.
But it is often already started by some other callsite...

This changeset also converts childtab to being just a module
and stop using DebuggerServer.addActors magic.
2016-12-19 03:14:12 -08:00
Alexandre Poirot 9e7856d7a9 Bug 1323466 - Lazy load optional deps from toolbox.js. r=jryans
MozReview-Commit-ID: 1E8fm9dfCwj
2016-12-14 08:33:54 -08:00
Greg Tatum 4cfa5992a4 Bug 1245921 - Turn toolbox toolbar into a React component r+miker r=miker
MozReview-Commit-ID: 4UZbcfw2YI9
2016-11-18 15:02:21 -06:00
Florian Quèze 361ec85a2e Bug 1329182 - remove trailing newURI null parameters in devtools/, r=jaws. 2017-01-09 20:27:26 +01:00
Wes Kocher e5826ac971 Merge inbound to central, a=merge
MozReview-Commit-ID: Cr9L1dhIzP2
2016-12-20 11:41:57 -08:00
Tomer Cohen 51d77fc2af Bug 1323504 - Add RTL support for the Toolbox Options r=jdescottes
MozReview-Commit-ID: DkAfbQyIdkR
2016-12-20 12:42:43 +02:00
Gabriel Luong a61285b0f2 Bug 1322028 - Avoid destructuring requires where possible in the inspector. r=jdescottes 2016-12-17 12:44:56 +09:00
Julian Descottes c6f9f1d6c8 Bug 1321509 - Remove unused parameters from node-highlight event;r=pbro
The last parameter sent with the node-highlight event is never used.
Also toSource is a Firefox only API, in the context of devtools-html it
would be nice to get rid of it.

MozReview-Commit-ID: E80utdu80Sn
2016-11-28 22:47:02 +01:00
Julian Descottes 3a4cf68bbf Bug 1321509 - use devtools-local-toolbox to load the inspector in content;r=bgrins,tromey
Add package.json to devtools/client/inspector
Integration with devtools-local-toolbox:
- provides development server
- default webpack config
- landing page to select a tab

In this patch:
- bin/dev-server-js contains the inspector specific routes
- webpack/*-sham.js : inspector dependencies that had to be mocked
  ideally, decoupling work should continue and the inspector client
  should only ever require files that require no chrome priviledged
  APIs.
- toolbox.js contains the interface with devtools-local-toolbox bootstrap
  and the inspector panel initialization
- configs/development.json is the inspector config for the devtools-local-toolbox

MozReview-Commit-ID: 7YQLUlgSyDX
2016-12-07 18:24:51 +01:00
Jaideep Bhoosreddy b53e50167d Bug 1257913 - Add copy screenshot to clipboard feature; r=jryans
MozReview-Commit-ID: 6pMNR8hCR7d
2016-09-09 12:17:08 -04:00
Tom Tromey 8a93d4e955 Bug 1316630 - don't emit pref-changed event on gDevTools; r=jdescottes
MozReview-Commit-ID: CCqAf8dBFSY
2016-11-21 08:47:10 -07:00
Alexandre Poirot a6a9855d2f Bug 1302996 - Stop loading various useless SDK modules on early devtools startup. r=jryans
MozReview-Commit-ID: 5Roi7rmmbes
2016-12-19 09:00:12 -08:00
Wes Kocher fadbb05cd6 Backed out 2 changesets (bug 1302996) for being the likely cause of browser chrome crashes a=backout
Backed out changeset 8a97f217ebe8 (bug 1302996)
Backed out changeset 45bcf45afca2 (bug 1302996)
2016-11-28 16:38:20 -08:00
Alexandre Poirot 0ba27b336c Bug 1302996 - Stop loading various useless SDK modules on early devtools startup. r=jryans
MozReview-Commit-ID: 5Roi7rmmbes
2016-08-29 08:23:32 -07:00
Alexandre Poirot 291ae36033 Bug 1319928 - Prevent gDevTools.showToolbox from racing when called multiple times in a row. r=jryans
MozReview-Commit-ID: ZQrecrTwb5
2016-11-24 10:03:12 -08:00
Alexandre Poirot 58d04774c5 Bug 1151909 - Make the inspector actor wait for DOMContentLoaded instead of load. r=pbro
MozReview-Commit-ID: IV4v5ql8GJ9
2016-11-07 16:07:26 -08:00
Alexandre Poirot 6c52d41429 Bug 1154645 - Simplify inspectNode implementation by passing CSS selector instead of node reference. r=pbro
MozReview-Commit-ID: 3yeDk3OniFj
2016-11-09 09:23:36 -08:00
Mike Conley daeb44bc16 Bug 418833 - Make browser_toolbox_options.js more resilient to things being added to the document loading queue. r=jryans
Earlier patches in this series add SVG icons for unstyled checkboxes and radio buttons.
This causes us to queue extra loads to documents that have those elements, even when
we're natively styling those input elements by default.

browser_toolbox_options works by loading up the DevTools options iframe, and then
clicking on things to make sure that the right prefs are set. There are checkboxes
in the iframe document, which means the extra loads I referred to happen. When
our presentation subsystems notice that there are extra loads occurring, we do
"paint suppression" to avoid flashes of unstyled content. During paint suppression,
nothing is displayed (painting is suppressed), and so nothing is clickable.

browser_toolbox_options was not waiting for the "load" event before clicking on
items. It got lucky up until the SVGs were added, but this was a race waiting
to happen. I've added a wait for the "load" event, and this test now passes.

MozReview-Commit-ID: EjzvhxhKlDs
2016-11-09 18:08:59 -05:00
Luca Greco 0b6c034bdf Bug 1308912 - Add support for addon tools registered to a specific DevTools toolbox. r=ochameau
MozReview-Commit-ID: 7DzyXLGOs5w
2016-11-03 18:41:26 +01:00
Luca Greco 772fc334f1 Bug 1308912 - Simplify tool-unregistered by only accepting a string toolId. r=ochameau
MozReview-Commit-ID: 3QjWIAwol6A
2016-10-14 17:54:56 +02:00
J. Ryan Stinnett 6767aa4fdd Bug 1277805 - Longer timeout for browser_toolbox_tool_remote_reopen.js. r=me
MozReview-Commit-ID: ClRBY52rBDF
2016-11-14 14:30:05 -06:00
Wes Kocher e40b3bdc43 Merge mozilla-central to autoland a=merge 2016-11-11 14:10:32 -08:00
J. Ryan Stinnett 16edeff0d2 Bug 1316736 - Clean up RDM typos. r=ochameau
MozReview-Commit-ID: 4waiXuzrQDE
2016-11-09 18:38:28 -06:00
James Long 74b5652894 Bug 1316413 - Update new debugger frontend r=me 2016-11-10 23:47:23 -05:00
Alexandre Poirot c4dfc3228d Bug 1315688 - Fix browser_toolbox_remoteness_change.js assertion on Aurora. r=jryans
MozReview-Commit-ID: 2qEUm1vzZPO
2016-11-07 10:21:16 -08:00
Alexandre Poirot 3532d2af79 Bug 985517 - Keep pseudo class locked when selecting another node in the markup view. r=pbro
MozReview-Commit-ID: 4davyHgBtUh
2016-11-02 04:48:05 -07:00
Jared Wein 5edec1c0d9 Bug 1315013 - part 1, remove unnecessary double-slash comments that don't add value and look out of place with the spaced-comment eslint rule. r=mossop
MozReview-Commit-ID: HIUTSdkXxbY
2016-11-03 14:42:06 -04: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
Alexandre Poirot 0d77c0893d Bug 1068400 - Restore toolbox when switching from in-parent-process to OOP tab. r=jryans
MozReview-Commit-ID: K51gp7PavC7
2016-10-24 07:37:23 -07: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
Alexandre Poirot 8ec70e165f Bug 1311737 - Prevent toolbox.selectTool from racing when calling multiple times. r=pbro
MozReview-Commit-ID: lZZGviAFl3
2016-10-25 06:57:28 -07:00
Alexandre Poirot 142db3bce0 Bug 1266134 - Pull host management out of toolbox.xul. r=jryans
MozReview-Commit-ID: 71GNAFuVFgl
2016-08-25 05:51:11 -07:00
Alexandre Poirot 800509e18e Bug 1311789: Fix the missing "Themes" legend in devtools options panel. r=jryans
MozReview-Commit-ID: 6ZpXntxvk3w
2016-10-25 03:18:28 -07:00
Jason Laster 7aabf6bf38 Bug 1307580 - Preferences Pane should show Debugger source maps checkbox. r=jlongster 2016-10-20 14:16:40 -04:00
Phil Ringnalda bd8c30d361 Merge f-t to m-c, a=merge
MozReview-Commit-ID: 2EvSTWDWg4t
2016-10-19 18:27:04 -07:00
Xue Fuqiao d623793a35 Bug 1111599 - Shift-click while in picker mode selects the element but doesn't stop the picker; r=pbro
MozReview-Commit-ID: 2yUKBJylxF1
2016-10-18 15:50:51 +08:00
Greg Tatum c3ca469ef1 Bug 1224304 - Handle canceling the element picker better r=gl
This changes the behavior of the element picker so that when it is
cancelled the previously selected DOM node is re-scrolled into view.
Additionally the existing behavior of the keyboard shortcuts for the
element picker was broken when the devtools toolbox was docked. The main
content area was not being focused, so the keyboard shortcuts for the
element picker were not being used. When the toolbox is detached, the
focus event is still not fired, as it's not desirable to have the
content pop into view over the devtools.

Finally there is now an additional implementation of the Escape shortcut
when the devtools are focused. The console Escape shortcut is ignored
until the element picker has been disabled making disabling the element
picker consistent irrelevant of the context.

MozReview-Commit-ID: HxENmPBoTcD
2016-10-06 13:40:53 -05:00