Skips a test that is causing intermittent failures in CI, which
tests functionality that is not part of the Translations MVP.
See Bug 1821461
Differential Revision: https://phabricator.services.mozilla.com/D178723
https://drafts.csswg.org/mediaqueries-5/#mq-boolean-context is pretty
clear:
> If the feature would be true for any value other than the number 0, a
> <dimension> with the value 0, the keyword none, or a value explicitly
> defined by that media feature to evaluate as false in a boolean
> context, the media feature evaluates to true.
> Otherwise, it evaluates to false.
These hit the "otherwise". The unknown behavior might make sense, but if
someone wants it the spec needs to change (for all media features
consistently).
Differential Revision: https://phabricator.services.mozilla.com/D178712
I was looking into simplifying our scrollbar styles:
* StyleAppearance::Resizer is not used in content, and some of the
values were only for <xul:window> which are not supported anymore.
* Statusbarpanel and Resizerpanel aren't used. Statusbar is only used
once on macOS so we only need to keep it there.
Differential Revision: https://phabricator.services.mozilla.com/D178374
Regarding LazyInstantiator::ResolveDispatch, we already had code in MsaaAccessible to get the IAccessible typelib.
mscom::RegisterTypelib has a lot of dependencies and it doesn't make sense to keep it for this one use case we can already support another way.
Differential Revision: https://phabricator.services.mozilla.com/D177966
This actually hasn't ever been used in a shipping build of Firefox.
Although sync IPDL was tried with Windos a11y for a while when e10s was still disabled, it was never feasible and was replaced with COM proxying.
Differential Revision: https://phabricator.services.mozilla.com/D177965
This was only ever used by the old accessibility architecture based on content process COM proxies, which is now being removed.
Differential Revision: https://phabricator.services.mozilla.com/D177964
This includes AccessibleHandler, HandlerProvider, IGeckoCustom and the IAccessible2 COM proxy dll.
Even with the new architecture, we still use IAccessible2, but we no longer need a COM proxy because we aren't using COM across processes ourselves.
If clients want to use IAccessible2 across processes, they're responsible for registering a COM proxy themselves as with all other IAccessible2 applications.
Alternatively, they can rely on the IAccessible2 COM proxy which is included with Windows 10 and later.
Differential Revision: https://phabricator.services.mozilla.com/D177963
This new API helps execute a function (2nd argument) and ensure that any thrown exception
will be associated against a given global (1st argument).
This is especially handy when any privileged code executes some content code.
Without such helper, the exception is thrown into the privileged global and loose
its original context and can no longer be associated with the content window it originates from.
It can also help associate pure-privileged exception to some particular content window.
Differential Revision: https://phabricator.services.mozilla.com/D167529
Ensure that a wheel event group does not live longer than the action
chain, by calling EndTransaction on performActions().
Depends on D177923
Differential Revision: https://phabricator.services.mozilla.com/D177924
Add a chrome-only method for ending a wheel event group. This can then
be used by the webdriver to ensure that the wheel event group does not
live longer than the action chain.
Differential Revision: https://phabricator.services.mozilla.com/D177923
Blocked driver version is borrowed from FEATURE_HW_DECODED_VIDEO_ZERO_COPY block list. From Bug 1831329, the block list range of FEATURE_HW_DECODED_VIDEO_ZERO_COPY might have same problem.
Differential Revision: https://phabricator.services.mozilla.com/D178607
Implemented behind the new properties-and-values pref.
Support for the CSSPropertyRule WebIDL interface is also added in this
patch, because until it's added, any attempt to access the rule using
the CSSOM would crash the browser.
Depends on D178268
Differential Revision: https://phabricator.services.mozilla.com/D178270
Added NaN/inf serialization of <number> and changed calc() code to not
remove NaN/infinity in code using it.
This change is unfortunately imperfect as some things using <number>
still refuse to serialize NaN/infinity for some reason (scale()?), but
this bug/patch is just for <number> so leaving that out of scope for this.
Also added new WPT test file for number NaN/inf serialization based
on existing serialization tests (all pass already!).
5 other WPT subtests now newly pass.
Differential Revision: https://phabricator.services.mozilla.com/D178587
Adds functionality to the following menuitems:
always-translate language will immediately translate
the page if not already translated.
never-translate language will hide the translations
button and restore the page if translated.
never-translate site will hide the translations
button and restore the page if translated.
Depends on D177860
Differential Revision: https://phabricator.services.mozilla.com/D178512
Adds tests for all of the menuitems in the Translations
panel settings menu, including always-translate-language,
never-translate-language, and never-translate-site.
Depends on D177859
Differential Revision: https://phabricator.services.mozilla.com/D177860
Adds functionality for the never-translate-site
menuitem in the Translations panel settings menu.
When active, translations will not be offered for
this website.
Depends on D177858
Differential Revision: https://phabricator.services.mozilla.com/D177859
Adds functionality for the never-translate-language
menuitem in the Translations panel settings menu.
When active, translations will not be offered for
websites in this language.
Depends on D177857
Differential Revision: https://phabricator.services.mozilla.com/D177858
Adds functionality for the always-translate-language
menuitem in the Translations panel settings menu.
When active, websites will auto-translate for that
language.
Depends on D177856
Differential Revision: https://phabricator.services.mozilla.com/D177857
Adds new menuitems to the Translations panel settings
menu for always translate language, never translate
language, and never translate site.
Depends on D177855
Differential Revision: https://phabricator.services.mozilla.com/D177856
Adds a new button and panel for managing Translations
settings to the about:preferences panel.
Manages always-translate languages, never-translate
languages, and never-translate sites.
Depends on D178228
Differential Revision: https://phabricator.services.mozilla.com/D177854
Copies the code for Translation exceptions in about:preferences
to new files to preserve the git-blame history so that they can be
modified in a subsequent patch
Differential Revision: https://phabricator.services.mozilla.com/D178228