Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Go to file
Bryce Seager van Dyk acbeaeeb24 Bug 1706164 - Plumb QueryOutputProtectionStatus requests from the CDM to MediaKeys. r=alwu
This patch plumbs the QueryOutputProtectionStatus call from the CDM up to the
MediaKeys. This is plumbing is done to get the request to an endpoint of Gecko
C++ code, and future patches will do further plumbing in order to complete the
query.

After the first query is complete, we cache the result in a CDM's
ChromiumCDMParent and update the value only when notified of changes from the
MediaKeys. This has the benefit of that checks after the first don't need to
touch the main thread. This avoids adding more main thread work, and means we
can still complete checks in a timely fashion even if the main thread is running
hot.

We cache in the parent rather than the child so that the parent can make
decisions on how to handle requests even if the CDM machinery is not yet fully
initialized. In future it may make sense to move the caching to the child, but
I'd prefer to do this only after other refactoring of the machinery which I
consider out of scope for this bug.

Future patches will ensure listeners are in place such that the cached data is
updated when updates are received further up the stack.

Differential Revision: https://phabricator.services.mozilla.com/D115415
2021-05-24 16:50:18 +00:00
.cargo Bug 1712368 - update mp4parse-rust to dd96773. r=kinetik 2021-05-22 16:28:08 +00:00
.vscode Bug 1701913 - Documentation regarding Remote Development over SSH using VS Code. r=marco 2021-03-30 14:44:51 +00:00
accessible Bug 1710975: Fix child/sibling functions regarding top level remote documents. r=eeejay 2021-05-21 06:18:19 +00:00
browser Bug 1711117 - Disable browser_bookmark_add_tags.js on Linux for frequent failures. r=Standard8 2021-05-24 15:25:39 +00:00
build Bug 1712043 - Upgrade GCC versions to latest dot-release. r=firefox-build-system-reviewers,andi,mhentges 2021-05-20 23:36:09 +00:00
caps Backed out 9 changesets (bug 1700623) for causing bc failures in browser_history_menu.js a=backout 2021-05-21 11:43:54 +03:00
chrome Bug 1695162 - Use range-based for instead of custom hashtable iterators. r=xpcom-reviewers,kmag 2021-03-17 15:49:46 +00:00
config Bug 1701269 - Remove mobile/android/base. r=nalexander,flod,owlish 2021-05-20 22:03:03 +00:00
devtools Bug 1709792 - [devtools] Support target switching in har automation. r=bomsy 2021-05-24 15:37:33 +00:00
docs Bug 1711824 - Removing documentation on MOZ_BUILD_PROJECTS because it is obsolete r=firefox-build-system-reviewers,mhentges 2021-05-19 14:17:25 +00:00
docshell Backed out 9 changesets (bug 1700623) for causing bc failures in browser_history_menu.js a=backout 2021-05-21 11:43:54 +03:00
dom Bug 1706164 - Plumb QueryOutputProtectionStatus requests from the CDM to MediaKeys. r=alwu 2021-05-24 16:50:18 +00:00
editor Bug 1694255 - Allow delete previous block element. r=masayuki 2021-05-21 01:48:58 +00:00
extensions Bug 1708422: part 18) Factor mozInlineSpellChecker::SpellCheckerSlice::IsInNoCheckRange out. r=smaug 2021-05-20 13:00:01 +00:00
gfx Bug 1519636 - Reformat recent changes to the Google coding style. r=emilio 2021-05-24 15:08:47 +00:00
gradle/wrapper
hal Bug 1710473 - Remove hal::SetProcessPrioritySupported(). r=gsvelto,geckoview-reviewers,aklotz 2021-05-10 19:59:24 +00:00
image Bug 1712368 - update mp4parse-rust to dd96773. r=kinetik 2021-05-22 16:28:08 +00:00
intl Bug 1707733 - Backfill FluentBundle tests for DATETIME(); r=dminor 2021-05-21 13:57:07 +00:00
ipc Bug 1708042, add support for 'control' priority in ipdl, r=jld,ipc-reviewers 2021-05-21 15:46:46 +00:00
js Bug 1519636 - Reformat recent changes to the Google coding style. r=emilio 2021-05-24 15:08:47 +00:00
layout Bug 1519636 - Reformat recent changes to the Google coding style. r=emilio 2021-05-24 15:08:47 +00:00
media Bug 1712411 - Update jpeg-xl to 44778c6902084bd239c5fb8eaa53bfd90dd9face r=saschanaz 2021-05-22 13:48:06 +00:00
memory Bug 1709277 - Simplify gOOMAllocationSize via MFBT_DATA r=glandium 2021-05-20 06:53:27 +00:00
mfbt Bug 1710145 - Deduction guide RefPtr(already_AddRefed<T>) -> RefPtr<T> - r=kmag 2021-05-11 21:55:21 +00:00
mobile Bug 1705181 - Adjust rAF rate for asyncScriptsSuspendedWhileInactive. r=owlish 2021-05-21 23:45:12 +00:00
modules Bug 1712269 - Make IMContextWrapper not use a set of composition if committed string is inserted without native composition signals r=m_kato 2021-05-24 05:57:07 +00:00
mozglue Bug 1701269 - Remove unused MinidumpAnalyzer. r=owlish 2021-05-20 22:03:03 +00:00
netwerk Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio 2021-05-24 15:08:48 +00:00
nsprpub Bug 1708093 - NSPR_4_31_BETA1. r=bbeurdouche UPGRADE_NSPR_RELEASE 2021-04-29 08:41:41 +00:00
other-licenses
parser Bug 1694662 - Remove appcache logic from content sink r=necko-reviewers,dragana 2021-04-30 07:20:18 +00:00
python Bug 1712150 - take branches into account in release-started email notification. r=releng-reviewers,aki 2021-05-21 12:51:41 +00:00
remote Bug 1711599 - remove unused HSTS dynamic preloading implementation r=rmf,remote-protocol-reviewers,marionette-reviewers,whimboo 2021-05-20 00:27:12 +00:00
security Bug 1519636 - Reformat recent changes to the Google coding style. r=emilio 2021-05-24 15:08:47 +00:00
services No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM 2021-05-24 13:18:18 +00:00
servo Bug 1709018 - Don't simplify percentages that resolve to lengths in min/max/clamp. r=boris 2021-05-21 00:39:48 +00:00
startupcache Bug 708901 - Migrate to nsTHashSet in startupcache. r=dthayer 2021-03-23 10:36:39 +00:00
storage Bug 1679522 - Fix include directives and forward declarations. r=andi,necko-reviewers,jgilbert 2021-03-25 10:19:44 +00:00
taskcluster Bug 1709810 - Remove outdated comment in taskcluster/test/test_mach_try_auto.py about Mac shippable builds. r=ahal DONTBUILD 2021-05-24 12:57:49 +00:00
testing Bug 1686765 - Update newline normalization in form payloads. r=smaug 2021-05-24 13:17:56 +00:00
third_party Bug 1712368 - update mp4parse-rust to dd96773. r=kinetik 2021-05-22 16:28:08 +00:00
toolkit Bug 1700976 - do not prompt for externally-opened web- or extension-handled 'external' protocols, r=zombie 2021-05-24 16:02:50 +00:00
tools Backed out changeset 2b813a59026a (bug 1710015) for causing crashes. 2021-05-24 01:28:47 +03:00
uriloader Bug 1700976 - do not prompt for externally-opened web- or extension-handled 'external' protocols, r=zombie 2021-05-24 16:02:50 +00:00
view Bug 1710533 - Apply the widget size constraints to newBounds r=mstange,gfx-reviewers 2021-05-13 09:34:26 +00:00
widget Bug 1710474 - Don't roll up native context menus in response to wheel events. r=mac-reviewers,spohl,bradwerth 2021-05-24 15:14:04 +00:00
xpcom Bug 1708042, add control priority to the main thread, r=bas 2021-05-21 15:46:45 +00:00
xpfe/appshell Bug 1706316 - Part 2: Remove nsIBaseWindow::setFocus; r=hsivonen 2021-05-10 20:05:12 +00:00
.arcconfig
.babel-eslint.rc.js Bug 1702166 - Update ESLint, Babel and associated modules to the latest versions. r=mossop,nchevobbe 2021-04-04 08:05:39 +00:00
.clang-format
.clang-format-ignore
.cron.yml Bug 1707937 - Consolidate live performance tests into a single schedule; r=perftest-reviewers,sparky 2021-05-05 11:45:03 +00:00
.eslintignore Bug 1682719 - [meta] Enables eslint on browser/extensions/screenshots. r=emalysz 2021-04-20 19:39:48 +00:00
.eslintrc.js Bug 1710273 - Stop using ChromeUtils.import(..., null) for importing EnterprisePolicies.jsm. r=nhnt11,extension-reviewers,preferences-reviewers,zombie 2021-05-12 23:16:33 +00:00
.flake8 Bug 1622676 - Made dom/base flake8 compliant.r=championshuttler,sylvestre 2021-03-24 15:26:06 +00:00
.git-blame-ignore-revs
.gitattributes
.gitignore
.hg-annotate-ignore-revs
.hg-format-source
.hgignore Bug 1703105 - wasm: Move generate-spectest tool into tree. r=lth 2021-04-13 16:41:46 +00:00
.hgtags No bug - tagging a69c07c7da3a386e3baf4b7d604312d3fa974273 with FIREFOX_NIGHTLY_89_END a=release DONTBUILD CLOSED TREE 2021-04-19 19:08:56 +00:00
.lldbinit
.mailmap
.prettierignore
.prettierrc
.taskcluster.yml Bug 1696944 - Part 3 - Add new image to taskcluster.yml. r=aki 2021-03-17 11:22:02 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py
aclocal.m4
AUTHORS
build.gradle
Cargo.lock Bug 1712368 - update mp4parse-rust to dd96773. r=kinetik 2021-05-22 16:28:08 +00:00
Cargo.toml Backed out 2 changesets (bug 1710685) for causing build bustage. CLOSED TREE 2021-05-18 19:41:33 +03:00
client.mk Bug 1683797: Removes unnecessary lines from client.mk r=sheehan,firefox-build-system-reviewers,glandium 2021-03-09 14:45:24 +00:00
client.py No bug - fix client.py update_nss on python3. r=firefox-build-system-reviewers,mhentges,bbeurdouche 2021-05-05 16:59:09 +00:00
CLOBBER Bug 1705372 - Add new Amazon search engine definitions. r=daleharvey 2021-04-27 18:46:35 +00:00
configure.in
configure.py
GNUmakefile
gradle.properties
gradlew
gradlew.bat
LICENSE
mach Bug 1700419 - Remove py2commands logic from mach driver.r=ahal 2021-03-26 05:26:47 +00:00
mach.ps1
Makefile.in
moz.build Bug 1705403 - Replace FOG's Glean autodocs with link to Glean Dictionary r=janerik DONTBUILD 2021-05-10 13:33:09 +00:00
moz.configure Bug 1706774: Add tools to VisualStudio backend exclusions r=firefox-build-system-reviewers,nalexander 2021-05-18 15:00:39 +00:00
mozilla-config.h.in
old-configure.in Bug 1710957 - Do not pass -RELEASE argument to lld-link. r=firefox-build-system-reviewers,mhentges,glandium 2021-05-20 16:02:35 +00:00
package-lock.json Bug 1702858 - Update node modules for latest versions, remove obsolete. r=mossop 2021-05-19 16:53:53 +00:00
package.json Bug 1702858 - Update node modules for latest versions, remove obsolete. r=mossop 2021-05-19 16:53:53 +00:00
README.txt
settings.gradle
substitute-local-geckoview.gradle
test.mozbuild

An explanation of the Firefox Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://firefox-source-docs.mozilla.org/contributing/directory_structure.html

For information on how to build Firefox from the source code and create the patch see:

    https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html

If you have a question about developing Firefox, and can't find the solution
on https://firefox-source-docs.mozilla.org/, you can try asking your question on Matrix at chat.mozilla.org in `Introduction` (https://chat.mozilla.org/#/room/#introduction:mozilla.org) channel.


Nightly development builds can be downloaded from:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly

Keep in mind that nightly builds, which are used by Firefox developers for
testing, may be buggy.