This code is large and complex, and can only be called when we have an
AddonInternal object from XPIDatabase.jsm. It should live with that code.
MozReview-Commit-ID: 3ssV5aH9NUJ
--HG--
extra : rebase_source : d54474f67213420678706f04291b246ceee154de
extra : histedit_source : d1a3ca6fd05856a6675380717351e2e1d1568cf1
AddonInternal objects are only ever created after the database is loaded, so
there's no reason to load that code beforehand. More importantly, creating
the AddonWrapper class is expecially expensive, since most of their properties
are created dynamically. We should avoid doing that at startup when at all
possible.
MozReview-Commit-ID: AaRVN12e1qM
--HG--
extra : rebase_source : d5f9da1f8a54cdeecc45aa9857c6a6329821bb34
extra : histedit_source : 73c67373ad04a397bf9b2c2174c637f8ba645a95
The TelemetryEnvironment initialization process currently forces a load and
initialization of the blocklist service only to check its isLoaded flag. This
adds measurable overhead to startup, and without those checks, the service
would not be initialized until after first paint.
We should defer even checking whether the blocklist is loaded until after
startup has finished.
MozReview-Commit-ID: 73c4o5oVqze
--HG--
extra : rebase_source : f97ad4e9f2c96668b4418a1c7fb47a07bc798da7
extra : amend_source : 874240858529280e88f960e40920f009ccccfcbc
Don't free memory in exception handling context to avoid deadlocks
and process state corruption. Replace old_handler_.reset() with
old_handler_.release() to intentionally leak the sigaction struct instead.
MozReview-Commit-ID: lUNygOJCUL
--HG--
extra : rebase_source : 1f50b7d22cc2fa32d3e31125e563df6203a48612
proxyConfig set urls onto the pref rather than host names. This adds a round-trip test
with a test that uses the proxy after setting the config. Also fixes setting prefs
when httpProxyAll is true.
MozReview-Commit-ID: FpXKjnOXEkl
--HG--
extra : rebase_source : 885f43e6cc5b1d22081875eb8e5f7a0523ecf3d1
The about:memory page specified some colours using constants and others
using variables whose values can change. If those variables changed, for
example due to the desktop toolkit using a dark theme, then it could create
poor contrast with the constants in these CSS files (desktop & mobile).
This change ensures that only the Mozilla system colour extensions and
Mozilla colour preference extensions colours are used. Creating
fore/back-ground combinations that hopefully contrast well regardless of the
desktop theme.
--HG--
extra : rebase_source : f916aac0bb07c3a75ab45ece3fd58d1cdcf8bf46
extra : source : a78bc7ff3de5a0ea4aea060731253fed63a59d00
Repurpose the previously unused Begin() function to initialize
ProtocolParser objects and also assert that we are not reusing
objects across update since that's not supported.
MozReview-Commit-ID: HIGGgOr388h
--HG--
extra : rebase_source : f9f83b1c7bd79faa40fc1d7cb594dcb14a66fe09
This check was added in bug 1296820 to disable V4 updates prior
to their being implemented. It should have been removed once we
landed working support for V4 updates.
MozReview-Commit-ID: 828DIS72LNi
--HG--
extra : rebase_source : df3bf169fb077891d5096d7cbeb68c2bb657f834
This is a generalization of the reset code that's used in pver2
to reset all tables when a `pleasereset` command is received.
MozReview-Commit-ID: LF4RegQHqoT
--HG--
extra : rebase_source : 5c100f179a23c805fe245a361f4e89c8d5f5ce0a
* getModifierForPaymentMethod helper
* Use selectedPaymentMethod from state store.
* Update and add tests for the modifier case for the main total in PaymentDialog
* Update and add tests for handling modifiers and additionalDisplayItems in the OrderDetails component
MozReview-Commit-ID: FmlovZjP0t1
--HG--
extra : rebase_source : e3a3d7ffbcb6602ec14d0bc27b20b0d7804f1694
This fixes the console output to show the lines the log comes from which eases debugging.
* Also fix a leftover unused argument always getting logged.
MozReview-Commit-ID: 1YxrrinWta2
--HG--
extra : rebase_source : f1f6017bfd640894bfad65f5795769c9b2cb52b5
Record the value of the pref "dom.ipc.plugins.sandbox-level.flash" in telemetry if the user sets the value to be different from the default.
MozReview-Commit-ID: 3Kq0m19Zqcs
--HG--
extra : rebase_source : bf5d3a41d9eb0096ac74cb8091cd15e96b2aff89