Jan de Mooij
1e027edc3b
Bug 1140324 - Remove __noSuchMethod__ handling from WebIDL parser and throw an exception instead. r=peterv
...
--HG--
extra : rebase_source : 46e3fec0c5b1f399d209dd5e4038eeed6aabdc28
2015-03-07 16:35:04 +01:00
Andreas Pehrson
a58f208924
Bug 1081819 - Handle InMutedCycle() in TrackUnionStream::ProcessInput. r=roc,padenot
2015-03-05 12:27:16 +08:00
Andreas Pehrson
dfcdf561b0
Bug 1081819 - Add mochitest for piping WebAudio in and out of PeerConnection. r=jesup,padenot
2015-03-02 18:07:20 +08:00
Andreas Pehrson
307e15ba05
Bug 1081819 - Let the output stream itself process input data from MediaStreamAudioDestinationNode::mStream. r=roc
2015-03-02 17:08:40 +08:00
Robert Longson
35d4da1130
Bug 629682 - Add a better warning message for SVG-as-an-image external resources being blocked. r=dholbert
2015-03-07 09:15:23 +00:00
Chris Peterson
7933c34dd6
Bug 1138198 - Remove unused/undefined member function ParticularProcessPriorityManager::OnChannelConnected. r=khuey
2015-02-28 22:49:57 -08:00
L. David Baron
97b31730a2
Bug 1135170 bustage fix: add #include to fix bustage with EME disabled.
...
This led to build errors on some periodic B2G device image builds for Nexus 5-L.
2015-03-06 21:33:25 -08:00
Bobby Holley
774e705988
Bug 1093980 - Rewrite test_FrameSelection to avoid assuming that resizes will always be processed before firing 'seeked'. rpending=mattwoodrow
...
Nothing in the spec says this should hold, and it holds less often when we move
invalidation to happen at the end of seeking.
2015-03-06 19:17:32 -08:00
Bobby Holley
91d1025f91
Bug 1135170 - Remove garbage test_bug493187.html. rpending=mattwoodrow
...
This test is fundamentally racey - it loads very short video files (some less
than 1s), plays them, waits for timeupdate events to try to find just the right
moment to seek, performs a seek, and then checks various pieces of
playback-dependent state (while playing).
The specific issue I ran into was that the video would sometimes finish playing
before the 'seeked' event handler fired, which means that readyState is
HAVE_CURRENT_DATA (per spec). I could fiddle with the test a bit to handle this
case, but I think we're doing a disservice to ourselves by having it in the tree.
2015-03-06 19:17:24 -08:00
Bobby Holley
7d849fa87c
Bug 1135170 - Fix up racey test_seek-1.html. rpending=mattwoodrow
...
The use of play() and pause() in the test is hugely problematic for short video
files and slow/laggy platforms. In particular, if playback has ended by
the time that we fire the 'seeked' event listener, then the ensuing play() will
put us back into seeking mode (seeking to 0), making the test fail.
2015-03-06 19:17:10 -08:00
Bobby Holley
4406d389a4
Bug 1135170 - Remove now-unused state machine scheduler freezing/thawing. r=mattwoodrow
2015-03-06 19:17:09 -08:00
Bobby Holley
578cad549e
Bug 1135170 - Rewrite the MediaDecoder-to-MediaDecoderStateMachine interface to be Promise-based. r=mattwoodrow
2015-03-06 19:17:07 -08:00
Bobby Holley
1dd7c91f68
Bug 1135170 - Move the RenderVideoFrame call to the end of SeekCompleted. r=mattwoodrow
...
This means that we can get rid of the code to recheck state after dropping the
monitor. We'll remove the other monitor drop from this method in a subsequent
patch.
2015-03-06 19:17:06 -08:00
Bobby Holley
e02c011cd4
Bug 1135170 - Move some work from MDSM::Seek to MDSM::InitiateSeek. r=mattwoodrow
...
This has two implications:
* We no longer need to pipe mQueuedSeekTarget through MDSM::Seek to get the
appropriate clamping.
* MDSM::Seek doesn't _need_ to be called on the main thread anymore.
2015-03-06 19:17:04 -08:00
Bobby Holley
d846586729
Bug 1135170 - Reap some cleanup and assertions that were waiting on this bug. r=mattwoodrow
2015-03-06 19:17:01 -08:00
Bobby Holley
845ad750dc
Bug 1135170 - Stop updating playback position from Ogg seek and remove MediaDecoder::UpdatePlaybackPosition. r=mattwoodrow
...
The ogg reader makes two adjustments to the seek time - the first is to clamp it
between start and end time, which MDSM already does. The second is to subtract
SEEK_OPUS_PREROLL from the target. If we wanted to, we could return this as the
resolve value in the seek promise and handle the update in the MDSM. But I think
DropVideoUpToSeekTarget should actually handle this just fine.
2015-03-06 19:17:00 -08:00
Bobby Holley
bf69dac697
Bug 1135170 - Streamline seek initiation logic and abolish manual seek cancels and retries. r=mattwoodrow
...
The model we're moving towards is one where the MDSM can just disconnect all of
its promises, send a ResetDecode down the pipe, and start doing something
unrelated.
2015-03-06 19:16:59 -08:00
Bobby Holley
243db68fec
Bug 1135170 - Stop doing sync dispatch for SeekingStarted. r=mattwoodrow
...
I can't see any reason why this should be necessary, and cursory archaeology
suggests that this too is a hand-me-down from previous threading models.
2015-03-06 19:16:57 -08:00
Bobby Holley
df32aaa30e
Bug 1135170 - Remove silly special case for seeking to exactly the current time. r=mattwoodrow
...
I traced this back to something 2011 or earlier and then gave up. Given that we're
doing an exact microsecond comparison here this is almost certainly dead code in
every case except for the one where the media is paused and JS does
|el.currentTime = el.currentTime|. And in that case, I think running through the
regular seek machinery is probably fine.
2015-03-06 19:16:56 -08:00
Bobby Holley
3b78e1ecfd
Bug 1135170 - Route queued seeks back through MDSM::Seek and eliminate MDSM::StartSeek. r=mattwoodrow
2015-03-06 19:16:54 -08:00
Bobby Holley
82e85c92e2
Bug 1135170 - Pin MediaResource in OggReader::GetSeekRanges. r=mattwoodrow
...
All consumers of MediaCacheStream::GetCachedRanges do this except this one.
2015-03-06 19:16:53 -08:00
Bobby Holley
e0fd85f315
Bug 1140675 - Disable failing tests on windows opt. r=me
2015-03-06 19:11:51 -08:00
Boris Zbarsky
f0ef2a86aa
Bug 1131802 part 2. Allocate functions with reserved slots for DOM Xrays so we can store the Xray wrapper reference in those slots instead of as the function parent. r=peterv
2015-03-06 16:33:31 -05:00
Jason Orendorff
29bfe274bb
Bug 1113369, part 6 - [[PreventExtensions]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
...
--HG--
extra : rebase_source : 08631a46c776f6d9e60794ad61308240dde3d94d
2015-02-04 12:01:01 -06:00
Jason Orendorff
cc85989b86
Bug 1113369, part 5 - [[Delete]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
...
--HG--
extra : rebase_source : 64b0e44bbb7673d139fab920243566db4844b517
2015-02-04 10:20:04 -06:00
Jason Orendorff
9a17368e8e
Bug 1113369, part 4 - [[Set]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
...
--HG--
extra : rebase_source : ee44b9a7c933addd7f26643443900843b984587b
2015-02-03 19:51:40 -06:00
Jason Orendorff
de9e3b99dc
Bug 1113369, part 3 - [[DefineOwnProperty]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
...
Add an ObjectOpResult out-param for DefineProperty functions everywhere. We leave a few js::DefineProperty() convenience functions with no *result out-param. These have strict behavior: that is, they automatically check the result and throw if it is false. In bug 1125624 these strict signatures may end up being called DefinePropertyOrThrow, as that is what the spec calls it.
--HG--
extra : rebase_source : 36439a8fa433c453f63b02c93fceaf0d8b9e9626
2015-01-30 11:37:07 -06:00
L. David Baron
8de963d8ad
Back out bug 1131802 (changesets 80e90f586329 and 35c268f162db) and patch 2 from bug 1131805 (changeset 4139522bf814) on a CLOSED TREE for assertion failures.
...
Assertion failure: (ptrBits & 1) == 0, at ../../dist/include/js/Value.h
:871
called from XrayCreateFunction
2015-03-06 15:14:52 -08:00
dvander@alliedmods.net
f1c8e08cdd
Don't async scroll overflowed single-line text boxes in APZ. (bug 1126090 part 6, r=botond)
2015-03-06 14:26:59 -08:00
dvander@alliedmods.net
87a19022de
Wait for all paints to flush before synthesizing scroll events. (bug 1126090 part 5, r=smaug)
2015-03-06 14:26:59 -08:00
dvander@alliedmods.net
7b56a8ec4c
Translate coordinates in events synthesized from the child process. (bug 1126090 part 4, r=kats)
2015-03-06 14:26:59 -08:00
dvander@alliedmods.net
a4abd56718
Events synthesized in the child process must be propagated back to the parent. (bug 1126090 part 3, r=smaug)
2015-03-06 14:26:59 -08:00
dvander@alliedmods.net
4691a243e2
If APZ is enabled, do not handle wheel-event scrolling in layout. (bug 1126090 part 1, r=smaug)
2015-03-06 14:26:59 -08:00
Jan-Ivar Bruaroey
005954fb76
Bug 1140363 - fire recording-window-ended on gUM failures, like we do on deny r=jesup
2015-03-06 13:23:33 -05:00
Ben Kelly
1fe91838f1
Bug 1140051 Avoid Cache shutdown assert when Manager alive, but not active. r=ehsan
2015-03-06 13:39:05 -08:00
Aaron Klotz
d1329c9051
Bug 1115438: Move PluginModuleParent's invocation of CreateToolhelp32Snapshot off the main thread; r=jimm
...
--HG--
rename : dom/plugins/ipc/ScopedMethodFactory.h => dom/plugins/ipc/TaskFactory.h
extra : rebase_source : fa4caf1f154974fd9994a8803db22c21c23d8cdf
2015-03-06 12:31:17 -07:00
L. David Baron
ba8f91bca8
Bug 1140134 - Don't skip the rest of the properties in an animation after hitting one that we shouldn't apply. r=dholbert
...
Both sets of new tests pass with the patch, but without the patch the
"top is animating" test fails.
2015-03-06 13:35:45 -08:00
Boris Zbarsky
05aaddd360
Bug 1131805 part 1. Remove remaining JS_GetParent and js::GetObjectParent uses in Gecko. r=bholley
2015-03-06 16:33:31 -05:00
Boris Zbarsky
6523d4990f
Bug 1131802 part 2. Allocate functions with reserved slots for DOM Xrays so we can store the Xray wrapper reference in those slots instead of as the function parent. r=peterv
2015-03-06 16:33:31 -05:00
Boris Zbarsky
e5176c459a
Bug 1102042. Fix the test to not have a race between the binding and the test bits. r=terrence
2015-03-06 16:33:30 -05:00
Boris Zbarsky
824ea37eed
Bug 1139604. Remove incorrect assert from ArrayCache::EntrySlotMustExist and the unused GetUnforgeableHolder function. r=petev
2015-03-06 16:33:30 -05:00
Ryan VanderMeulen
8aaa845a81
Merge inbound to m-c. a=merge
...
CLOSED TREE
2015-03-06 16:18:04 -05:00
Ryan VanderMeulen
213ecab8d1
Merge b2g-inbound to m-c. a=merge
2015-03-06 15:50:27 -05:00
Boris Zbarsky
e0532c037e
Bug 1122238 part 3. Drop all the DOMException-cloning and sanitization gunk we added in bug 1107592 and bug 1107953 and bug 1117242 . r=bholley
2015-03-06 01:08:06 -05:00
Boris Zbarsky
1aafe8f735
Bug 1122238 part 2. Stop caching things in JSStackFrame when we're called over Xrays. r=bholley
2015-03-06 01:08:06 -05:00
Boris Zbarsky
e09c0a93ab
Bug 1122238 part 1. Switch to using the new stackframe APIs in JSStackFrame. r=bholley
2015-03-06 01:08:06 -05:00
Olli Pettay
b6d7406dde
Bug 1139964 part 3. Add a test. r=bzbarsky
2015-03-06 01:08:06 -05:00
Boris Zbarsky
695383a67d
Bug 1139964 part 2. Add classinfo helpers for the various message manager stuff to install WebIDL Exposed=System things on those globals. r=smaug
2015-03-06 01:08:06 -05:00
Boris Zbarsky
19d83a360f
Bug 1139964 part 1. Factor out the guts of BackstagePass::Resolve and BackstagePass::Enumerate to allow reuse for other globals that want to opt in to Exposed=System WebIDL annotations. r=smaug
2015-03-06 01:08:06 -05:00
Bill McCloskey
c10aee7d5e
Bug 1129223 - Introduce new, more efficient mozLayerTreeReady event (r=BenWa)
2015-03-05 22:03:23 -08:00