Commit Graph
285 Commits
Author SHA1 Message Date
Alexandre Poirot 662d5ebb84 Bug 1508285 - Refactor RootFront.listTabs to return BrowsingContextTargetFront instead of JSON form. r=yulia,jdescottes
MozReview-Commit-ID: 4CMHJ3tV7Rc

Depends on D14174

Differential Revision: https://phabricator.services.mozilla.com/D14175
2018-12-17 11:56:30 +00:00
Julian Descottes 94fc1fb9ea Bug 1514058 - Restore color of selected about:debugging category;r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D14495
2018-12-14 11:18:28 +00:00
Julian Descottes b9bb565be0 Bug 1510620 - Migrate aboutdebugging tests using legacy addons to webextensions;r=ochameau
The browser_addons_debug_bootstrapped addon is completely removed because it is already
covered for webextensions with browser_addons_debug_webextensions.js

Other have either been migrated to use webextensions.

Differential Revision: https://phabricator.services.mozilla.com/D13255
2018-11-30 09:12:19 +00:00
Andrew Swan c87a25f6db Bug 857456 Part 0: Clean up remaining tests using legacy extensions r=kmag 2018-11-28 18:45:08 -08:00
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
Florens Verschelde 13df4da0d1 Bug 1507715 - Update console error, warning and info icons; r=nchevobbe
- Add a new 12px round icon for Console errors.
- Update the warning (triangle) icon to use the same 12px size.
- Update the info icon to use the same 12px size,
  and differentiate its design from the error icon.
- Tweak the Console's input and return icons to be a tiny bit
  bigger (for better overall visual balance) and crisper @1x.

Differential Revision: https://phabricator.services.mozilla.com/D12250
2018-11-20 06:21:46 +00:00
Luca Greco 8f82776fed Bug 1498293 - Ensure the webextension fallback window has a TabChild actor in content. r=ochameau
This patch remove the usage of `Services.appShell.createWindowlessBrowser` from the
webextension target actor (that runs in a child process when the extension is in oop-mode).

As a fallback window (needed when an extension doesn't have an extension page yet, e.g. while
the extension is being reloaded, or when the extension doesn't have a background page), the actor
is going to search for the window related to the XUL browser element created to connect into
the extension process.

If the extension runs in the child process (e.g. as it currently happens on all platforms supported
by Firefox Desktop), the TabParent/TabChild's tabId is used to identify the fallback window.

On the contrary, when the extension runs in the parent process (e.g. as it currently happens on
Firefox for Android), the XUL browser's ownerGlobal innerWindowID is used to identify the
fallback window.

Differential Revision: https://phabricator.services.mozilla.com/D8573
2018-11-15 19:00:44 +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
Dão Gottwald 57c04734eb Bug 1506858 - Fix about:debugging Debug link color. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D11770
2018-11-13 15:09:55 +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
fvsch 5a752ba450 Bug 1490491 - Part 1: replace alerticon-warning.png with console alert icon; r=pbro,ntim
Differential Revision: https://phabricator.services.mozilla.com/D5952
2018-10-22 14:46:42 +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
Luca Greco 801ad278ee Bug 1495855 - Rework the about:debugging webextensions tests to do not use symlink-ed test addons. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D8589
2018-10-18 11:40:02 +00:00
Csoregi Natalia b30a5d1413 Backed out changeset b062b1682bbd (bug 1495855) for failures on browser_addons_debug_info.js. CLOSED TREE 2018-10-17 19:23:45 +03:00
Luca Greco 3fc8e5cc7e Bug 1495855 - Rework the about:debugging webextensions tests to do not use symlink-ed test addons. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D8589
2018-10-15 16:43:05 +00:00
Alexandre Poirot d993905c33 Bug 1485660 - Special test fixes. r=jdescottes
* browser_addons_debug_webextension_popup: It looks like frame-update events are now fired earlier.
I had to move the listener to an earlier step in order to make it work.
* helper_disable_cache + toolbox.js: this test wasn't correctly listening for reconfigure request's end.
  Not clear how this test was passing before without high rate of intermittent...
* test_webextension-addon-debugging-connect.html: We can no longer listen for frame-update *before* the target object is created.
  (because we now need a TabTarget object or the TargetFront and not just the DebuggerClient)
* Fix reload request in shadereditor which may still be pending after test ends.

MozReview-Commit-ID: 49qvWSCn6nq

Depends on D8066

Differential Revision: https://phabricator.services.mozilla.com/D7460
2018-10-15 08:36:15 +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
Brindusan Cristian dac48fe630 Backed out 8 changesets (bug 1485660) for damp failures on front.hasRequests. CLOSED TREE
Backed out changeset 7a2f29bbe2a8 (bug 1485660)
Backed out changeset 26e82fa62444 (bug 1485660)
Backed out changeset 9bb2f56f219d (bug 1485660)
Backed out changeset 40a3c2dd1b38 (bug 1485660)
Backed out changeset cfb160882db9 (bug 1485660)
Backed out changeset 3642f2d66777 (bug 1485660)
Backed out changeset 9026679753b2 (bug 1485660)
Backed out changeset dccca441b980 (bug 1485660)
2018-10-11 22:33:35 +03:00
Alexandre Poirot e4994a3621 Bug 1485660 - Special test fixes. r=jdescottes
* browser_addons_debug_webextension_popup: It looks like frame-update events are now fired earlier.
I had to move the listener to an earlier step in order to make it work.
* helper_disable_cache + toolbox.js: this test wasn't correctly listening for reconfigure request's end.
  Not clear how this test was passing before without high rate of intermittent...
* test_webextension-addon-debugging-connect.html: We can no longer listen for frame-update *before* the target object is created.
  (because we now need a TabTarget object or the TargetFront and not just the DebuggerClient)

MozReview-Commit-ID: 49qvWSCn6nq

Depends on D8066

Differential Revision: https://phabricator.services.mozilla.com/D7460
2018-10-11 15:46:32 +00:00
Gregory Mierzwinski 54437cccaa Bug 1496791 - Disable linux64-jsdcov completely. r=jmaher
This patch removes linux64-jsdcov from the available builds on taskcluster along with any hacks used to run it. It also removes any 'coverage' entries that were added to skip tests.

Differential Revision: https://phabricator.services.mozilla.com/D7919
2018-10-05 21:06:25 +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
Luca Greco 092677fdb7 Bug 1299001 - Ensure that the toolbox resets the preferences set when it is closed. r=ochameau
This patch fixes a regression which has been likely introduced in the refactoring
we did in Bug 1222047 on Firefox 63.

Differential Revision: https://phabricator.services.mozilla.com/D7523
2018-10-02 19:09:37 +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
Mantaroh Yoshinaga 11e071ba1a Bug 1476549 - Part 5. Modify the tests which is realted to frames button. r=birtles
Differential Revision: https://phabricator.services.mozilla.com/D4633
2018-09-20 08:03:21 +00:00
Yura Zenevich e69a430a95 Bug 1488508 - update help icon to use Photon style system. r=gl
MozReview-Commit-ID: 75efDzRq187

Differential Revision: https://phabricator.services.mozilla.com/D4958
2018-09-04 17:21:44 +00:00
Julian Descottes c336e62d65 Bug 1487078 - Move extensions helper xpcshell test to aboutdebugging-new;r=daisuke
Depends on D4646

Differential Revision: https://phabricator.services.mozilla.com/D4647
2018-08-31 06:55:53 +00:00
Julian Descottes 550bd51089 Bug 1487078 - Copy addon helper to aboutdebugging-new;r=daisuke
Depends on D4548

Differential Revision: https://phabricator.services.mozilla.com/D4646
2018-08-31 08:12:16 +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
rugk 9e61099d1d Bug 1474095 - "Addon-tip-icon for web-ext in about:debugging cut (at low window width)" [c=c4609174]. r=janx 2018-08-03 04:18:00 +03: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 a3c9471d9d Bug 1477137 - Part 2: Add a test for remove temporary and undo. r=jdescottes
MozReview-Commit-ID: nLjj4gcOrm
2018-07-27 17:49:28 +09: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
Alexandre Poirot 11b017ffdd Bug 1471152 - Package all panel scripts under resource://devtools/ instead of chrome://devtools/. r=jdescottes
MozReview-Commit-ID: 72iggFSZswN
2018-06-25 12:59:22 -07: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
Sebastian Hengst 4124655c70 Bug 1469872 - update bugzilla products and components in moz.build files: devtools. r=nalexander
MozReview-Commit-ID: 6bs0jkTP6rP
2018-06-20 21:34:40 +03:00
Ethan Glasser-Camp bf1655440f Bug 1440022: disconnect push tests from actually running r=lina
These tests were only not connecting due to an implementation detail
of the Push component.

MozReview-Commit-ID: 49JPgsfRxTF
2018-06-13 20:46:17 -04:00
Joel Maher d0823df1ef Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown 2018-06-10 05:01:47 -04:00
654c821247 Bug 1299001 - Disable devtools/client/aboutdebugging/test/browser_addons_debug_webextension_popup.js for frequent timeouts on Linux64 debug r=jmaher 2018-06-08 02:52:00 +03:00