Граф коммитов

396 Коммитов

Автор SHA1 Сообщение Дата
Julian Descottes 9f50dbd0e4 Bug 1335037 - add options to toggle new frontend for console/debugger;r=jryans
Add options (available in Nightly/Local builds only) to switch between the old
and new frontends for console and debugger.

MozReview-Commit-ID: 413xt7h9aoP

--HG--
extra : rebase_source : e1dcfdce8197b55674bab5e0ba992c4cccc12198
2016-12-27 17:59:58 +01:00
Jaideep Bhoosreddy f1ddebe669 Bug 1334126 - Fix "Screenshot icon beside Screenshot Behavior label looks inconsistent". r=ntim.bugs
--HG--
extra : rebase_source : 7251497a5303293f26286b35706584e463119df3
2017-01-30 14:00:00 +01:00
Tomer Cohen b500a378a8 Bug 1334958 - devtools/content/framework/connect/connect.css uses float: inline-end r=jryans
MozReview-Commit-ID: 737eL5eTGtb

--HG--
extra : rebase_source : 05721871b39df16d521deb5a2e89907eac080343
2017-01-30 15:11:12 +02:00
Tomer Cohen 64994119f9 Bug 1334956 - devtools/client/framework/options-panel.css uses float: inline-start r=jryans
MozReview-Commit-ID: JQMxAoKRpEm

--HG--
extra : rebase_source : 645eab3953bdbdceff2818552c1e59a414abf832
2017-01-30 15:09:29 +02:00
Alexandre Poirot f2902ed34c Bug 1320149 - Prevent loading gcli when opening a toolbox. r=jwalker,miker
MozReview-Commit-ID: KE209SRA15u

--HG--
extra : rebase_source : aa6f8bcc9918b1f192e31b01cf4ecd37b892a49d
2017-01-05 10:27:31 -08:00
Florian Quèze bdc1ffa608 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Florian Quèze 0e0865f4fc Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Nicholas Nethercote 3d9cfb4679 Bug 1333296 (part 5) - Remove SPS references in devtools/ and dom/. r=mstange.
--HG--
extra : rebase_source : fbbaf2814ea629c9ab6c342005c9bfb6e7aa1281
2017-01-25 09:08:15 +11:00
Brian Grinstead 69a14eaed4 Bug 1331449 - Set the [devtoolstheme] attribute on more specific nodes to improve tpaint;r=Gijs
MozReview-Commit-ID: 3LDQeKsGShB

--HG--
extra : rebase_source : c37b38921953a646d1d676f48b953c9715757bf2
2017-01-19 20:03:13 -08:00
Wes Kocher 336f27142f Merge m-c to autoland, a=merge
MozReview-Commit-ID: 3pEpsd3DljH
2017-01-19 16:47:25 -08:00
Yura Zenevich ebf1504380 Bug 1327972 - make sure alt/cmd+lefr/right navigate history even if devtools toolbar is focused. r=jryans
MozReview-Commit-ID: 86Qhmtz4ODG
2017-01-19 12:21:12 -05:00
Alexandre Poirot 635112f29d Bug 1326753 - Fix inspect node from browser context menu against elements in iframes. r=pbro
MozReview-Commit-ID: C4dvnISlneS

--HG--
extra : rebase_source : 09e5646b8ef214bff40bd2f8f6fa6b57ca348fd0
2017-01-18 22:08:10 +01:00
Florian Quèze 85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Brian Grinstead eb786eea03 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 9defa5cedc 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 41529739bc Bug 1330325 - add BUG_COMPONENT to devtools/* files. r=jryans
MozReview-Commit-ID: Bd0ca7f6QE6
2017-01-13 08:40:35 -05:00
Alexandre Poirot 782e1c95ba Bug 1328004 - Fix race when closing the devtools while a previous instance is still loading. r=jryans
MozReview-Commit-ID: 2a58l4DjCtv

--HG--
extra : rebase_source : b7eb2f249ff9710f422e699b07d4d56779358aec
2017-01-05 10:26:44 -08:00
Ricky Chien d76f28edc6 Bug 1317648 - Implement Headers Panel r=Honza,jsnajdr
MozReview-Commit-ID: 74kBBM4YsJR

--HG--
extra : rebase_source : 911e3182664fe55fb6c649c05324e5e66475920a
2016-12-31 21:03:18 +08:00
Sebastian Hengst cb76f56d60 Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
Tim Nguyen d7ea1c1605 Bug 1330099 - Enable object-shorthand eslint rule. r=jryans
MozReview-Commit-ID: 3wA25rfznBv
2017-01-11 21:22:15 +00:00
Carsten "Tomcat" Book 89882dc5f4 merge mozilla-inbound to mozilla-central a=merge 2017-01-10 12:11:31 +01:00
Luca Greco d0abf5aa51 Bug 1291737 - Export TabTarget from 'devtools/client/framework/target' module. r=ochameau
MozReview-Commit-ID: D2CeRH74Vg8

--HG--
extra : rebase_source : e6379674721be668f762b94cb0cde37a3c0e1adf
2016-09-05 14:19:50 +02:00
Carsten "Tomcat" Book 3feb9e53ca Backed out changeset 235ba91834d5 (bug 1291737) 2017-01-19 16:59:20 +01:00
Luca Greco 49292293cf Bug 1291737 - Export TabTarget from 'devtools/client/framework/target' module. r=ochameau
MozReview-Commit-ID: D2CeRH74Vg8

--HG--
extra : rebase_source : 29c615e0a4c7fb4fb6ce828a12e8811ab3308bcc
2016-09-05 14:19:50 +02:00
Ricky Chien 31024c90f2 Bug 1317650 - Implement Params Panel r=Honza,jsnajdr
MozReview-Commit-ID: A0GjfZeSOJi

--HG--
extra : rebase_source : 7f3183605670114d8dec68d7625ee803ef3d2e4b
2017-01-08 17:54:53 +08:00
Julian Descottes 938996f0f3 Bug 1307239 - add context menu to new console frontend;r=nchevobbe
MozReview-Commit-ID: 6btSC89pBmG

--HG--
extra : rebase_source : 6acadee3a9ba4c77d069b0af6fe93b167fa47d92
2016-12-29 17:06:59 +01:00
Tomer Cohen ab2a6314a2 [Bug 1324118] RTL support for devtool framework connection screen r=jryans
MozReview-Commit-ID: 6h7JdUY4lsT

--HG--
extra : rebase_source : 32589e445eb04c951f2c0b395dee0f51ba17b8ac
2016-12-17 01:08:07 +02:00
Alexandre Poirot c0f597f8a5 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.

--HG--
extra : rebase_source : acbfd98b7791c833181d655d6cae04ec9bb28f87
2016-12-19 03:14:12 -08:00
Alexandre Poirot 05785798fb Bug 1323466 - Lazy load optional deps from toolbox.js. r=jryans
MozReview-Commit-ID: 1E8fm9dfCwj

--HG--
extra : rebase_source : 450455e6d9044c264cbf4513622a87b9ce99c267
2016-12-14 08:33:54 -08:00
Greg Tatum 555caa01f2 Bug 1245921 - Turn toolbox toolbar into a React component r+miker r=miker
MozReview-Commit-ID: 4UZbcfw2YI9

--HG--
extra : rebase_source : 9e9e8bfed8c8511ade6c7307a0201b88b0781fba
2016-11-18 15:02:21 -06:00
Florian Quèze 55f78ce0fa Bug 1329182 - remove trailing newURI null parameters in devtools/, r=jaws. 2017-01-09 20:27:26 +01:00
Wes Kocher 584a2f0f62 Merge inbound to central, a=merge
MozReview-Commit-ID: Cr9L1dhIzP2
2016-12-20 11:41:57 -08:00
Tomer Cohen 0bb0d35bc0 Bug 1323504 - Add RTL support for the Toolbox Options r=jdescottes
MozReview-Commit-ID: DkAfbQyIdkR

--HG--
extra : rebase_source : 667dff4d65612cb47615ef50ac170bdf71c0c739
2016-12-20 12:42:43 +02:00
Gabriel Luong 1e634e99df Bug 1322028 - Avoid destructuring requires where possible in the inspector. r=jdescottes 2016-12-17 12:44:56 +09:00
Julian Descottes 70d2279376 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

--HG--
extra : rebase_source : 884c00a6a5bc1e2f1afae65047ceaf446e8d2161
2016-11-28 22:47:02 +01:00
Julian Descottes 3f0ff25997 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

--HG--
extra : rebase_source : aba8fac87b66546dbb98f8f8d476cd1557c2659d
2016-12-07 18:24:51 +01:00
Jaideep Bhoosreddy 9de38f5e8f Bug 1257913 - Add copy screenshot to clipboard feature; r=jryans
MozReview-Commit-ID: 6pMNR8hCR7d
2016-09-09 12:17:08 -04:00
Tom Tromey f504948b28 Bug 1316630 - don't emit pref-changed event on gDevTools; r=jdescottes
MozReview-Commit-ID: CCqAf8dBFSY

--HG--
extra : rebase_source : dac78e13ef9e52c5f36c17372d023be62c4396e7
2016-11-21 08:47:10 -07:00
Alexandre Poirot 5e34fcb962 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 8df5ab601c 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 b76dc18132 Bug 1302996 - Stop loading various useless SDK modules on early devtools startup. r=jryans
MozReview-Commit-ID: 5Roi7rmmbes

--HG--
extra : rebase_source : 25868d462dbfe87b00caf40bc17cebe78d7ad353
2016-08-29 08:23:32 -07:00
Alexandre Poirot 3ab3766b4a Bug 1319928 - Prevent gDevTools.showToolbox from racing when called multiple times in a row. r=jryans
MozReview-Commit-ID: ZQrecrTwb5

--HG--
extra : rebase_source : a421a1c7b14493dbcf6ae2d1671a5e8cec700dfa
2016-11-24 10:03:12 -08:00
Alexandre Poirot 8e8e2b0fc0 Bug 1151909 - Make the inspector actor wait for DOMContentLoaded instead of load. r=pbro
MozReview-Commit-ID: IV4v5ql8GJ9

--HG--
extra : rebase_source : 537eefcf27485eaf0841ff7ebd325c8734fcd02a
2016-11-07 16:07:26 -08:00
Alexandre Poirot 78a21c673d Bug 1154645 - Simplify inspectNode implementation by passing CSS selector instead of node reference. r=pbro
MozReview-Commit-ID: 3yeDk3OniFj

--HG--
extra : rebase_source : 5658c4db323aba50f9760027fe1f4b5233c9759c
2016-11-09 09:23:36 -08:00
Mike Conley e686ab64ed 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

--HG--
extra : rebase_source : 37a7223673ec7968df8035496fad7e9034765962
2016-11-09 18:08:59 -05:00
Luca Greco ef2eba34ab Bug 1308912 - Add support for addon tools registered to a specific DevTools toolbox. r=ochameau
MozReview-Commit-ID: 7DzyXLGOs5w

--HG--
rename : devtools/client/framework/test/browser_toolbox_dynamic_registration.js => devtools/client/framework/test/browser_toolbox_tools_per_toolbox_registration.js
extra : rebase_source : fb3b29d99151f3996624d8ba8cafaf8307affd8e
extra : source : 714d261424158deabda8dc3cbf20c371775b3306
2016-11-03 18:41:26 +01:00
Luca Greco e86fa50b4e Bug 1308912 - Simplify tool-unregistered by only accepting a string toolId. r=ochameau
MozReview-Commit-ID: 3QjWIAwol6A

--HG--
extra : rebase_source : d5e8ac0d23d8105b15d01f38860ac854d6300558
extra : source : 0d9e3e91230730f4a513cad98a5758c56cf473e8
2016-10-14 17:54:56 +02:00
J. Ryan Stinnett 4d124db085 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 c7d27df096 Merge mozilla-central to autoland a=merge 2016-11-11 14:10:32 -08:00
J. Ryan Stinnett 27d8eb9d66 Bug 1316736 - Clean up RDM typos. r=ochameau
MozReview-Commit-ID: 4waiXuzrQDE

--HG--
extra : rebase_source : 1c5e6e7d61a6236ff6b008d9ad53a34de2f467db
2016-11-09 18:38:28 -06:00