Commit Graph
242 Commits
Author SHA1 Message Date
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
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
Csoregi Natalia e399c3ce77 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-18 01:39:35 +03:00
Kris Maglione 31b62bd68b Bug 1453881: Part 1a - Automatically write add_task(function*) to add_task(async function) r=ochameau
This was done using the script at:

https://bitbucket.org/kmaglione/m-c-rewrites/src/bc5629735d8c7e4150f376d4a906e7c7c23132ba/processors/add-task-async.jsm?at=default&fileviewer=file-view-default

MozReview-Commit-ID: KxuS9Cen87
2018-04-12 21:10:04 -07: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
Alexandre Poirot d10cea6483 Bug 1453712 - Use a preference to set the testing flag. r=jryans
MozReview-Commit-ID: 1cjSQnXtc4h
2018-04-12 09:22:42 -07:00
Jonathan Kingston e8dbd6acf1 Bug 1374741 - Within devtools/ tests make openUILinkIn() provide the correct triggeringPrincipal. r=jryans
MozReview-Commit-ID: GNEe8H0sc4L
2018-02-21 23:21:03 +00:00
Brian Birtles 93df0e7bd8 Bug 1444301 - Move disable pop-up autohide feature to toolbox menu; r=jryans
MozReview-Commit-ID: 3cJKqIxaFkV
2018-04-05 10:13:22 +09:00
Nicolas Chevobbe 8007c0babc Bug 1382581 - Adapt extension code to the EventEmitter change in devtools/client/framework; r=rpl.
MozReview-Commit-ID: 3I7kmXiPOqd
2018-03-14 18:12:17 +01:00
Alexandre Poirot 22e91d7acd Bug 1440321 - Convert Task.jsm to async/await in devtools/client. r=jryans
MozReview-Commit-ID: HaGOC5cn3JD
2018-03-12 19:46:35 -05:00
J. Ryan Stinnett 8d1c817851 Bug 1443081 - Apply spacing via eslint --fix for DevTools. r=jdescottes
MozReview-Commit-ID: 2RVNt140Zte
2018-03-12 13:44:41 -05: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
J. Ryan Stinnett a7231a768e Bug 1442312 - Move allowed rejections into specific tests they apply to. r=ochameau
By moving only the rejections that actually still apply into each test and out
of the shared head file, we are much more likely to notice new instances and
catch them when writing and editing tests in the future.

Bug 1018184 can be used to actually resolve these issues.

MozReview-Commit-ID: Qb71PsuutB
2018-03-08 18:14:52 -06:00
J. Ryan Stinnett aa067adb85 Bug 1436187 - Move existing shared head files to devtools/client/shared. r=bgrins
Move shared-head.js and shared-redux-head.js into shared.

MozReview-Commit-ID: 5NUxcl9gkLl
2018-03-02 19:14:05 -06:00
Cosmin Sabou 111a73f847 Backed out 4 changesets (bug 1436187) for mochitest devtools failures at browser_se_editors-error-gutter.js on a CLOSED TREE
Backed out changeset 253f74e28723 (bug 1436187)
Backed out changeset 9875771c9967 (bug 1436187)
Backed out changeset b2d808aa8c2e (bug 1436187)
Backed out changeset e747480f3cd2 (bug 1436187)
2018-03-07 22:04:35 +02:00
J. Ryan Stinnett 039b00fd39 Bug 1436187 - Move existing shared head files to devtools/client/shared. r=bgrins
Move shared-head.js and shared-redux-head.js into shared.

MozReview-Commit-ID: 5NUxcl9gkLl
2018-03-02 19:14:05 -06:00
Alexandre Poirot 13e5d4f0f5 Bug 1434374 - Auto-rewrite Cu.import into ChromeUtils.import or require calls. r=jdescottes
MozReview-Commit-ID: 7YyLu5q23Hs
2018-02-07 01:37:36 -08:00
Andrew McCreight 272cee1e65 Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG
2018-02-06 09:36:57 -08:00
Kris Maglione 0bb74efdf1 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
https://bitbucket.org/kmaglione/m-c-rewrites/src/37e3803c7a23385bab5ea077ba8692bcfe1608fc/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Cosmin Sabou f09d6d985d Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione fd67f090b2 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
https://bitbucket.org/kmaglione/m-c-rewrites/src/37e3803c7a23385bab5ea077ba8692bcfe1608fc/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Brindusan Cristian 483ba301cb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione 683a97d172 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
https://bitbucket.org/kmaglione/m-c-rewrites/src/37e3803c7a23385bab5ea077ba8692bcfe1608fc/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08: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 5b07830664 Backed out changeset 00b1cae7d55f (bug 1425393) for failing devtools/client/aboutdebugging/test/browser_service_workers.js r=backout
MozReview-Commit-ID: ELnV9jwTwtV
2018-01-11 10:43:40 +01:00
Julian Descottes 4ca0e568b7 Bug 1425393 - open sw tabs in background in about:debugging tests;r=ochameau
MozReview-Commit-ID: 8UyrTDtHa7b
2017-12-12 15:49:36 -06:00
Julian Descottes 627cbf096f Bug 1425897 - Fix race condition in about:debugging test helper;r=baku
MozReview-Commit-ID: ELvxWzld9Um
2017-12-20 19:40:49 +01:00
Cosmin Sabou 5a4f6452e3 Merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-12-13 12:14:29 +02:00
Ben Kelly 66f4be5f20 Bug 1293277 P9 Disable browser_service_workers_push_service.js on non-e10s due to races. r=jryans 2017-12-12 15:44:48 -05:00