ClearKey and Widevine L3 are used in the GMP process, so comparing with
MFCDM, we need to use another different way to access their capabilities.
Differential Revision: https://phabricator.services.mozilla.com/D194932
This patch implements retrieving the capabilities from MFCDMs. I will
add non-MFCDM support in following patches, eg. Widevine L3, and
ClearKey.
Differential Revision: https://phabricator.services.mozilla.com/D194837
ClearKey and Widevine L3 are used in the GMP process, so comparing with
MFCDM, we need to use another different way to access their capabilities.
Differential Revision: https://phabricator.services.mozilla.com/D194932
This patch implements retrieving the capabilities from MFCDMs. I will
add non-MFCDM support in following patches, eg. Widevine L3, and
ClearKey.
Differential Revision: https://phabricator.services.mozilla.com/D194837
ClearKey and Widevine L3 are used in the GMP process, so comparing with
MFCDM, we need to use another different way to access their capabilities.
Differential Revision: https://phabricator.services.mozilla.com/D194932
This patch implements retrieving the capabilities from MFCDMs. I will
add non-MFCDM support in following patches, eg. Widevine L3, and
ClearKey.
Differential Revision: https://phabricator.services.mozilla.com/D194837
Since registered custom properties can be specified to not inherit,
DevTools need to retrieve this information in order to display accurate
data in the rules view.
The method signature is changed and now take a Document so we can lookup
the registry.
The existing test is updated with registered and unregistered custom properties.
Next patch in queue handles the impact in DevTools code.
Differential Revision: https://phabricator.services.mozilla.com/D194629
Passing `loadInDevToolsLoader` to JSProcess actor options will force loading
both parent and content modules in the distinct module loader used by DevTools.
This distinct module loader is maintained by mozJSModuleLoader and is used
by the DevTools Browser Console/Toolbox to debug privileged JS code
typically using the "shared JSM Global" from DevTools modules
loaded in a distinct and specific DevTools module loader.
Differential Revision: https://phabricator.services.mozilla.com/D193280
This patch adds support for downloading the Widevine L1 plugin for
Windows and WMF. It is disabled by default. It does not integrate
utilizing the plugin with our WMF framework.
New prefs for the new plugin type include:
- media.gmp-widevinecdm-l1.visible
- media.gmp-widevinecdm-l1.enabled
- media.gmp-widevinecdm-l1.forceInstall
All of the above should be flipped to true in order to make Firefox
install the plugin.
The GMPParent for the plugin can be discovered using SelectPluginForAPI.
The API tags are com.widevine.alpha.experiment and
com.widevine.alpha.experiment2.
Differential Revision: https://phabricator.services.mozilla.com/D192367
This patch adds support for downloading the Widevine L1 plugin for
Windows and WMF. It is disabled by default. It does not integrate
utilizing the plugin with our WMF framework.
New prefs for the new plugin type include:
- media.gmp-widevinecdm-l1.visible
- media.gmp-widevinecdm-l1.enabled
- media.gmp-widevinecdm-l1.forceInstall
All of the above should be flipped to true in order to make Firefox
install the plugin.
The GMPParent for the plugin can be discovered using SelectPluginForAPI.
The API tags are com.widevine.alpha.experiment and
com.widevine.alpha.experiment2.
Differential Revision: https://phabricator.services.mozilla.com/D192367
Create a new utility-process type for the sole use of out-of-process
instantiation of the Windows file dialog.
We do not sandbox this process type, as in certain test environments
sandboxing has been found to prevent the child process from interacting
with any other windows on the desktop -- including the parent process
window which it will need to assign as the parent of the file dialog.
Technically, no functional changes, as this commit adds no uses of this
type. (That will come later in the patchset.)
Differential Revision: https://phabricator.services.mozilla.com/D180341
This was removed in Bug 1580907, but the translations feature needs it
restored in order to transfer MessageChannel ports. A new test is added
as well.
Differential Revision: https://phabricator.services.mozilla.com/D190723
This patch adds a field called OverriddenFingerprintingSettings to
WindowContext. The OverriddenFingerprintingSettings represents the
granular overrides of fingerprinting protections due to WebCompat for
the given context. The value can be Nothing() if there is no overrides
defined for the context.
Differential Revision: https://phabricator.services.mozilla.com/D188758
This patch changes the behavior as follows:
- match_about_blank in content_scripts in manifest.json will now only
run in top-level about:blank if its `matches` key specifies a match
pattern set that is equivalent to all http(s) URLs.
- matchAboutBlank in tabs.executeScript requires activeTab permission
(as before), or an all-URLs host permission.
Differential Revision: https://phabricator.services.mozilla.com/D189492
Introduce `MatchPatternSet::MatchesAllWebUrls()` and
`MatchPattern::MatchesAllWebUrls()` to serve the purpose of determining
whether a match pattern is going to match any http(s) URL.
Differential Revision: https://phabricator.services.mozilla.com/D189491
Since we're exposing Glean types in not-chrome-only contexts like privileged
"about:" pages, we can't live in chrome-webidl/ any longer.
Differential Revision: https://phabricator.services.mozilla.com/D186266
Since we're exposing Glean types in not-chrome-only contexts like privileged
"about:" pages, we can't live in chrome-webidl/ any longer.
Differential Revision: https://phabricator.services.mozilla.com/D186266
Create a new utility-process type for the sole use of out-of-process
instantiation of the Windows file dialog.
We do not sandbox this process type, as in certain test environments
sandboxing has been found to prevent the child process from interacting
with any other windows on the desktop -- including the parent process
window which it will need to assign as the parent of the file dialog.
Technically, no functional changes, as this commit adds no uses of this
type. (That will come later in the patchset.)
Differential Revision: https://phabricator.services.mozilla.com/D180341
This will be used by DevTools to retrieve the name of registered, active, highlights,
in order to display the CSS rules for the `::highlight` pseudo element rules.
Differential Revision: https://phabricator.services.mozilla.com/D186006