Commit Graph
658 Commits
Author SHA1 Message Date
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
Mark Banner 233309fbe2 Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop
MozReview-Commit-ID: JrbFxQ5rj6I
2016-10-18 08:38:10 +01:00
Carsten "Tomcat" Book 336718da07 merge mozilla-inbound to mozilla-central a=merge 2016-10-14 11:59:12 +02:00
Julian Descottes 00701306a6 Bug 1309650 - remove non remote friendly APIs from selection.js;r=pbro
MozReview-Commit-ID: 4EZIn2NWiZ5
2016-10-12 20:04:17 +02:00
J. Ryan Stinnett d70bb81021 Bug 1212689 - Extract ToolboxButtons to save GCLI from loading toolbox.js. r=ochameau
MozReview-Commit-ID: DZcvEa9v0vS
2016-10-13 11:21:53 -05:00
Iris Hsiao 700ba1cf54 Backed out changeset d271311721bb (bug 1297535) for developer's request 2016-10-11 11:13:12 +08:00
Helen V. Holmes e1c13ffaac Bug 1226913 - Don't allow to disable the element picker icon. r=pbro 2016-10-10 05:12:00 -04:00
Brian Grinstead 92d03a9508 Bug 1304178 - Reset the splitconsole pref after every test to make sure it gets cleaned up;r=linclark
MozReview-Commit-ID: Bt7KrCXaUwV
2016-10-06 17:09:57 -07:00
Alexandre Poirot c761fb23ee Bug 1299503 - Cleanup browser_toolbox_sidebar toolboxes at test end to prevent crashes. r=jryans
MozReview-Commit-ID: BWdbWELzBos
2016-09-01 02:17:22 -07:00
Alexandre Poirot 945e06ecf4 Bug 1299503 - Support connecting to remote targets via about:devtools-toolbox query parameters. r=jryans
MozReview-Commit-ID: 7EFCxnKkO6r
2016-08-31 07:42:23 -07:00
Fred Lin 18a4169423 Bug 1292592 - Convert sourceeditor to use key shortcuts module;r=ochameau
MozReview-Commit-ID: 2hFtanHPuyr
2016-09-23 15:12:17 +08:00
Gabriel Luong 9dd5c70e0f Bug 1305786 - Add initial react/redux boilerplate for creating a new layout panel r=honza 2016-10-03 10:22:26 -04:00
Carsten "Tomcat" Book 26df397286 Merge mozilla-central to fx-team 2016-09-30 12:09:37 +02:00
Carsten "Tomcat" Book 6a5905c620 merge fx-team to mozilla-central a=merge 2016-09-30 12:00:25 +02:00
Julian Descottes 9b3e52fbcf Bug 1305007 - set dir attribute value only if document.hasAttribute("dir");r=bgrins
MozReview-Commit-ID: EnDi7iuoJ5P
2016-09-28 17:35:40 +02:00
Patrick Brosset ee4a9fbf43 Bug 733880 - Add the missing copy/paste/cut menus on all text boxes in inspector; r=jdescottes
This change makes use of the toolbox's textBox menu in all of the
inspector's text fields.
Previously, right-clicking in a text field in the inspector would give
various results: either the tool's context menu would open, or nothing
would happen, or the usual copy/paste/cut menu would open.

Now, right-clicking in any text field in the inspector always shows the
copy/paste/cut menu.

MozReview-Commit-ID: DwkhBqY7Qzj
2016-09-23 19:21:09 +02:00
Carsten "Tomcat" Book e127ce1d06 merge fx-team to mozilla-central a=merge 2016-09-29 11:43:57 +02:00
Julian Descottes 5ca952ef49 Bug 1305007 - fix jetpack tests;r=bustage
MozReview-Commit-ID: 79lcPX2eshe
2016-09-28 15:55:55 +02:00
Julian Descottes 2e468e5eab Bug 1305007 - RTL: set dir attr. when loading devtools HTML document;r=bgrins
Toolbox sets the dir attribute on a panel document element when loading a panel,
if the panel is using a HTML document.

Using the ForceRTL addon, the dir attribute should be automatically updated whenever
the direction is changed by the addon.

MozReview-Commit-ID: 2r18APw7IBs
2016-09-23 19:50:41 +02:00
Brian Grinstead c2fe846abb Bug 1306124 - Getting tests outside of webconsole/ to work when the new output area is on by default;r=linclark
MozReview-Commit-ID: Gva7BnXw9PL
2016-09-28 14:29:16 -07:00
Alexandre Poirot ea834a2c62 Bug 1297535 - Register devtools menu and keys on DOMContentLoaded to happen before CustomizableUI. r=bgrins
MozReview-Commit-ID: ACy3yJTgzyA
2016-08-24 07:26:32 -07:00
Julian Descottes 6044c0cd8c Bug 1297113 - Remove keyset from toolbox.xul;r=bgrins
MozReview-Commit-ID: 4gpqIv6gH5X
2016-09-13 14:56:44 +02:00
Julian Descottes 7c53208c1b Bug 1297113 - Convert useKeysWithSplitConsole to use key-shorcut.js;r=ochameau
MozReview-Commit-ID: 6pbjxNJaTcs
2016-09-16 14:32:26 +02:00
Julian Descottes 37489206d7 Bug 1297113 - Fix eslint errors in toolbox.js;r=ochameau
MozReview-Commit-ID: 3q53J5L1bOk
2016-09-12 16:51:40 +02:00