Kris Maglione
877f3c7535
Bug 1398630: Part 1 - Remove/cleanup some old ExtensionUtils helpers. r=zombie
...
MozReview-Commit-ID: FeLUjH7pkiB
2017-09-10 15:39:28 -07:00
Kris Maglione
04604d9ff9
Bug 1388208: Stop using FileUtils.getFile. r=zombie
...
This performs main thread IO to make sure that directories exist, which is not
something we should be doing on the startup path.
MozReview-Commit-ID: 2NrgRgY5ua6
2017-08-07 17:42:13 -07:00
Kris Maglione
0fb6b2e73c
Bug 1388215: Part 3 - Use JIT-friendly defineLazy*Getters methods when defining many lazy imports. r=florian
...
MozReview-Commit-ID: APoFwUhDFdj
2017-08-09 13:03:36 -07:00
Kris Maglione
c4d42444e0
Remove unused lazy imports. r=trivial (no bug)
...
MozReview-Commit-ID: rqUFJw7Wsb
2017-08-02 21:09:38 -07:00
Kris Maglione
b44716ecfc
Bug 1364768: Part 6 - Use startup cache for initial extension permission data. r=aswan
...
Reading the extension permissions DB at startup takes several hundred
milliseconds, largely from the overhead of initializing OS.File. We can avoid
that somewhat by using the stream APIs to read the files, and beginning the
read very early. But the eager initialization gets complicated, and we still
add extra IO to startup.
After this change, the permissions JSON file still remains the primary source
of truth, but the state as of the last session is cached in the volatile
extension startup cache to decrease the overhead of reading it at startup.
MozReview-Commit-ID: HGDt5kSsdzX
2017-05-14 16:12:33 -07:00
Kris Maglione
4f623b6890
Bug 1322235: Part 3 - Use MatchPatternSet for whiteListedHosts and webRequest. r=aswan,zombie
...
This is the second step to migrating the policy service to pure native code,
with similar impacts and reasoning to the previous patch.
MozReview-Commit-ID: L5XdPzWNZXM
2017-06-03 22:11:20 -07:00
Andrew Swan
298bdbae0b
Bug 1197420 Part 5 Tests for optional permissions r=kmag
...
MozReview-Commit-ID: 8uViXB1Jgz3
2017-03-16 14:36:26 -07:00
Andrew Swan
b96180cff0
Bug 1197420 Part 4 Apply dynamic permission changes r=kmag
...
MozReview-Commit-ID: 6TdcUv1fHPh
2017-03-23 17:28:52 -07:00
Andrew Swan
fc72911ff3
Bug 1197420 Part 3 Initial browser.permissions api support r=kmag
...
With this patch, permissions are not actually applied,
but the permissions api is in place.
MozReview-Commit-ID: CTaXz5sa1xy
2017-03-24 13:55:09 -07:00
Sebastian Hengst
e33b75e3f1
Backed out changeset d1628b66e5f8 (bug 1197420)
2017-03-25 17:39:38 +01:00
Sebastian Hengst
f7e31023c0
Backed out changeset f4fbd8e60288 (bug 1197420)
2017-03-25 17:39:34 +01:00
Sebastian Hengst
2c71ec8b7b
Backed out changeset b56c89bfeb0e (bug 1197420)
2017-03-25 17:39:30 +01:00
Andrew Swan
5c28083872
Bug 1197420 Part 5 Tests for optional permissions r=kmag
...
MozReview-Commit-ID: 8uViXB1Jgz3
2017-03-16 14:36:26 -07:00
Andrew Swan
dd2572ae7d
Bug 1197420 Part 4 Apply dynamic permission changes r=kmag
...
MozReview-Commit-ID: 6TdcUv1fHPh
2017-03-23 17:28:52 -07:00
Andrew Swan
a151659a43
Bug 1197420 Part 3 Initial browser.permissions api support r=kmag
...
With this patch, permissions are not actually applied,
but the permissions api is in place.
MozReview-Commit-ID: CTaXz5sa1xy
2017-03-24 13:55:09 -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
Andrew Swan
a943135938
Bug 1197420 Part 5 Tests for optional permissions r=kmag
...
MozReview-Commit-ID: 8uViXB1Jgz3
2017-03-16 14:36:26 -07:00
Andrew Swan
43dbe20442
Bug 1197420 Part 4 Apply dynamic permission changes r=kmag
...
MozReview-Commit-ID: 6TdcUv1fHPh
2017-03-23 17:28:52 -07:00
Andrew Swan
1ab93c4095
Bug 1197420 Part 3 Initial browser.permissions api support r=kmag
...
With this patch, permissions are not actually applied,
but the permissions api is in place.
MozReview-Commit-ID: CTaXz5sa1xy
2017-03-24 13:55:09 -07:00
Sebastian Hengst
7b11b686c6
Backed out changeset 7df6cc66a2eb (bug 1197420)
2017-03-24 20:56:10 +01:00
Sebastian Hengst
07e3b9be93
Backed out changeset cb352ddee812 (bug 1197420)
2017-03-24 20:56:05 +01:00
Sebastian Hengst
53bc3eea4c
Backed out changeset 5750ae148c78 (bug 1197420)
2017-03-24 20:56:01 +01:00
Andrew Swan
81adbb1dea
Bug 1197420 Part 5 Tests for optional permissions r=kmag
...
MozReview-Commit-ID: 8uViXB1Jgz3
2017-03-16 14:36:26 -07:00
Andrew Swan
df98c5adb3
Bug 1197420 Part 4 Apply dynamic permission changes r=kmag
...
MozReview-Commit-ID: 6TdcUv1fHPh
2017-03-23 17:28:52 -07:00
Andrew Swan
925ea0071d
Bug 1197420 Part 3 Initial browser.permissions api support r=kmag
...
With this patch, permissions are not actually applied,
but the permissions api is in place.
MozReview-Commit-ID: CTaXz5sa1xy
2017-03-23 21:48:03 -07:00