Commit graph

73 commits

Author SHA1 Message Date
kanika
e0c4b56af2 Bug 1428847 - Move is_hidden and is_visible helper functions into BrowserTestUtils.jsm. r=johannh
MozReview-Commit-ID: 2xshA0CAPgY

--HG--
extra : rebase_source : ac908827986cdee251a454c0cd366a59c5cfdac0
2018-03-22 21:14:23 +05:30
Joel Maher
50b91c0a14 Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown 2018-06-10 05:01:47 -04:00
Kris Maglione
894cc5fddb Bug 1461145: Follow-up: Fix still more racy tests. r=bustage,test-only
MozReview-Commit-ID: AnyF6jwyhDv

--HG--
extra : rebase_source : 97640dd2f31cc1105e0296b356d781996ee37113
2018-05-27 18:34:36 -07:00
Kris Maglione
7153d68ecc Bug 1461145: Follow-up: Fix racy tests. r=trivial,test-only
MozReview-Commit-ID: IXaiDpU9l7A
2018-05-26 16:40:33 -07:00
Kris Maglione
6ac523347a Bug 1461145: Support async startup/shutdown bootstrap methods. r=aswan
MozReview-Commit-ID: L0G4DA0KJ87

--HG--
extra : rebase_source : b774d70d11c47d138535685104c5d5bc197f7866
2018-05-12 18:51:32 -07:00
Tomislav Jovanovic
253cc63c47 bug 1455269 - Cancel instalation on notification dismissal r=aswan
MozReview-Commit-ID: DqbgdVTarQ8

--HG--
extra : rebase_source : 94f6be292041e8c83ed40b2db9af596de8ac9593
2018-05-17 20:46:21 +02:00
Kris Maglione
a7b308c3a2 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

--HG--
extra : rebase_source : cffb1c9762191c579d1397c8169e6e7635d229da
extra : histedit_source : dea59ddd2daaae52069c5faceae9149a4f08dd73
2018-04-24 20:18:09 -07:00
Kris Maglione
882b43fb78 Bug 1454202: Part 5b-c - Remove interstitial callback argument from getInstall* APIs. r=aswan
***
Bug 1454202: Part 5b - Remove interstitial callback argument from getInstall* APIs. r=aswan

MozReview-Commit-ID: ATKWozPZF4d
***
Bug 1454202: Part 5c - Update callers for new getInstall* signature. r=aswan

MozReview-Commit-ID: FWzZ2dxZOGs

--HG--
extra : rebase_source : f5460c6c7cb7dbd844c03edb6158cfdeb5e1dd9f
extra : absorb_source : d112aeea40576383a9acc7573cc4cde71b5150fb
extra : histedit_source : fb0ac000504068db820193823bcf1e6fac9fa3cf
2018-04-15 14:22:55 -07:00
Paolo Amadini
f845388de3 Bug 1444392 - Part 2 - Use test-only helpers for the main menu across the tree. r=Gijs
MozReview-Commit-ID: IpdYFaYxx4M

--HG--
extra : rebase_source : 3447fa926cdc42594924bc2488abfd7657074e3a
extra : amend_source : 749456f42749aa7fce4deeb89e826d2a183907cb
extra : source : d8c4122e21bf7c1fe14b2d365531a6fcbb3d0496
2018-04-04 11:34:39 +01:00
Kris Maglione
da6100cc92 Bug 1446686: Part 1 - Fix browser install tests that rely on non-bootstrapped legacy extensions. r=aswan
Several of these tests are obsolete. They only test non-AMO-signed extensions
(which are equivalent to unsigned extensions now), non-restartless extensions
(which aren't supported), or specific behaviors of the old XPInstall dialogs (which are
essentially unsupported).

The rest have been updated to use WebExtensions.

MozReview-Commit-ID: CBGTtl5XbG7

--HG--
rename : toolkit/mozapps/extensions/test/browser/addons/browser_installssl/install.rdf => toolkit/mozapps/extensions/test/browser/addons/browser_installssl/manifest.json
rename : toolkit/mozapps/extensions/test/xpinstall/amosigned.xpi => toolkit/mozapps/extensions/test/xpinstall/amosigned-restart-required.xpi
rename : browser/base/content/test/general/browser_bug553455.js => toolkit/mozapps/extensions/test/xpinstall/browser_doorhanger_installs.js
extra : rebase_source : 92bde0e0ca3b8e412b97e10f232ccdf8f3c0e84a
extra : absorb_source : 12fc93c4de6d5bab90c7bc0d83eef2316cc257cd
extra : histedit_source : c6305693d966956c7d6e84d87364d703606937cf%2C838f8f30f7d1c467618eb59062586d2876abbfce
2018-03-17 16:22:22 -07:00
Tooru Fujisawa
1adba8c1fc Bug 1442465 - Part 4.2: Stop unnecessarily awaiting on BrowserTestUtils.removeTab (simple part). r=dao 2018-03-19 11:16:45 +09:00
Kris Maglione
313b707b2e Bug 1443964: Part 3 - Remove no-cpows-in-tests rule. r=mconley
The shims that this rule tests for no longer exist.

MozReview-Commit-ID: DMgP7Hczavc

--HG--
extra : rebase_source : 765ddd5c62c9449c07ed050e44d86a3bd5c0ae64
extra : amend_source : 627a7694ac07182200f876901ded7a34721cd228
2018-03-07 19:31:28 -08:00
Narcis Beleuzu
db6615c0e1 Backed out 3 changesets (bug 1444392) for mochitest clipboard failures on /browser_editcontrols_update.js. CLOSED TREE
Backed out changeset 3ee2aed56155 (bug 1444392)
Backed out changeset d8c4122e21bf (bug 1444392)
Backed out changeset ec2f47133979 (bug 1444392)

--HG--
extra : amend_source : 567f6d3a5b861de4f5c1432ec01ca8f8cfddea70
2018-03-13 19:03:25 +02:00
Paolo Amadini
171806ee4e Bug 1444392 - Part 2 - Use test-only helpers for the main menu across the tree. r=Gijs
MozReview-Commit-ID: IpdYFaYxx4M

--HG--
extra : rebase_source : b6130fdc16067f6b1a64df6528091e196c23ad22
2018-03-12 10:16:03 +00:00
Paolo Amadini
5c26735c6e Bug 1438815 - The main menu stays open after the install of a sideloaded add-on. r=Gijs
MozReview-Commit-ID: K1Y4JkkQ68c

--HG--
extra : rebase_source : 9b602894327f0d428dfded6460568d6e2626c6c3
2018-03-05 15:33:14 +00:00
Florian Quèze
2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Kris Maglione
918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178 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
6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb 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
c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Andrew Swan
755fde92c8 Bug 1263313 Remove tests of old about:addons search r=rhelmer
Also consolidated the two .ini files in toolkit/mozapps/extension/test/browser
since we only run these tests in tabs now.

MozReview-Commit-ID: HHwM4Q1K5C8

--HG--
extra : rebase_source : 6db3527ee6973946d188fa70dc8af1c008094d49
2017-12-06 10:49:25 -08:00
Mark Banner
01008c7d57 Bug 1412778 - Enable ESLint rule no-cpows-in-tests across the whole tree. r=florian
MozReview-Commit-ID: 8pidN7x6MYh

--HG--
extra : rebase_source : 6a0d6800091231fc1535223bd7fc6df0ba40d47b
2017-10-30 09:55:39 +00:00
Dan Banner
7caa92d5d8 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Aastha Gupta
cb262894d3 Bug 1346722 - Display permissions in alphabetical order. r=aswan
-Create a copy of the permissions array and sort it.
-Change permissions order in test
2017-10-06 21:58:13 +05:30
Stone Shih
6cbc21aa58 Bug 1355497: Ignore preventDefault on pointerdown by WebExtensions. r=smaug.
Prevent default on pointerdown will stop firing the subsequent mouse events. Ignore the case that preventDefault by WebExtensions to avoid breaking some websites.

MozReview-Commit-ID: 9ztW1WfEg9a
2017-07-10 16:42:01 +08:00
Ian Moody
8f68d9bde5 Bug 1331769 - Test that there is no prompt for origin permission narrowing. r=aswan
MozReview-Commit-ID: 5twKRKK5uS2

--HG--
extra : rebase_source : b6b829747e8353b3ddca6cb8358da7893d305109
2017-09-24 01:34:10 +01:00
Andy McKay
6815156468 Bug 1350277 - Remove duplicates when showing host permissons. r=aswan
MozReview-Commit-ID: 2GzUwFHuEe6

--HG--
extra : transplant_source : %84%C1%3Am%FCF%A1%23o%0EW%9C%7E%F2%F7%DF%2CM%AE%A1
2017-09-13 13:41:21 -07:00
Sebastian Hengst
5a984f70f8 Backed out changeset 2b74ec6bb1d8 (bug 1350277) for failing browser-chrome's browser/base/content/test/webextensions/browser_permissions_addons_search.js. r=backout 2017-09-13 21:36:11 +02:00
Andy McKay
520285d103 Bug 1350277 remove duplicates when showing host permissons r=aswan
MozReview-Commit-ID: 2GzUwFHuEe6

--HG--
extra : rebase_source : de6f99773d740abb102006483e22d3107bb72f6f
2017-09-11 17:40:08 -07:00
Andrew Halberstadt
d2109610fb Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw

--HG--
extra : rebase_source : 8607b3964da207a6076c79b6f1d75b40503cdd7d
2017-08-10 14:48:21 -04:00
Phil Ringnalda
0ff5a4285d 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
f625fd5c37 Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw

--HG--
extra : rebase_source : d72a88962ec8d843e7be99e25f710887f01b6e1a
2017-08-10 14:48:21 -04:00
Masatoshi Kimura
f143125cc2 Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu
MozReview-Commit-ID: DqJdTGopR9G

--HG--
extra : rebase_source : e8c9eb03468c075b79013b6e0bd8b367229c24cd
2017-07-29 20:50:21 +09:00
Kris Maglione
1ce176d9d5 Bug 1357486: Part 0a - Fix permissions tests with OOP extensions. r=aswan
MozReview-Commit-ID: DQY56nmlSci

--HG--
extra : source : fa4a2714ae9b05ed28e76e1b61570c97ed69a81d
extra : histedit_source : 890bd840933f8ae309994b909f977190e6c90ae0
2017-07-07 23:14:17 -07:00
Sebastian Hengst
7d874f78d7 Backed out changeset fa4a2714ae9b (bug 1357486) for frequently failing xpcshell's toolkit/mozapps/extensions/test/xpcshell/test_delay_update_webextension.js on Windows debug. r=backout 2017-07-08 11:24:18 +02:00
Sebastian Hengst
2a64b2c947 Backed out changeset bb1aa3b7bdf3 (bug 1357486) 2017-07-08 11:23:02 +02:00
Kris Maglione
0a18cd6c99 Bug 1357486: Follow-up: Skip optional permissions test with e10s disabled.
MozReview-Commit-ID: CadIoyzBeJ6
2017-07-07 23:14:17 -07:00
Kris Maglione
d305e9cb6c Bug 1357486: Part 0a - Fix permissions tests with OOP extensions. r=aswan
MozReview-Commit-ID: DQY56nmlSci

--HG--
extra : rebase_source : 30a534be12015c49ccb7dd13dad41f498f230ba2
extra : histedit_source : c8a6672f1343cafd0f2d1a2be807ecf478d837fb
2017-07-07 12:19:21 -07:00
Bob Silverberg
2c05852936 Bug 1369581 - Requesting an optional permission that does not cause a prompt should succeed, r=aswan
Currently, if an extension requests one or more optional permissions,
and those permissions do not cause a prompt to be displayed,
the framework will reject that request and not grant any permissions.
This should be the opposite in that we should grant permission to
those optional permissions event though no prompt is displayed.

MozReview-Commit-ID: 6SeyFSv92Lo

--HG--
extra : rebase_source : 08ba28ca7920c9d37af28afa24d9602813b4470b
2017-06-02 09:14:22 -04:00
Kris Maglione
f5f76c7cff Bug 1356826: Part 7 - Scan for extension sideloads after final UI startup. r=aswan,rhelmer
MozReview-Commit-ID: 1syn9GD2DEb

--HG--
extra : rebase_source : aa3a45654f1d3b071cec33fe93fffd2cc8db294f
extra : source : c861e23ec8ef99e19d75e6e62dad143ccb95dffd
2017-05-10 12:34:17 -07:00
Florian Quèze
5e3539e504 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Gijs Kruitbosch
cf021da921 Bug 1355020 - part 2: disentangle add-on notifications from 'PanelUI' and their specific spot, r=kmag
MozReview-Commit-ID: h2azhwU60S

--HG--
extra : rebase_source : c6bad5785235738161637e9f080faefd4ce2db04
2017-05-03 14:53:07 +01:00
Geoff Brown
a9623d4d6e Bug 1354415 - requestLongerTimeout for browser_extension_update_background.js; r=aswan
This test has been intermittently timing out after 90 seconds on Linux Debug.
2017-04-27 07:52:55 -06:00
Andrew Swan
251c58d506 Bug 1357410 follow-up sign remaining unsigned permission test xpis r=andym
MozReview-Commit-ID: JA3fAWPIIJn

--HG--
extra : rebase_source : 3d3e64d03cb9e9576ff51efd21049174b7698898
2017-04-19 12:29:34 -07:00
Andrew Swan
c66904017f Bug 1357419 Sign browser_webext_update1.xpi r=andym
MozReview-Commit-ID: 9L1FCI4XPBG

--HG--
extra : rebase_source : 5dc9ff82dd30e965420fd3cda8c0df59744b779a
2017-04-19 09:11:33 -07:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Mark Banner
1087fc1884 Bug 1352969 - Fix various ESLint no-undef issues in browser/base (no-undef is not enabled yet). r=mossop
MozReview-Commit-ID: BuTyJAfUoWR

--HG--
extra : rebase_source : 482bdc039362347f35aec9fd15e07a143dccb860
2017-02-22 17:02:59 +00:00