Fixes a defect where the error view was not showing
properly when navigating to a website that triggers
auto-translate failure after previously viewing the panel
on a web page with an unsupported language.
Depends on D185485
Differential Revision: https://phabricator.services.mozilla.com/D185499
Fixes a defect where the revisit view was not showing
properly when navigating to a website that triggers
auto-translate after previously viewing the panel
on a web page with an unsupported language.
Depends on D185484
Differential Revision: https://phabricator.services.mozilla.com/D185485
Fixes an error where translations settings menu checkbox
states were not being updated correctly for pages
whose language is not supported by translations.
They were previously being disabled as intended,
but not unchecked.
Depends on D185483
Differential Revision: https://phabricator.services.mozilla.com/D185484
Refactors the assertions for the always/never translate checkbox
menuitems in the translations panel settings menu.
The checks now verify the displayed language name as well as the
disabled state across all relevant translations tests.
Differential Revision: https://phabricator.services.mozilla.com/D185483
Fixes an intermittent test failure that was sometimes
ocurring due to an async function that was accidentally
not awaited in the test.
Differential Revision: https://phabricator.services.mozilla.com/D185501
There is a bit of dead test code left over from when
languages were labled individually as "beta" in Translations.
This patch removes any such code.
Differential Revision: https://phabricator.services.mozilla.com/D185506
In bug 1843749 we received reports of QCOM_tiled_rendering causing
glitches on Adreno 308 GPUs. As using this extension is a performance
win, especially on less powerful GPUs such as the Adreno 308, we
decided to block it only on the driver versions which we knew were
broken: V@331 and V@415.
However, we have now received a report that it is additionally broken
on version V@0502. As it now seems likely the bug affects all driver
versions, or at least more than originally hoped, this patch blocks
the extension on the Adreno 308 regardless of driver version.
Differential Revision: https://phabricator.services.mozilla.com/D185530
The canonical browsing context is not available if the current window/tab
is not focused for printing or saving as a PDF.
This patch adds a call to `setFocused` before creating a Gecko PDF to
ensure the canonical browsing context can be used for generating a PDF
to save or print.
Differential Revision: https://phabricator.services.mozilla.com/D185311
Due to some upstream changes, cipd binaries were not properly being
setup and necessary files were missing during the run hooks step (like dirmd).
This is only affecting macOS and Linux, so this patch just directly runs
the setup script before we proceed with the rest of the build sequence.
Differential Revision: https://phabricator.services.mozilla.com/D185497
Implemented the new <search> HTML element.
All WPT tests for it now pass (except one for iso-8859-8, not done generally).
A11y role uses just landmark as recommended instead of a new search role (for now).
Co-authored-by: Henri Sivonen <hsivonen@mozilla.com>
Differential Revision: https://phabricator.services.mozilla.com/D176967
Implemented the new <search> HTML element.
All WPT tests for it now pass (except one for iso-8859-8, not done generally).
A11y role uses just landmark as recommended instead of a new search role (for now).
Co-authored-by: Henri Sivonen <hsivonen@mozilla.com>
Differential Revision: https://phabricator.services.mozilla.com/D176967
In order to keep the compatibility with DevTools internal methods, the existing
behavior where all bindings are shadowed is kept as `useInnerBindings` option.
Differential Revision: https://phabricator.services.mozilla.com/D184197
The request priority isn't propagated from `ScriptFetchOptions`, so
setting it has no effect for end-users. That will be implemented in a
following part.
Differential Revision: https://phabricator.services.mozilla.com/D183483