Commit Graph

56351 Commits

Author SHA1 Message Date
Xidorn Quan
d1d1109e6f Bug 1294299 part 5 - Implement getter and setter of cssText. r=heycam
MozReview-Commit-ID: Bho5PKtrT1I

--HG--
extra : source : 6db28f1d25c87fbc26125ab0a7d88d71c1a2a8ba
2016-11-03 14:41:02 +11:00
Xidorn Quan
60ba3c835d Bug 1294299 part 2 - Use DeclarationBlock for SMIL override style. r=heycam
MozReview-Commit-ID: 573o5vmC81z

--HG--
extra : source : c284764640e86b9bf63f976b79aa66252f8b635d
2016-11-03 14:41:02 +11:00
Nicholas Nethercote
2af130581e Bug 1314556 - Convert TestAudioEventTimeline.cpp to a gtest. r=padenot.
This required moving template function ValidateEvent into the .h file to avoid
linking problems in xul-gtest.

--HG--
rename : dom/media/webaudio/compiledtest/TestAudioEventTimeline.cpp => dom/media/webaudio/gtest/TestAudioEventTimeline.cpp
rename : dom/media/webaudio/compiledtest/moz.build => dom/media/webaudio/gtest/moz.build
extra : rebase_source : 1a8917fc0e75e9c264bc88aec5565d9fff085c12
2016-11-03 13:39:26 +11:00
Phil Ringnalda
1261559426 Backed out changeset 2e8791563f4d (bug 1309527) for Win8 timeouts in idbobjectstore-rename-store.html 2016-11-02 19:22:18 -07:00
Wes Kocher
df5dbf81cc Merge central to inbound a=merge 2016-11-02 17:31:08 -07:00
Bevis Tseng
790be48aa6 Bug 1309527 - Fix the race condition to prevent the access of metadata in both PBackground thread and the Connection thread. r=janv 2016-11-02 23:12:31 +01: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
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
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
Andreas Pehrson
1532393ba1 Bug 1208316 - A media element should autoplay a MediaStream that becomes active. r=jib
MozReview-Commit-ID: 98H7REtqShI

--HG--
extra : rebase_source : 6f09c16929b9ac2b75f05bfcd874a4b429669783
2016-09-14 10:04:26 +02:00
Andreas Pehrson
367ed14d80 Bug 1208316 - HTMLMediaElement.ended should follow MediaStream.active. r=jib
MozReview-Commit-ID: CIJZz5khY8R

--HG--
extra : rebase_source : 6ca86aa8d77241e9ce1a199d7c71614ab72dd718
2016-09-14 10:02:23 +02:00
Andreas Pehrson
9d8d0aeb38 Bug 1208316 - Notify watchers on StreamListener::Forget(). r=jib
This makes sense because the result of StreamListener::NextFrameStatus depends
on mElement.

MozReview-Commit-ID: 8W7nGLpRxE1

--HG--
extra : rebase_source : 48f9c3c637eb01430446dbaf683e65008df19147
2016-09-13 10:42:28 +02:00
Andreas Pehrson
3ebd9d33a8 Bug 1208316 - Simplify stopTracksForStreamInMediaPlayback. r=jib
MozReview-Commit-ID: 9qQfit5l8Tg

--HG--
extra : rebase_source : c138635dd62504ada1c58f2b929a70fcb26f3ec3
2016-09-09 16:12:00 +02:00
Andreas Pehrson
53968f02be Bug 1208316 - Test active state in MediaStream constructors and clone tests. r=jib
MozReview-Commit-ID: A39coKC0KNc

--HG--
extra : rebase_source : fa8e113892ba96db4e9d15d720a2fc7a5828f084
2016-11-01 14:11:03 +01:00
Andreas Pehrson
d77d2cc8fc Bug 1208316 - Add dummy audio track in pure video track test. r=jib
This will keep the stream active and avoid the HTMLMediaElement ending.
We could do it by repeatedly play()ing or autoplay, but then we wouldn't be
sure the media element stopped rendering video because it went to the ended
state or because there were no more frames in the track.

MozReview-Commit-ID: 3CsvRPW7rrr

--HG--
extra : rebase_source : 39d2b3e0558b92aad88b227020b320177bb6cbd4
2016-09-09 14:23:44 +02:00
Andreas Pehrson
00c0c4ce09 Bug 1208316 - Do not stop the local MediaStream in mediaStreamPlayback.js. r=jib
No need to do this since a media element playing the stream will now end when
all tracks have ended.

MozReview-Commit-ID: DXPY3G36gkw

--HG--
extra : rebase_source : 109c40edbc74a89bafbe94fb2b42bba5ec5b4f8f
2016-09-09 14:21:32 +02:00
Andreas Pehrson
0b82737563 Bug 1208316 - Test media flow per track instead of per stream. r=drno
The existing media elements may have ended and new tracks been created in the
stream it used as source, since we now end when a stream goes inactive.

We test the tracks individually in media elements instead. They'll either be
live or ended forever.

MozReview-Commit-ID: DxBk2XjSVCH

--HG--
extra : rebase_source : cd3884f4d1b90cde5095e3dc3eb5a43363cf7195
2016-09-14 17:15:24 +02:00