Gabriele Svelto
665dc4ae79
Bug 1493955 - Store floating-point preferences in a locale-independent way r=njn
...
Differential Revision: https://phabricator.services.mozilla.com/D6796
2018-09-28 20:54:09 +00:00
Bogdan Tara
6941b61899
Backed out changeset ba1fef7b14eb (bug 1493955) for GTest failures CLOSED TREE
2018-09-28 02:42:20 +03:00
Gabriele Svelto
32494f34c7
Bug 1493955 - Store floating-point preferences in a locale-independent way r=njn
...
Differential Revision: https://phabricator.services.mozilla.com/D6796
2018-09-27 20:41:39 +00:00
Kris Maglione
26780b8d97
Bug 1484373: Follow-up: Fix missed review comment. r=froydnj (implied)
2018-08-24 22:31:10 -07:00
Kris Maglione
2fa464dbde
Bug 1486199: Ignore null promises when injecting content scripts. r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D4287
2018-08-25 14:02:26 -07:00
Kris Maglione
7d1cda5bbb
Bug 1486057: Skip uninitialized windows when injecting content scripts. r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D4286
2018-08-25 14:00:03 -07:00
Kris Maglione
7b03bdbb6b
Bug 1484373: Follow-up: Fix null deref. r=bustage CLOSED TREE
2018-08-23 16:05:55 -07:00
Kris Maglione
fa6cdfaf68
Bug 1484373: Follow-up: Fix null deref. r=bustage CLOSED TREE
2018-08-23 16:01:25 -07:00
Kris Maglione
8e4c378705
Bug 1484373: Part 9 - Move more extension page matching logic into policy service. r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D3699
2018-08-17 22:30:17 -07:00
Kris Maglione
ac78f9effb
Bug 1484373: Part 4 - Move more content script injection logic into policy service. r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D3694
2018-08-17 22:09:23 -07:00
Kris Maglione
cb137ca0ad
Bug 1472491: Follow-up: Add missing CC trace for document observer hashtable. r=me
2018-08-14 12:05:11 -07:00
Kris Maglione
30e794ede9
Bug 1472491: Part 2b - Add MozDocumentObserver class to notify on new pattern-matched documents. r=zombie
...
MozReview-Commit-ID: 29CsJ2mya36
2018-07-31 21:50:34 -07:00
Valentin Gosu
7621447682
Bug 1476928 - Remove nsIURI.CloneIgnoringRef and nsIURI.CloneWithNewRef r=JuniorHsu
...
The patch introduces NS_GetURIWithNewRef and NS_GetURIWithNewRef which perform the same function.
Differential Revision: https://phabricator.services.mozilla.com/D2239
2018-07-23 11:28:47 +00:00
Adrian Wielgosik
93eb294385
Bug 1460940 - Clean up most remaining C++-side uses of nsIDOMDocument. r=bz
...
MozReview-Commit-ID: LKRnyDPNlle
2018-05-11 19:46:15 +02:00
Adrian Wielgosik
53b104eab3
Bug 1460940 - Remove nsIDOMDocument uses in toolkit/. r=bz
...
MozReview-Commit-ID: LJhw1bKsUkn
2018-05-11 19:46:15 +02:00
Kris Maglione
a516420d8c
Bug 1430317: Follow-up: Support QI to nsIMemoryReporter. r=me
...
MozReview-Commit-ID: 6BvZyVh2dP9
2018-01-12 18:52:36 -08:00
Kris Maglione
10085fad20
Bug 1430317: Add memory reporter to show basic information about active WebExtensions. r=erahm
...
MozReview-Commit-ID: FR8F30bhhA4
2018-01-12 16:01:18 -08:00
Shane Caraveo
5592e73c3a
Bug 1393150 prevent remote extensions when e10s is off, r=bz,kmag
...
MozReview-Commit-ID: HjLLa9vx2UW
2017-09-14 15:12:45 -07:00
Kris Maglione
23f86a0885
Bug 1396449: Part 1 - Use WebExtensionPolicy objects in extension content principals. r=krizsa
...
Going through the extension policy service rather than using
WebExtensionPolicy objects directly adds a lot of unnecessary overhead to
common operations on extension principals, and also makes the code more
complicated than it needs to be.
We also use weak references to policy objects here, since principals should
ideally lose as much of their elevated privileges as possible once the
extension instance that created them has been destroyed (which is something we
couldn't handle easily when we simply tracked ID strings).
MozReview-Commit-ID: KDNvVdvLkIt
2017-09-05 11:04:43 -07:00
Kris Maglione
5c09fbeae1
Bug 1356334: Part 4 - Add a helper to synchronously get an extension's name from its ID. r=billm
...
MozReview-Commit-ID: 8nuvM4PR7XR
2017-08-11 21:22:18 -07:00
Ryan VanderMeulen
0980b8abd2
Backed out 8 changesets (bug 1356334) for frequent test_ext_contentscript_async_loading.html failures on Android debug on a CLOSED TREE.
...
Backed out changeset 9c677ebfdda0 (bug 1356334)
Backed out changeset 16b49fd1c38a (bug 1356334)
Backed out changeset 4f5bcd2b2dc6 (bug 1356334)
Backed out changeset d832803270ac (bug 1356334)
Backed out changeset b83aea215a82 (bug 1356334)
Backed out changeset b2a663ffd144 (bug 1356334)
Backed out changeset 805c56806930 (bug 1356334)
Backed out changeset 7c880eca810a (bug 1356334)
2017-08-18 11:32:18 -04:00
Kris Maglione
353590b9a8
Bug 1356334: Part 4 - Add a helper to synchronously get an extension's name from its ID. r=billm
...
MozReview-Commit-ID: 8nuvM4PR7XR
2017-08-11 21:22:18 -07:00
Nicholas Nethercote
636397db95
Bug 1384835 (part 1, attempt 2) - Use nsA[C]String references instead of pointers for outparams of Get*String() pref functions. r=froydnj.
2017-07-31 10:52:51 +10:00
Kris Maglione
8214a5c14a
Bug 1374129: Avoid loading content scripts into uninitialized about:blank documents. r=aswan
...
MozReview-Commit-ID: LN1E4Q5xAbO
2017-06-21 17:31:43 -07:00
Kris Maglione
2750d4c40a
Bug 1370263: Null check document URI before matching content scripts. r=mixedpuppy
...
MozReview-Commit-ID: IB8HMmukD1h
2017-06-05 10:26:06 -07:00
Kris Maglione
a518bc4925
Bug 1368102: Part 8 - Move extension page matching into C++. r=billm,mixedpuppy
...
Bill, can you please review the WebIDL change, and Shane the rest?
MozReview-Commit-ID: 6N3sGrAsHzs
2017-05-26 12:07:06 -07:00
Kris Maglione
c04c15bd76
Bug 1368102: Part 5 - Move static content script matching into C++. r=mixedpuppy,zombie
...
MozReview-Commit-ID: Co04MoscqMx
2017-06-04 15:38:11 -07:00
Kris Maglione
eb1e83769a
Bug 1368102: Part 2 - Add WebExtensionContentScript bindings. r=billm,mixedpuppy
...
Bill, can you please review the binding code? Shane and zombie, can you please
review the content script matching?
MozReview-Commit-ID: IJB5s0a7r7S
2017-06-03 22:03:19 -07:00
Kris Maglione
e5aca6859e
Bug 1322235: Part 6 - Replace AddonPolicyService with a stub implementation in ExtensionPolicyService. r=mixedpuppy,zombie
...
This replaces the JS policy service stubs with a pure C++ version which
directly makes policy decisions based on active WebExtensionPolicy objects.
This is the first step in a larger refactoring, which will remove the
ExtensionManagement module entirely, and replace the current add-on policy
service with direct, non-virtual access to native WebExtensionPolicy objects.
It will also be followed by related changes to migrate the content script and
extension page matching to native code, based on the existing MatchPattern and
WebExtensionPolicy bindings.
MozReview-Commit-ID: 2MpbmXZGiPZ
2017-06-03 17:12:14 -07:00
Kris Maglione
88b0e33086
Bug 1322235: Part 5 - Add an ExtensionPolicyService singleton class to track active extension policies. r=billm,mixedpuppy
...
Bill, can you please review the binding changes? Shane, can you please review
the policy service?
This is the first step to making extension policy data directly available to
C++ code without any COM overhead. It tracks the set of currently active
extensions, and how they map to add-on IDs and URIs.
MozReview-Commit-ID: 9Z61AXFll3P
2017-05-23 19:15:10 -07:00