Commit Graph
129 Commits
Author SHA1 Message Date
Alexandre Poirot 3e32f9edd3 Bug 1506546 - Refactor about:debuggings. r=yulia,jdescottes
I did a dedicated patch for converting both about:debuggings as it is slightly more
complex as we have to tweak redux data, wrappers, mocks.
This patch also convert a manual "reload" request being done by about:debugging
and instead use protocol.js front to do it.
Also, I moved isLegacyTemporaryExtension to the front as it depends on accessing the form
and it should be better to keep form processing to the fronts, if possible.

MozReview-Commit-ID: 16qZkuCBp9b

Depends on D12576

Differential Revision: https://phabricator.services.mozilla.com/D12577
2018-11-27 19:17:11 +00:00
Andreea Pavel 2e1438afd5 Backed out 7 changesets (bug 1506546) fo failing devtools at devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_system_addons.js on a CLOSED TREE
Backed out changeset fbe3f2183f32 (bug 1506546)
Backed out changeset 8972a2f14015 (bug 1506546)
Backed out changeset 00fe26234b3d (bug 1506546)
Backed out changeset 7d8e650e25c2 (bug 1506546)
Backed out changeset a293a37483b9 (bug 1506546)
Backed out changeset 7b75250a4f12 (bug 1506546)
Backed out changeset 23ad29cb776e (bug 1506546)
2018-11-27 14:37:14 +02:00
Alexandre Poirot b607a11eb5 Bug 1506546 - Refactor about:debuggings. r=yulia,jdescottes
I did a dedicated patch for converting both about:debuggings as it is slightly more
complex as we have to tweak redux data, wrappers, mocks.
This patch also convert a manual "reload" request being done by about:debugging
and instead use protocol.js front to do it.
Also, I moved isLegacyTemporaryExtension to the front as it depends on accessing the form
and it should be better to keep form processing to the fronts, if possible.

MozReview-Commit-ID: 16qZkuCBp9b

Depends on D12576

Differential Revision: https://phabricator.services.mozilla.com/D12577
2018-11-27 11:23:24 +00:00
Alexandre Poirot e1d0ca7c1b Bug 1506548 - Return WorkerTargetFront from listWorkers instead of form. r=yulia
MozReview-Commit-ID: 4CBQNwC8tKq

Depends on D11762

Differential Revision: https://phabricator.services.mozilla.com/D11763
2018-11-15 10:23:50 +00:00
Alexandre Poirot bf4dd0c121 Bug 1506549 - Listen for workerListChanged on all content process target fronts. r=yulia
Now that this event is correctly fired on the Front rather than DebuggerClient,
we have to listen for this event on each individual front.

MozReview-Commit-ID: 9MqdHuAEr7U

Depends on D11625

Differential Revision: https://phabricator.services.mozilla.com/D11626
2018-11-15 10:23:02 +00:00
Alexandre Poirot 7c00a55a50 Bug 1485661 - Wait for all listAddons request completion in devtools/client/aboutdebugging/test/browser_addons_reload.js. r=jdescottes
MozReview-Commit-ID: GXWHSJhi3ck

Depends on D8827

Differential Revision: https://phabricator.services.mozilla.com/D8828
2018-10-30 08:08:46 +00:00
Alexandre Poirot d00372a05e Bug 1485661 - Adapt tabListChanged to new front. r=yulia
MozReview-Commit-ID: 8LcTfats8c8

Depends on D8824

Differential Revision: https://phabricator.services.mozilla.com/D8825
2018-10-30 08:08:40 +00:00
Alexandre Poirot 71f2d60648 Bug 1485661 - Adapt serviceWorkerRegistrationListChanged to new front. r=yulia
MozReview-Commit-ID: 8LRQqXYXe9W

Depends on D8823

Differential Revision: https://phabricator.services.mozilla.com/D8824
2018-10-30 08:08:33 +00:00
Alexandre Poirot 185cf4c4c4 Bug 1485661 - Adapt workerListChanged to new front. r=yulia
MozReview-Commit-ID: 4KinTpk0LY5

Depends on D8822

Differential Revision: https://phabricator.services.mozilla.com/D8823
2018-10-30 08:08:31 +00:00
Alexandre Poirot bc82440593 Bug 1485661 - Adapt processListChanged to new front. r=yulia
MozReview-Commit-ID: 1CSeNU9Nfll

Depends on D8821

Differential Revision: https://phabricator.services.mozilla.com/D8822
2018-10-30 08:08:29 +00:00
Julian Descottes e8f3c1039c Bug 1494894 - sidebar CSS: keep USB and network runtime icons aligned;r=ladybenko
Depends on D9655

Differential Revision: https://phabricator.services.mozilla.com/D9656
2018-10-26 16:01:31 +00:00
Mark Banner 3d6aaad3f5 Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D8389
2018-10-19 12:55:39 +00:00
Alexandre Poirot d7d514bb5f Bug 1500068 - Avoid opening Add-ons panel when a location hash is passed to select another one. r=jdescottes
Doing this avoid loading the addons panel and doing its related requests,
which may still be pending after closing about:debugging.

MozReview-Commit-ID: LJjaE5YVgXi

Depends on D8867

Differential Revision: https://phabricator.services.mozilla.com/D8868
2018-10-18 12:36:35 +00:00
Mark Striemer 73a84ce110 Bug 1490366 - Part 1: Move card styles to common from about:debugging r=dao
Differential Revision: https://phabricator.services.mozilla.com/D8101
2018-10-14 19:20:02 +00:00
shindli dfc33bc618 Backed out 5 changesets (bug 1488730, bug 1490366, bug 1488727) for bc failures in | toolkit/mozapps/extensions/test/browser/browser_details.js and browser/components/enterprisepolicies/tests/browser/browser_policy_disable_flash_plugin.js CLOSED TREE
Backed out changeset 9cd889824b1c (bug 1488730)
Backed out changeset 4d076c865471 (bug 1488727)
Backed out changeset 0b8bcd97f254 (bug 1490366)
Backed out changeset 448672780572 (bug 1490366)
Backed out changeset 7e0abd16a50b (bug 1490366)
2018-10-14 19:23:09 +03:00
Mark Striemer d6dcfb83d7 Bug 1490366 - Part 1: Move card styles to common from about:debugging r=dao
Differential Revision: https://phabricator.services.mozilla.com/D8101
2018-10-14 15:13:31 +00:00
Julian Descottes 46e108f09f Bug 1491764 - Update debugRemoteAddon to accept addonID as parameter;r=ladybenko
The call to getAddonForm has been inline in debugRemoteAddon.

Differential Revision: https://phabricator.services.mozilla.com/D7307
2018-10-03 08:48:55 +00:00
Michael Ratcliffe 81596860ae Bug 1491879 - Fix telemetry support for multiple tabs / windows r=nchevobbe
- Various telemetry methods now need an object to be passed in in order to keep them seperate e.g. if the inspector is opened in tab 1 a timer is started. If an inspector is opened in tab 2 the same timer is restarted. Closing tab 2 would then erase the timing event invalidating the timer in tab 1.
- We no longer need to preface telemetry calls with category "devtools.main" because this is the only category we will be using.
- There are some changes to `devtools/client/debugger/new/dist/vendors.js` and `devtools/client/debugger/new/src/utils/telemetry.js` that need to be ported to the debugger at the same time as landing this.

Differential Revision: https://phabricator.services.mozilla.com/D6137
2018-09-25 12:57:13 +00:00
Julian Descottes 76309b1edf Bug 1487078 - Reuse addon debugging helpers from aboutdebugging in new ui;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D4548
2018-08-31 06:52:16 +00:00
Coroiu Cristina 86d034fd12 Backed out 2 changesets (bug 1477137) for devtools failures at devtools/client/aboutdebugging/test/browser_addons_toggle_debug.js
Backed out changeset c75f46c67e27 (bug 1477137)
Backed out changeset dd5e331122a9 (bug 1477137)
2018-07-27 16:45:06 +03:00
Daisuke Akatsuka 1aba130acc Bug 1477137 - Part 1: Add onUninstalling and onOperationCancelled listeners to detect removal/undo extension in aboutaddons. r=jdescottes
MozReview-Commit-ID: RaDFBOirgL
2018-07-27 10:32:22 +09:00
Mark Striemer 19707c9a26 Bug 1425347 - Hide system add-ons by default in about:debugging r=jdescottes
MozReview-Commit-ID: 4bhF6Zxsn6w
2018-05-28 15:33:26 -05:00
abhinav 2672bb493d Bug 1461263 - "Load Temporary Addon" button should have trailing "…" character.r=flod
MozReview-Commit-ID: Lvz9F5s1dpJ
2018-06-22 09:17:40 +05:30
J. Ryan Stinnett 035161b7df Bug 1172897 - Rename BrowserAddonActor to AddonTargetActor. r=ochameau
MozReview-Commit-ID: 4iI6BQaleJS
2018-06-04 18:37:02 -05:00
J. Ryan Stinnett 0cae81b452 Bug 1172897 - Rename WorkerActor to WorkerTargetActor. r=ochameau
MozReview-Commit-ID: 2Qakr1PHKNZ
2018-06-01 15:59:24 -05:00
Julian Descottes 9456167901 Bug 1454696 - Fix leftover issues for prefer-const;r=yulia
MozReview-Commit-ID: JwOXoqw2mks
2018-06-01 12:19:35 +02:00
Julian Descottes 82711b9a8f Bug 1454696 - Run eslint --fix for prefer-const;r=yulia
MozReview-Commit-ID: F6xUXCgdRE4
2018-06-01 12:36:09 +02:00
Michael Ratcliffe 0399e4f8e0 Bug 1458204 - telemetry.js: Rename startTimer/stopTimer r=jdescottes
MozReview-Commit-ID: HAgOaVka0Qk
2018-05-04 14:14:43 +01:00
Kris Maglione b3990a2d91 Bug 1456686: Part 1 - Fix unused and shadowed explicit imports. r=standard8
These issues were previously ignored due to the nature of our global import
rules. They need to be fixed before that rule can be updated.

MozReview-Commit-ID: DCChktTc5TW
2018-04-24 20:18:09 -07:00
Julian Descottes 77cdcb1aa0 Bug 1445197 - part 3: Move about:debugging worker module to a shared module;r=ochameau
Extract all the logic that will be shared between about debugging and the application
panel to a dedicated client module.

MozReview-Commit-ID: Ccnmp3dCZpW
2018-04-20 16:27:15 +02:00
Ciure Andrei 7d0d7e8fbb Backed out 4 changesets (bug 1445197)for ESlint failure, on a CLOSED TREE a=backout
Backed out changeset 422bbd33b4e3 (bug 1445197)
Backed out changeset 086638cc851c (bug 1445197)
Backed out changeset 11f5214dc193 (bug 1445197)
Backed out changeset eae47509bc27 (bug 1445197)
2018-04-18 23:50:12 +03:00
Julian Descottes 73ad967535 Bug 1445197 - part 3: Move about:debugging worker module to a shared module;r=ochameau
Extract all the logic that will be shared between about debugging and the application
panel to a dedicated client module.

MozReview-Commit-ID: Ccnmp3dCZpW
2018-04-05 21:45:15 +02:00
Andreea Pavel 9f90c53976 Backed out 4 changesets (bug 1445197) for failing mochitest devtools on multiple files e.g. devtools/client/aboutdebugging/test/browser_service_workers.js on a CLOSED TREE
Backed out changeset 4b6f77cfd686 (bug 1445197)
Backed out changeset ba9ffea6d216 (bug 1445197)
Backed out changeset a0345830e1cf (bug 1445197)
Backed out changeset 3e9acd2c8bd3 (bug 1445197)
2018-04-18 20:19:34 +03:00
Julian Descottes 35c97e7776 Bug 1445197 - part 3: Move about:debugging worker module to a shared module;r=ochameau
Extract all the logic that will be shared between about debugging and the application
panel to a dedicated client module.

MozReview-Commit-ID: Ccnmp3dCZpW
2018-04-05 21:45:15 +02:00
Julian Descottes 4542abbbe4 Bug 1379116 - Localize hardcoded addon installation error string in about:debugging;r=ochameau
MozReview-Commit-ID: 1dnaoWrtaSS
2018-04-17 11:49:02 +02:00
J. Ryan Stinnett 742921268c Bug 1442312 - Wait for addon reload to finish in tests. r=jdescottes
In about:debugging's browser_addon_reload.js test, we would request a reload
without waiting for it to reply.  This led to the RDP connection closing before
the reply could be sent, triggering later errors.

For better test correctness, we now emit an event on reply and the test waits to
receive it before proceeding.

MozReview-Commit-ID: Jfps7MJ6Pzo
2018-03-08 19:05:32 -06:00
Julian Descottes a46329cb93 Bug 1272774 - allow listTabs to return favicon data from PlacesUtils;r=ochameau
MozReview-Commit-ID: 8bkn3mG6YkL
2018-01-04 17:25:45 +01:00
Julian Descottes 85cbd25137 Bug 1423687 - show warning in about:debugging when loading a temporary legacy extension;r=aswan,pbro
MozReview-Commit-ID: I9U5zzwZCSj
2017-12-08 14:44:46 +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
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
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
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 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