gecko-dev/dom
Bryce Van Dyk f88683aacf Bug 1496501 - Do not mark CDM input as unencrypted even if it has no encrypted bytes. r=cpearce
Bug 1494178 added code to mark samples with 0 encrypted ranges as unencrypted
before they were fed to the CDM. This was to catch issues where we could mark
such unencrypted samples as encrypted. However, the CDM expects certain samples
that are clear to still be marked as encrypted.

Specifically, WebM samples should be marked as encrypted if they are from an
encrypted track and have the signal byte's encryption bit set (a marker for if
the packet is encrypted), even if they have no encrypted ranges.

The WebM demuxer is already doing this. Further inspection and testing of the
mp4 demuxer shows it is behaving in line with Chromium's current mp4 parser,
which we can expect prepares its data sensibly for Widevine.

As the code removed here was added as a safety fallback, but is causing issues,
and as the demuxers already appear to be doing the right thing, the fallback
code can be removed.

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

--HG--
extra : moz-landing-system : lando
2018-10-08 22:34:32 +00:00
..
abort Bug 1488427 - AbortSignal::Unfollow() must be called when unlinked, r=smaug 2018-09-07 11:05:47 +02:00
animation Backed out changeset 113f6263774f (bug 1495350) for TV failures that turned to tier1 failures in dom/animation/test/mozilla/test_style_after_finished_on_compositor.html 2018-10-04 11:15:37 +03:00
asmjscache
audiochannel Bug 1489362 - Part 1: Remove the XPCOM registration for AudioChannelAgent; r=baku 2018-09-07 12:05:40 -04:00
base Bug 1310193 - Remove wrapping of nsISupports as nsISupportsInterfacePointer in transferables. r=smaug 2018-10-07 16:33:07 +02:00
battery Bug 1482753 - Move battery/Types.h into hal/ and BatteryObserver into hal namespace. r=gsvelto 2018-08-13 10:57:50 +09:00
bindings Bug 1496805. Add some more instrumentation to try to pin down why ClearDocumentDependentSlots crashes. r=mccr8 2018-10-05 15:59:43 -04:00
broadcastchannel Bug 1493737 - Fix many trivial calls to do_QueryInterface r=smaug 2018-10-01 21:38:01 +00:00
browser-element Bug 1493655 - make nsISecureBrowserUI initialize from a docshell instead of a window, r=keeler,nika 2018-09-26 17:48:38 +00:00
cache Bug 1489844 - Port DOMPrefs to StaticPrefs - part 9 - dom.serviceWorkers.testing.enabled, r=ehsan 2018-09-10 20:36:16 +02:00
canvas Merge inbound to mozilla-central. a=merge 2018-10-09 00:52:28 +03:00
chrome-webidl Bug 1494529 - kill #text-label binding, r=smaug 2018-10-02 10:15:51 +08:00
clients Backed out 11 changesets (bug 1493563) for failures on dom/workers/test/test_sharedworker_event_listener_leaks.html on a CLOSED TREE 2018-09-26 06:16:22 +03:00
commandhandler Bug 1415980 - make hash keys movable and not copyable; r=erahm 2018-09-20 11:20:36 -04:00
console Bug 1489047 - Change almost all DOMString occurrences in XPIDL files to AString. r=nika 2018-09-06 18:02:43 +10:00
credentialmanagement Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
crypto Bug 1479787 - use NSS mozpkix in Firefox, r=mt,keeler,glandium 2018-10-02 14:59:34 +02:00
encoding Bug 1481927. Always pass an object from the "relevant global" to Web IDL APIs that have a non-wrapper-cached "this". r=bholley 2018-08-29 03:03:46 +00:00
events Bug 1310193 - Remove wrapping of nsISupports as nsISupportsInterfacePointer in transferables. r=smaug 2018-10-07 16:33:07 +02:00
fetch Bug 1496621 - reject Fetch promises with (informative) TypeErrors when decoding fails, per spec; r=baku 2018-10-08 23:57:23 +00:00
file Bug 1493737 - Fix many trivial calls to do_QueryInterface r=smaug 2018-10-01 21:38:01 +00:00
filehandle Bug 1491558 - Remove the XPCOM registration for nsThreadPool; r=froydnj 2018-09-15 12:13:57 -04:00
filesystem
flex
gamepad Bug 1487079 - Fix hasOrientation and hasPosition are switched on WebVR GamepadPose r=qdot,kip 2018-08-29 22:09:48 +00:00
geolocation Bug 1495364 - FeaturePolicy: geolocation, r=smaug 2018-10-06 13:10:30 +02:00
grid Bug 1453795 - DOM - Initialize member fields in classes/ structures. r=peterv 2018-06-16 17:21:46 +03:00
html Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-09 00:56:03 +03:00
imptests No bug - fix typos in Bugzilla components metadata in moz.build files. r=me DONTBUILD 2018-04-19 15:50:31 +03:00
indexedDB Bug 1496791 - Disable linux64-jsdcov completely. r=jmaher 2018-10-05 21:06:25 +00:00
interfaces Bug 1441752 - Adding an new attribute regionCode in PaymentAddress. r=baku 2018-09-28 12:21:59 +02:00
ipc Backed out 5 changesets (bug 1431441) for failing devtools at client/debugger/new/test/mochitest/browser_dbg_rr_breakpoints-01.js on OSX opt a=backout 2018-10-03 09:39:01 +03:00
jsurl
locales Backed out 2 changesets (bug 1493779) for failing android mochitest media on a CLOSED TREE 2018-10-08 14:25:15 +03:00
manifest
mathml Bug 1492894 - part 1 - make the node hierarchy consistently constructed with NodeInfo&&; r=mccr8 2018-09-21 16:45:49 -04:00
media Bug 1496501 - Do not mark CDM input as unencrypted even if it has no encrypted bytes. r=cpearce 2018-10-08 22:34:32 +00:00
messagechannel
midi
network
notification Bug 1489844 - Port DOMPrefs to StaticPrefs - part 7 - dom.webnotifications.requireinteraction.enabled, r=ehsan 2018-09-10 20:36:15 +02:00
offline Bug 1490874: Log Principal based Security Errors to the Security pane in the console. r=smaug 2018-09-25 07:25:05 +02:00
payments Bug 1441752 - mochitest for PaymentAddress.regionCode. r=baku 2018-10-04 11:35:03 +02:00
performance Bug 1336712 - dom: Remove performance.now() test checks for Windows XP. r=bzbarsky 2018-09-13 23:39:41 -07:00
permission Bug 1278831 - PermissionStatus must keep itself alive when it has a event listener, r=smaug 2018-08-01 00:19:12 +02:00
plugins Merge inbound to mozilla-central. a=merge 2018-10-04 07:03:25 +03:00
power
presentation Backed out 11 changesets (bug 1493563) for failures on dom/workers/test/test_sharedworker_event_listener_leaks.html on a CLOSED TREE 2018-09-26 06:16:22 +03:00
prio Bug 1491737 - ensure that PrioEncoder handles bad public keys correctly r=hsivonen 2018-09-24 06:37:40 +00:00
promise Bug 1486130: Follow-up: Ignore extra console message on OS-X. r=bustage,test-only 2018-08-28 11:21:57 -07:00
push Bug 1470266 - [ci] Schedule serviceworker-e10s mochitest tasks with linux64/debug on mozilla-central, r=jmaher 2018-10-05 19:12:27 +00:00
quota Bug 1389380 - Add a test for storage pressure event; r=janv 2018-10-04 10:32:41 +02:00
res
script Bug 1495011. r=baku. 2018-10-08 11:13:52 +03:00
security Bug 1495983: Assert system privileged about: pages have CSP. r=smaug 2018-10-03 09:47:08 +02:00
serviceworkers Bug 1470266 - [ci] Schedule serviceworker-e10s mochitest tasks with linux64/debug on mozilla-central, r=jmaher 2018-10-05 19:12:27 +00:00
simpledb Bug 1486690 - Remove unnecessary checks after moz_xmalloc() calls. r=glandium 2018-08-28 15:56:01 +10:00
smil Bug 1415980 - make hash keys movable and not copyable; r=erahm 2018-09-20 11:20:36 -04:00
storage Bug 1415980 - make hash keys movable and not copyable; r=erahm 2018-09-20 11:20:36 -04:00
svg Merge inbound to mozilla-central a=merge 2018-09-28 00:36:46 +03:00
system Backed out 3 changesets (bug 1388134) for crashes on [@ nsXPCWrappedJS::CallMethod(unsigned short, nsXPTMethodInfo const*, nsXPTCMiniVariant*)]. CLOSED TREE 2018-10-01 21:03:19 +03:00
tests Bug 1494230 - replace #text-base binding by webidl control, r=smaug 2018-10-01 11:37:39 +08:00
u2f Bug 1479787 - use NSS mozpkix in Firefox, r=mt,keeler,glandium 2018-10-02 14:59:34 +02:00
url Backed out 10 changesets (bug 1485305)for failing browser chrome tests on browser_loadDisallowInherit.js 2018-09-18 20:30:07 +03:00
vr Bug 1493737 - Fix many trivial calls to do_QueryInterface r=smaug 2018-10-01 21:38:01 +00:00
webauthn Bug 1494386 - Uplift u2f-hid-rs 0.2.2, Windows aarch64 fix r=keeler 2018-10-05 00:05:04 +00:00
webbrowserpersist
webgpu
webidl Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-09 00:56:03 +03:00
websocket Bug 1489098 - Remove useless use of PromiseFlatString. r=peterv 2018-09-11 17:17:05 +00:00
workers Bug 1493629 - Better management of CSP EventListener for workers, r=ckerschb 2018-10-05 07:41:12 +02:00
worklet Bug 1473467: implement AudioWorkletGlobalScope::RegisterProcessor(). r=baku,karlt 2018-10-08 19:15:13 +00:00
xbl Bug 1493737 - Fix many trivial calls to do_QueryInterface r=smaug 2018-10-01 21:38:01 +00:00
xhr Bug 1491504 - shortcut blob responses from XHR and fetch when the URL is a blob URL; r=baku 2018-10-06 17:34:24 +00:00
xml Bug 1493276 - Statically prevent CallQueryInterface to a base class r=froydnj 2018-09-27 14:59:55 +00:00
xslt Bug 1415980 - make hash keys movable and not copyable; r=erahm 2018-09-20 11:20:36 -04:00
xul Bug 1461798 - Migrate <tooltip> to a C++ implementation. r=smaug 2018-10-03 20:42:19 +00:00
jar.mn
moz.build bug 1485946 - skip building libprio on MSVC r=froydnj 2018-08-27 20:07:51 +00:00