Commit Graph
30 Commits
Author SHA1 Message Date
Kris Maglione 625426b21e Bug 1402066: Part 2 - Enable permissions tests in OOP mode. r=aswan
MozReview-Commit-ID: 4Tv2HAaSV19
2017-09-25 21:05:00 -07:00
Sebastian Hengst b5dcb649a0 Backed out changeset 641430a49682 (bug 1402066) 2017-09-26 11:37:44 +02:00
Kris Maglione fec6f66268 Bug 1402066: Part 2 - Enable permissions tests in OOP mode. r=aswan
MozReview-Commit-ID: 4Tv2HAaSV19
2017-09-25 21:05:00 -07:00
Kris Maglione 157f1a8b84 Bug 1379148: Part 4 - Add tests for document.write() with document_start content script present. r=mixedpuppy
MozReview-Commit-ID: 5yxgpur1tvf
2017-09-20 17:01:33 -07:00
Kris Maglione 4b691ae8b4 Bug 1356376: Wait for message manager to disconnect after closing content page. r=aswan
This may or may not fix the intermittent, but hopefully it will.

MozReview-Commit-ID: BR0BtV4BPdq
2017-08-24 14:57:18 -07:00
Shane Caraveo d9e039683b Bug 1380186 test http redirects to moz-ext protocol, r=kmag
MozReview-Commit-ID: Kg8ELe3tV2z
2017-07-27 13:34:54 -07:00
Yoshi Huang 3ec398b43c Bug 1381769 - fix xpcshell failure when data: URI is unique origin. r=smaug
ExtensionXPCShellUtils.jsm uses a XUL window with data: URI, we replace
it with a XUL file to fix the xpcshell-test failures.
2017-07-19 14:41:24 +08: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
Matthew Wein 1186674777 Bug 1331742 - Part 5 - Add unit tests for browserAction.onClicked r=mixedpuppy
MozReview-Commit-ID: DE7me6moxG
2017-05-12 15:02:11 -04: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
Carsten "Tomcat" Book dd164777f2 Backed out changeset 79579aab8851 (bug 1331742) 2017-04-24 12:27:45 +02:00
Matthew Wein 5b86f1818b Bug 1331742 - Part 5 - Add unit tests for browserAction.onClicked r=mixedpuppy
MozReview-Commit-ID: Ko8eQYfIM0H
2017-04-10 16:15:54 -04:00
Kris Maglione bdb8ae3dfd Bug 1317697: Split ExtensionContent.jsm into a stub process script. r=mixedpuppy
MozReview-Commit-ID: 4vn0ERZiBQd
2017-04-14 17:00:51 -07:00
Florian Queze 451928e614 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Sebastian Hengst f75839c723 Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze 61aabdf237 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Kris Maglione 10effa3b58 Bug 1344590: Part 1 - Handle extension reloads, upgrades, and manager restarts in xpcshell helpers. r=rhelmer
MozReview-Commit-ID: FJLeYCz26PX
2017-03-07 23:41:57 -08:00
Kris Maglione 50f77bbcb4 Bug 1333477: Part 2 - Remove "browser" environment from ESLint settings. r=aswan
MozReview-Commit-ID: LCxI6JVp7Xo
2017-03-12 14:16:13 -07:00
Kris Maglione 3fd12535c9 Bug 1345620: Disable global history in test browsers. r=trivial
MozReview-Commit-ID: F4frNK6qq8j
2017-03-10 10:39:41 -08: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
Kris Maglione c421d23abb Bug 1344616: Support running content script tests in xpcshell. r=mixedpuppy
MozReview-Commit-ID: 57yhjZxVl90
2017-03-06 13:09: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
Tomislav Jovanovic 24e5cad3b1 bug 1268399 - add runtime.getBrowserInfo() method with AppInfo data r=kmag
MozReview-Commit-ID: GvwFG0CyfR7
2016-09-04 21:22:18 +02:00
Robert Helmer c52c0f4a2c Bug 1279012 - implement onUpdateAvailable and runtime.reload() for WebExtensions r=aswan
MozReview-Commit-ID: KywrVkcRhzp
2016-08-02 09:37:01 -07:00
Andrew Swan 1206774e48 Bug 1286908 Remove id allocation from SpecialPowers loadExtension() r=kmag
Prior to this change, SpecialPowers used the extension id to identiy
extension instances in inter-process messaging.  This required that
an id be allocated from the content process side when loadExtension()
was called, but that made it impossible to test code that exercises the
code path in the AddonManager that allocates ids for extensions that do
not include an id in the manifest (it also made the loadExtension() api
clunky).

With this change, SpecialPowers allocates an internal identifier for
messaging, but this identifier is separate from extension ids.
Confusingly, we still store the actual extension id in an id property
on the object returned by loadExtension(), but there are enough tests
that reference this that it would be unnecessarily disruptive to get
rid of it so it stays for now...

MozReview-Commit-ID: G6xk1mBJJL8
2016-08-02 16:04:37 -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
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