Commit Graph
131 Commits
Author SHA1 Message Date
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
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
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
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 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
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 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
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