Commit Graph

65 Commits

Author SHA1 Message Date
Paolo Amadini
27081c7b37 Bug 1444392 - Part 2 - Use test-only helpers for the main menu across the tree. r=Gijs
MozReview-Commit-ID: IpdYFaYxx4M
2018-04-04 11:34:39 +01:00
Kris Maglione
d9b5d3d0c9 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
2018-03-17 16:22:22 -07:00
Tooru Fujisawa
f415c74b57 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
9d5b9190a5 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
2018-03-07 19:31:28 -08:00
Narcis Beleuzu
b039d01776 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)
2018-03-13 19:03:25 +02:00
Paolo Amadini
60ef4fa247 Bug 1444392 - Part 2 - Use test-only helpers for the main menu across the tree. r=Gijs
MozReview-Commit-ID: IpdYFaYxx4M
2018-03-12 10:16:03 +00:00
Paolo Amadini
5b379bb7d6 Bug 1438815 - The main menu stays open after the install of a sideloaded add-on. r=Gijs
MozReview-Commit-ID: K1Y4JkkQ68c
2018-03-05 15:33:14 +00:00
Florian Quèze
c5f15a4700 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
0bb74efdf1 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
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:
37e3803c7a/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:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Andrew Swan
0f8bd2ea78 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
2017-12-06 10:49:25 -08:00
Mark Banner
cfa9659d1d Bug 1412778 - Enable ESLint rule no-cpows-in-tests across the whole tree. r=florian
MozReview-Commit-ID: 8pidN7x6MYh
2017-10-30 09:55:39 +00:00
Dan Banner
5af4450327 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
2dac70e25c 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
68ac1c5cd8 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
a47047633e Bug 1331769 - Test that there is no prompt for origin permission narrowing. r=aswan
MozReview-Commit-ID: 5twKRKK5uS2
2017-09-24 01:34:10 +01:00
Andy McKay
e7e3246c12 Bug 1350277 - Remove duplicates when showing host permissons. r=aswan
MozReview-Commit-ID: 2GzUwFHuEe6
2017-09-13 13:41:21 -07:00
Sebastian Hengst
744950c929 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
fc4bbc910d Bug 1350277 remove duplicates when showing host permissons r=aswan
MozReview-Commit-ID: 2GzUwFHuEe6
2017-09-11 17:40:08 -07: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
Masatoshi Kimura
c0943e4f30 Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu
MozReview-Commit-ID: DqJdTGopR9G
2017-07-29 20:50:21 +09:00
Kris Maglione
98e2f6ef94 Bug 1357486: Part 0a - Fix permissions tests with OOP extensions. r=aswan
MozReview-Commit-ID: DQY56nmlSci
2017-07-07 23:14:17 -07:00
Sebastian Hengst
0b049d2da8 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
c54b5f583d Backed out changeset bb1aa3b7bdf3 (bug 1357486) 2017-07-08 11:23:02 +02:00
Kris Maglione
eb99a3f292 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
3ccb0a9610 Bug 1357486: Part 0a - Fix permissions tests with OOP extensions. r=aswan
MozReview-Commit-ID: DQY56nmlSci
2017-07-07 12:19:21 -07:00
Bob Silverberg
85404b9e62 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
2017-06-02 09:14:22 -04:00
Kris Maglione
3105a51eb6 Bug 1356826: Part 7 - Scan for extension sideloads after final UI startup. r=aswan,rhelmer
MozReview-Commit-ID: 1syn9GD2DEb
2017-05-10 12:34:17 -07:00
Florian Quèze
ff53eb9a63 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
6ecb91be3e Bug 1355020 - part 2: disentangle add-on notifications from 'PanelUI' and their specific spot, r=kmag
MozReview-Commit-ID: h2azhwU60S
2017-05-03 14:53:07 +01:00
Geoff Brown
9f317225ad 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
004cbd9ad6 Bug 1357410 follow-up sign remaining unsigned permission test xpis r=andym
MozReview-Commit-ID: JA3fAWPIIJn
2017-04-19 12:29:34 -07:00
Andrew Swan
43a16c1fae Bug 1357419 Sign browser_webext_update1.xpi r=andym
MozReview-Commit-ID: 9L1FCI4XPBG
2017-04-19 09:11:33 -07:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0 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
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Mark Banner
1b6f3efb6e Bug 1352969 - Fix various ESLint no-undef issues in browser/base (no-undef is not enabled yet). r=mossop
MozReview-Commit-ID: BuTyJAfUoWR
2017-02-22 17:02:59 +00:00
Geoff Brown
ec5fdac868 Bug 1341337 - Split test browser_extension_update_background.js; r=kmag 2017-04-03 16:50:13 -06:00
Andrew Swan
035fb35905 Bug 1341337 Break up browser_update_background.js r=kmag
MozReview-Commit-ID: GUoghOXKUiS
2017-03-31 20:31:01 -07:00
Andrew Swan
5fa7fda0a0 Bug 1344665 Wait for full extension startup in permission tests r=kmag
I'm not sure this is necessarily going to do anything about the intermittent,
but at the least it will remove a bunch of noise from the logs hopefully
making it easier to get to the real problem.

MozReview-Commit-ID: KeGWJlHUlzh
2017-03-29 16:07:40 -07:00
Andrew Swan
8301144fd1 Bug 1350773 Remove max_version from webextension update tests r=rhelmer
MozReview-Commit-ID: 1kJZou0PHlg
2017-03-28 12:20:51 -07:00
Andrew Swan
def6a4de76 Bug 1197420 Part 2 Extension cleanups for optional permissions r=kmag
- Convert the object used to represent permissions to the format
  used in the optional permissions UI (property hosts becomes origins)
- Turn Extension.userPermissions into a getter

MozReview-Commit-ID: Dc44DMfKjG
2017-03-23 21:45:25 -07:00
Sebastian Hengst
0fbd57821d Backed out changeset 680dd7916a23 (bug 1197420) 2017-03-25 17:39:43 +01:00
Andrew Swan
11daacfbe1 Bug 1197420 Part 2 Extension cleanups for optional permissions r=kmag
- Convert the object used to represent permissions to the format
  used in the optional permissions UI (property hosts becomes origins)
- Turn Extension.userPermissions into a getter

MozReview-Commit-ID: Dc44DMfKjG
2017-03-23 21:45:25 -07:00
Phil Ringnalda
bb0cc6a131 Backed out 5 changesets (bug 1197420) for test_ext_permissions.js and test_chrome_ext_permissions.html timeouts on Fennec
CLOSED TREE

Backed out changeset 8a0125e00903 (bug 1197420)
Backed out changeset 925e3a9499ee (bug 1197420)
Backed out changeset 46e135035f10 (bug 1197420)
Backed out changeset 440bab141509 (bug 1197420)
Backed out changeset 3e690bbe8b5a (bug 1197420)
2017-03-24 20:43:24 -07:00