Commit Graph

54 Commits

Author SHA1 Message Date
Kris Maglione
ef86c55d33 Bug 1471025: Part 8 - Add tests for shared memory preferences. r=njn
MozReview-Commit-ID: 8452JoTBHCU
2018-07-03 20:17:15 -07:00
Brindusan Cristian
541ee9e2fe Backed out 13 changesets (bug 1471025) for reftest failures on variation-format-hint-1a.html; bc failures performance/browser_preferences_usage.js; wpt failures on format-specifiers-variations.html. CLOSED TREE
Backed out changeset 6b672d70f335 (bug 1471025)
Backed out changeset 200bec7e766a (bug 1471025)
Backed out changeset 6c72dc1bff88 (bug 1471025)
Backed out changeset 7f4cc96fae12 (bug 1471025)
Backed out changeset b4f9178f132d (bug 1471025)
Backed out changeset 8eff817d2f7e (bug 1471025)
Backed out changeset f9362cf1add4 (bug 1471025)
Backed out changeset ce379eaab179 (bug 1471025)
Backed out changeset 7c03b7dd00e9 (bug 1471025)
Backed out changeset ff41551f5ff1 (bug 1471025)
Backed out changeset 46a6f9d0773b (bug 1471025)
Backed out changeset 434106f1b75e (bug 1471025)
Backed out changeset c490838c8329 (bug 1471025)
2018-07-14 01:16:06 +03:00
Kris Maglione
e93782a71a Bug 1471025: Part 8 - Add tests for shared memory preferences. r=njn
MozReview-Commit-ID: 8452JoTBHCU
2018-07-03 20:17:15 -07:00
Brindusan Cristian
b589b06fd0 Backed out 12 changesets (bug 1471025) for build bustages on dom/ipc/ContentProcess.cpp. CLOSED TREE
Backed out changeset 398ccedc20dc (bug 1471025)
Backed out changeset 599895de063e (bug 1471025)
Backed out changeset dc7ec17179d1 (bug 1471025)
Backed out changeset 5051f15fc200 (bug 1471025)
Backed out changeset faef4df47b20 (bug 1471025)
Backed out changeset d344247b8706 (bug 1471025)
Backed out changeset 83d98ea5ebac (bug 1471025)
Backed out changeset 38f690f30e78 (bug 1471025)
Backed out changeset 4b7a8a35ed95 (bug 1471025)
Backed out changeset e3bbc87b71af (bug 1471025)
Backed out changeset 68bb03c63b3c (bug 1471025)
Backed out changeset 4a8fbb472c91 (bug 1471025)
2018-07-13 22:11:24 +03:00
Kris Maglione
6d53122aa9 Bug 1471025: Part 8 - Add tests for shared memory preferences. r=njn
MozReview-Commit-ID: 8452JoTBHCU
2018-07-03 20:17:15 -07:00
Kris Maglione
23a21c4c2b Bug 1462500: Improve our detection of XPI vs. directory installs. r=aswan
This adds a helper so that we consistently detect install type based on
extension the same way.

In the process, it also simplifies some of the code that tries to detect
modification times for unpacked directories, so that it only checks the
directory mtime. We don't support signatures for unpacked directories anymore,
so this has no purpose outside of developer builds with signing disabled.
Those developers can move to touching the install directory's mtime rather than
the manifest file's.

MozReview-Commit-ID: J5LwaXXqyZL
2018-05-17 16:50:05 -07:00
Kris Maglione
e2dad07746 Bug 1461145: Support async startup/shutdown bootstrap methods. r=aswan
MozReview-Commit-ID: L0G4DA0KJ87
2018-05-12 18:51:32 -07:00
Kris Maglione
cd8e701606 Bug 1461062: Follow-up: Fix rebase bustage. r=bustage CLOSED TREE
MozReview-Commit-ID: 2fjL5eCL2xP
2018-05-16 19:07:01 -07:00
Kris Maglione
fd7e9e6a69 Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY
2018-04-22 20:55:06 -07:00
Kris Maglione
69af57f5be Bug 1446833: Follow-up: Fix intermittent Windows file locking xpcshell bustage. r=bustage DONTBUILD
MozReview-Commit-ID: LyOmJyKT70K
2018-03-20 14:29:45 -07:00
Kris Maglione
911ddc86d8 Bug 1444758: Part 20 - Remove test_ext_background_generated_url. r=aswan
MozReview-Commit-ID: 4e2YuVviLtR
2018-03-12 20:58:01 -07:00
Kris Maglione
bc5e58111d Bug 1444758: Part 6 - Migrate test_ext_content_security_policy to xpcshell. r=aswan
MozReview-Commit-ID: 99ChsuUDAOH
2018-03-11 13:52:18 -07:00
Kris Maglione
81bd3d1a95 Bug 1444680: Part 1b: Add helper for calling fetch() in content context. r=mixedpuppy
MozReview-Commit-ID: AiefWoKEh5c
2018-03-10 22:52:16 -08:00
Florian Quèze
f1a55f73f8 Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01: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
Andrew Swan
e53f9296c7 Bug 1426259: Revamp processing of manifest.json for themes r=kmag
MozReview-Commit-ID: 6dWy8wwrobY
2017-12-20 16:06:50 -08:00
Florian Quèze
b7450770d6 Bug 1421992 - Hand written cleanup patch to make tests pass after removing obsolete xpcshell functions. r=Gijs,ochameau a=Aryx 2017-12-21 11:11:57 +01:00
Mark Banner
2008979d83 Bug 1369722 - Disable ESLint browser environment for jsm files. r=mossop
MozReview-Commit-ID: IVAyPmTqtCB
2017-11-07 22:59:09 +00:00
Kris Maglione
c8ea1d4273 Bug 1421459: Update to ESLint 4 "indent" rule. r=aswan
MozReview-Commit-ID: LxLDWlsIlSk
2017-11-28 14:13:59 -08:00
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