Nicholas Nethercote
bea3aefea7
Bug 1315561 - gtestify dom/media/compiledtest/*.cpp. r=padenot.
...
The only complication was that I had to add namespaces to TestAudioMixer.cpp
and TestAudioSegment.cpp to avoid multiple definitions of a few small helper
functions like GetLowValue().
--HG--
rename : dom/media/compiledtest/TestAudioBuffers.cpp => dom/media/gtest/TestAudioBuffers.cpp
rename : dom/media/compiledtest/TestAudioMixer.cpp => dom/media/gtest/TestAudioMixer.cpp
rename : dom/media/compiledtest/TestAudioPacketizer.cpp => dom/media/gtest/TestAudioPacketizer.cpp
rename : dom/media/compiledtest/TestAudioSegment.cpp => dom/media/gtest/TestAudioSegment.cpp
extra : rebase_source : f42a1209b98a344c77e1245815eebc86a16866c0
2016-11-09 08:47:23 +11:00
Bill McCloskey
b47737ed9f
Bug 792652 - Move FatalError to IProtocol (r=dvander)
...
This patch moves FatalError to IProtocol. I had to make a few changes.
- I added a ProtocolName() method to find the name of the protocol.
- I gave the two-argument version of FatalError its own name. Otherwise
C++ doesn't like there to be two virtual methods with the same name
in cases where one is overridden and the other isn't (as happens
in IToplevelProtocol).
2016-11-08 15:22:45 -08:00
Bill McCloskey
5f55831a5e
Bug 792652 - Store Manager() in IProtocol (r=dvander)
...
This patch stores mManager in IProtocol rather than in each individual
PFoo. It also adds a generic accessor for that field. Note that each
individual protocol still defines a Manager() function that returns
PFooParent or whatever. I tried to get rid of that but it was a lot
of work.
2016-11-08 15:22:38 -08:00
Bill McCloskey
81c169c2a9
Bug 792652 - Remove methods from MessageListener (r=dvander)
...
With this change, MessageChannel stores mListener as an IToplevelProtocol
rather than a MessageListener (which isn't really a useful concept on
its own). The MessageListener methods are split out to IProtocol and
IToplevelProtocol. MessageListener gets deleted. Some of the inline
functions in MessageChannel had to be moved to MessageChannel.cpp since
IToplevelProtocol isn't defined in MessageChannel.h.
2016-11-08 15:22:36 -08:00
Bill McCloskey
4e78a26c74
Bug 792652 - Simplify IPDL type hierarchy (r=dvander)
...
Currently all our protocols inherit from IProtocolManager<IProtocol>. I have
no idea why. This patch switches everything over to IProtocol, without any
templates. I had to move ReadActor to the .cpp file to avoid redefinition
errors.
2016-11-08 15:22:34 -08:00
Bill McCloskey
d9f445e359
Bug 792652 - Get rid of CloneProtocol (r=dvander)
...
CloneProtocol is leftover code from Nuwa. We can remove it now.
2016-11-08 15:22:33 -08:00
Wes Kocher
41c087935b
Merge m-c to inbound, a=merge
2016-11-08 14:08:34 -08:00
Wes Kocher
008fdd9329
Merge inbound to central, a=merge
2016-11-08 13:58:20 -08:00
Olli Pettay
cb803253a5
bug 1306591, add secondary event queue to let high priority messages to be processed sooner, r=billm
...
--HG--
extra : rebase_source : 2ce6e06783e399e787d0445943f9f39bcef1cc22
2016-11-08 14:05:45 +02:00
Shawn Huang
71456ae11e
Bug 1308341 - Don't fire the progress event if the length is 0, r=baku
2016-11-08 17:45:36 +08:00
Christoph Kerschbaumer
f2776f1b8d
Bug 1308889 - Try to explicitly pass aTriggeringPrincipal and aPrincipalToInherit to DoURILoad(). r=bz
2016-11-08 07:23:12 +01:00
Phil Ringnalda
27a5b8d2ae
Backed out changeset d537051ade6a (bug 1315510) for nsTArray_base leaks and a fondess for crashing
...
CLOSED TREE
MozReview-Commit-ID: KD3jAkCg0O7
2016-11-07 22:18:21 -08:00
Phil Ringnalda
6c8fce2953
Backed out changeset 9ee070ee6dad (bug 1315144) to get at the patch below it
...
CLOSED TREE
MozReview-Commit-ID: 3d5vSfNXqO4
2016-11-07 22:17:28 -08:00
Phil Ringnalda
592b02e148
Merge m-c to m-i
...
MozReview-Commit-ID: 8cFOopE3aHd
2016-11-07 20:40:30 -08:00
Phil Ringnalda
2c7a3afd66
Merge m-i to m-c, a=merge
...
MozReview-Commit-ID: 5599Z7kxjk3
2016-11-07 20:38:29 -08:00
Phil Ringnalda
0b5f008629
Merge autoland to m-c, a=merge
...
MozReview-Commit-ID: CjyRb7vVnBV
2016-11-07 20:37:27 -08:00
Phil Ringnalda
c7665e5342
Bug 1315867 - Disable test_presentation_sandboxed_presentation.html until its flaky use of setTimeout can be repaired
2016-11-07 20:32:24 -08:00
Matt Woodrow
9775890c70
Bug 1315581 - Notify MediaFormatReader when the compositor gets recreated. r=jya,smaug,jw_wang
2016-11-08 15:23:12 +13:00
Matt Woodrow
f75e8a0868
Bug 1315144 - Add new non-fatal media error so that we recreate decoders when the GPU process crashes. r=jya
2016-11-08 15:22:37 +13:00
Matt Woodrow
7afb98ff2b
Bug 1315510 - Automatically recreate VideoDecoderManager if the GPU process crashes. r=dvander
2016-11-08 15:21:35 +13:00
Wes Kocher
147936ec43
Merge inbound to central, a=merge
2016-11-07 14:00:52 -08:00
Ben Kelly
134bb58051
Bug 1315796 Don't deref nullptr docshell in TabGroupOuter() validation code. r=smaug
2016-11-07 14:22:12 -08:00
Wes Kocher
7604d7195b
Merge m-c to inbound, a=merge
2016-11-07 14:05:25 -08:00
Alex Chronopoulos
c393dbb975
Bug 1314085 - Change cubeb log level to Error. r=padenot
...
MozReview-Commit-ID: G0gMSf1bZiF
2016-11-07 12:25:16 +02:00
Andrea Marchesini
a467e08b38
Bug 1315173 - Make nsIStringInputStream a builtinclass, r=valentin, r=njn
2016-11-07 08:45:42 +01:00
JW Wang
fea88a9ded
Bug 1315586 - DecodedStream::NotifyOutput() should compare |a->mTime| to GetPosition() instead of |aTime|. r=pehrsons
...
MozReview-Commit-ID: AyqsW9w5Je0
--HG--
extra : rebase_source : b401aad9c175e6ded87edd535c3124eec139ecab
2016-11-07 11:10:53 +08:00
Ben Kelly
fff7097f0f
Bug 1300659 P5 Suspend a window if its main thread TaskQueue falls to far behind. r=smaug
2016-11-07 12:30:18 -08:00
Ben Kelly
d48deb5760
Bug 1300659 P4 Use ThrottledEventQueue in workers. r=baku
2016-11-07 12:30:17 -08:00
Ben Kelly
595fb0d20b
Bug 1300659 P3 Make setTimeout() and setInterval() use the TabGroup ThrottledEventQueue. r=smaug
2016-11-07 12:30:17 -08:00
Ben Kelly
18e9d9bbcc
Bug 1300659 P2 Expose a ThrottledEventQueue on TabGroup and nsPIDOMWindow. r=smaug
2016-11-07 12:30:17 -08:00
James Cheng
7fe0f38dac
Bug 1315298 - Remove redundant RefPtr = this in H264Converter.cpp. r=jya
...
MozReview-Commit-ID: GzYes5HoCeM
--HG--
extra : rebase_source : 2745010535ab4d7749d493cb5e0c3708ab0983e8
2016-11-05 00:14:13 +08:00
Kris Maglione
61eb2eb3ed
Bug 1315233: Allow window.postMessage from system principal with mismatched origin attributes. r=baku
...
MozReview-Commit-ID: 1QlSjnrhlrG
--HG--
extra : rebase_source : 92d9487503069467178e016dbca4fc30e35ca9c0
2016-11-05 16:11:54 -07:00
vincentliu
260e5a5de0
Bug 1314505 - Execute ErrorInvalidOperation if IsLinked() returns false. r=mtseng
2016-11-07 11:53:25 +08:00
Phil Ringnalda
7f06434292
Merge m-c to m-i
...
MozReview-Commit-ID: KCA8bY2DowI
2016-11-06 19:16:46 -08:00
vincentliu
2fe2cf349e
Bug 1313584 - Add complete parameters handling for SamplerParameterX to cover test need. r=mtseng
2016-11-07 10:22:31 +08:00
Phil Ringnalda
8cc8f6829d
Merge m-i to m-c, a=merge
...
MozReview-Commit-ID: 5HP4v5psQL6
2016-11-06 18:21:25 -08:00
Edgar Chen
66b4be7fc1
Bug 1290904 - Fix assertion failure on removing/adding a fieldsets on a nested fieldset; r=smaug
...
MozReview-Commit-ID: LVoz6Y0BWDN
--HG--
extra : rebase_source : 34ea139c362fdead9f74fb4de70e6080fa00743c
2016-11-04 14:38:19 +08:00
Nicholas Nethercote
e13c48fba9
Bug 1315170 - gtestify dom/security/test/TestCSPParser.cpp. r=francois.
...
--HG--
rename : dom/security/test/TestCSPParser.cpp => dom/security/test/gtest/TestCSPParser.cpp
extra : rebase_source : 52b30a4c063ce2d330108fa4b8382ff8e4adf1b0
2016-11-04 17:02:26 +11:00
Nicholas Nethercote
5ab69ee440
Bug 1314870 - gtestify TestWebGLElementArrayCache.cpp. r=jgilbert.
...
--HG--
rename : dom/canvas/compiledtest/TestWebGLElementArrayCache.cpp => dom/canvas/gtest/TestWebGLElementArrayCache.cpp
extra : rebase_source : ae30e9bcdfe2b9cdd93ce81dcdf74e887208cffc
2016-11-04 14:38:59 +11:00
Nicholas Nethercote
3dcb97c78c
Bug 1314827 (attempt 2) - gtestify dom/base/test/*.cpp. r=baku.
...
--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
2016-11-04 14:36:23 +11:00
Phil Ringnalda
9bb5266d7b
Merge m-c to autoland
2016-11-05 14:06:38 -07:00
Phil Ringnalda
a7bc94158c
Merge m-i to m-c, a=merge
...
MozReview-Commit-ID: H4VKCYDq5cD
--HG--
rename : xpcom/tests/TestAutoRef.cpp => xpcom/tests/gtest/TestAutoRef.cpp
rename : xpcom/tests/TestCOMArray.cpp => xpcom/tests/gtest/TestCOMArray.cpp
rename : xpcom/tests/TestCOMPtr.cpp => xpcom/tests/gtest/TestCOMPtr.cpp
rename : xpcom/tests/TestCOMPtrEq.cpp => xpcom/tests/gtest/TestCOMPtrEq.cpp
rename : xpcom/tests/TestFile.cpp => xpcom/tests/gtest/TestFile.cpp
rename : xpcom/tests/TestHashtables.cpp => xpcom/tests/gtest/TestHashtables.cpp
rename : xpcom/tests/TestID.cpp => xpcom/tests/gtest/TestID.cpp
2016-11-05 13:36:25 -07:00
Sebastian Hengst
fdf5c5ad8c
Merge mozilla-central to autoland
2016-11-05 16:55:14 +01:00
Sebastian Hengst
77bdfa9a5e
Merge mozilla-central to mozilla-inbound
2016-11-05 16:53:54 +01:00
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
Jan-Ivar Bruaroey
695cfd5856
Bug 1311048 - Pick out Firefox windows as scary by pid on Windows. r=jesup
...
MozReview-Commit-ID: DzlAVt1oJIs
--HG--
extra : rebase_source : 640dce53420d5b5d862244ef9d953cff899f1d1c
2016-11-03 17:21:56 -04:00
Sebastian Hengst
cb6bbddb83
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/xul. r=RyanVM
...
MozReview-Commit-ID: 64bzbI3MTy3
--HG--
extra : rebase_source : 46928186c5580243de66eadbd5d4464df4817a64
2016-11-05 11:29:19 +01:00