Commit Graph

444 Commits

Author SHA1 Message Date
Alexandre Poirot
daddab3bbd Bug 1331122 - Increase test timeout for browser_toolbox_races. r=jdescottes
This test toggles the toolbox multiple times (3),
it can be take significant amount of time on slow test machines.

MozReview-Commit-ID: 3wJ95Pd8lYN
2017-04-25 19:31:51 +02:00
Mike Conley
1e8abdbd0c Bug 1357169 - Back out changeset 9f7debc99bf8 (bug 418833). r=mats
MozReview-Commit-ID: EThljjMniOt
2017-03-31 09:41:02 -04:00
Michael Ratcliffe
ac15073603 Bug 1356223 - Support scalar telemetry probe types in Telemetry.js r=pbro
MozReview-Commit-ID: A2SMdvjy4jp
2017-04-19 12:44:54 +01:00
Ryan VanderMeulen
a565280a99 Bug 1355984 - Skip browser static analysis check tests on ASAN when running in the devtools suite as well. r=Gijs 2017-04-18 12:57:15 -04:00
Florian Queze
451928e614 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02: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
0ec08eee8e Bug 1352157 - Avoid listTabs for global actors. r=ochameau
Adds a new `getRoot` request to the root actor which lists the global actors
only (leaving out the tabs).  This is a much better fit for callers who want to
access some global actor only, since it avoids visiting every tab, which could
be a very expensive operation.

MozReview-Commit-ID: 1lIAuaV7zoF
2017-04-06 23:00:22 -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
Iris Hsiao
691ed0f36a Backed out changeset 33be5bce0905 (bug 1346902) for devtool test failing in browser_browser_toolbox_debugger.js 2017-04-06 10:41:47 +08:00
J. Ryan Stinnett
e9de05207d Bug 1346902 - Re-enable new debugger UI for Browser Toolbox. r=Gijs,rpl
It appears the new debugger UI is working for the Browser Toolbox case, so let's
turn it on to match our approach with web content.

MozReview-Commit-ID: 1HhSKwZMH2f
2017-03-13 14:31:53 -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
Luca Greco
774a574973 Bug 1350782 - Fix undefined Cu error on unregistering tool using its definition object. r=ochameau
MozReview-Commit-ID: FWBwTcQKf0T
2017-03-27 03:37:06 +02:00
Stanford Lockhart
a158431154 Bug 1345119 - Part 1: Move functions out of grid-inspector into inspector for sharing with boxmodel. r=pbro
MozReview-Commit-ID: KlHinf9jgFX
2017-03-17 22:58:11 -03:00
Iris Hsiao
206cfb29fd Backed out 5 changesets (bug 1345119) dor mochitest failure in test_inspector_getOffsetParent.html
Backed out changeset c9be65ad95f6 (bug 1345119)
Backed out changeset 4e4817e5b6d4 (bug 1345119)
Backed out changeset 6a01debcc43c (bug 1345119)
Backed out changeset 2c6f67f420d0 (bug 1345119)
Backed out changeset ba020c15393d (bug 1345119)
2017-03-24 15:01:47 +08:00
Stanford Lockhart
36256ef3c8 Bug 1345119 - Part 1: Move functions out of grid-inspector into inspector for sharing with boxmodel. r=pbro
MozReview-Commit-ID: KlHinf9jgFX
2017-03-17 22:58:11 -03:00
J. Ryan Stinnett
582e30f4bc Bug 1349360 - Expose client-side source map service on toolbox. r=ochameau
This makes the new client-side mapping service available from the toolbox.  Note
that it's not actually _used_ from here yet, as that will happen in separately.

MozReview-Commit-ID: 5Bq774CANfC
2017-03-21 17:11:17 -05:00
J. Ryan Stinnett
b1e4f726f1 Bug 1349360 - Mark experimental SourceMapService as deprecated. r=ochameau
The existing `SourceMapService` uses server-side source maps, which we are
replacing with client-side source maps.  It will be removed later in bug
1349354, but for now mark it as deprecated so we don't use it with any other
tools.

MozReview-Commit-ID: ABmWGC5asZd
2017-03-21 16:44:09 -05:00
Matteo Ferretti
1fc638443d Bug 1342928 - Keep the commands / buttons state in sync; r=jwalker
This was a regression given by bug 1320149; in order to keep the performance
gain I created a lightweight object (`CommandState`) that is required from both
gcli's command and toolbox so that the last one doesn't need to be strong
coupled with the first one.

MozReview-Commit-ID: 3NcTt6i4ezx
2017-03-20 14:54:03 +01:00
Florian Quèze
b126d4ddc9 Bug 1316187 - verify that all the chrome files we ship are actually referenced, r=Gijs. 2017-03-18 01:13:28 +01:00
J. Ryan Stinnett
47aeed7f95 Bug 1348318 - Avoid toolbox.win.top with undocked toolboxes. r=ochameau
`toolbox.win.top` is a bit suspect when we support undocked toolboxes, as this
doesn't allow you to reach a browser window for the toolbox.  Here we take a
different approach that should work for all docking types.

MozReview-Commit-ID: 5mlsp4OyZrc
2017-03-17 10:51:03 -05:00
Florian Quèze
e41c1d63d0 Bug 1347947 - Move static checking browser mochitests to their own folder, r=Gijs. 2017-03-16 19:26:01 +01:00
Julian Descottes
52b7fa792f Bug 1338106 - Add mask-image to fade out text of devtools-tabs;r=ntim
Also fixes a slight issue in firebug theme that made the text slide of
1 px down when selecting a tab.

MozReview-Commit-ID: KNm9Xf21p2D
2017-03-08 17:20:49 +01:00
Florian Quèze
b15de4893d Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
Florian Quèze
c7eae86054 Bug 1344711 - script-generated patch to remove try blocks around get*Pref calls, r=jaws. 2017-03-07 15:29:48 +01:00
Michael Layzell
0742c44837 Bug 1317322 - Part 1: Activate paste in menus when within <textarea> controls, r=ehsan
MozReview-Commit-ID: 7YD8qtsC3u6
2017-03-06 14:37:39 -05:00
J. Ryan Stinnett
84120359b4 Bug 1329515 - Remove unused source map modules. r=tromey
MozReview-Commit-ID: 20b06QuHJYs
2017-03-02 15:45:25 -06:00
J. Ryan Stinnett
7732fe5d15 Bug 1342588 - Use ProfD for Browser Toolbox profile. r=ochameau
Originally, the profile was placed in `ProfLD` instead of `ProfD`.  On some
systems, such as macOS, `ProfLD` is in the user's Caches directory, which is not
an appropriate place to store supposedly persistent profile data.

MozReview-Commit-ID: IWudqEg3kbI
2017-03-01 15:17:59 -06:00
Julian Descottes
34e800bbfa Bug 1335608 - add a button to select hidden tools when toolbox toolbar overflows;r=gregtatum
MozReview-Commit-ID: HgfSteV6WXy
2017-03-01 17:32:55 +01:00
Masatoshi Kimura
4f2e64ad3d Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg
2017-02-23 06:10:07 +09:00
J. Ryan Stinnett
f7e1b9ba64 Bug 1275078 - toolbox-init.js error handling tweaks from Positron. r=ochameau
MozReview-Commit-ID: LDjzdUTJikc
2017-02-22 12:45:06 -06:00
J. Ryan Stinnett
f60efe3dc8 Bug 1275078 - Fix ESLint issues in toolbox and target files. r=ochameau
MozReview-Commit-ID: 8SoQ2JnTib3
2017-02-22 12:33:20 -06:00
Wes Kocher
0bf20a00ac Merge inbound to central, a=merge
MozReview-Commit-ID: 2R3yE5OIznC
2017-02-22 15:01:04 -08:00
Patrick Brosset
1124abfb31 Bug 1307347 - Get rid of duplicated loadTab/removeTab code in webconsole tests. r=jmaher 2017-02-17 14:28:19 +01:00
J. Ryan Stinnett
96c3e91653 Bug 1268134 - Setup fake toolbox host for standalone windows. r=ochameau
MozReview-Commit-ID: CHzE4EdVkBR
2016-04-14 20:05:59 -05:00
J. Ryan Stinnett
dc7b031568 Bug 1268134 - Add client and toolbox access to specific windows. r=ochameau
MozReview-Commit-ID: 3IILOc6gZFi
2016-04-14 17:09:49 -05:00
J. Ryan Stinnett
12ff527244 Bug 1339992 - Use common spelling for all source map prefs. r=jdescottes
MozReview-Commit-ID: K0MmghEuRa7
2017-02-15 17:44:42 -06:00
Ricky Chien
b6d6df65f0 Bug 1309183 - Replace XUL Splitter by SplitBox r=Honza
MozReview-Commit-ID: Lm6Y8JdF9Ga
2017-02-11 09:34:53 +08:00
Julian Descottes
2649651810 Bug 1339064 - Add layout panel option to nightly options;r=gl
MozReview-Commit-ID: LOMotSUNj9B
2017-02-10 10:41:42 +01:00
Ricky Chien
67a1999875 Bug 1336383 - Implement RequestsList component r=Honza
MozReview-Commit-ID: 5ktx8fncDl0
2017-01-31 12:19:31 +08:00
J. Ryan Stinnett
4f18253db7 Bug 1329829 - Use toolbox threadClient with slow script debugging. r=jdescottes
By using the toolbox's threadClient reference, we avoid depending on specific
globals from the debugger panel itself, which can differ between old vs. new
debugger and generally aren't expected meant to be an exposed API.

MozReview-Commit-ID: FCvMDHpe1m1
2017-02-08 16:09:57 -06:00
Sebastian Hengst
856a299e49 Backed out changeset eee8f9b6791d (bug 1336383) for failing browser_net_har_post_data.js. r=backout 2017-02-10 17:52:46 +01:00
Ricky Chien
80bc125faa Bug 1336383 - Implement RequestsList component r=Honza
MozReview-Commit-ID: 5ktx8fncDl0
2017-01-31 12:19:31 +08:00
Alexandre Poirot
2b8fa69a0d Bug 1337510 - Remove dead code related to gcli command buttons. r=jryans
MozReview-Commit-ID: 8mF3u2hvjnu
2017-02-07 22:21:54 +01:00
Alexandre Poirot
3d58df4f53 Bug 1337516 - Fix the connect page when connecting to xpcshell tests. r=jryans
MozReview-Commit-ID: KHCfhwaBcXp
2017-02-07 22:20:49 +01:00
Tim Huang
8ccbc9efa5 Bug 1263324 - Part 2: Add test cases to test context id for devtools storage inspector. r=miker 2017-01-24 14:45:42 +08:00
Julian Descottes
4e8cab2ebc 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
2016-12-27 17:59:58 +01:00
Jaideep Bhoosreddy
8440fce98b Bug 1334126 - Fix "Screenshot icon beside Screenshot Behavior label looks inconsistent". r=ntim.bugs 2017-01-30 14:00:00 +01:00