Commit Graph
191 Commits
Author SHA1 Message Date
Julian Descottes 5bd5b3601c Bug 1386613 - stop using waitForMutations in aboutdebugging tests (remaining tests);r=ochameau
MozReview-Commit-ID: HDNzIFwp4Ur
2017-12-05 22:44:18 +01:00
Julian Descottes 6024c760fb Bug 1386613 - stop using waitForMutations in aboutdebugging tests (addons);r=ochameau
MozReview-Commit-ID: Ii32r9Dhjje
2017-12-05 22:17:15 +01:00
Julian Descottes e84c5847e4 Bug 1386613 - stop using waitForMutations in aboutdebugging tests (serviceworkers);r=ochameau
MozReview-Commit-ID: 3JMEZUx8rTt
2017-12-05 17:40:34 +01:00
Julian Descottes 079ca3b7a2 Bug 1413051 - fix aboutdebugging addon tip icon in RTL;r=ochameau
MozReview-Commit-ID: 3aMuHiBHhVG
2017-12-04 14:07:50 +01:00
Julian Descottes 19fef9ac4c Bug 1411565 - about:debugging connect to remote runtime using url parameters;r=ochameau
This changeset adds basic remote connection functionality to about:debugging.
About:debugging can target a remote firefox instance if the host and port
parameters are passed as URL search params.

The feature is not explicitly exposed at the moment and there is no UI to
connect an instance, and no UI feedback when connected to a remote instance.

When connected, about:debugging should correctly list tabs, workers and addons
for the target instance of Firefox. Debugging features work for all supported
targets.

Known limitations:
- preferences are read from the local Firefox instance (multiprocess, addon
  debugging etc...). At the moment the remote instance must be manually
  correctly configured

MozReview-Commit-ID: DOekSCb96XC
2017-10-23 10:15:40 +02:00
Julian Descottes 21b6d9f77b Bug 1416711 - Add registerAllActors API;r=ochameau
Most of the codebase that needs to create a debugger server
can use a server with all actors registered.

Define an additional method registerAllActors to do that.

By previous implementations, all the call sites that were
using browser: true were indirectly using tab & root: true
as well. So all the call sites using browser: true have been
migrated to registerAllActors and the specific behavior of
the browser: true case has been removed. Passing browser:true
to registerActors now only registers browser specific actors.

MozReview-Commit-ID: F3sx71eGrdG
2017-11-13 21:22:15 +01:00
Julian Descottes 6e8668e849 Bug 1416711 - Stop guarding consumer calls to DebuggerServer.init();r=ochameau
DebuggerServer.init() already bails out if it was previously initialized
so we could avoid guarding the calls to init() with it everywhere.

Registering an actor module several times is also a noop as the Server
keeps a map of all the already registered modules and will bail out if
the module is already known.

MozReview-Commit-ID: 4ONLlx9253i
2017-11-13 21:04:43 +01:00
Andrew Swan 27440712bb Bug 1353861 Handle .zip files as temporary addons r=jdescottes
MozReview-Commit-ID: A9MQtnT16LV
2017-11-15 22:03:34 -08:00
Michael Ratcliffe 153ca3dd90 Bug 1417444 - about:debugging to use prop-types and react-dom-factories r=jdescottes
MozReview-Commit-ID: EQ5MSMrvdWW
2017-11-15 14:48:37 +00:00
Michael Ratcliffe b38a205ab4 Bug 1411920 - about:debugging to ES6 classes r=jdescottes
MozReview-Commit-ID: Js4NQoGfgtI
2017-10-26 13:20:22 +01:00
Maxime Vaillancourt ad9ea28c31 Bug 1411199 - CamelCase all aboutdebugging component files. r=jdescottes 2017-10-24 22:59:21 -04:00
Joel Maher 5953e2d68d Bug 1387827 - Disable 2 devtools tests on coverage builds for frequent timeouts. r=gbrown, a=test-only 2017-10-16 11:42:23 -04:00
Julian Descottes c9de765291 Bug 1361080 - display devtools onboarding screen if devtools.enabled if false;r=ochameau
MozReview-Commit-ID: 6TtOAGc9Zzl
2017-08-28 15:12:03 +02:00
Nicolas Chevobbe fee723d060 Bug 1403895 - Remove devtools/shared/client/main.js; r=ochameau.
Remove the main file that we don't need anymore and modify all
the imports to target the specific file they now need.

MozReview-Commit-ID: 2uWjTnAMAU0
2017-09-29 15:24:14 +02:00
Julian Descottes 83a97cd8e6 Bug 1352586 - decrease sw timeout in about:debugging test;r=me
MozReview-Commit-ID: Zeuh4xv5xb
2017-09-27 19:39:01 +02:00
Julian Descottes 89825d0373 Bug 1354937 - stop using mutations in browser_service_workers_status.js;r=ochameau
MozReview-Commit-ID: 7VUpgyOF68
2017-09-21 23:44:26 +02:00
Ian Moody c35155c2a3 Bug 1395367 - Update devtools tests to handle toolbox.showFrameMenu being async. r=ochameau
MozReview-Commit-ID: BSnpdRwWKla
2017-09-21 23:23:20 +01:00
Mark Striemer da8703818c Bug 1390647 - Match about:debugging and about:addons sidebar to about:preferences r=jdescottes
MozReview-Commit-ID: H4oZ6KzwssP
2017-09-11 18:40:47 -05:00
Mark Striemer 07fc95f699 Bug 1395183 - Update size of web-ext note icon in about:debugging r=jdescottes
MozReview-Commit-ID: DYuU04hkhKt
2017-08-30 18:27:51 -05:00
Florian Quèze a1bfa33d1b Bug 1394235 - If a browser action icon is rectangular, the height of the icon needs to be set, r=kmag. 2017-09-01 00:42:44 +02:00
Julian Descottes 75aa1b9f00 Bug 1333759 - use waitUntil instead of mutations in aboutdebugging test helper;r=ochameau
Several aboutdebugging test helpers rely on mutations to know when the UI is updated.
Since we are using React, we don't have any control on the actual mutations that
will be performed by the framework to reach a target UI state.

Using waitUntil with a DOM predicate should be more stable and less intermittent prone.

MozReview-Commit-ID: AnrEItpWkWL
2017-08-22 21:28:31 +02:00
Andrew Halberstadt 1ecb0adc26 Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw
2017-08-10 14:48:21 -04:00
Phil Ringnalda 5e91797776 Backed out changeset 6896f93a2327 (bug 1385352) for not making it to m-c before the next violation of its new linting rule merged to autoland
MozReview-Commit-ID: 3HDE2C3wSU0
2017-08-10 20:21:19 -07:00
Andrew Halberstadt 6c60ffa524 Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw
2017-08-10 14:48:21 -04:00
Alexandre Poirot e1d101ead8 Bug 1382968 - Make WebExtension debugging test better test console behavior. r=rpl
MozReview-Commit-ID: Ch8DHw7nTws
2017-08-08 22:30:56 +02:00
Luca Greco a5c3a7d903 Bug 1388737 - Make about:debugging webextension popup test able to run with oop extension mode enabled. r=ochameau
MozReview-Commit-ID: FsyDdPsQoLC
2017-08-09 13:55:13 +02:00
Julian Descottes 5444f8d505 Bug 1386412 - fix race conditions in browser_service_workers_multi_content_process.js;r=ochameau
MozReview-Commit-ID: JnvTkmDrbDo
2017-08-02 08:35:10 +02:00
Sebastian Hengst 32ea619857 Backed out changeset 192d517219c1 (bug 1369801)
MozReview-Commit-ID: KeLy0a8hjVF
2017-07-27 18:14:38 +02:00
Julian Descottes 8c0c562ada Bug 1369801 - dt-addon-xpcshell: load devtools addon for xpcshell tests;r=bgrins
MozReview-Commit-ID: 4EyclGKca0t
2017-07-11 12:30:22 +02:00
Mark Striemer 6a79591d33 Bug 1381550 - Update font sizes in about:debugging r=jdescottes
MozReview-Commit-ID: 9fTtFH1DnGN
2017-07-19 11:57:05 -05:00
Mark Striemer 3ba601e9c7 Bug 1330732 - Show install warnings in about:debugging r=aswan,jdescottes
MozReview-Commit-ID: 8SFcYuln8w8
2017-06-29 11:11:21 -07:00
Sebastian Hengst 4b7fa3c5ad Backed out changeset 1d1b993bfea6 (bug 1330732) for failing chrome's test_chrome_ext_contentscript_unrecognizedprop_warning.html and test_chrome_ext_eventpage_warning.html. r=backout 2017-07-17 20:46:06 +02:00
Andy McKay 2b49456e93 bug 1380818 show the add-on id on about:debugging r=jdescottes
MozReview-Commit-ID: D1K0LgLX34S
2017-07-15 07:47:05 -07:00
Mark Striemer 8c4575d392 Bug 1376941 - Retry install add-on button on error in about:debugging r=jdescottes
MozReview-Commit-ID: 2Lq40TPLMsZ
2017-07-04 12:53:19 -05:00
Mark Striemer 36eb2b03fc Bug 1330732 - Show install warnings in about:debugging r=aswan,jdescottes
MozReview-Commit-ID: 8SFcYuln8w8
2017-06-29 11:11:21 -07:00
Mark Striemer 4fbb1b5fc6 Bug 1367485 - Improve formatting of Windows paths in about:debugging r=jdescottes
MozReview-Commit-ID: 1mKNvccF6nZ
2017-06-28 13:49:05 -07:00
Geoff Brown 72ac28ed87 Bug 1333759 - Skip test browser_service_workers_fetch_flag.js, on osx, for intermittent failures; r=me,test-only 2017-07-07 15:10:04 -06:00
Ryan VanderMeulen d4aea3bc88 Bug 1326230 - Fix space-infix-ops ESLint error in browser_addons_debug_info.js. r=eslint-fix a=eslint-fix
MozReview-Commit-ID: 5BJck3p94Uq
2017-06-04 21:57:47 -04:00
Andy McKay 9a834ac39e Bug 1326230 - Add a warning for temporary ids in about:debugging. r=mstriemer
MozReview-Commit-ID: 2Ui2kfB8UPe
2017-06-02 14:15:08 -07:00
Alex Gaynor 403a35fa64 Bug 1363760 - Part 1 - Allow the about:debugging tests to pass if there are no temporary addons installed r=jdescottes
The current DOM tests for about:debugging implicitly assume that there is a
temporary addon installed before they start. This is currently always true
because mochitest and specialpowers are installed as temporary addons, but the
goal of this bug is to install them as non-temporary addons.

The specific cause of the breakage is the assumption that uninstalling an addon
removes an <li> from the addons <ul>, but when you go from one addon to zero the
entire <ul> is removed.

MozReview-Commit-ID: VJIcy17uQc
2017-05-30 10:04:29 -04:00
Julian Descottes 06be1ca7db Bug 1363327 - simplify aboutdebugging landing page;r=ochameau
about:debugging is requiring some unused files at the moment and they can safely be removed

MozReview-Commit-ID: Fkssj8aKMsO
2017-05-12 15:52:10 +02:00
Mark Striemer b35ccde10d Bug 1338827 - Only show reload button for temporary add-ons in about:debugging r=jdescottes
MozReview-Commit-ID: m8Le3N4xyg
2017-05-18 09:30:48 -05:00
Mark Striemer a80501cf39 Bug 1338827 - Add button to remove add-on in about:debugging r=jdescottes
MozReview-Commit-ID: HqpzhIM1MGV
2017-05-18 10:40:14 -05:00
Andy McKay 47949be5e8 bug 1360756 show internal ID for about:debugging r=jdescottes,mstriemer
MozReview-Commit-ID: 2LwFAzKSVKT
2017-05-19 12:00:04 -07:00
Julian Descottes 796489eb8f Bug 1363685 - revert addonDebugging.label2 to addonDebugging.label;r=flod
MozReview-Commit-ID: ETJtGEVjaYE
2017-05-10 13:21:07 +02:00
Julian Descottes 032896a9ee Bug 1363100 - change aboutdebugging links text to "Learn more";r=flod,ochameau
MozReview-Commit-ID: jOWDb17tsv
2017-05-08 22:42:10 +02:00
Andy McKay a846c228fe bug 1353933 add a note about web-ext r=jdescottes
MozReview-Commit-ID: 2nNGL9BUKjQ
2017-05-05 16:53:04 -07:00
Mark Striemer 8dc84fb3be Bug 1330741 - Show filesystem location of add-ons in about:debugging r=jdescottes
MozReview-Commit-ID: 3pmdAi80boT
2017-03-21 18:20:28 -05:00
Blake Kaplan 4be9ead168 Bug 1357909 - Tweak the strings explaining to the user what's happening. r=ochameau
This patch also watches the dom.ipc.multiOptOut pref to make sure we update
our state when all of the relevant prefs change as well as clarifies how the
code works.

MozReview-Commit-ID: 8qKymEth7C8
2017-04-19 15:51:44 -07:00
Blake Kaplan 7319ee1afe Bug 1349363 - Use a centralized function to tell if e10s-multi is on. r=Felipe
MozReview-Commit-ID: JQJtCanIv3a
2017-04-17 14:58:52 -07:00