The implementations of browserAction, pageAction, and menu onClick
handlers now stash the current <browser> until we get a reply from
the extension process indicating that the handler has finished running.
We also have to take care to keep that <browser> around even if the
permissions api has to be loaded asynchronously.
MozReview-Commit-ID: BYJaiwdj40u
--HG--
extra : rebase_source : f0eb9522e532071a11c3424f8fffddf12300504f
Pinned tabs, when restored, load. This can have startup impact.
We should probably measure this.
To avoid impacting startup ourselves, do this when idle or after 60s from
session restore, whichever comes first.
MozReview-Commit-ID: EQzqqcz4IdL
--HG--
extra : rebase_source : 85158b6731862933027e90b1fe607a6794b68f52
Since bug 1307886, we don't actually use szip anymore, and don't even
have the option to package Fennec using it. We can thus remove the
support for loading them, as well as on demand linkage.
The latter might mean we can remove the segfault handler, but it's
unclear whether this is currently working around other issues with
registering signal handlers, so we'll leave that to a followup.
--HG--
extra : rebase_source : ec23cd4e78f259a70f6690adc8dfabb557e8f304
Also changed some function names to attempt to guarantee uniqueness across API files.
MozReview-Commit-ID: GnwWwTADF3a
--HG--
extra : rebase_source : 2d51f3de2958089de97ce98ed1f01c68ec0ed74a
Also declare all top-level functions in those files via const.
MozReview-Commit-ID: FsIEHVeotX8
--HG--
extra : rebase_source : 8257fac9824fddb78bf79c6d45eb16f6c0797603
The whitelisting function thisTestLeaksUncaughtRejectionsAndShouldBeFixed was replaced by expectUncaughtRejection, and existing calls did not take effect anymore.
MozReview-Commit-ID: 3uOxkgWYWEz
--HG--
extra : rebase_source : 6b27b77da78743880529adae7adf4ec2aa64dfea
extra : intermediate-source : 5809a30a0c4817509beb1078cf336d8367b8107a
extra : source : 6f0394b523a66dab444b8551deb8f3c6c81d8f31
After this patch for every restartTimer() call we only set a flag to
indicating that we should reset the timer when the timer fires.
MozReview-Commit-ID: GRInHxuEEQM
--HG--
extra : rebase_source : c1961186356f818061553330d7255f3851702825
This patch suggests deprecating proxy.registerProxyScript and replacing it with proxy.register since this API won't support registering anything other than proxy scripts. I normally would be hesitant to suggest making a name change after an API is released, but this API is one that is still in development, and for that reason I think changes like this should be somewhat expected until the API becomes more stable.
MozReview-Commit-ID: 9UeuUjQ6OU5
--HG--
extra : rebase_source : 62aaf71ee3928ceb6cccc1129f5ebbc871d812b8
Basic seccomp-bpf support is not being renewed because it has already
passed 99% and is not expected to decrease, but seccomp thread
synchronization and (especially) user namespace support will continue to
be monitored.
MozReview-Commit-ID: FxVKguxKTbV
When debugging the test failures in this test, I noticed that the info() messages indicated we *were* using
moz-extension icon references even when we shouldn't be - they just didn't include the 'fox.svg' bit.
When pausing in the debugger, you can see that all the buttons are blank - we don't load any icon in this case.
This seemed bad, so I updated the test to actually check if we're using a moz-extension URI at all,
and then updated the implementation to actually make it work.
MozReview-Commit-ID: GGXaivJrzxj
--HG--
extra : rebase_source : a64bed37e1fb27c164a0543a0465038d251c709d