Fixes the case where credit card autofill incorrectly fills the expiration month due to input elements and placeholders on those input elements.
Enables unit tests for form autofill.
Additionally adds tests to ensure the previous behavior of autofilling expiration month using select elements.
Added workarounds in tests so that we don't change the reality of the mocked CC storage.
Differential Revision: https://phabricator.services.mozilla.com/D119659
The test overwrites a fluent-originating text content with its own,
but doesn't clear the fluent data-l10n-id attribute. As a result,
if it tries to write the textContent before the data-l10n-id pass
from fluent has run, fluent overwrites the textContent before we
do a search, and then the rest of the test gets bogus results
because it matches against the wrong text content.
This patch fixes this by removing the data-l10n-id attribute so
the fluent pass doesn't try to put text in these elements
anymore.
Differential Revision: https://phabricator.services.mozilla.com/D122659
Also fix to actually call the correct requestLongerTimeout() method,
and shorten the timeout by half to see if That would be enough.
Differential Revision: https://phabricator.services.mozilla.com/D122052
When an extension does call tabs.discard earlier in the tab creation (e.g. when the extension calls
tabs.discard from inside a tabs.onUpdated listener), when the tab is activated (e.g. by selecting
the non-currently active lazified tab) Firefox is expected to restore it to the webpage url that
was being loaded.
This was already working as expected on non-private tabs, where the expected tab url was stored
in the TabStateCache as the userTypedValue (which seems to be part of a fix also related to
tabs.discard and landed in Firefox 62 from Bug 1422588).
It didn't work yet for private tabs, because for a private tab we are storing `{isPrivate: true}`
into the TabStateCache as soon as we are creating the tab, and so the change to SessionStore
resetBrowserToLazyState applied from Bug 1422588 had no effect for the private tabs
(due to the check for an existing cached entry for the same tab).
This patch applies a small change to ensure we are caching the userTypedValue set on the browser
element if one is not already stored in the TabStateCache, and adds an additional test case
to browser_ext_tabs_discarded.js which cover the expected behavior (and fails as expected
without a fix for the underlying issue).
Differential Revision: https://phabricator.services.mozilla.com/D122370
Adds a new preference javascript.options.use_fdlibm_for_sin_cos_tan (default
false) and uses fdlibm for Math.sin, Math.cos, and Math.tan conditioned on it.
Differential Revision: https://phabricator.services.mozilla.com/D119426
MOZ_WEBRENDER=0 now does nothing -- you will either get HW-WR or SW-WR
depending on the platform configuration. The pref
gfx.webrender.force-legacy-layers is removed. This leaves no
configuration option to disable WebRender.
MOZ_WEBRENDER=1 will continue to force WR on, which will ensure in CI we
get HW-WR unless gfx.webrender.software is true.
Differential Revision: https://phabricator.services.mozilla.com/D122474
When relanding Bug 1709697, all of the icons ended up as 0-byte files.
I can't explain this; it's hard to achieve this with a rebase. We
regenerate `Resources.pri` following the instructions in the
documentation.
This commit also moves to represent the package as "Mozilla Firefox",
which is consistent with how unpackaged versions appear in the Windows
UI. In the start menu, the application continues to be represented as
"Firefox" (no "Mozilla" vendor).
Finally, this commit also differentiates "Firefox Beta" from "Firefox"
in a few select places (while not changing branding and iconography).
Differential Revision: https://phabricator.services.mozilla.com/D122411
This fails in promiseOnHistoryReplaceEntry since the browser goes away before
the SpecialPowers task can resolve. This doesn't apply to SHIP since we listen
for history events in the parent instead for that.
Differential Revision: https://phabricator.services.mozilla.com/D122486
Adds a new preference javascript.options.use_fdlibm_for_sin_cos_tan (default
false) and uses fdlibm for Math.sin, Math.cos, and Math.tan conditioned on it.
Differential Revision: https://phabricator.services.mozilla.com/D119426
In bug 1698883, a more general rule was removed that made the label for
the Synced Tabs panel CtA button visible: 0ff3ea52f0 (l7.13)
Since that rule isn't around anymore, we tell the Synced Tabs button
explicitly to display itself. Thankfully, we no longer need to override
the text-align property with !important, since that was in the original
rule that was removed, and the text-shadow is already being set to none
in another rule for this button.
Differential Revision: https://phabricator.services.mozilla.com/D122371