Commit Graph

52 Commits

Author SHA1 Message Date
Luca Greco
0496d0ffea Bug 1406181 - Test storage.local JSONFile and IndexedDB backends. r=kmag
MozReview-Commit-ID: CU9CVdIp8l8
2017-10-19 15:15:31 +02:00
Cosmin Sabou
0f5163a609 Backed out 10 changesets (bug 1406181) as per developers request.
Backed out changeset 06461ddb2699 (bug 1406181)
Backed out changeset fd61d9faedf0 (bug 1406181)
Backed out changeset b52c2fb70ae1 (bug 1406181)
Backed out changeset 4f387b4a76a9 (bug 1406181)
Backed out changeset db783c96c076 (bug 1406181)
Backed out changeset 62e9126ecd0d (bug 1406181)
Backed out changeset d34810cab822 (bug 1406181)
Backed out changeset 3241c2dfb296 (bug 1406181)
Backed out changeset 912a2eaf4d26 (bug 1406181)
Backed out changeset fdac47b8ef20 (bug 1406181)
2018-06-03 16:10:23 +03:00
Luca Greco
2390a2f870 Bug 1406181 - Test storage.local JSONFile and IndexedDB backends. r=kmag
MozReview-Commit-ID: CU9CVdIp8l8
2017-10-19 15:15:31 +02: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
e1f567896e Bug 1446571: Add missing semicolon. r=eslint-fix DONTBUILD CLOSED TREE
MozReview-Commit-ID: FikjFYLirlG
2018-03-20 19:55:51 -07:00
Kris Maglione
8e882de731 Bug 1446571: Part 2b - Update update tests to run in parallel. r=aswan
MozReview-Commit-ID: AYgDFSTcTtT
2018-03-16 17:52:20 -07:00
Kris Maglione
6f921ee6da Bug 1445821: Whitelist expected promise rejection. r=trivial,test-only
MozReview-Commit-ID: FZM93rcOsVJ
2018-03-18 14:07:58 -07:00
Kris Maglione
02e0998834 Bug 1444680: Part 1a: Move proxy filter host stubs to head.js. r=mixedpuppy
MozReview-Commit-ID: 8XxxJlRgTZL
2018-03-10 17:54:12 -08:00
Kris Maglione
a68a7b5ca9 Bug 1441333: Part 5 - Use proper async caller location in normalizeError. r=zombie
Currently, when we create an error object at the end of an aysnc operation, we
only get a useful caller location if async stacks are enabled.

This patch changes our behavior to use the saved caller location we've already
stored when creating an Error object based on a plain string message.

MozReview-Commit-ID: DDO0lAUHYRO
2018-03-01 16:39:08 -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:
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
Florian Quèze
1838aa9e08 Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction, rs=Gijs. 2017-12-21 11:10:23 +01:00
Mark Banner
45b0812566 Bug 1412893 - Change instances of using getService to Services.jsm where possible in toolkit/components - Part 1. r=mossop
MozReview-Commit-ID: BBnacIvRJBR
2017-10-30 16:29:58 +00:00
Kris Maglione
86d70533eb Bug 1407056: Part 3 - Test that CSP overrides apply correctly based on triggering principals. r=bz
MozReview-Commit-ID: EbGsI3keeG6
2017-10-12 15:44:32 -07:00
Shane Caraveo
4dac3a962f Bug 1400391 fix e10s xpcshell-test for remote webextensions, r=kmag
MozReview-Commit-ID: AgdmUNWLGaq
2017-09-17 19:34:13 -07:00
Kris Maglione
aaff03e68a Bug 1393621: Part 2 - Add test for API modules loaded at startup. r=zombie
MozReview-Commit-ID: 6gyDqsaImmX
2017-08-31 15:14:33 -07:00
Kris Maglione
237ad0f819 Bug 1357490: Part 1: Run toolkit xpcshell tests in both in-process and OOP modes. r=aswan
MozReview-Commit-ID: 7YYO8ldupn3
2017-07-07 18:54:37 -07:00
Sebastian Hengst
ad3b019cbe Backed out changeset 4ea831e6e7d1 (bug 1357490) for frequently failing toolkit/components/extensions/test/xpcshell/test_ext_privacy_update.js on Linux x64 asan. r=backout 2017-07-08 11:31:57 +02:00
Kris Maglione
9e7fbca945 Bug 1357490: Part 1: Run toolkit xpcshell tests in both in-process and OOP modes. r=aswan
MozReview-Commit-ID: 7YYO8ldupn3
2017-07-07 18:54:37 -07:00
Carsten "Tomcat" Book
ffc8a8c6f9 Backed out changeset 663351357fa7 (bug 1357490) for test failures in test_ext_startup_cache.js 2017-07-07 10:44:09 +02:00
Kris Maglione
19569cce66 Bug 1357490: Part 1: Run toolkit xpcshell tests in both in-process and OOP modes. r=aswan
MozReview-Commit-ID: 7YYO8ldupn3
2017-07-06 21:39:35 -07:00
Kris Maglione
972b1073af Bug 1368152: Part 4 - Remove ExtensionManagement.jsm. r=aswan
MozReview-Commit-ID: Apbi1QYeb2x
2017-06-03 17:18:18 -07:00
Ryan VanderMeulen
8624c7df43 Backed out 4 changesets (bug 1357490) for causing frequent xpcshell timeouts.
Backed out changeset 916250167bc8
Backed out changeset c2a286511a6c
Backed out changeset 9cc319bef82d
Backed out changeset 29443725aebb
2017-05-30 12:36:43 -04:00
Kris Maglione
739830ab36 Bug 1357490: Part 1: Run toolkit xpcshell tests in both in-process and OOP modes. r=aswan
MozReview-Commit-ID: 7YYO8ldupn3
2017-05-29 14:09:36 -07:00
Phil Ringnalda
47e31541cc Backed out 2 changesets (bug 1357490) for promise chain failed to handle a rejection QI failures
CLOSED TREE

Backed out changeset 3737f31a7ec3 (bug 1357490)
Backed out changeset 33f6f0354ade (bug 1357490)

MozReview-Commit-ID: 2Q4bUrnntlZ
2017-05-29 16:34:00 -07:00
Kris Maglione
55fa6486c2 Bug 1357490: Part 1: Run toolkit xpcshell tests in both in-process and OOP modes. r=aswan
MozReview-Commit-ID: 7YYO8ldupn3
2017-05-29 14:09:36 -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
Kris Maglione
ebe238b724 Bug 1344616: Migrate content script mochitests to xpcshell. r=mixedpuppy
MozReview-Commit-ID: 2ljMgRTIi5r
2017-03-06 17:15:40 -08:00
Matthew Wein
65938122a3 Bug 1252871 - Add support for runtime.onInstalled r=aswan
MozReview-Commit-ID: 3wDtv0g0BpO
2016-10-19 10:38:29 +01:00
Ben Kelly
ab46e8bcda Bug 1300658 P7 Make test_ext_downloads_search.js wait for full window file removal. r=aswan 2016-09-13 20:14:02 -07:00
Kris Maglione
aa6026c47b Bug 1288912: Add tests for native messaging round trip time. r=aswan
MozReview-Commit-ID: 6gOpZhvAZUE
2016-07-28 20:54:40 -07:00
Kris Maglione
7345559170 Bug 1288885: Migrate downloads mochitests to xpcshell. r=aswan
MozReview-Commit-ID: Z67uTNUcqD
2016-07-22 18:49:50 -07:00
Kris Maglione
80e6bae2f8 Bug 1288885: Migrate bookmarks mochitests to xpcshell. r=aswan
MozReview-Commit-ID: 9PFJcqXXxhU
2016-07-22 17:29:52 -07:00
Kris Maglione
a3391649ba Bug 1288885: Support testing WebExtensions from xpcshell tests. r=aswan
Most of the test helper code is derived from the SpecialPowers/ExtensionTestUtils
code that does the same. Eventually, the two implementations should probably
be unified, but I don't think it's worth the trouble for now.

MozReview-Commit-ID: 7Yy9jWkGsMM
2016-07-24 16:09:26 -07:00
Sebastian Hengst
752bc77530 Backed out changeset 8da1ed0adf15 (bug 1288885) for failure and crashes in test_ext_background_window_properties.js on Android in xpcshell and sets tests. r=backout 2016-07-28 10:06:35 +02:00
Sebastian Hengst
d98d557e92 Backed out changeset 8c67ff2971ec (bug 1288885) 2016-07-28 10:06:34 +02:00
Sebastian Hengst
e853adcdbd Backed out changeset abd51b3d2b52 (bug 1288885) 2016-07-28 10:06:34 +02:00
Kris Maglione
8504b031e8 Bug 1288885: Migrate downloads mochitests to xpcshell. r=aswan
MozReview-Commit-ID: Z67uTNUcqD
2016-07-22 18:49:50 -07:00
Kris Maglione
a6c7005144 Bug 1288885: Migrate bookmarks mochitests to xpcshell. r=aswan
MozReview-Commit-ID: 9PFJcqXXxhU
2016-07-22 17:29:52 -07:00
Kris Maglione
f964b84f2e Bug 1288885: Support testing WebExtensions from xpcshell tests. r=aswan
Most of the test helper code is derived from the SpecialPowers/ExtensionTestUtils
code that does the same. Eventually, the two implementations should probably
be unified, but I don't think it's worth the trouble for now.

MozReview-Commit-ID: 7Yy9jWkGsMM
2016-07-24 16:09:26 -07:00
Kris Maglione
f61f60b7e6 Bug 1254194: [webext] Allow extensions to register custom content security policies. r=billm f=aswan
MozReview-Commit-ID: 8L6ZsyDjIpf
2016-04-23 21:29:15 -07:00
Kris Maglione
f012f3c36f Bug 1196283: [webext] Support comments in JSON files. r=aswan
MozReview-Commit-ID: Ex4ewLH8xQc
2016-04-19 13:18:22 -07:00
Kris Maglione
666cee3637 Bug 1248855 - [webext] Add "object-curly-spacing" ESLint rule and auto-fix errors. r=billm
MozReview-Commit-ID: BAZ2rRl7eSM
2016-02-16 20:10:00 -08:00
Kris Maglione
fc44b273a5 Bug 1209184: Part 3 - [webext] Add tests for locale stream converter. r=billm 2015-11-28 01:00:57 -08:00
Phil Ringnalda
5f05f7cbf1 Back out 5 changesets (bug 1209184) on suspicion of causing OS X opt build startup cache precompilation failures
CLOSED TREE

Backed out changeset d0404928473e (bug 1209184)
Backed out changeset 24282235336d (bug 1209184)
Backed out changeset 399404ff25e4 (bug 1209184)
Backed out changeset a517959befe9 (bug 1209184)
Backed out changeset a4f1765a6cdf (bug 1209184)
2015-11-28 20:29:48 -08:00
Kris Maglione
de46806b39 Bug 1209184: Part 3 - [webext] Add tests for locale stream converter. r=billm 2015-11-27 23:02:41 -08:00