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 Van Dyk 86b7d71d5b Bug 1491889 - Update ChromiumCDMChild to hold a promise to track CDM init. r=cpearce
This changeset extends the async initialize functionality added in the prior
changeset by wrapping the Initialize resolver in a promise. This allows us to
use familiar promise machinery to handle async init of the CDM. We do this by
creating the promise and setting up handling when we receive the init message on
the ChromiumCDMChild, but resolving the promise in the `OnInitialized` callback
from the CDM to the ChromiumCDMChild.

We still only support CDM9 as of this changeset. As such, we now manually call
`OnInitialized` to make sure the ChromiumCDMParent is notified that the CDM has
initialized. When we implement the CDM10 interface, these manual calls will be
moved to the CDM9 compat layer, and Widevine CDM10+ can perform its own
callback.

This changeset adds a failure path to initialization, as the `OnInitialized`
interface we implement allows for failure. However, since we manually call into
this path for CDM9 we shouldn't get any such failures. Once CDM10 is fully
implemented its possible that the init callback could indicate failure, and the
handling here would be invoked.

Depends on D6061

Differential Revision: https://phabricator.services.mozilla.com/D6066

--HG--
extra : moz-landing-system : lando
2018-09-25 02:43:55 +00:00
.cargo Bug 1468950 - Update serde_derive patch for changes in WR PR 2819. r=Gankro 2018-06-21 08:15:40 -04:00
.vscode Bug 1493017 - Tweak vscode tasks.json problemMatcher regexes to handle clang/Windows output - r=jya 2018-09-21 10:00:59 +00:00
accessible Merge inbound to mozilla-central a=merge 2018-09-24 12:48:00 +03:00
browser Bug 1486165 - Refactor DnsOverHTTPs tests; re-enable on ccov r=jaws 2018-09-24 21:32:34 +00:00
build Bug 1493093 - Allow to relax MOZ_NON_TEMPORARY_CLASS for some specific constructors r=andi 2018-09-24 22:47:12 +00:00
caps Backed out changeset 510e95767aeb (bug 1490874) for security failures in browser/components/payments/test/mochitest/test_basic_card_form.html CLOSED TREE 2018-09-24 11:43:30 +03:00
chrome Bug 1491394 - Update callsites to use new mozILocaleService API. r=jfkthame 2018-09-21 15:30:37 +00:00
config Backed out 2 changesets (bug 1483780) for build bustages on a CLOSED TREE 2018-09-21 05:43:03 +03:00
db Bug 1491671 - Upgrade to SQLite 3.25.1. r=mak 2018-09-19 13:28:02 +00:00
devtools Bug 832983 - Basic support for adding xhr breakpoints r=jlast 2018-09-21 22:20:37 +00:00
docshell Bug 1443137 - Attempt to fix intermittent in browser_search_notification.js by relying on a different method for opening the tab and waiting for completion before we start a search. r=adw 2018-09-24 17:37:13 +00:00
dom Bug 1491889 - Update ChromiumCDMChild to hold a promise to track CDM init. r=cpearce 2018-09-25 02:43:55 +00:00
editor Bug 1484111 - part 1: Create HTMLEditor::InsertTableCellsWithTransaction() for internal use of nsITableEditor::InsertTableCell() r=m_kato 2018-09-20 11:44:35 +00:00
embedding Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian 2018-01-29 15:20:18 -08:00
extensions Bug 1260399 - Remove deprecated messages in nsICookieManager methods - part 3 - nsICookieManager.cookieExists, r=ehsan 2018-09-24 11:37:57 +02:00
gfx Bug 1493220 - Migrate mozIOSPreferences to use Array<> interface. r=jfkthame 2018-09-22 07:49:05 +00:00
gradle/wrapper Bug 1476165 - Part 2: Update Android Gradle plugin to version 3.1.0. r=nalexander,snorp 2018-07-17 13:20:19 +01:00
hal Bug 1488401 - Remove the remnants of the DiskSpaceWatcher r=asuth,janv,smaug 2018-09-13 06:40:51 +00:00
image Bug 1456558 - Part 3. Implement factor of 2 scaling support for SVGs in VectorImage. r=tnikkel 2018-09-20 20:22:06 -04:00
intl Bug 1493220 - Migrate mozIOSPreferences to use Array<> interface. r=jfkthame 2018-09-22 07:49:05 +00:00
ipc Bug 1493275 - Annotate idle stacks in the chromium event loop on Windows. r=froydnj 2018-09-21 21:22:58 +00:00
js Backed out 2 changesets (bug 1488786) for raptor gdocs failures. CLOSED TREE 2018-09-24 23:19:25 +03:00
layout Backed out changeset 73a8628576e4 (bug 1493710) for failures on layout/reftests/forms/input/shadow-rules.html. CLOSED TREE 2018-09-25 03:57:36 +03:00
media Bug 1473736 - Implement necko part of ESNI r=mak,kmag,mcmanus 2018-09-22 23:54:11 +03:00
memory Bug 1480457-Correct typedef so it matches an earlier typedef r=aklotz 2018-08-30 23:05:59 +03:00
mfbt Bug 1493093 - Allow to relax MOZ_NON_TEMPORARY_CLASS for some specific constructors r=andi 2018-09-24 22:47:12 +00:00
mobile Bug 1127855 - Handle title highlighting properly in all locales r=nalexander 2018-09-24 20:37:01 +00:00
modules Backed out changeset cc0cb1e1912d (bug 1398718) for task timeout after 3600 seconds bustages CLOSED TREE 2018-09-24 19:38:42 +03:00
mozglue Backed out changeset 628ebca30ce3 (bug 1490240) for bustages on [Unified_cpp_crashreporter0.obj]. CLOSED TREE 2018-09-24 17:10:58 +03:00
netwerk Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-24 19:48:37 +03:00
nsprpub Bug 1477680, NSPR 4.20 RTM, no code change, only version number, r=me 2018-08-28 16:21:01 +02:00
other-licenses Bug 1490264 Part 2 - Document our SFX stub version resource edits. r=agashlin 2018-09-11 11:17:30 -07:00
parser Bug 1415980 - make hash keys movable and not copyable; r=erahm 2018-09-20 11:20:36 -04:00
python Bug 1493000: Ensure that mach gtest passes --wait-for-browser to firefox when launcher process is enabled; r=froydnj 2018-09-24 21:29:37 +00:00
security Bug 1491940 - [Mac] Allow Adobe DRM content to play with the Mac Flash sandbox r=Alex_Gaynor 2018-09-24 17:22:49 +00:00
services No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM 2018-09-20 12:47:19 +00:00
servo Backed out changeset 73a8628576e4 (bug 1493710) for failures on layout/reftests/forms/input/shadow-rules.html. CLOSED TREE 2018-09-25 03:57:36 +03:00
startupcache Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
storage Bug 1489147 - Remove the XPCOM component registration for nsXPConnect; r=mccr8 2018-09-06 16:39:35 -04:00
taskcluster No Bug, taskcluster/docker/funsize-update-generator pipfile-update. r=sfraser 2018-09-24 10:23:12 +00:00
testing Bug 1492967 - Merge together remote-browser and browser bindings;r=ochameau,mconley 2018-09-24 16:24:04 +00:00
third_party Backed out changeset 58f0722012cd (bug 1475415) for force-cargo-library-build bustages CLOSED TREE 2018-09-24 19:37:49 +03:00
toolkit Bug 1493027 - part2 : add test. r=cpearce 2018-09-23 22:12:43 +00:00
tools Merge mozilla-inbound to mozilla-central. a=merge 2018-09-22 12:34:50 +03:00
uriloader Bug 1491394 - Update callsites to use new mozILocaleService API. r=jfkthame 2018-09-21 15:30:37 +00:00
view Backout changeset c5b3caf36ddf (bug 1490297) for causing bug 1493081 and making Nightly unusable; a=Aryx 2018-09-21 13:59:25 -04:00
widget Bug 1336712 - widget: Drop test check for OS X 10.6. r=RyanVM 2018-09-13 21:33:19 -07:00
xpcom Bug 1484938 - Make XPCOM string appends and copying assignments write the terminator after writing content. r=froydnj 2018-09-24 14:23:35 +00:00
xpfe/appshell Bug 1489967 - Keep active state when Firefox is moved to background and focusmanager test mode is enabled. r=enndeakin 2018-09-10 15:03:04 +02:00
.arcconfig Bug 1460463 - Update .arcconfig to make history mutable; r=gps 2018-05-09 23:49:52 +00:00
.clang-format
.clang-format-ignore Bug 1489449 - Add prio and other thirdparty libs to the list of thirdparty code r=janx 2018-09-07 12:08:25 +00:00
.cron.yml Bug 1493071 Rename bouncer_check cron task r=mtabara 2018-09-24 16:01:45 +00:00
.eslintignore Bug 1489980 - Enable ESLint for editor/ - Manual fixes. r=masayuki 2018-09-13 07:59:47 +00:00
.eslintrc.js Bug 1486739 - Enable ESLint rule comma-dangle for browser/, services/, taskcluster/ and toolkit/ directories. r=mossop 2018-08-31 06:06:08 +00:00
.flake8 Backed out changeset aae4f349fa58 (bug 1479503) per developer's request on IRC a=backout 2018-09-14 16:35:23 +03:00
.gdbinit Bug 1486903 - Add "ftl" command to dump frame subtree to .gdbinit. r=Ehsan 2018-08-28 20:20:21 +00:00
.gdbinit_python
.gitignore Bug 1484708 - Update .gitignore rules and add js/src/obj-*. r=ted.mielczarek 2018-08-20 09:03:00 +03:00
.hgignore Backed out changeset aae4f349fa58 (bug 1479503) per developer's request on IRC a=backout 2018-09-14 16:35:23 +03:00
.hgtags No bug - Tagging mozilla-central 034c5ef24e98b0ce85fa849face079f568eb397c with FIREFOX_NIGHTLY_63_END a=release DONTBUILD CLOSED TREE 2018-09-04 11:10:28 -07:00
.lldbinit Bug 1481555: Use lldb's python API to summarise nsAtoms. r=froydnj 2018-08-08 15:11:22 +00:00
.mailmap NO BUG - Use ato's new address. r=me 2018-02-26 15:59:29 +00:00
.taskcluster.yml Bug 1490515: add "on-completed" notify route to try push decision tasks r=tomprince 2018-09-24 13:46:55 +00:00
.trackerignore Bug 1486468 - Add .trackerignore file to avoid GNOME Tracker indexing mozilla-central files. r=ahal 2018-08-27 16:45:03 +02:00
.yamllint
.ycm_extra_conf.py
aclocal.m4
AUTHORS Bug 1481409 - Use HTTPS protocol for Mozilla's Credits link in AUTHORS file r=mossop 2018-08-13 16:39:30 +00:00
build.gradle Bug 1485439 - Pre: Upgrade Android Gradle plugin. r=nalexander 2018-09-04 22:33:00 +02:00
Cargo.lock Backed out changeset 58f0722012cd (bug 1475415) for force-cargo-library-build bustages CLOSED TREE 2018-09-24 19:37:49 +03:00
Cargo.toml Bug 1474871 - Link dump_syms against rustc-demangle. r=ted 2018-07-12 10:23:12 +09:00
client.mk bug 1490325 - write sccache log directly to artifact directory, make logs slightly more verbose. r=mshal 2018-09-18 20:02:17 +00:00
client.py
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2018-09-04 11:15:27 -07:00
configure.in
configure.py Bug 1461836 - Write out complete configure dependencies from configure for consumption by make and non-make backends. r=mshal 2018-05-21 14:01:50 -07:00
GNUmakefile
gradle.properties Bug 1453413 - Use aapt2 to build Firefox for Android. r=mcomella 2018-04-11 09:59:22 -07:00
gradlew
LEGAL
LICENSE
mach
Makefile.in bug 1490325 - write sccache log directly to artifact directory, make logs slightly more verbose. r=mshal 2018-09-18 20:02:17 +00:00
moz.build Bug 1346026 - Vendor pipenv 2018.5.18 and transient dependencies; r=ahal 2018-05-17 19:06:20 +01:00
moz.configure Backed out changeset aae4f349fa58 (bug 1479503) per developer's request on IRC a=backout 2018-09-14 16:35:23 +03:00
mozilla-config.h.in Bug 1463637: Remove mozilla-config.h hacks for Hunspell extra includes. r=ted 2018-05-22 20:36:39 -07:00
old-configure.in Backed out 2 changesets (bug 1483780) for build bustages on a CLOSED TREE 2018-09-21 05:43:03 +03:00
package-lock.json Bug 1493654 - Upgrade eslint-plugin-html to 4.0.6 to pick up performance fix. r=mossop 2018-09-24 15:33:56 +00:00
package.json Bug 1493654 - Upgrade eslint-plugin-html to 4.0.6 to pick up performance fix. r=mossop 2018-09-24 15:33:56 +00:00
Pipfile Bug 1490128: upgrade json-e==2.7.0 r=davehunt 2018-09-11 21:14:52 +00:00
Pipfile.lock Bug 1490128: upgrade json-e==2.7.0 r=davehunt 2018-09-11 21:14:52 +00:00
README.txt Bug 1460030 - Update the nightly URL in the README.txt file r=kohei 2018-05-08 21:22:10 +02:00
settings.gradle Bug 1444546 - Part 2: Build annotationProcessors with Gradle. r=jchen 2018-02-22 16:11:14 -08:00
test.mozbuild

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

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

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