JW Wang
9fcd26988d
Bug 1311872. Part 1 - remove dormant code from MediaDecoder and its friends. We will let MDSM solely decide when to enter/exit dormant. r=cpearce,jya
...
MozReview-Commit-ID: 4rRSGcruy7Z
--HG--
extra : rebase_source : 6bff3bde442dbc96ce23a4a1aabae9ec79f1b9f0
extra : intermediate-source : 456de41037090ff072925d937b001de31a479556
extra : source : 525be5a0f46950ced9efba9a7cfeda26ce73cfb8
2016-10-20 15:20:25 +08:00
Phil Ringnalda
45c34d7e95
Merge m-c to autoland
2016-11-02 20:03:20 -07:00
Phil Ringnalda
393b414467
Merge m-i to m-c, a=merge
...
MozReview-Commit-ID: 48WAQwKUCpw
2016-11-02 19:28:38 -07:00
Sebastian Hengst
5cd97768df
Backed out changeset 0473f2d0d024 (bug 1289001) for eslint failures. r=backout on a CLOSED TREE
2016-11-02 23:04:44 +01:00
Shih-Chiang Chien
e1a55792f5
Bug 1314229 - return undefined/null for defaultRequest/receiver if not in corresponding UA or context. r=smaug.
...
MozReview-Commit-ID: KUWdfz1u55O
--HG--
extra : rebase_source : 8720563524bfd58f8be65d84cda48984f134f074
2016-11-02 17:53:31 +08:00
Chris Pearce
50f2864875
Bug 1314445 - Fix test_eme_request_notifications to not fail on WinXP. r=bustage
...
MozReview-Commit-ID: 5zbySCZtI1b
2016-11-03 14:43:04 +13:00
Wes Kocher
0b825de25a
Backed out changeset e71aa9bcb92c (bug 1309913) for osx reftest failures in linear-gradient-1a.html a=backout
2016-11-02 10:48:07 -07:00
Andrea Marchesini
d20e6fd29f
Bug 1289001 - NeckoParent::GetValidatedAppInfo should consider ServiceWorkers when validating HttpChannel requests, r=bkelly, r=valentin, f=asuth
2016-11-02 21:57:45 +01:00
Matt Woodrow
5375ddbb83
Bug 1300681 - Use gfxVars for DXVA blacklist prefs so that they work in the GPU process. r=dvander,gerald
2016-11-03 09:57:18 +13:00
Matt Woodrow
552d016944
Bug 1300678 - Use gfxPrefs for media vars that get accessed from the GPU process. r=jya
2016-11-03 09:57:18 +13:00
Matt Woodrow
b087b32f08
Bug 1314192 - Initialize the normal WMF PDM as well as the Remote one since we need it as fallback for audio. r=jya
2016-11-03 09:57:18 +13:00
Matt Woodrow
3b4d158ee3
Bug 1314189 - Only create a RemoteVideoDecoder if the current LayerManager is using the GPU process. r=dvander
2016-11-03 09:57:15 +13:00
Matt Woodrow
f884ec26e9
Bug 1300675
- Rebuild VideoDecoderManager when we restart the GPU process. r=dvander
2016-11-03 09:55:07 +13:00
Matt Woodrow
9e56f22190
Bug 1314186 - Resync LayerTreeId mappings to the GPU process if it restarts. r=dvander
2016-11-03 09:55:07 +13:00
Ryan Hunt
e79eae17bc
Bug 1313884 - Check if mTarget is null in CanvasRenderingContext2D::DrawImage
...
--HG--
extra : rebase_source : 0eb7b22cd829dc5f4ad6eaaa44a0009529010e47
2016-11-01 13:56:55 -05:00
Sebastian Hengst
a3b55f01b5
Backed out changeset 021cef553ece (bug 1312148) for failing test_bitmaprenderer.html on Windows 8 x64 opt. r=backout
2016-11-02 17:46:04 +01:00
Chris Pearce
824ce92dc8
Bug 1314445 - Update tests for CDM request notifications to reflect new behaviour. r=gerald
...
MozReview-Commit-ID: JgKMFHW2al3
--HG--
extra : rebase_source : 62c6da570c7f0b0216157f133137d0ae647ec0f7
2016-11-02 16:14:16 +13:00
Chris Pearce
41c0c8d360
Bug 1314445 - Remove tests for CDM versions specified in keysystem string. r=gerald
...
MozReview-Commit-ID: F12I1cmfvke
--HG--
extra : rebase_source : 11b2c67353b3fb9affbcd4de53aa5e9cdc9910a6
2016-11-02 16:13:45 +13:00
Chris Pearce
f0fecc8c28
Bug 1314445 - Remove unused enum values from MediaKeySystemStatus. r=smaug
...
This WebIDL enum/dict is used to pass messages from Gecko to the front-end
chrome JS code to notify it of problems starting up EME CDMs. This patch
removes some statuses from the enum that are no longer dispatched as of an
earlier patch in this series.
MozReview-Commit-ID: KjbUTvLBhjw
--HG--
extra : rebase_source : 9c9ddf6b2b9df845a2807186e8649684e9227ee3
2016-11-02 11:59:51 +13:00
Chris Pearce
d5c366c045
Bug 1314445 - Remove unused ParseKeySystem(). r=gerald
...
MozReview-Commit-ID: KdIpvet73LR
--HG--
extra : rebase_source : aed95e2b024af6fa36f0da96f564966c8d7f3a7d
2016-11-02 13:56:23 +13:00
Chris Pearce
c28985ad89
Bug 1314445 - Remove GMPService::GetPluginVersionForAPI. r=gerald
...
MozReview-Commit-ID: ybq6ZZlA9P
--HG--
extra : rebase_source : 1a8356740cbb9d73f7d851cb82f8b71c0ca364c4
2016-11-02 11:57:14 +13:00
Chris Pearce
5ebd6552d1
Bug 1314445 - Make MediaKeySystemAccess use GMPService::HasPluginForAPI. r=gerald
...
Removes callers of GMPService::GetPluginVersionForAPI().
MozReview-Commit-ID: KZcyfDAfTR7
--HG--
extra : rebase_source : ee774359a30c75390eef43d7a6b94789070e77a4
2016-11-02 13:42:40 +13:00
Chris Pearce
20b6c3ec6b
Bug 1314445 - Don't pass CDM version to MediaKey*. r=gerald
...
We don't need this, and we don't seem to be using this anyway.
MozReview-Commit-ID: 7NCRO94PN3m
--HG--
extra : rebase_source : de91b099e5e536eb321584990f18025e08c7cc78
2016-11-02 11:56:30 +13:00
Chris Pearce
ca6cc0c8f4
Bug 1314797 - Dispatch 'gmp-changed' notification after updating GMP capabilities. r=gerald
...
This ensures that when requests for keysystem access in the content process
retry, they do so on an up-to-date set of capabilities.
MozReview-Commit-ID: JxmlZnFhKYs
--HG--
extra : rebase_source : 6e02777be6a0692c7e157d3ab0a1952c3017c208
2016-11-03 11:18:29 +13:00
Ralph Giles
2de2f42926
Bug 1266792 - Don't play opus with AndroidDecoderModule. r=jya
...
The android 5.1.1 OMX decoder claims to support audio/opus
but crashes on the output of our mp4 demuxer. Work around
this by rejecting the mime type, allowing fallback to the
libopus-based AgnosticDecoderModule.
In any case, since we're shipping the libopus-based decoder
we're prefer to use it for consistency.
MozReview-Commit-ID: GQaTMALajnZ
--HG--
extra : rebase_source : fb43ddc6bd7b5ed92308124045ad2330a8043f46
2016-10-31 16:39:03 -07:00
Kevin Wern
19f18efeac
Bug 687787: support focusin/focusout based on webkit/blink r=smaug
...
Blink and webkit launch focusin after focus and focusout after blur. Despite
this contradiction with the spec, it is best to mirror this new way, as there
is little guidance or existing code to clarify implementation amiguities that
can arise from the spec.
If focus/blur is fired on a window or document, or the event triggers a change
of focus, do not fire the corresponding focusin/focusout. Otherwise, always
fire the corresponding event.
Additionally, add a mochitest and a w3c-platform-test.
MozReview-Commit-ID: AgQ8JBxKIqK
2016-10-06 21:39:53 -04:00
Sebastian Hengst
5c11198962
Backed out changeset 2bbfcf5356f7 (bug 1309527
) for timing out in idbobjectstore-rename-store.html on Windows x64 opt. r=backout
2016-11-02 19:15:52 +01:00
Boris Zbarsky
0b7b3e9bb8
Bug 1314026. Add a version of SetHTMLIntAttr that does the right thing with an unsigned argument, for use from setters for unsigned long IDL attributes that reflect a content attribute. r=bkelly
2016-11-02 13:37:26 -04:00
Kris Maglione
db20c25ff4
Bug 1308920: Part 2 - Support posting messages across windows with different addonId origins. r=billm
...
MozReview-Commit-ID: 89TD8x5cUlZ
--HG--
extra : rebase_source : b5876fc07a891be51b419810df2ae67f687c1c70
2016-11-01 19:04:13 -07:00
Geoff Brown
ef3f1323fa
Bug 1313397 - Move browser/components/sessionstore/Utils.jsm to toolkit/modules; r=mikedeboer
...
--HG--
rename : browser/components/sessionstore/Utils.jsm => toolkit/modules/sessionstore/Utils.jsm
2016-11-02 10:56:20 -06:00
Bevis Tseng
4496af6962
Bug 1309527
- Fix the race condition to prevent the access of metadata in both PBackground thread and the Connection thread. r=janv
...
--HG--
extra : rebase_source : 4be928b9ed804ac033edfbf5b95490f178a49366
2016-10-26 19:14:12 +08:00
Bevis Tseng
3602bae888
Bug 1306181 - Remove IDBEnvironment in favor of partial interface in WindowOrWorkerGlobalScope. r=bkelly
...
--HG--
extra : rebase_source : de7d7964b225602000453eee7689db4fc1d71fb5
2016-10-24 10:41:13 +08:00
Bevis Tseng
fa5f21c539
Bug 1274075 - Throw UnknowError if the size of the serialized message is too large. r=janv
...
--HG--
extra : rebase_source : 1b34071dae6ccca7c8aa7cc8e8068c90218aceae
2016-10-17 11:45:03 +08:00
Gabor Krizsanits
7206482dbe
Bug 1312022
- Fix some leaky tests. r=mrbkap
2016-11-02 11:13:49 +01:00
Gabor Krizsanits
22a574219b
Bug 1312022
- Pref to keep some content processes alive. r=mrbkap
2016-11-02 11:13:37 +01:00
Andreas Pehrson
4c0e4b5845
Bug 1301675 - Assert that a MediaStreamTrackSource is not stopped more than once. r=jib
...
MozReview-Commit-ID: Dmp9TnIhmax
--HG--
extra : rebase_source : 30e950b8031c73fb1f46bda2e771bcab45f58bf3
2016-09-23 17:01:15 +02:00
Andreas Pehrson
bc27f7ec47
Bug 1301675 - Uncomment assertion for when removed live track was not found. r=jib
...
It needs an extra guard for when we're an audio element and a live video track
was removed. That's ok and we should ignore it.
MozReview-Commit-ID: FVw3lDKd4oU
--HG--
extra : rebase_source : 3156abdcd5c57932e8edb61e78ffb568e4edbf2a
2016-09-23 16:56:39 +02:00
Andreas Pehrson
f4f5722093
Bug 1301675 - Fix track cloning test. r=jib
...
It relied on track.stop() not working for MediaStreamAudioDestinationNode tracks.
MozReview-Commit-ID: 1E53JpzAiMs
--HG--
extra : rebase_source : d9b24c1f98e1349167d4ff96f4435bcf4752887c
2016-09-20 10:18:47 +02:00
Andreas Pehrson
825d513165
Bug 1301675 - Rename BasicUnstoppableTrackSource to BasicTrackSource. r=jib
...
They are not unstoppable any longer. We just don't forward Stop() to the real source.
MozReview-Commit-ID: FdFccMsD3eb
--HG--
extra : rebase_source : e29a1abb8f2060cb72399d61d91ca3a00128f08c
2016-09-16 15:19:28 +02:00
Andreas Pehrson
75e0ffd718
Bug 1301675 - Test that a track from MediaStreamAudioDestinationNode can be stopped. r=padenot
...
MozReview-Commit-ID: 5wViWJQmI2H
--HG--
extra : rebase_source : 9792ea4240d830175e8abd3a1901e60bb332fcbd
2016-09-16 11:50:20 +02:00
Andreas Pehrson
86b155361f
Bug 1301675 - Implement AudioDestinationTrackSource. r=padenot
...
So stop()ing the output track can clean up the destination node.
MozReview-Commit-ID: CmMXRCpOeFY
--HG--
extra : rebase_source : f1625cf63989b6ab7283a021cd08bdbabf8d82ed
2016-09-16 11:25:38 +02:00
Andreas Pehrson
46a4616487
Bug 1301675 - Clarify why we don't need to do anything on DecoderCaptureTrackSource::Stop(). r=jib
...
MozReview-Commit-ID: H1zaO1FKWvK
--HG--
extra : rebase_source : ec577dbb20db6b112a6981c21a291d6c539aaee0
2016-09-16 11:10:17 +02:00
Andreas Pehrson
220b0176e0
Bug 1301675 - Implement StreamCaptureTrackSource::Stop. r=jib
...
MozReview-Commit-ID: 2qwNba6bA80
--HG--
extra : rebase_source : 703bf47ec1c838a4c0cb9bb7d4d21dbfb361927a
2016-09-23 16:53:10 +02:00
Andreas Pehrson
110b2a7f15
Bug 1301675 - Clean up MediaStream Constructor test. r=jib
...
MozReview-Commit-ID: J2EuOAqPAeG
--HG--
extra : rebase_source : 7a3f58c1da9b55ae6a68253e7f7766f731a194e1
2016-09-13 10:23:42 +02:00
Andreas Pehrson
b9775969a5
Bug 1301675 - Implement CanvasCaptureTrackSource that allows stopping canvas capture. r=jib
...
MozReview-Commit-ID: 81DD9FDOxsm
--HG--
extra : rebase_source : c2105ba9347f702a15232fbc1afa44f0f03a88c2
2016-09-12 18:00:14 +02:00
Andreas Pehrson
a28bfe606c
Bug 1301675 - Refactor canvas captureStream to be more clear on removing frame listeners. r=jib
...
MozReview-Commit-ID: 8gDlYA4AXOR
--HG--
extra : rebase_source : 502107e336a70fcb9af2e6ddd02d39db76776e0a
2016-09-12 17:59:38 +02:00
Andreas Pehrson
e7c2fb21bc
Bug 1301675 - Test stopping tracks from canvas (webgl) captureStream. r=jib
...
MozReview-Commit-ID: BUyiog3NAoY
--HG--
extra : rebase_source : 33771d266d6ae16d13b26c1e1cbbd794d5b4e6a3
2016-09-13 10:22:46 +02:00
Andreas Pehrson
2296add893
Bug 1301675 - Test stopping tracks from canvas captureStream. r=jib
...
MozReview-Commit-ID: 84UxNnhXEtu
--HG--
extra : rebase_source : 4f7b13fa23a8ead247fd9f8dfa420178ad1c1cf5
2016-09-12 16:47:32 +02:00
Andreas Pehrson
159d4ead9e
Bug 1301675 - Remove MediaStreamTrackSource::mIsRemote. r=jib
...
MediaStreamTrack.remote is no longer part of the spec.
MozReview-Commit-ID: BgHJ1zNIoWN
--HG--
extra : rebase_source : 11022eb420cbdb0c7aa5aa7814cf35330f4170b9
2016-09-12 15:59:58 +02:00
Andreas Pehrson
9b3a88c7d4
Bug 1208316 - Test that a MediaStream becoming active triggers autoplay. r=jib
...
MozReview-Commit-ID: 9F3MXiLGrvA
--HG--
extra : rebase_source : 9d02d07df8d2f0c98f0e4a2dd053bdfa181e64b5
2016-09-14 10:11:46 +02:00