gecko-dev/testing
Chris Pearce ce7bb69227 Bug 1358373 - Handle underestimating how many shmems the CDM needs to return decoded video frames to Gecko. r=gerald
The CDM process can't allocate shmems itself because it's sandboxed, so we
pre-allocate shmems in the content process and send them to the GMP process for
the CDM to use. Some sites seem to have encoded their content in such a way as
to cause the CDM to allocate and hang onto more frames than we pre-allocate; so
we run out of shmems in the GMP process, and the CDM can't allocate further
buffers to return output, and we fail.

So change the ChromiumCDMChild to allocate non-shmem-backed buffers if it runs
out of shmems, and return the result to the content process as an nsTArray.
Upon receiving that, the parent will send an extra shmem to the child, to
hopefully avoid the slow path again.

Also increase media.eme.chromium-api.video-shmems to 4, so that we're less
likely to hit this slow path in the wild. I've seen that Lightbox.co.nz and
Microsoft's EME test-drive require 4 shmems.

MozReview-Commit-ID: ISQYDkTj5uY

--HG--
extra : rebase_source : 92870f1adc7ae68e58b15443e4223012bdf0e39a
2017-04-26 15:46:09 +12:00
..
awsy Bug 1352054 - Support mach awsy-test on Windows, r=erahm, jmaher. 2017-04-20 16:07:07 -07:00
config Bug 1336107 - Update geckodriver to v0.15.0 2017-03-17 14:34:36 +00:00
crashtest Bug 1352333 - remove autophone webrtc test manifests, r=dminor. 2017-04-20 14:13:34 -07:00
firefox-ui Bug 1290850 - Force local update URL for software update unit tests. r=maja_zf 2017-04-24 15:09:25 +02:00
gtest Bug 964133 - Build webrtc.org unit tests; r=jesup,ted.mielczarik 2017-03-27 15:51:16 -04:00
instrumentation Bug 1326465 - add BUG_COMPONENTS to testing/. r=gbrown,ted 2016-12-30 16:16:56 -05:00
marionette Backed out changeset 4a9cc95b8a9f (bug 1335778) for failing firefox-ui-functional-local's test_notifications.py TestNotifications.test_addon_install_failed_notification. r=backout 2017-04-26 14:13:09 +02:00
mochitest Bug 1355834 - Report LLVM symbolizer OOMs as errors. r=jgraham 2017-04-12 11:01:24 -07:00
modules Bug 1356440 - Favicons of bookmarks views don't update on visit. r=mrbkap,past,enndeakin 2017-04-19 11:41:49 +02:00
mozbase Bug 1340233 - Take more care when killing browser before starting Android tests; r=jmaher 2017-04-12 09:15:53 -06:00
mozharness Merge m-c to autoland a=merge 2017-04-26 17:43:38 -07:00
profiles Bug 1358373 - Handle underestimating how many shmems the CDM needs to return decoded video frames to Gecko. r=gerald 2017-04-26 15:46:09 +12:00
runtimes Bug 1326465 - add BUG_COMPONENTS to testing/. r=gbrown,ted 2016-12-30 16:16:56 -05:00
specialpowers Bug 1357846 - Introducing nsIFilePicker.displaySpecialDirectory, r=smaug 2017-04-26 18:20:19 +02:00
talos Bug 1251198 - Remove various obsolete events from document.createEvent r=smaug 2017-04-20 15:45:37 +03:00
tools Bug 1355260 - Allow for variability in mochitest-dt and bc e10s names in try syntax; r=chmanchester 2017-04-12 09:15:55 -06:00
tps Bug 1350135 - Fix failing TPS test_history_collision.js test r=markh 2017-04-19 14:38:00 -04:00
web-platform Bug 1359453 - Use standard exception for selection.removeRange() r=masayuki 2017-04-26 15:50:36 +03:00
xpcshell Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
README.txt
cppunittest.ini Bug 1322707 - Stop building signaling_unittest and mediapipeline_unittests; r=jesup,glandium 2016-12-09 09:09:41 -10:00
mach_commands.py Bug 1340584 - Remove devicemanagerSUT and references to sutagent; r=wlach 2017-03-21 12:20:01 -06:00
moz.build Bug 1352333 - remove autophone webrtc test manifests, r=dminor. 2017-04-20 14:13:34 -07:00
remotecppunittests.py Bug 1355222 - When debug logging requested for android mach test commands, enable devicemanager logging; r=jmaher 2017-04-11 09:21:37 -06:00
runcppunittests.py Backed out changeset 18fd8676751a (bug 1333003) 2017-03-23 10:38:04 +01:00
testsuite-targets.mk Bug 1340584 - Remove devicemanagerSUT and references to sutagent; r=wlach 2017-03-21 12:20:01 -06:00

README.txt

Common testing tools for mozilla codebase projects, test suite definitions
for automated test runs, tests that don't fit anywhere else, and other fun
stuff