Commit Graph
461 Commits
Author SHA1 Message Date
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
Carsten "Tomcat" Book 4e415a660d Merge mozilla-central to autoland 2017-05-05 15:27:55 +02:00
Carsten "Tomcat" Book 31f9a8236d merge mozilla-inbound to mozilla-central a=merge 2017-05-05 15:17:26 +02:00
Ricky Chien 0e3b06b4e3 Bug 1344160 - Fix mochitest failures r=Honza
MozReview-Commit-ID: JkF1WCdLmt8
2017-04-29 23:20:49 +08:00
Julian Descottes 9ef343e89a Bug 1356415 - get CSS selector in content for contextmenu to fix devtools CPOW;r=mixedpuppy
MozReview-Commit-ID: 3TYaYcS1W0h
2017-04-26 19:41:19 +02:00
Honza Bambas e8227e774f Bug 1319111 - Expose URI to make security check against on LoadInfo (no LOAD_REPLACE flag). r=bz 2017-01-27 19:10:01 +01:00
Julian Descottes 01957479c0 Bug 1360894 - add type checkbox to devtools all-tools menu items;r=pbro
MozReview-Commit-ID: JtSUWaZm1vv
2017-05-03 17:31:08 +02:00
Julian Descottes d18d132561 Bug 1183962 - stop installing webide button in menu or navbar automatically;r=jryans
MozReview-Commit-ID: CACgml3Xijf
2017-05-02 22:56:40 +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
J. Ryan Stinnett f23f138672 Bug 1346902 - Update browser toolbox integration test for new debugger. r=jlast
MozReview-Commit-ID: 8k8bIqSBKGf
2017-04-25 22:12:30 +02:00
J. Ryan Stinnett aec76bd1dd Bug 1346902 - Re-enable new debugger UI for Browser Toolbox. r=jryans
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: HT6qoIrwAHX
2017-04-25 22:11:45 +02:00
Julian Descottes fdebbd7b8f Bug 1359090 - load devtools-browser.css dynamically when starting devtools;r=ochameau
This changeset modifies devtools-browser.css to import:
- commandline-browser.css (needed for GCLI)
- responsivedesign.css (needed for the old RDM)

These files are no longer included in the main browser.css files.

devtools-browser.css is also no longer loaded by browser.xul.
Instead it is dynamically loaded when devtools need the browser stylesheet:
- when creating a side or bottom host (need the splitter)
- when opening gcli
- when opening the old responsive design

devtools-browser.js keeps track of the browser stylesheets loaded in the
various tracked windows and will remove the stylesheet when the window is unloaded.

MozReview-Commit-ID: AL3CxS7mvdO
2017-04-27 16:05:31 +02:00
Alexandre Poirot 284f675774 Bug 1360237 - Fix eslint issues for devtools/client/framework/devtools-browser.js. r=pbro
MozReview-Commit-ID: 3P2VOksEmQd
2017-04-27 17:21:07 +02:00
Alexandre Poirot 6e363b6d3b Bug 1360237 - Make gDevToolsBrowser.inspectNode more readable by using async/await. r=pbro
MozReview-Commit-ID: 37zPhpCTnDa
2017-04-27 17:20:38 +02:00
Alexandre Poirot a6c25c7071 Bug 1360237 - Fix eslint issues for devtools/client/framework/devtools.js. r=pbro
MozReview-Commit-ID: 8mWiLTsH4Sb
2017-04-27 17:19:17 +02:00
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