Commit Graph
274 Commits
Author SHA1 Message Date
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
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
J. Ryan Stinnett c6fd8c950e Bug 1172897 - Rename TabActor to BrowsingContextTargetActor. r=ochameau
MozReview-Commit-ID: LPTEx2h4F1o
2018-05-25 18:20:28 -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
Julian Descottes 73c95e71eb Bug 1458808 - add test to debug serviceworker from application panel;r=jlast,ladybenko
MozReview-Commit-ID: EXQAnjycyco
2018-04-17 19:16:56 +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
Michael Ratcliffe a4ac391ae6 Bug 1098374 - Telemetry: Stop all monkey patching in devtools telemetry tests r=yulia
Changes and notes:
  - Created `devtools/client/shared/test/telemetry-test-helpers.js`, which
    contains test helpers to aid in creating and running telemetry tests.
  - Removed any telemetry monkeypatching as it is not dependable and no longer
    needed (there is some left in GCLI but the test is now disabled because
    we are removing GCLI soon anyhow).
  - Because `telemetry-test-helpers.js` is imported by `shared-head.js` I
    have had to make it available everywhere that shared-head.js is used.
  - All telemetry tests have been rewritten to use the new helper.
  - shared-head.js cannot be imported by tests inside
    `devtools/client/performance/test/` because perf have custom `once` and
    `waitFor` implementations that act differently from the ones inside
    `shared-head.js`. This means I had to import the telemetry helpers into
    `devtools/client/performance/test/head.js`
  - Created `devtools/client/shared/test/browser_telemetry_misc.js` to be sure
    to catch `DEVTOOLS_SCREEN_RESOLUTION_ENUMERATED_PER_USER` (we catch a few
    others to be thorough).
  - Disabled `browser_inspector_menu-02-copy-items.js`, which was failing to
    test some expired scalars. I also corrected the way the scalars are logged
    because it was completely wrong.

MozReview-Commit-ID: JjQEGM6hT61
2018-05-01 18:06:14 +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
Kris Maglione edea7a2390 Bug 1454202: Part 4 - Convert add-on providers to use promise-based methods. r=aswan
MozReview-Commit-ID: 9e4CtcxWSiM
2018-04-21 15:30:40 -07:00
Kris Maglione d3bbf87c83 Bug 1454202: Part 1 - Update legacy callers to use Promise-based AddonManager APIs. r=aswan
***
Bug 1454202: Part 1a - Auto-replace uses of callback-based AddonManager APIs with Promise-based versions. r=aswan

This was done using the following script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/4cd5ae959765d0965dd0cc635de3e953bf46edbb/processors/aom-api-generators.jsm

MozReview-Commit-ID: 8hobLz15a66
***
Bug 1454202: Part 1b - Manually fix eslint errors after auto-rewrite. r=aswan

This also deletes an obsolete test whose xpcshell variant was already deleted.

MozReview-Commit-ID: DM9W9Q2SVIE
***
Bug 1454202: Part 1c - Manually fix non-eslint issues after auto-rewrite. r=aswan

MozReview-Commit-ID: DtMscWZuExc
2018-04-14 19:38:18 -07:00