Commit Graph

56429 Commits

Author SHA1 Message Date
Sebastian Hengst
5bac92d3b9 Backed out changeset d5a00a0b689c (bug 1307546) for increased mda test_BufferingWait_mp4.html failure on Windows 7. r=backout a=backout
MozReview-Commit-ID: J0DyTk9rJJe
2016-11-05 16:52:33 +01:00
Wes Kocher
db15df3e50 Merge m-c to inbound, a=merge CLOSED TREE 2016-11-04 15:19:49 -07:00
Boris Zbarsky
1ef30fd1e4 Bug 1021289 another followup. Make sure that we don't leave an uninitialized opresult when deleting things on DOM objects via Xrays. r=bustage and CLOSED TREE 2016-11-04 15:58:32 -04:00
Chris Pearce
d2ec5f2f3e Bug 1307546 - Ensure we don't set timers with negative intervals in to update A/V sync. r=jya
Our logic to do A/V sync sets a timer to drop expired frames based on the
start time of the next frame in the queue. If the frames in the queue are
badly muxed and don't have monotonically increasing start times, we can
end up setting a timer with a negative interval. This causes us to reevaluate
the frames in the VideoSink's queue immediately, set the same timer again,
and so we end up hot-looping.

This is a simple low-risk fix that detects when we're about to set a negative
interval timer, and instead sets the timer 1/30th of a second in the future.

This fix is deliberately low risk, such that it's suitable for uplift. I have
an idea how to do this better, but the lower risk this is most suitable for
uplift.

MozReview-Commit-ID: CDOqJJodx4l

--HG--
extra : rebase_source : b2833382d95143ee1845f2ea32dcc77a1903dc00
2016-11-04 16:42:24 +13:00
Michael Layzell
d53091c307 Bug 1314792 - Extract process changing logic into nsContentUtils::GetDocShellProcessLock, r=bkelly
MozReview-Commit-ID: FI0pIvHPN0h
2016-11-04 13:40:55 -04:00
Jon Coppeard
37de54b8fa Bug 1315122 - Remove JS::Heap<T>'s unused setToCrashOnTouch() methods r=jandem 2016-11-04 17:32:36 +00:00
Jon Coppeard
99aa8489c8 Bug 1313098 - Assert we only access heap state on the main thread r=sfink r=mccr8 2016-11-04 17:32:36 +00:00
Boris Zbarsky
e1249e3f78 Bug 1021289 followup. Fix webidl parser tests to account for there being no more indexed deleters 2016-11-04 13:28:17 -04:00
Boris Zbarsky
598f3f4180 Bug 1021289 part 4. Implement support for WebIDL deleters over Xrays. r=peterv 2016-11-04 12:41:26 -04:00
Boris Zbarsky
955f4ccd70 Bug 1021289 part 3. Factor getDeleterBody our of CGDOMJSProxyHandler_delete so we can use it in a new Xray hook too. r=peterv 2016-11-04 12:41:26 -04:00
Boris Zbarsky
d5fd55b992 Bug 1021289 part 2. Remove support for indexed deleters, since they're gone from the spec. r=peterv 2016-11-04 12:41:26 -04:00
Jacek Caban
443b329aa2 Bug 664717 - cross-compilation fixup. 2016-11-04 15:40:11 +01:00
Ting-Yu Lin
904617e77f Bug 1310509 - Call NotifyAsyncPanZoomStarted/Stopped on document containing current scrolling content. r=kats
We now call NotifyAsyncPanZoomStarted/Stopped precisely on the document
which is being transformed, so we no longer need to notify the child
docshells which was added in Bug 1088559.

Remove the |nsIDocument| argument for ProcessAPZStateChange(), which is not
used anymore.

mActiveAPZTransforms added in bug 1142926 is removed because AccessibleCaret
is the only consumer for AsyncPanZoomStarted/Stopped, and it now defaults to
always show while scrolling, i.e.
"layout.accessiblecaret.always_show_when_scrolling" defaults to true. And I
cannot reproduce the bug even if I turn off the preference.

MozReview-Commit-ID: DiEk2gCIHn2
2016-11-04 22:27:02 +08:00
Andrea Marchesini
6674864b91 Bug 1315185 - Get rid of FileSystemFileEntry.createWriter, r=smaug 2016-11-04 14:23:46 +01:00
Gabor Krizsanits
a7a38b8a5f Bug 1301340 - part6: Disabled test should still run in non-e10s mode. r=me 2016-11-04 11:05:55 +01:00
Jon Coppeard
11dbca2419 Bug 1309929 - Use an async memory report for workers r=erahm r=bkelly 2016-10-28 10:50:16 +01:00
Andrea Marchesini
d3d14179f3 Bug 1315209 - Remove a warning in FlyWeb code, r=me 2016-11-04 11:49:14 +01:00
Andrea Marchesini
5feecb1e1b Bug 1313859 - BlobImplStream implements nsIMemoryReporter, r=njn 2016-11-04 07:52:04 +01:00
Phil Ringnalda
44d4420081 Backed out changeset 14d7b6dbe0fb (bug 1314827) to be able to back out something else
MozReview-Commit-ID: 39mFOtrNixM

--HG--
rename : dom/base/test/gtest/TestNativeXMLHttpRequest.cpp => dom/base/test/TestNativeXMLHttpRequest.cpp
rename : dom/base/test/gtest/TestPlainTextSerializer.cpp => dom/base/test/TestPlainTextSerializer.cpp
2016-11-03 22:59:49 -07:00
Martin Thomson
6d119732db Bug 1312306 - Followup to fix operator error, a=bustage
MozReview-Commit-ID: Idnigs48DpY
2016-11-04 14:48:34 +11:00
Nicholas Nethercote
bed5771bdb Bug 1314827 - gtestify dom/base/test/*.cpp. r=baku.
The commit removes TestGetURL.cpp which wasn't doing anything useful anyway
because it required an argument but wasn't being passed one, and so it was just
aborting immediately with a usage message.

--HG--
rename : dom/base/test/TestNativeXMLHttpRequest.cpp => dom/base/test/gtest/TestNativeXMLHttpRequest.cpp
rename : dom/base/test/TestPlainTextSerializer.cpp => dom/base/test/gtest/TestPlainTextSerializer.cpp
extra : rebase_source : 224fd2f984eb456b7db56fbe7fc396aeec3a84c1
2016-11-04 14:36:23 +11:00
Phil Ringnalda
0a6e7a6139 Merge m-c to m-i
MozReview-Commit-ID: FPgY4by0sMY
2016-11-03 20:05:18 -07:00
Phil Ringnalda
0f32b67e2d Merge m-i to m-c, a=merge
MozReview-Commit-ID: Hm1RxN6OaoZ
2016-11-03 19:32:48 -07:00
Gabor Krizsanits
566393518d Bug 1301340 - part5: Turning off some tests temporarily to enable e10s-multi. r=mrbkap 2016-11-03 19:28:15 +01:00
Till Schneidereit
a14435c813 Bug 1298414 - Properly handle resolve/reject callbacks on xray'd promises. r=bz,efaust
MozReview-Commit-ID: H9dppdKlRG6
2016-11-03 19:08:56 +01:00
Matt Woodrow
6dad1a961a Bug 1300676 - Part 3 - Implement readback for GPU videos. r=dvander,nical 2016-11-04 13:28:28 +13:00
Matt Woodrow
4f998dbe2b Bug 1300676 - Part 1: Allow asynchronous deletion of Shmem for VideoDecoderManagerChild. r=dvander 2016-11-04 13:28:28 +13:00
Daosheng Mu
7331dee69c Bug 1313585 - Part 1: Removing gamepads while nsGlobalWindow is removed in GamepadManager; r=lenzak800,qdot
MozReview-Commit-ID: 8kh0hyqzOyW

--HG--
extra : rebase_source : 51f3bbf930f5d8eb5a53b83ca47600d26346599c
2016-10-28 15:58:22 +08:00
Phil Ringnalda
c9fdc270b6 Merge m-c to autoland
--HG--
rename : dom/media/webaudio/compiledtest/TestAudioEventTimeline.cpp => dom/media/webaudio/gtest/TestAudioEventTimeline.cpp
2016-11-03 20:02:24 -07:00
Michelangelo De Simone
80af1b3196 Bug 1310864 - Remove DOM/(contacts, mobileconnection, icc) and related code. r=jst
MozReview-Commit-ID: Az4PTYFUKW8

--HG--
extra : rebase_source : 4c31210ec079a1d2f18deca4e3e1d6bdbc797f76
2016-11-03 13:55:36 -07:00
Chris Pearce
5cba5b5a25 Bug 1314858 - Refactor multiple callers of HasPluginForAPI into a helper. r=gerald
I've repeated myself a few times, so make a helper to make determining which
GMPs are available easier.

MozReview-Commit-ID: 2fFLeaA5o8u

--HG--
extra : rebase_source : 74ea0b429d339273535610df3bbd7fec7beae469
2016-11-03 14:33:31 +13:00
Chris Pearce
098c153601 Bug 1314858 - Remove PContent.NotifyGMPsChanged. r=gerald
MozReview-Commit-ID: FMb3AbEEnl5

--HG--
extra : rebase_source : 0adb2527cf71d0c43956b8051ce6a493becc3056
2016-11-03 16:26:54 +13:00
Chris Pearce
7250493ddc Bug 1314858 - Remove GMPDecoderModule::UpdateUsableCodecs. r=gerald
MozReview-Commit-ID: 7678JImLL9T

--HG--
extra : rebase_source : 77cd678431669cc3932cfaabc7034e546b92166c
2016-11-02 15:31:21 +13:00
Chris Pearce
776ec7bfa9 Bug 1314858 - Make GMPDecoderModule::SupportsMimeType call GMPService::HasPluginForAPI() directly. r=gerald
MozReview-Commit-ID: 3VblaPbTQFJ

--HG--
extra : rebase_source : 6f66e97cb22fa8f92a2d26adffeba60ec8a30936
2016-11-02 10:04:39 +13:00
Chris Pearce
d6045d04f6 Bug 1314858 - Make content process cache of GMP capabilities thread safe. r=gerald
MozReview-Commit-ID: 5zTFlfReBne

--HG--
extra : rebase_source : 90e6018b6574c0d2f5a51ad56ab87ef5b535f124
2016-11-02 09:47:00 +13:00
Chris Pearce
50e79d67a0 Bug 1314858 - Add MP4Decoder::IsAAC. r=gerald
We have this for H.264, so we may as well have it for AAC too.

MozReview-Commit-ID: 2k64ANJGUNN

--HG--
extra : rebase_source : 6fe2543788afd26682d31c0ec45b9ac80e501ab1
2016-11-02 09:43:45 +13:00
Mike Conley
68eca4a40f Bug 1313125 - Get rid of needless synchronous message from AppsServiceChild.jsm. r=jryans
MozReview-Commit-ID: DHbylEOEaKB

--HG--
extra : rebase_source : 5a2aeff96ee46b0932dd23018898be3e537dbf38
2016-11-03 13:59:35 -04:00
Blake Kaplan
8e1dba7d2e Bug 1314812 - Remove code that manually times out loads in favor of relying on the test harness. r=Gijs
MozReview-Commit-ID: FZB9ys9lvIN

--HG--
extra : rebase_source : 11a63b4b08fd8c64bbdbd4de2c4d968503aa807d
2016-11-02 16:03:11 -07:00
Andreas Pehrson
16cfbad982 Bug 1309886 - Check that pre-renegotiation track ends in test_pc_addtrack_removetrack_events.html. r=drno
MozReview-Commit-ID: FEacxtjZ5jZ

--HG--
extra : rebase_source : 659964999bde0b5cab6ca52c16cc57da64521d07
2016-10-13 15:30:01 +02:00
John Lin
aae0af521c Bug 1313993 - Return zero-duration video frames. r=snorp
MozReview-Commit-ID: I5LDWb4V1ky

--HG--
extra : rebase_source : 4e94338d5f200741afa7cc3133ff8cd265a075bf
2016-11-01 12:46:04 +08:00
Alastor Wu
9e8e7969e0 Bug 1302350 - part6 : ensure loading process doens't be interrupted even media element can't be played. r=jwwang
We don't want to stop the loading process even we canceled the play operation.

MozReview-Commit-ID: FyPqBlDKYo0

--HG--
extra : rebase_source : fdbc4390a7763bdbe26e8b809d977234bb5360ea
2016-11-02 14:22:35 +08:00
Alastor Wu
a7414dc3e6 Bug 1302350 - part4 : refactor the media-blocking mechanism. r=jwwang
The old way is to start playing first, and then block the media element. This
way is too complicated because it involves lots of interal state and isn't intuitive.

The new way is to ignore the play if the media element should be blocked. It's
easy to know and we doesn't need to keep any internal states because we don't play
the media element.

MozReview-Commit-ID: B20e0pvXES4

--HG--
extra : rebase_source : 6bff5447783c2997050e5c69884afe2c85ddf382
2016-11-02 14:22:24 +08:00
Alastor Wu
45cac62c4c Bug 1302350 - part3 : provide a method to know the media-block-state before connecting to the AudioChannelService r=baku
In order to refactor the blocking mechanism, we want to know the blocking state
before calling notifyStartedPlaying().

MozReview-Commit-ID: 3wa2M7qwUAm

--HG--
extra : rebase_source : d128463b7fd892b966d80d5b5f76537819f35bcf
2016-11-01 17:46:11 +08:00
Alastor Wu
c2f555c0fd Bug 1302350 - part2 : provide a method to check whether the agent was started. r=baku
Since the agent is created in beginning in patch1, we need another way to know
whether we have already called notifyStartedPlaying().

MozReview-Commit-ID: 5YNhwEl5Xfp

--HG--
extra : rebase_source : 6a2913e5d81591faf1a7383d9fcb9db2cf3f83d3
2016-11-01 17:46:09 +08:00
Alastor Wu
8dda44f0e7 Bug 1302350 - part1 : create audio channel agent in the beginning. r=baku
We create audio channel agent in the beginning in oreder to use some agent's methods.
But the agent is still started after media element starting playing.

MozReview-Commit-ID: KPGb7snB2t7

--HG--
extra : rebase_source : dba4b687f572d520481721f48a0b4e9796f73e1f
2016-11-01 17:46:07 +08:00
JW Wang
064360e846 Bug 1314787 - Remove function-static race from DecoderAllocPolicy::Instance(). r=gerald
MozReview-Commit-ID: 7XfaUZo3oh9

--HG--
extra : rebase_source : 532dd73fbf27afd93fd64683b6460e29e16b390e
2016-11-03 09:56:17 +08:00
JW Wang
c53169bf84 Bug 1311872. Part 4 - exit dormant in response to user actions. r=cpearce,jya
MozReview-Commit-ID: CTXUlpfLNBQ

--HG--
extra : rebase_source : 5176223fc8162fa0aa3dd1b7d9c326fd74470a22
extra : intermediate-source : c0411410d55f8ae08439682004d451eb88777e82
extra : source : 6d3434d15b1ea63635db43f39ed95b0b3ff9b5be
2016-10-21 15:52:17 +08:00
JW Wang
2d31845215 Bug 1311872. Part 3 - enter dormant when being paused for a while. r=cpearce,jya
MozReview-Commit-ID: HJjhFebQ8WI

--HG--
extra : rebase_source : 4d1c68c2ce2d4b156d962c61d24b8fe1d4cbae0e
extra : intermediate-source : f45501530b47ad269f471e58d711d34267478cfa
extra : source : 3cd38509ca63b789bfc6325222e7ef80133958ec
2016-10-20 14:45:05 +08:00
JW Wang
17b67ee7f4 Bug 1311872. Part 2 - remove the dormant test that doesn't work anymore. We will write new dormant tests in next bugs. r=cpearce,jya
MozReview-Commit-ID: 5w0rh2LcE5L

--HG--
extra : rebase_source : ddf085e16bdf93539fc82bc58948d6494b2d060b
extra : intermediate-source : b878ed8f33f09d24672234c7d094ec0af1f73229
extra : source : 84a3625e91347e54c70f584b715b171b5db61a50
2016-10-20 15:51:39 +08:00
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