This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.
MozReview-Commit-ID: 4ecl3RZhOwC
--HG--
extra : rebase_source : 412880ea27766118c38498d021331a3df6bccc70
This moves AboutNewTab.init from nsBrowserGlue.js handling of "browser-delayed-startup-finished" into aboutNewTabService.js so that when the service is loaded once from the main thread probably by browser.js towards the beginning of _delayedStartup just before potentially calling gBrowser.loadTabs, the service triggers the attaching of RemotePages(about:newtab) before any about:newtab pages load.
Additionally even when RemotePages starts early enough, Activity Stream might not borrow the RemotePages instance early enough to catch the RemotePage:Load message, so to simulate that, RemotePages now remembers when a port has been loaded for consumers to check. Adds tests to confirm the expected properties on the port and value of loaded at the various RemotePage:* messages.
MozReview-Commit-ID: IXJLvFCgbEH
--HG--
extra : rebase_source : 2b53c4e58f4cb8cbd4ea10741f3f609693989010
nsIURI.originCharset had two use cases:
1) Dealing with the spec-incompliant feature of escapes in the hash
(reference) part of the URL.
2) For UI display of non-UTF-8 URLs.
For hash part handling, we use the document charset instead. For pretty
display of query strings on legacy-encoded pages, we no longer care to them
(see bug 817374 comment 18).
Also, the URL Standard has no concept of "origin charset". This patch
removes nsIURI.originCharset for reducing complexity and spec compliance.
MozReview-Commit-ID: 3tHd0VCWSqF
--HG--
extra : rebase_source : b2caa01f75e5dd26078a7679fd7caa319a65af14
This also fixes a bug where notifications would not be displayed
correctly when PopupNotifications.jsm was initialized while the
window is in DOM fullscreen.
MozReview-Commit-ID: D5SCqd9efGk
--HG--
extra : rebase_source : 90197e537ce3f12248e1acd066ea1aac83397d39
The main use of these helpers is to defer operations which would cause a
layout flush until after the next reflow if, and only if, a flush is currently
pending.
MozReview-Commit-ID: 6VwMioldQ2O
--HG--
extra : source : 7e6da74099fe44de96396783c43b8e3e0c5b70a4
extra : intermediate-source : 9c966265dc4834242369f56bf7bac91abf44998e
Also, we only care about the properties that we support and that are animatable, as the non-animatable ones do not generate transitionend events
MozReview-Commit-ID: 5KZvJeGwfP3
The main use of these helpers is to defer operations which would cause a
layout flush until after the next reflow if, and only if, a flush is currently
pending.
MozReview-Commit-ID: 6VwMioldQ2O
--HG--
extra : source : 7e6da74099fe44de96396783c43b8e3e0c5b70a4
Also, we only care about the properties that we support and that are animatable, as the non-animatable ones do not generate transitionend events
MozReview-Commit-ID: Aluf8gnAhbn
The main use of these helpers is to defer operations which would cause a
layout flush until after the next reflow if, and only if, a flush is currently
pending.
MozReview-Commit-ID: 6VwMioldQ2O
--HG--
extra : rebase_source : 8ff5e64c1acbc9c925cc9bef1e0253d94d326a0a
While 4KiB is a decently sized buffer, bumping it to 32 on my
machine reduced the time for getSymbolsFromNM from 12s to 8s. If
32 is too large for the typical use of this, then we can instead
just parameterize this so that we can specify as large a buffer
as we want for our use case.
MozReview-Commit-ID: 3wGpHzQ9uZ5
--HG--
extra : rebase_source : d36d530dabed3b087c183408bcfbbea868bc85b0