Kit Cambridge
a958ff06d5
Bug 1209361 - Add missing includes to `dom/base`. r=mccr8
...
--HG--
extra : commitid : 3rsv1VgB0jB
extra : rebase_source : 677d913e8a0e0955963bbdb65d0e759e9148df7a
2015-09-28 21:31:56 -07:00
Brian Birtles
7f205b8334
Backout changeset 4867b986b2c7 and b4185d03b6d5 (bug 1180589) for bustage on CLOSED TREE
2015-09-29 13:50:23 +09:00
Wes Kocher
e03ead4753
Merge m-c to b2ginbound, a=merge
2015-09-28 16:32:01 -07:00
Nicholas Nethercote
7b70ebccdf
Bug 1209206 (part 1) - Remove mgfx namespace synonym.
...
CanvasRenderingContext2D.cpp has a |namespace mgfx = mozilla::gfx;| synonym.
Since the entire file is within the |mozilla| namespace we can use |gfx::Foo|
anyway, which is shorter than |mgfx::Foo|.
--HG--
extra : rebase_source : abd76713f1741b1b4f078e21d89a0708b7bd65fb
2015-09-28 12:37:18 -07:00
Catalin Badea
f4efb99f5e
Bug 1188545 - Disable test_fetch_cors.html & test_fetch_cors_reroute.html on android debug. a=testonly
2015-09-30 23:57:33 -04:00
JW Wang
f56fdd4173
Bug 1209886 - Clean up InstantiateDecoder() in DecoderTraits.cpp. r=kinetik.
2015-09-30 06:55:20 +08:00
Tim Chien
c251097169
Bug 1160923 - [B2G] Waiting for explicit mozContentEvent before sending out mozChromeEvents, r=vingtetun, f=ochaumeau
2015-09-28 09:27:49 -07:00
Christiane Ruetten
4ca99aaf68
Bug 1209091 - Disable add-on signature workaround. r=fabrice
...
--HG--
extra : rebase_source : fcce79c08380fe8807273bda52839a3928b7548b
2015-09-28 17:22:04 +02:00
Andreas Pehrson
9914ff85f8
Bug 1103188 - Keep track of stopped tracks in gUM stream listener. r=jib
...
This is needed to avoid something like:
* [old stream] stop track 1 -> deallocate MediaDevice for track 1
* [new stream] gUM() -> allocate MediaDevice for track 1
* [old stream] stop stream -> deallocate MediaDevice for track 1
* [new stream] gUM() -> start MediaDevice for track 1 (oops, MediaDevice was no more!)
--HG--
extra : commitid : FmkFYbCfel7
extra : rebase_source : e17ad400705198c48e3d561241dd50d0844c472e
2015-09-30 14:08:33 +08:00
Andreas Pehrson
6f60cbc89d
Bug 1103188 - Keep track of capture stop only in gUM stream listener. r=jib
...
--HG--
extra : commitid : AqIOlsR7w1y
extra : rebase_source : 6f5670be3bf711a38eb9f914dc69c5b987dd9b9e
2015-09-30 14:08:26 +08:00
Andreas Pehrson
aaef4911a9
Bug 1103188 - Always call MediaManager::NotifyFinished/NotifyRemoved on main thread. r=jib
...
--HG--
extra : commitid : 8kb5G98FAY9
extra : rebase_source : 97086507d1c546f9423f4d2f790924c21ccfa28a
2015-09-30 14:08:22 +08:00
Andreas Pehrson
f5d99891ad
Bug 1103188 - Always check tracks on getUserMedia(). r=jib
...
--HG--
extra : commitid : 3I8mAeBB3oL
extra : rebase_source : 9820d09e7152de7c59a0aa81dde715dfa21fed18
2015-09-30 09:32:06 +08:00
Andreas Pehrson
f8854279f0
Bug 1103188 - MediaStream::AddTrack/RemoveTrack tests. r=jib,roc
...
--HG--
extra : commitid : 3I8mAeBB3oL
extra : rebase_source : 5f0de2f5babfd762ec81ecaf2cf060f93d616326
2015-09-30 09:32:06 +08:00
Andreas Pehrson
eb480b5acd
Bug 1103188 - Break out MediaTrackListListener to an interface. r=roc
...
Other modules than MediaTrackLists may want to receive updates on a
DOMMediaStream's track set. This moves the MediaTrackListListener out of
the MediaTrackList class into DOMMediaStream as a general interface.
The logic for adding MediaTracks to the MediaTrackList when
MediaStreamTracks are added or removed from a DOMMediaStream is moved to
HTMLMediaElement as this fits the model better - HTMLMediaElement is the
owner of the MediaTrackLists.
--HG--
extra : commitid : 3I8mAeBB3oL
extra : rebase_source : 66b8ffcfb5343811c181e4169f295b08494f2ee0
2015-09-30 09:32:06 +08:00
Andreas Pehrson
0239788481
Bug 1103188 - Deprecate DOMMediaStream::Stop(). r=jib
...
--HG--
extra : commitid : 3I8mAeBB3oL
extra : rebase_source : cc7351a34694b7b0e822bcd0b7025ded0ab54b9d
2015-09-30 09:32:06 +08:00
Andreas Pehrson
ce2776ea0d
Bug 1103188 - Remove identical override nsDOMUserMediaStream::Stop(). r=jib
...
--HG--
extra : commitid : 3I8mAeBB3oL
extra : rebase_source : 2e37a21b1789bf4ab893c6fb8b2dd2c75f613855
2015-09-30 09:32:05 +08:00
Andreas Pehrson
aa989a17b6
Bug 1103188 - MediaStream::AddTrack/RemoveTrack implementation. r=roc
...
--HG--
extra : commitid : 3I8mAeBB3oL
extra : rebase_source : 7c8a9d50e5dbb672c773faa3675fe674aed9fb67
2015-09-30 09:32:05 +08:00
Andreas Pehrson
bf0d10f4e7
Bug 1103188 - MediaStream WebIDL update with addTrack/removeTrack. r=smaug,jib
...
--HG--
extra : commitid : 3I8mAeBB3oL
extra : rebase_source : 030f83f3a79a7f4cb938cb509983f87a5a557aab
2015-09-30 09:32:05 +08:00
Andreas Pehrson
f7821ba184
Bug 1170958 - Destroy track-locked MediaInputPorts when the track ends. r=roc
...
This is needed to make tests pass until we have bug 1208316 implemented.
--HG--
extra : commitid : GPSNwBVyD4j
extra : rebase_source : b7cb9cb1678a582fbf85b729b8f43508889f5c78
2015-09-30 09:31:54 +08:00
Andreas Pehrson
2415aa80a7
Bug 1170958 - Don't create owned MediaStreamTracks in MetadataLoaded. r=roc
...
When play()ing a media element after it has ended, MediaDecoder will
again call MetadataLoaded(). When capturing the media to a
DOMMediaStream, that will attempt to create new MediaStreamTracks in the
stream with the original TrackIDs. That won't work, since the original
tracks with the same TrackIDs have already ended.
We solve it by only explicitly creating MediaStreamTracks in the stream
in captureStream(), and only if they're already known. Otherwise the
tracks will be created asynchronously when available in the underlying
stream.
--HG--
extra : commitid : GPSNwBVyD4j
extra : rebase_source : 3ba4a6fc7cc46a8bedf1799c4c6aa25585361269
2015-09-30 09:31:54 +08:00
Andreas Pehrson
867415c0b5
Bug 1170958 - Remove ProcessedMediaStream::ForwardTrackEnabled. r=roc,jesup
...
TrackUnionStream guarantees that TrackIDs are maintained if no tracks
have claimed them before.
In the gUM case, we have a SourceMediaStream which we wholly own (the
DOMMediaStream's Input stream), piped into a TrackUnionStream which
no-one external is able to add tracks to (the DOMMediaStream's Owned
stream) - addTrack()ed tracks are added to the DOMMediaStream's Playback
stream.
The MediaStreamTracks being enabled/disable refer to a TrackID in the
DOMMediaStream's Owned stream.
Alas, we don't need to forward a track's enabled state, we can just do
it on the source.
--HG--
extra : commitid : GPSNwBVyD4j
extra : rebase_source : 4388211be87ebe8a3839ea031b5c504d642806ab
2015-09-30 09:31:54 +08:00
Andreas Pehrson
0a75ffee8d
Bug 1170958 - Add DOMMediaStream::OwnedStreamListener. r=roc
...
A DOMMediaStream's owned stream is piped from the input stream which is
under the control of the DOMMediaStream's owner/producer (like
captureStream or gUM). When producers like these create new tracks after
the stream has already been created (the initial set should be available
to JS synchronously), it is nice if the DOMMediaStream picks them up
automatically and create the corresponding MediaStreamTracks.
The OwnedStreamListener added here does just that; creates an owned
MediaStreamTrack when a track appeared in the stream that didn't already
have a MediaStreamTrack.
It also moves the logic for ended tracks from the PlaybackStreamListener
to the OwnedStreamListener as we previously would see a track end in the
playbak stream after removeTrack() and that would be interpreted as the
track ending at the source.
--HG--
extra : commitid : GPSNwBVyD4j
extra : rebase_source : ee7d81282ee3fe0e05b55358dee8fc97a22473fe
2015-09-30 09:31:54 +08:00
Andreas Pehrson
5b79fead9f
Bug 1170958 - Improve logging of MediaStreams and playback. r=roc
...
--HG--
extra : commitid : GPSNwBVyD4j
extra : rebase_source : 7463915dc8f14e6f9dde2e934e55b9c68d4148d6
2015-09-30 09:31:54 +08:00
Andreas Pehrson
9ecf8f59c7
Bug 1170958 - Feed a SourceMediaStream-backed dom stream instead of a raw SourceMediaStream in MediaManager. r=jesup
...
Simplifies the structure of MediaManager somewhat. Possible since
MediaManager owns both the SourceMediaStream and the DOMMediaStream.
--HG--
extra : commitid : GPSNwBVyD4j
extra : rebase_source : 494b8b673084ea050420dfaf8d16e44a3bc49672
2015-09-30 09:31:54 +08:00
Andreas Pehrson
937747498a
Bug 1170958 - Refactor DOMMediaStream to contain a 3-stage track chain. r=roc
...
This lets us separate tracks by ownership like so:
* Input - Owned by the producer of the DOMMediaStream (gUM etc.)
* Owned - Contains Input tracks (per above) or tracks cloned tracks
if this DOMMediaStream is a clone.
* Playback - Contains Owned tracks plus tracks addTrack()ed to this
DOMMediaStream minus tracks removeTrack()ed from this
DOMMediaStream.
--HG--
extra : commitid : GPSNwBVyD4j
extra : rebase_source : fba22e96c6c65a74e012509f3da67a4d7df7a244
2015-09-30 09:31:54 +08:00
Andreas Pehrson
53a6c38d0d
Bug 1170958 - Allow MediaInputPort to lock to a specific input track. r=roc
...
Locking to specific tracks lets us dynamically remove and add single
tracks to a ProcessedMediaStream.
--HG--
extra : commitid : GPSNwBVyD4j
extra : rebase_source : 0b1b79077f95bbefc8c71de551c5e3483a7d6ac0
2015-09-30 09:31:53 +08:00
Andreas Pehrson
2802ee3e88
Bug 1170958 - Add input stream and track as args to NotifyQueuedTrackChanges. r=roc
...
This allows for tracking the input track of an added track (for
ProcessedMediaStream tracks; SourceMediaStream tracks don't have input
tracks) directly in the NotifyQueuedTrackChanges handler, which will be
necessary for locking MediaInputPorts to specific tracks.
--HG--
extra : commitid : GPSNwBVyD4j
extra : rebase_source : 4bed5dffe66b71b7ad23f4c02531d84af25cd316
2015-09-30 09:31:53 +08:00
Carsten "Tomcat" Book
363e40e298
merge mozilla-inbound to mozilla-central a=merge
2015-09-28 14:13:24 +02:00
Carsten "Tomcat" Book
fc4b2033ce
merge fx-team to mozilla-central a=merge
2015-09-28 14:10:50 +02:00
Carsten "Tomcat" Book
2deb7b2220
merge b2g-inbound to mozilla-central a=merge
2015-09-28 14:08:18 +02:00
Nigel Babu
85f8d8c65e
Backed out changeset ee27fc2f6a1d (bug 1208687) for W(4) bustage
...
ON A CLOSED TREE
2015-09-28 12:23:36 +05:30
Nigel Babu
b8f64f3b1e
Backed out changeset 967c555a595c (bug 1208289) for B2G build bustage
2015-09-28 12:22:43 +05:30
Nigel Babu
4013fbd739
Backed out changeset efcfe0c08c24 (bug 1208289) for B2G build bustage
2015-09-28 12:22:34 +05:30
Kyle Huey
ea0bfdd061
Bug 1208687: Only discard events from the outermost queue. r=ehsan
...
When workers shut down we discard the event queue rather than running it to completion. Originally workers managed their event queue themselves and would simply iterate through the array of events and cancel them all. After bug 914762 this was done by setting a (thread-)global "canceling" flag and then calling NS_ProcessPendingEvents. But this neglects that a shut down request can be received while the worker is in a sync queue. In this case, calling NS_ProcessPendingEvents will process any events pending in the sync queue, which is *not* the queue we need to cancel.
The fix is, if we are in a sync queue when NotifyInternal is called, to defer clearing the queue until the top-most sync queue is destroyed and we are about to return to the regular event queue. Only then can we call NS_ProcessPendingEvents to clear out the queue. Because we can never process any events from this queue while sync queues are active, the timing of the mass cancellation is unchanged from the perspective of events in the regular queue.
--HG--
extra : rebase_source : f67fbee27c0751068a4e7aaf692cbfc1d3c9aa7c
2015-09-27 21:57:36 -07:00
Chris Pearce
faefcaba27
Bug 1208289 - Log outstanding frames in GMP DrainComplete() and detect dropped ResetComplete. r=jwwang
...
* * *
Bug 1208289 - Yet another bustage fix. r=bustage
2015-09-28 17:57:10 +13:00
Chris Pearce
8493a808b6
Bug 1208289 - Add SimpleTimer to make setting timeouts in C++ easy. r=jwwang
2015-09-28 17:57:10 +13:00
Chris Pearce
0f328b5200
Bug 1208348 - Check whether DirectShow can decode MP3 before assuming it will work. r=jya
2015-09-28 17:57:10 +13:00
Martin Thomson
2627615a00
Bug 1155923 - Temporarily restoring moz-prefixed interface, r=jesup,smaug
...
--HG--
extra : transplant_source : j%0DQ%EA%DD%1C%DCtL%A0g%8E%7D%9D%BC%DFf%19%C9%AE
2015-09-28 11:25:04 -07:00
Martin Thomson
4574e04530
Bug 1155923 - Add Deprecated attribute to interfaces, r=peterv
...
--HG--
extra : transplant_source : q%B6%21%A22%A6%8Ftg%C8%1D%02%91/%C7%8A%AA%E2%C6g
2015-09-28 11:25:04 -07:00
Martin Thomson
afdaddf1d7
Bug 1155923 - Removing moz prefix from RTC interfaces, r=jesup,smaug
...
--HG--
extra : transplant_source : %0Adu%1E%A6j%9E%C2B%25%ECruo%F7%7Fc%EA%99%18
2015-09-28 11:25:04 -07:00
Jean-Yves Avenard
dacd5751f3
Bug 1208953: [mp3] Don't parse data we've already parsed. r=cpearce
...
NotifyDataArrived may be called again due to reads performed in NotifyDataArrived ; causing stall and serious slowdowns.
2015-09-30 16:07:56 +10:00
Mantaroh Yoshinaga
df06088026
Bug 1180589 part 3 - Rename shadowed variable name; r=bholley
2015-09-30 14:32:32 +09:00
Mantaroh Yoshinaga
a98dfba30c
Bug 1180589 part 2 - Add code to create a simulated mediastream; r=seanlin
2015-09-30 14:32:32 +09:00
Mantaroh Yoshinaga
af4a197416
Bug 1180589 part 1 - Add simulator code for TV Manager API; r=seanlin
2015-09-30 14:32:32 +09:00
Olli Pettay
cca9c7578b
bug 1072150, backout the release assertion which changed the ancient requirements of nsContentUtils::IsCallerChrome(), a=backout
2015-09-27 00:52:26 +03:00
Bas Schouten
1369a96bd4
Bug 1208465 - Part 1: Fix some reftest annotations. r=jrmuizel
2015-10-01 04:45:26 +02:00
Wes Kocher
eff494e681
Backed out changeset 919a831786f1 (bug 1208638) for windows build failures
2015-09-30 16:43:26 -07:00
Bobby Holley
e91aae8249
Bug 1208622 - Separate API entry points. r=bz
2015-09-30 16:31:46 -07:00
David Anderson
b0e2473678
Don't use Direct2D if CompositorD3D11::Initialize fails. (bug 1208638, r=jrmuizel)
...
--HG--
extra : rebase_source : 2c0b1febd9bcc3a52f48a98243ab853f5b58848d
2015-09-30 16:16:16 -07:00
Catalin Badea
d327e60f64
Bug 1207850 - Temporary fix for canceling the pump used by FetchBody. r=nsm
2015-09-30 19:11:04 -04:00
Catalin Badea
4fa36e326a
Bug 1188545 - Disable unstable test: test_aboutserviceworkers.html. a=testonly
2015-09-30 19:11:04 -04:00
Catalin Badea
deb9499875
Bug 1188545 - Update expected results for some service worker tests. a=testonly
2015-09-30 19:11:03 -04:00
Catalin Badea
24a19b6a02
Bug 1188545 - Cancel network interceptions when the service worker is being terminated with unresolved respondWith promises. r=nsm
2015-09-30 19:11:03 -04:00
Catalin Badea
450ddec732
Bug 1188545 - Add tests for service workers' lifetime management. r=nsm
2015-09-30 19:11:03 -04:00
Catalin Badea
1049eff81c
Bug 1188545 - Prevent service workers from being terminated while checking if the script evaluation was successful. r=nsm
2015-09-30 19:11:03 -04:00
Catalin Badea
cce3b797b1
Bug 1188545 - respondWith promise should extend the service worker's lifetime. r=nsm
2015-09-30 19:11:03 -04:00
Catalin Badea
518e55a5ed
Bug 1188545 - Terminate service workers that have been idle for some time. r=nsm
2015-09-30 19:11:03 -04:00
Catalin Badea
294f7838e4
Bug 1188545 - Cosmetic changes regarding workerPrivate properties shared between shared workers and service workers. r=nsm
2015-09-30 19:11:03 -04:00
Catalin Badea
c5f9033d16
Bug 1188545 - ServiceWorkerRegistrationInfo::Clear() should terminated workers. r=nsm
2015-09-30 19:11:03 -04:00
Catalin Badea
76c7d43fd9
Bug 1188545 - Disentangle service workers from shared workers and refactor event dispatching code into a separate class. r=nsm,mrbkap
2015-09-30 19:11:03 -04:00
Nicholas Nethercote
f523d5c4ba
Bug 1207931 - Remove no-longer-needed SetBackgroundColor IPC message. r=mattwoodrow.
2015-09-24 19:03:33 -07:00
Nicholas Nethercote
634396125b
Bug 1208283 (part 5) - Pass a gfx::Color instead of a gfxRGBA to PaintRectToSurface(). r=jwatt.
...
--HG--
extra : rebase_source : 6d5e72d5a5579d445a77f090b357720a71654e99
2015-09-24 18:32:40 -07:00
Chris Pearce
947b4b02c2
Bug 1208348 - Backout 9f73b03732fc
2015-09-28 17:11:24 +13:00
Brian Birtles
16b5c82dc9
Bug 1207951
- Fix buggy logic in ComposeStyle; r=heycam
2015-09-28 12:38:41 +09:00
Brian Birtles
820618158a
Bug 1195180 part 9 - Add test for seeking finished -> paused; r=heycam
...
This patch adds a test that even when we seek from being irrelevant to another
state where we no longer need ticks that we still spin the refresh driver
in order to queue and dispatch an animationstart event.
2015-09-28 12:38:41 +09:00
Brian Birtles
36c16f7957
Bug 1195180 part 8 - Tick animations from their timeline; r=heycam
2015-09-28 12:38:41 +09:00
Brian Birtles
68cafe83b4
Bug 1195180 part 7 - Store animations in an array; r=heycam
...
Currently AnimationTimeline stores animations in a hashmap which means that
when we go to iterate over those animations to tick them we will visit them
in an order that is non-deterministic.
Although many of the observable effects of ticking an animation (e.g. CSS
animation/transition events, mutation observer events) are later sorted so that
the result does not depend on the order in which animations are ticked, this is
not true for in all cases. In particular, the order in which Animation.finished
promises are resolved will vary depending on the order in which animations are
ticked. Likewise, for Animation finish events.
Furthermore, it seems generally desirable to have a deterministic order for
visiting animations in order to aid reproducing bugs.
To achieve this, this patch switches the storage of animations in
AnimationTimeline to use an array instead. However, when adding animations
we need to determine if the animation to add already exists. To this end we
also maintain a hashmap of the animations so we can quickly determine if
the animation to add is a duplicate or not.
2015-09-28 12:38:41 +09:00
Brian Birtles
ae189d2746
Bug 1195180 part 6 - Lazily remove animations from timelines; r=heycam
...
Now that DocumentTimeline observes the refresh driver we can use regular
ticks to remove unnecessary animations.
We do this because in a subsequent patch, in order to provide deterministic
enumeration order when ticking animations, we will store animations in an array.
Removing an arbitrary element from an nsTArray is O(n) since we have to search
for the array index first, or O(log n) if we keep the array sorted. If we
destroy a subtree containing n animations, the operation effectively becomes
O(n^2), or, if we keep the array sorted, O(n log n). By destroying during a
tick when we are already iterating over the array, however, we will be able
to do this much more efficiently.
Whether an animation is newly associated with a timeline, or is disassociated
from a timeline, or if it merely has its timing updated, the behavior
implemented in this patch is to simply make sure we are observing the refresh
driver and deal with the animation on the next tick.
It might seem that we could be a lot more clever about this and, for example, if
an animation reports NeedsTicks() == false, not start observing the refresh
driver. There are various edge cases however that need to be taken into account.
For example, if a CSS animation is finished (IsRelevant() == false so that
animation will have been removed from the timeline), and paused
(NeedsTicks() == false), and we seek it back to the point where it is relevant
again, we actually need to observe the refresh driver so that it can dispatch an
animationstart event on the next tick. A test case in a subsequent patch tests
this specific situation.
We could possibly add logic to detect if we need to fire events on the next tick
but the complexity does not seem warranted given that even if we unnecessarily
start observing the refresh driver, we will stop watching it on the next tick.
This patch removes some rather lengthy comments from
AnimationTiming::UpdateTiming. This is, in part, because of the behavior
described above that makes these comments no longer relevant. Other parts are
removed because the Web Animations specification has been updated such that a
timeline becoming inactive now pauses the animation[1] so that the issue
regarding detecting timelines becoming active/inactive no longer applies
since animations attached to an inactive timeline remain "relevant".
[1] https://w3c.github.io/web-animations/#responding-to-a-newly-inactive-timeline
2015-09-28 12:38:41 +09:00
Brian Birtles
4ba3abb7d3
Bug 1195180 part 5 - Synchronize refresh driver observing with presshell creation/teardown; r=heycam
2015-09-28 12:38:40 +09:00
Brian Birtles
615fb3a648
Bug 1195180 part 4 - Unregister from refresh observer when there are no animations needing ticks; r=heycam
2015-09-28 12:38:40 +09:00
Brian Birtles
5e9be9d40a
Bug 1195180 part 3 - Add flag to record if DocumentTimeline is observing the refresh driver; r=heycam
2015-09-28 12:38:40 +09:00
Brian Birtles
a12e08d26e
Bug 1195180 part 2 - Make DocumentTimeline inherit from nsARefreshObserver; r=heycam
2015-09-28 12:38:40 +09:00
Brian Birtles
534ef7e86c
Bug 1195180 part 1 - Add Animation::NeedsTicks; r=heycam
...
Adds a method to determine if an animation requires refresh driver ticks.
We will use this function later to determine when it is safe to stop
observing the refresh driver.
2015-09-28 12:38:40 +09:00
Chris Pearce
e30c6e5fa9
Bug 1208289 - Backout. r=backout
2015-09-28 15:37:18 +13:00
Chris Pearce
771aa6c979
Bug 1208289 - Yet another-another bustage fix. r=bustage
2015-09-28 15:16:13 +13:00
Chris Pearce
3b2e225a56
Bug 1208289 - Yet another bustage fix. r=bustage
2015-09-28 14:26:44 +13:00
Chris Pearce
593512f49b
Bug 1208289 - Bustage fix. r=bustage
2015-09-28 14:21:21 +13:00
Chris Pearce
8ded475d58
Bug 1208289 - Log outstanding frames in GMP DrainComplete() and detect dropped ResetComplete. r=jwwang
2015-09-28 14:03:21 +13:00
Chris Pearce
4e35212ee5
Bug 1208289 - Add SimpleTimer to make setting timeouts in C++ easy. r=jwwang
2015-09-28 14:03:15 +13:00
Chris Pearce
25a4f614a7
Bug 1208348 - Check whether DirectShow can decode MP3 before assuming it will work. r=jya
2015-09-28 14:03:04 +13:00
Jean-Yves Avenard
57037c7820
Bug 1208917: Fix VP9 decoding with recent version of libav. r=kentuckyfriedtakahe
...
Recent libav do not require a codec parser to decode VP9.
2015-09-28 10:30:03 +10:00
Nicholas Nethercote
342466f878
Bug 1208345 - Remove gfxContext::GraphicsOperator. r=jwatt.
...
Also...
- Rename various "operator" identifiers as "op" to match |CompositionOp|.
- Rename |nsBackgroundLayerState::mCompositingOp| as |mCompositionOp| to match
|CompositionOp|.
- Remove some deprecated functions that are no longer needed.
--HG--
extra : rebase_source : 74e9b6eecf6f442e27cc18fd4ae6f668a45188aa
2015-09-24 22:38:58 -07:00
JW Wang
74504dc15a
Bug 1207915 - Apply the fix of bug 1052206 to DecodedStream. r=roc.
2015-09-28 05:46:47 +08:00
Ehsan Akhgari
ad3a3c6527
Bug 1208892 - Replace the uses of memset to clean up data in GMPLoader::Load with an inline memset; r=cpearce
...
This is found by Viva64. Because the data we're memsetting to 0
may not be used after this point, the compiler can eliminate the
memsets. We need to roll our own inline memset that cannot be
optimized away.
2015-09-27 17:46:04 -04:00
Karl Tomlinson
e8c9471dea
bug 1208327 make enum AudioContextOperation strongly typed and forward declare instead of including AudioContext.h r=roc
...
AudioContext.h is now exported only under mozilla.dom.
--HG--
extra : rebase_source : 7fc0a25a6bb8efe497a0e779dca2df5d7e3397b1
2015-09-25 08:49:03 +12:00
Brian Grinstead
d23fa8b95a
Bug 1034110 - Provide a way to observe mutations for ::before/::after pseudo elements;r=smaug
...
Adds a new chrome-only MutationObserverInit option called nativeAnonymousChildList
that will cause a mutation to fire when a native anonymous root is bound or unbound
2015-09-24 08:23:32 -07:00
Kaustabh Datta Choudhury
5270e212b7
Bug 1162003 - Enable run-by-dir mode on Fx desktop mac debug platform and re-enable a few tests. r=jmaher
2015-09-28 10:54:22 -04:00
James Willcox
158374ed78
Bug 1182665 - Adjust tile sizes depending on the screen size r=nical
2015-09-28 09:36:57 -05:00
Yoshi Huang
872722fe37
Bug 1167100 - User nsIPrincipal.originAttribute in ContentPrincipalInfo. r=bholley
2015-09-23 18:19:06 +08:00
Wes Kocher
a91deab1f2
Merge m-c to fx-team, a=merge CLOSED TREE
2015-09-25 18:22:43 -07:00
Wes Kocher
4ce68a706d
Backed out 3 changesets (bug 1208295
) for browser_offlineQuotaNotification.js bustage CLOSED TREE
...
Backed out changeset 1c16e9f4aa2f (bug 1208295
)
Backed out changeset 3242ff9a86bb (bug 1208295
)
Backed out changeset 04f2a2c320a3 (bug 1208295
)
2015-09-25 18:20:35 -07:00
Yoshi Huang
d38b78ae54
Bug 1165466 - Fix up docshell and loadcontext inheriting code in nsIScriptSecurityManager. r=bholley
2015-09-23 16:10:21 +08:00
Dave Hylands
dfe7f73d62
Bug 1195166 - AutoMounter: add ignore command to allow volumes to be ignored. r=alchen
...
--HG--
extra : amend_source : f1f8c08429d8ca614c6c936dc8b20ab227eaac99
2015-09-25 13:23:32 -07:00
Karl Tomlinson
dc7019feef
bug 864171 move "extra" time accounting for AudioContext with no nodes to destination stream r=padenot
...
--HG--
extra : rebase_source : 28cb7a858721e80d68603c4adeaea55eb17f13ba
2015-09-23 19:05:46 +12:00
Karl Tomlinson
504ac09b2d
bug 1053011 align "extra" time on AudioContext with processing block size r=padenot
...
--HG--
extra : rebase_source : efaf55d88a5c25e01d56a701a0f88205d67424f8
2015-09-23 19:52:26 +12:00
Ehsan Akhgari
3aafaa38cb
Bug 1207603 - Increase the timeout of test_third_party_iframes.html to give it enough time to pass on Android debug
2015-09-27 11:31:14 -04:00
L. David Baron
6fd5e36f77
Bug 1204841 followup - Remove the rest of the temporary code from bug 1150284. r=roc (backing out patch that was r=smaug, which I need to say for the commit hook)
...
--HG--
extra : commitid : 9MGSuXWFHnS
2015-09-27 02:19:13 -07:00
zhoubcfan
69d0c1d4ee
Bug 1208815
- Use the legacy opt-out in GetMozSourceNode to avoid crashes. r=bholley
2015-09-26 22:43:29 -07:00
Jean-Yves Avenard
3f3757ce78
Bug 1207429: P2. Enable FFmpeg by default if available. r=kentuckyfriedtakahe
...
By default we only use libav 9 or FFmpeg 1.2 if found on the system.
If media.fragmented-mp4.ffmpeg.enabled is set, will allow use of libav 0.7 and ffmpeg 0.8 or later.
2015-09-27 15:19:28 +10:00
Jean-Yves Avenard
e071e87392
Bug 1207429: P1. remove media.fragmented-mp4.exposed pref. r=kentuckyfriedtakahe
2015-09-27 15:19:27 +10:00
Jean-Yves Avenard
abc4fb6966
Bug 1207119: [mp3] Properly read channels count. r=esawin
...
The channel count is stored on bit 6 & 7 of byte at offset 3.
2015-09-27 15:19:27 +10:00
Olli Pettay
3bd1951671
bug 1072150, backout the release assertion which changed the ancient requirements of nsContentUtils::IsCallerChrome(), a=backout
2015-09-27 00:52:26 +03:00
Ehsan Akhgari
596a32d9eb
Bug 1207556 - Part 2: Fix the beacon CORS preflight tests; r=sicking
2015-09-26 12:34:44 -04:00
Carsten "Tomcat" Book
9dcf234c97
Merge mozilla-central to fx-team
2015-09-30 13:54:35 +02:00
Ehsan Akhgari
48e01cb303
Tests for bug 1200869; r=sicking
2015-09-29 23:12:52 -04:00
Ehsan Akhgari
1b07208138
Tests for bug 1200856; r=sicking
2015-09-29 23:12:51 -04:00
Christoph Kerschbaumer
c76868cd0b
Bug 1206958 - Use channel->asyncOpen2() in dom/xul/XULDocument.cpp (r=sicking)
2015-09-28 20:15:51 -07:00
JW Wang
93c354616a
Bug 1208931 - Remove MediaDecoderReader::IsWaitingMediaResources(). r=jya.
2015-09-27 20:38:43 +08:00
JW Wang
92100b0074
Bug 1208930 - Remove usage of decoder monitor from MediaDecoder. r=jya.
2015-09-27 20:12:14 +08:00
JW Wang
7651430ef0
Bug 1208922. Part 6 - IsWaitingOnCDMResource() is not used by MDSM anymore. Remove it from MediaDecoderReader and make it private in MediaFormatReader. r=cpearce.
2015-09-27 18:59:52 +08:00
JW Wang
6b35bad359
Bug 1208922. Part 5 - MDSM can now query capabilities from CDMProxy without reader setting them in MediaInfo. r=cpearce.
2015-09-27 18:59:50 +08:00
JW Wang
489900ad10
Bug 1208922. Part 4 - remove AbstractMediaDecoder::GetCDMProxy() and devirtualize MediaDecoder::SetCDMProxy(). r=cpearce.
2015-09-27 18:59:08 +08:00
JW Wang
395e17fb4f
Bug 1208922. Part 3 - forward the CDMProxy from MediaDecoder to MediaDecoderReader via MDSM. r=cpearce.
2015-09-27 18:48:59 +08:00
JW Wang
b502b0fe56
Bug 1208922. Part 2 - add MediaDecoderReader::SetCDMProxy so it won't need to ask MediaDecoder for a CDMProxy. r=cpearce.
2015-09-27 18:40:03 +08:00
JW Wang
401634bd83
Bug 1208922. Part 1 - add MediaDecoder::RequestCDMProxy() which resolves when a CDMProxy is set and capabilities are known. The client code won't need to handle the situation where a CDMProxy is set but capabilities are still unknown. This simplifies the client code a lot. r=cpearce.
2015-09-27 18:39:37 +08:00
JW Wang
5eb5527e50
Bug 1188643. Buffer more audio in audio capture mode to avoid glitches. r=cpearce.
2015-09-30 10:32:49 +08:00
Ehsan Akhgari
724bf24658
Bug 1198386 - Wait for the AudioContext to enter the running state before calling suspend() on it; r=karlt
2015-09-29 21:43:05 -04:00
Xidorn Quan
ed06bdf859
Bug 1201798 part 3 - Add test for viewport scrollbar on fullscreen. r=roc
...
--HG--
extra : source : 4ebd6caa70383189c51f9436d5777b5e828617a0
2015-09-30 10:48:41 +10:00
Xidorn Quan
5d040064dc
Bug 1201798 part 2 - Update viewport scrollbar override for fullscreen and remove the leagcy css rule. r=roc
...
--HG--
extra : source : 339b4099bd0fa78b54befdfb55bebfbb98a46c14
2015-09-30 10:48:41 +10:00
Karl Tomlinson
23b10a8cba
bug 1205558 remove DelayNodeEngine::mSource r=padenot
...
--HG--
extra : rebase_source : 2bc303e258a0d00ff3cf03ac3cb649046c05c0fb
2015-09-29 14:39:28 +13:00
Karl Tomlinson
cc26ca0fff
bug 1205558 remove unnecessary ScriptProcessorNodeEngine::mSource r=padenot
...
--HG--
extra : rebase_source : 11eb2a10320e4e8028266730f3208f2b8cbc314f
2015-09-29 14:30:40 +13:00
Chris Peterson
2648aa6251
Bug 1208353 - Fix -Wshadow warnings in dom/audiochannel. r=padenot
...
--HG--
extra : rebase_source : 0eb4688dc114e21a9b1607c14453439b3aff8ab0
2015-09-21 23:39:00 -07:00
Bobby Holley
627b3ff6ca
Bug 1208517 - Use the legacy opt-out in CanAccessNativeAnon for now to avoid crashes. r=me
2015-09-26 00:32:05 -07:00
Wes Kocher
40f2f82907
Merge m-c to inbound, a=merge
2015-09-25 18:02:38 -07:00
Wes Kocher
dab2db0590
Backed out 2 changesets (bug 1207556) for leaks in various mochitests
...
Backed out changeset bd1eed74e2ec (bug 1207556)
Backed out changeset 3260a147595a (bug 1207556)
2015-09-25 14:46:03 -07:00
Karl Tomlinson
56758d35f3
bug 1205558 remove unused AudioNodeStream* aSource parameter r=padenot
...
--HG--
extra : rebase_source : 23fb5cfaa0fa3bc117183bb122bbdf032957637b
2015-09-22 17:11:52 +12:00
Karl Tomlinson
24b8c43a95
bug 1205558 use destination stream for audio node engine time r=padenot
...
--HG--
extra : rebase_source : 19fa80f48fac673c13345002cd8e01d1b7a5ed3d
2015-09-22 16:34:45 +12:00
Ehsan Akhgari
cbf56a9898
Bug 1208895 - Fix a typo in nsGenericHTMLElement::GetItemId(); r=baku
...
Found by Viva64.
2015-09-28 09:08:45 -04:00
Ehsan Akhgari
4ff5a15c06
Bug 1208897 - Fix an initialization order bug in DOMStorageDBThread; r=baku
...
This is found by Viva64. The error is in fact benign since the
StatementCache constructor takes a reference to the nsCOMPtr
passed to it, and stores it for later use, so nothing bad
happens at runtime, but still we should not be using uninitialized
members to initialize other members with.
2015-09-28 09:08:44 -04:00
Ehsan Akhgari
72953e5810
Bug 1208905 - Fix a condition in PresentationResponderLoadingCallback::Init; r=baku
...
Found by Viva64.
2015-09-28 09:08:42 -04:00
Ehsan Akhgari
5623a2154b
Bug 1208925 - Use delete to free instanceData since it has been allocated using new; r=baku
...
Found by Viva64.
2015-09-28 09:08:41 -04:00
Carsten "Tomcat" Book
ae6755a03e
Merge mozilla-central to mozilla-inbound
2015-09-28 14:18:24 +02:00
Carsten "Tomcat" Book
4952084732
Backed out 3 changesets (bug 1155923) for causing test failures in promises-call.html
...
Backed out changeset 321a932e01a7 (bug 1155923)
Backed out changeset 6ac38acd6ab2 (bug 1155923)
Backed out changeset 2981db92416a (bug 1155923)
2015-09-28 14:02:41 +02:00
Karl Tomlinson
75183c57ba
bug 1205558 introduce SecondsToNearestStreamTime r=padenot
...
--HG--
extra : rebase_source : 4a0cce9e1c89ee08d7b1d09babeda861380f1ff2
2015-09-18 15:42:00 +12:00
Karl Tomlinson
884c5a6d1f
bug 1209286 remove now unnecessary StreamTimeToDOMTime and DOMTimeToStreamTime r=padenot
...
--HG--
extra : rebase_source : 7da869260707220259ef804f4b3cc6237a3d5843
2015-09-29 10:46:43 +13:00
Karl Tomlinson
22f0305b78
bug 1208318 ensure that currentTime has advanced sufficiently to easily detect failure r=padenot
...
--HG--
extra : rebase_source : 7ebf94ac10edb5b4ebd8b76e98e8a3821578ce04
2015-09-29 13:39:24 +13:00
Karl Tomlinson
5b32edea6d
bug 1208318 modify test to avoid assuming different clocks are synchronized r=padenot
...
--HG--
extra : rebase_source : 31ecead7358bdb7b511d5efd802f479af46aef42
2015-09-25 13:05:03 +12:00
Ryan VanderMeulen
5c1905cbf4
Bug 1209519 - Undef GetCurrentTime in DocumentTimeline.h to fix --disable-accessibility bustage. r=birtles
...
--HG--
extra : rebase_source : cec795042cf8b6e47209395ff18925d3d9e8d03c
2015-09-29 10:04:30 -04:00
Wes Kocher
6feb6f6051
Merge m-c to inbound, a=merge
2015-09-29 16:13:55 -07:00
Bill McCloskey
6efa744de9
Bug 1191145 - Stop blocking scripts in CPOW IPCs (r=dvander)
2015-09-29 16:11:49 -07:00
James Willcox
cc37ce9e78
Bug 1191918 - Remove printf debugging r=me
2015-09-29 16:48:04 -05:00
James Willcox
e027a0e412
Bug 1191918 - Round battery level to nearest 10% r=bz
2015-09-29 16:30:13 -05:00
Neil Deakin
8748ab96f1
Bug 1208789, clear starting node before traversing backwards by document, r=smaug
2015-09-29 14:49:34 -04:00
Neil Deakin
2d636ad4b5
Bug 1180761, cancel the event earlier so that space doesn't trigger checkbox change and scroll, r=neil
2015-09-29 14:49:32 -04:00
Chris Pearce
cc458e7e9d
Bug 1209385 - Add pref to disable crashing hung GMPs. r=jwwang
2015-09-30 06:56:20 +13:00
Chris Pearce
a76b46867d
Bug 1209385 - Crash GMPs that don't respond to GMPVideoDecoder::Reset(). r=jwwang
2015-09-30 06:56:07 +13:00
Wes Kocher
296abd21ee
Merge m-c to inbound a=merge
...
--HG--
extra : rebase_source : 38a51b2c491658bc19cfac0d227b04ef6e5f6718
2015-09-30 14:10:21 -07:00
Wes Kocher
6fbdec2422
Backed out 12 changesets (bug 1188545) for test_fetch_cors failures CLOSED TREE
...
Backed out changeset e04738ee72a3 (bug 1188545)
Backed out changeset 1989893b59de (bug 1188545)
Backed out changeset 11ff29cc25d8 (bug 1188545)
Backed out changeset 4b6bdf859845 (bug 1188545)
Backed out changeset 76eb7ffeca2a (bug 1188545)
Backed out changeset 4473e036b52e (bug 1188545)
Backed out changeset 2a28cb794b23 (bug 1188545)
Backed out changeset 1fa2f55727f3 (bug 1188545)
Backed out changeset 032f4c24fc34 (bug 1188545)
Backed out changeset 4be675dc1b37 (bug 1188545)
Backed out changeset d5d05def5b17 (bug 1188545)
Backed out changeset e94f12b0bcf3 (bug 1188545)
2015-09-30 11:11:47 -07:00
Wes Kocher
2f2b59e28b
Backed out changeset 026a924b9228 (bug 1207850) for test_fetch_cors failures CLOSED TREE
2015-09-30 11:11:34 -07:00
Jason Orendorff
ebc93772ac
Bug 1206168 - Rename JS_DefaultValue to JS::ToPrimitive. r=jandem.
...
--HG--
extra : commitid : IePcO0FF8By
extra : rebase_source : 74b0cc35acc8dbbde3e9d7d731d415b82f35a833
2015-09-18 12:26:48 -05:00
Matthew Noorenberghe
1db1a07bb8
Bug 1208295
- Dispatch notifications-open-settings upon receiving alertsettingscallback so UI can open notification settings. r=nsm
...
alertsettingscallback only goes to the single observer whereas notifications-open-settings goes through the global observer service.
--HG--
extra : commitid : 2akA3IUQCkx
extra : rebase_source : 40d5758f465fdf1b3e911584c4d9403c572f4a88
2015-09-25 13:18:29 -07:00
Matthew Noorenberghe
239d8c634b
Bug 1205399 - Backend for disabling of notifications for a site from the UI. r=nsm
...
--HG--
extra : commitid : CuTe9Va08j0
extra : rebase_source : 0ec25adf7373df2726c1595a722e5ff82ec329b4
2015-09-25 13:18:28 -07:00
Chris Pearce
dc7d7fd07d
Bug 1207439 - Don't use GMPVideoDecoderTrialCreator for Primetime. r=edwin
2015-09-25 14:19:46 +12:00
Kartikaya Gupta
b6115339aa
Bug 1208072 - Wait for the layer tree to get to the compositor before synthesizing wheel events or they don't have the desired effect. r=dvander
...
--HG--
extra : commitid : 73ZepbLOQ79
2015-09-24 22:11:31 -04:00
Sotaro Ikeda
34a6dca7cc
Bug 1205351 - Replace nsBaseHashtable::Enumerate() calls in dom/media/ with iterators r=cpearce
2015-09-24 18:48:25 -07:00
Olli Pettay
34d1e72ec2
Bug 1198438, having a JS implemented nsIContentPolicy shouldn't break srcset and picture tests, r=johns
...
--HG--
extra : rebase_source : d9844b25942d7fe74cfaaddbc31dc5704f3f22fe
2015-09-25 03:20:31 +03:00
Wes Kocher
04128a0432
Merge m-c to inbound, a=merge
2015-09-24 17:14:17 -07:00
Wes Kocher
0d3937e34d
Merge b2ginbound to central, a=merge
2015-09-24 16:57:38 -07:00
Fabrice Desré
d4aa7f63e2
Bug 1204557 - Stop using base64 for native app icons in the application registry r=jchen
2015-09-24 11:53:05 -07:00
Xidorn Quan
e122198562
Bug 1137009 part 2 - Do not persist attributes of xul window if the window is in fullscreen. r=enndeakin
...
--HG--
extra : source : 19c3f7b23f53ae04f51458de6df339f3166fe3dc
extra : histedit_source : 4bad4820bca43ebf1cd30228c52b4126a35a25a5
2015-09-24 11:39:22 +10:00
Nicholas Nethercote
842dd1cf5a
Bug 1207741 - Remove gfxIntSize. r=nical.
...
gfxIntSize is just a typedef of gfx::IntSize, so this is very mechanical. The
only tricky part is deciding for each occurrence whether to replace it with
IntSize, gfx::IntSize or mozilla::gfx::IntSize; in all cases I went with the
shortest one that worked given the existing "using namespace" declarations.
--HG--
extra : rebase_source : 67fd15f87222b16defa70ef795c6d77dfacf1c36
2015-09-23 11:49:05 -07:00
Bobby Holley
bf99ce5996
Bug 1072150 - Crash in SubjectPrincipal if there's no active AutoJSAPI. r=bz
2015-09-24 14:02:42 -07:00
Bobby Holley
110f12e7ca
Bug 1072150 - Use the opt-out for various sloppy consumers. r=bz
2015-09-24 14:02:41 -07:00
Bobby Holley
f306d3926d
Bug 1072150 - Introduce a transitional legacy API that works like things used to. r=bz
2015-09-24 14:02:41 -07:00
Bobby Holley
023e962751
Bug 1072150 - Don't examine the subject principal in CheckSameOrigin. r=bz
...
I can't believe we do this.
2015-09-24 14:02:40 -07:00
Jeff Gilbert
187dfafc29
Bug 1191042 - Use CreateOffscreen for WebGL instead of CreateHeadless. - r=jrmuizel
2015-09-24 12:21:05 -07:00
Michael Layzell
59b6510302
Bug 1207233 - Don't provide a default content-type header if user calls XHR.setRequestHeader('Content-Type', ''), r=jduell
2015-09-24 16:54:11 -04:00
Olli Pettay
e91dae783c
Bug 1204669 optimize out hashtable lookups caused by extra GetPrototypeBinding call, r=bz,waldo
2015-09-24 03:53:31 +03:00
Matt Woodrow
469ca70375
Bug 1206161 - Make sure the DrawTarget is available when creating a CanvasLayer so that we can check for SkiaGL. r=Bas
...
--HG--
extra : rebase_source : 2d011ee3dbceecfa11a27fc1e1a65d7ec5080f85
2015-09-23 20:30:06 -04:00
Matt Woodrow
2597afb776
Bug 1150944 - Fuzz some reftests with SkiaGL. r=jrmuizel
...
--HG--
extra : rebase_source : 79e398d4c78f02d14582e1662e312c6c2cece40f
2015-09-23 20:28:23 -04:00
Bill McCloskey
90fd01f6e8
Bug 1139860 - Fix xpcshell content process timeout crashes (r=jimm)
2015-09-23 17:18:36 -07:00
Wes Kocher
15e1bb7d7a
Merge m-c to inbound, a=merge CLOSED TREE
2015-09-23 13:23:42 -07:00
Wes Kocher
46c7f8fbad
Merge fx-team to central, a=merge CLOSED TREE
2015-09-23 13:22:10 -07:00
Wes Kocher
0625b82581
Merge b2ginbound to central, a=merge CLOSED TREE
2015-09-23 13:18:17 -07:00
Wes Kocher
b19d88b060
Backed out 7 changesets (bug 1206168, bug 1177318, bug 1054756) for hazard build failures CLOSED TREE
...
Backed out changeset e892727a373a (bug 1206168)
Backed out changeset 6c93d1044b7e (bug 1054756)
Backed out changeset 105433ce195b (bug 1054756)
Backed out changeset 13128a88f2b9 (bug 1054756)
Backed out changeset c250abf4fd17 (bug 1054756)
Backed out changeset fc9fef646a97 (bug 1054756)
Backed out changeset c8897f109a08 (bug 1177318)
2015-09-23 12:31:19 -07:00
Andrea Marchesini
144da2ac21
Bug 1205676 - Enable WPT service-worker/unregister-then-register-new-script.https.html in e10s, r=nsm
2015-09-23 19:40:51 +01:00
Andrea Marchesini
a99df4ccc7
Bug 1207635 - get rid of dom.workers.sharedWorkers.enabled pref, r=khuey
2015-09-23 19:33:40 +01:00
Randell Jesup
6027a43516
Bug 1207416: Add Telemetry for time spent in different Load states in WebRTC r=gcp
2015-09-23 14:10:28 -04:00
Carsten "Tomcat" Book
8c6fb25f01
Merge mozilla-central to fx-team
...
--HG--
rename : ipc/chromium/src/third_party/libevent-avoid-empty-sighandler.patch => ipc/chromium/src/third_party/libevent/patches/avoid-empty-sighandler.patch
rename : ipc/chromium/src/third_party/libevent-dont-use-issetugid-on-android.patch => ipc/chromium/src/third_party/libevent/patches/dont-use-issetugid-on-android.patch
rename : ipc/chromium/src/third_party/libevent/mac-arc4random-buf.patch => ipc/chromium/src/third_party/libevent/patches/mac-arc4random-buf.patch
rename : ipc/chromium/src/third_party/libevent/openbsd-no-arc4random_addrandom.patch => ipc/chromium/src/third_party/libevent/patches/openbsd-no-arc4random_addrandom.patch
rename : ipc/chromium/src/third_party/libevent-use-non-deprecated-syscalls.patch => ipc/chromium/src/third_party/libevent/patches/use-non-deprecated-syscalls.patch
rename : testing/web-platform/mozilla/tests/service-workers/service-worker/getregistrations.sub.html => testing/web-platform/mozilla/tests/service-workers/service-worker/getregistrations.https.html
extra : rebase_source : 67b20330e6107d82c58c1fb0d90926d799380b54
2015-09-23 12:40:30 +02:00
Carsten "Tomcat" Book
774fe78402
Merge mozilla-central to b2g-inbound
2015-09-23 12:35:32 +02:00
Florian Quèze
2d45fb9b54
Bug 862147 - instrument usage of window.sidebar.addSearchEngine, r=froydnj,smaug.
2015-09-23 12:05:37 +02:00
Bruce Sun
a3bf2b4842
Backed out changeset 784aae3f40bf (bug 1181479)
2015-09-23 13:44:02 +08:00
Bruce Sun
5d6ede596a
Backed out changeset 7c07214ac152 (bug 1181479)
2015-09-23 13:44:02 +08:00
Bruce Sun
8266b6d9ff
Backed out changeset 89c64eb24508 (bug 1181479)
2015-09-23 13:44:02 +08:00
Bruce Sun
14c88a179e
Backed out changeset 778062b31fd9 (bug 1181479)
2015-09-23 13:44:02 +08:00
Kaustabh Datta Choudhury
d64ac7ea6b
Bug 1162003 - Enable run-by-dir mode for mochitest_chrome on Fx desktop opt builds. r=jmaher
2015-09-23 13:39:45 -04:00
Bruce Sun
442de07947
Bug 1181479: Sync the coding style; r=jocelyn
2015-09-21 14:41:02 +08:00
Jason Orendorff
5cfd64bf4d
Bug 1206168 - Rename JS_DefaultValue to JS::ToPrimitive. r=jandem.
...
--HG--
extra : commitid : 4nCMAna0EKm
extra : rebase_source : b3590ed380216e2c1202b3773e7894702dc19a9e
2015-09-18 12:26:48 -05:00
Andrew Osmond
cb237f0840
Bug 1196315 - Ensure MIME service is only accessed on the main thread. r=dhylands
2015-09-16 12:18:25 -04:00
Carsten "Tomcat" Book
d1ec083e7e
Backed out 1 changesets (bug 1196358) for causing test failures in test_settings_service.xul
...
Backed out changeset a2e4fa843ae5 (bug 1196358)
2015-09-23 12:09:29 +02:00
Boris Chiou
f7042de103
Bug 1198522 - Add a flag to make sure customized menu is added. r=timdream, r=kanru
...
We use the same array to maintain some system items and customized menu
items, so I add a new flag to make sure we add customized ones.
--HG--
extra : rebase_source : 74c5c2d5294ca949481aee31240535a003e13478
2015-09-18 05:35:00 +02:00
Alastor Wu
ef1434ba9e
Bug 1196358 - update volume setting to database when the volume changing. r=sotaro
...
--HG--
extra : rebase_source : 72ba871c7012c9817df2516c061ffa874605208c
2015-09-22 11:24:31 +08:00
Jessica Jong
501dddb517
Bug 1174998 - Part 4: Test cases for network interface's MTU. r=echen
...
--HG--
extra : commitid : LUMCyzwMO8c
2015-09-23 15:35:34 +08:00
Jessica Jong
3e46f04257
Bug 1174998 - Part 3: Read data call's MTU from network/apn settings. r=echen
...
--HG--
extra : commitid : Fa5T0Y4cD12
2015-09-23 15:35:32 +08:00
Jessica Jong
6d44b27f12
Bug 1174998 - Part 2: Set MTU for connected network interfaces. r=echen
...
--HG--
extra : commitid : Py0xGFk3tb
2015-09-23 15:35:31 +08:00
Jessica Jong
74cd4ce044
Bug 1174998 - Part 1: add setMtu() support in NetworkService. r=echen,smaug
...
--HG--
extra : commitid : HTYjKaoJwgb
2015-09-23 15:35:29 +08:00
Bruce Sun
a8b089a2b8
Bug 1181483: Implement GATT server characteristic notification; r=jocelyn, r=mrbkap
2015-09-23 14:18:01 +08:00
Jocelyn Liu
1832bcbeea
Bug 1181482 - Patch3: Implement |sendResponse| and BluetoothGattAttributeEvent for GATT server read/write requests. r=btian, r=bz
2015-09-23 14:16:27 +08:00
Jocelyn Liu
831adbfe19
Bug 1181482 - Patch2: Revise read/write characteristic/descriptor value to cover both GATT client and GATT server role. r=btian, r=bz
2015-09-23 14:16:05 +08:00
Jocelyn Liu
08e25742a0
Bug 1181482 - Patch1: Refine some data types in gecko backend for GATT server read/write request APIs. r=btian
2015-09-23 14:15:55 +08:00
Bruce Sun
ecebfa45d5
Bug 1181479: Sync the coding style; r=jocelyn
2015-09-21 14:41:02 +08:00
Xidorn Quan
7580549351
Bug 1126230 part 9 - Add test for fullscreen top layer. r=dbaron
...
--HG--
extra : source : 6d08c20b20847b1bc980774658974103fc25e498
2015-10-02 16:34:09 +10:00
Xidorn Quan
fd6366f6e5
Bug 1126230 part 8 - Remove fullscreen override and related test. r=dbaron
...
--HG--
extra : source : 13c6349bea96873967ba5113b552d31f1dab1bac
2015-10-02 16:34:09 +10:00
Xidorn Quan
a6b216549e
Bug 1126230 part 5 - Add nsIDocument::GetFullscreenStack() method. r=smaug
...
--HG--
extra : source : 21918c2112ed8cdf821e5e6eac72ee57fc8c8960
2015-10-02 16:34:09 +10:00
David Anderson
1befc42825
Don't use Direct2D if CompositorD3D11::Initialize fails. (bug 1208638, r=jrmuizel)
2015-10-01 23:06:43 -07:00
Bill McCloskey
207404ad2d
Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs)
2015-10-01 21:18:48 -07:00
Bill McCloskey
633d4a3ecf
Bug 967873 - Test changes for async removeTab (r=Gijs)
2015-10-01 21:18:05 -07:00
Karl Tomlinson
31f93552de
bug 1210266 unfriend AudioBufferSourceNode from AudioNode r=padenot
...
--HG--
extra : rebase_source : 8476dc3499835906378c910f879be7a2652fea81
2015-10-01 00:19:10 +13:00
Karl Tomlinson
8e20d26e10
bug 1210266 remove unused AudioNode::Callback() r=padenot
...
--HG--
extra : rebase_source : dd0e1f311982fb90852f8cb48f3e4517bf5fa8ce
2015-10-01 00:17:32 +13:00
Karl Tomlinson
2733a284c9
bug 1210266 remove unused AudioParam::Node() r=padenot
...
--HG--
extra : rebase_source : 095ffee90f8055792842f371712117ea1fcf92b9
2015-09-18 12:16:38 +12:00
Karl Tomlinson
4799b667a3
bug 1210266 use parameter index instead of node callback for sending timeline events r=padenot
...
--HG--
extra : rebase_source : 27a8ac26a83788c057a225fca47c49af1a021401
2015-10-01 15:48:20 +13:00
Ben Hsu
613fc1bb77
Bug 1204817 - Delete the child property of a parent call only when the parent call exists. r=btseng
2015-09-15 02:03:00 +02:00
Thomas Zimmermann
37726b2ea9
Bug 1209085: Replace simple init ops by |UnpackPDUInitOp| in Blutooth HFP backend, r=joliu
2015-10-06 10:08:15 +02:00
Thomas Zimmermann
9b0b498e50
Bug 1209085: Replace simple init ops by |UnpackPDUInitOp| in Bluetooth GATT backend, r=joliu
2015-10-06 10:08:15 +02:00
Thomas Zimmermann
9c1afc7d89
Bug 1209085: Replace simple init ops by |UnpackInitOp| in Bluetooth Core backend, r=joliu
2015-10-06 10:08:14 +02:00
Thomas Zimmermann
ec9f010e9f
Bug 1209085: Replace trivial init ops by |UnpackPDUInitOp| in Bluetooth AVRCP backend, r=joliu
2015-10-06 10:08:14 +02:00
Thomas Zimmermann
40d7b3a003
Bug 1209085: Replace trivial init ops by |UnpackPDUInitOP| in Bluetooth A2DP backend, r=joliu
2015-10-06 10:08:14 +02:00
Ben Hsu
3eeadf2fdf
Bug 1147296
- Part 5: Replace two testcases (Testcase). r=btseng
...
--HG--
rename : dom/telephony/test/marionette/test_incoming_basic_operations.js => dom/telephony/test/marionette/test_gsm_cdma_incoming_basic_operations.js
rename : dom/telephony/test/marionette/test_outgoing_basic_operations.js => dom/telephony/test/marionette/test_gsm_cdma_outgoing_basic_operations.js
2015-09-25 12:57:59 +08:00
Ben Hsu
a7067ca7e0
Bug 1147296
- Part 4: Expose new functions (head.js). r=btseng
2015-09-11 03:09:00 +08:00
Ben Hsu
19f1483200
Bug 1147296
- Part 3: Introduce a new check function for both GSM and CDMA (head.js). r=btseng
2015-10-04 22:52:00 +08:00
Ben Hsu
6a02504864
Bug 1147296
- Part 2: Move to telephony command group and support CDMA operations (head.js). r=btseng
2015-09-11 03:07:00 +08:00
Ben Hsu
2ff22b7cc9
Bug 1147296
- Part 1: Create |Modem| helper object (head.js). r=btseng
2015-10-04 22:51:00 +08:00
Liang-Heng Chen
2437eeb9b2
Bug 1194049 - Part 1: add thread assertion; r=schien
2015-09-08 23:42:00 +02:00
Wes Kocher
f0d829220d
Backed out changeset 821791826960 (bug 1197893) for Nexus build failures CLOSED TREE
2015-10-02 16:17:05 -07:00
Andrew McCreight
35cd15b8de
Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv
2015-10-02 15:09:02 -07:00
Karl Tomlinson
8d75533f8d
bug 1210280 use nullptr for silent channels in UpMixDownMixChunk r=padenot
...
so that AccumulateInputChunk can optimize for silent channels.
--HG--
extra : rebase_source : 43228733d8586f16bab00737ffb381fbd8127fd3
2015-09-05 11:01:54 +12:00
Jean-Yves Avenard
3c833c2162
Bug 1194080: [mp3] Implement MP3TrackDemuxer::GetBuffered(). r=esawin
...
This is done by roughly estimated the duration of the MediaResource buffered range from the average bitrate.
2015-10-02 12:41:06 +10:00
Jean-Yves Avenard
759f764945
Bug 1207924: [mp3] P1. Fix MP3 decoding with early version of LibAV. r=esawin
...
LibAV 0.8 incorrectly set the pts as dts ; so we must set the dts to ensure not all frames have a time of 0.
2015-10-02 12:41:05 +10:00
Morris Tseng
4a94b0d70f
Bug 1210321 - Convert to external type before calling action. r=smaug
2015-10-02 09:51:18 +08:00
JW Wang
ec3022bd58
Bug 1211327 - Remove unnecessary usage of decoder monitor from MediaDecoderReader and sub-classes. r=jya.
2015-10-05 14:06:14 +08:00
JW Wang
dcabe087e7
Bug 1209864. Part 2 - remove unused code. r=sotaro.
2015-09-29 21:39:14 +08:00
JW Wang
7435f302de
Bug 1209864. Part 1 - make all methods run on the main thread and remove usage of the decoder monitor. r=roc.
2015-09-27 21:37:48 +08:00
Masayuki Nakano
f961371a5e
Bug 1109410 Resolve CSS transform in ContentEventHandler::ConvertToRootViewRelativeOffset() r=roc
2015-10-05 14:46:39 +09:00
Bobby Holley
f729d738ab
Bug 1208656 - Grab the tail dispatch each time in case the runnable spins the event loop. r=khuey
...
If the runnable spins the event loop, we may end up firing the tail dispatcher,
which causes the AutoTaskDispatcher to be destroyed, after which point invoking
methods on it will crash. We need to grab it each time so that it will be lazily
instantiated as-needed.
2015-10-04 22:46:16 -07:00
Jonathan Watt
d0d01ca3fc
Bug 1207570 - Make HTMLInputElement::GetFilesAndDirectories throw when the type is not file. r=baku
2015-09-02 10:00:48 +01:00
Mantaroh Yoshinaga
a168f613d8
Bug 1180589 part 2 - Add creating mediastream code. r=seanlin
2015-09-29 13:22:25 +09:00
Mantaroh Yoshinaga
3ae9be5860
Bug 1180589 part 1 - Add simulator code for TV Manager API. r=seanlin
2015-09-29 13:22:24 +09:00
Brian Birtles
9621365cd2
Bug 1208929 - Turn on -Wshadow for dom/animation; r=glandium
...
This patch also shuffles the order of LOCAL_INCLUDES and FINAL_LIBRARY to match
what most other moz.build files seem to do.
2015-09-29 13:22:24 +09:00
Josh Matthews
e202227bd2
Bug 1207090 - Expose TCPSocket to chrome contexts. r=bz
2015-09-22 08:45:00 -04:00
Jean-Yves Avenard
7ae057dc90
Bug 1207946: [MSE] P3. Reset cached demuxing index when new data overwrite the end. r=gerald
...
This will force an iterative search upon the next demux request.
2015-09-29 12:31:33 +10:00
Jean-Yves Avenard
488a0d19d9
Bug 1207946: [MSE] P2. Fix seek when target isn't found exactly in a buffered range. r=gerald
2015-09-29 12:31:32 +10:00
Jean-Yves Avenard
9cd4267bfc
Bug 1207946: [MSE] P1. Ensure we stop on the closest keyframe when seeking. r=gerald
...
Should the first frame in the trackbuffer have a time superior to the seek target, mNextSampleTime would be incorrectly set to 0.
2015-09-29 12:31:32 +10:00
Cameron McCormack
260625c5e6
Bug 1198708 - Part 7: Tests. r=birtles
2015-09-29 12:20:14 +10:00
Cameron McCormack
c2e4c54592
Bug 1198708 - Part 6: Implement KeyframeEffectReadOnly.getFrames(). r=birtles,bzbarsky
...
Since getFrames() must gather all properties set at a given keyframe
offset time for a given easing function, we need to provide a total
ordering for ComputedTimingFunction objects. Until the spec defines how
to do this, we sort first by NS_STYLE_TRANSITION_TIMING_FUNCTION_*
value, then second by the four values in a cubic-bezier() function (in
order) or the integer and optional keyword in a steps() function.
Because we don't support automatic spacing of keyframes yet,
ComputedKeyFrame.computedOffset is always the same as Keyframe.offset.
Another assumption made is that the value of easing for a Keyframe
object at 100% should be the same as the value from the previous
Keyframe for the same property. An alternative would be to leave off
easing from that Keyframe, which would need the default value for that
IDL dictionary member removed (otherwise it would always be set to
"linear").
2015-09-29 12:20:14 +10:00
Cameron McCormack
45eb434b3e
Bug 1198708 - Part 5: Add method to serialize a ComputedTimingFunction. r=birtles
2015-09-29 12:20:14 +10:00
Cameron McCormack
9293060eef
Bug 1198708 - Part 1: Store exact timing-function type on nsTimingFunction and ComputedTimingFunction. r=birtles
...
Since Keyframe.easing should reflect the {transition,animation}-timing-
function value relevant to each keyframe, we'll need to store on
nsTimingFunction the specific timing function value that was used, and
copy it down into ComputedTimingFunction for
KeyframeEffectReadOnly.getFrames() to access. This includes storing
whether the optional start/end keyword in a steps() function was
specified.
2015-09-29 12:20:13 +10:00
Jean-Yves Avenard
9396c59cd0
Bug 1089586: Abort pending seeks. r=jwwang
...
We only perform the last seek requested instead.
2015-09-29 11:37:15 +10:00
Jean-Yves Avenard
9323ac2f6a
Bug 1208799: [webm] Use first track found. r=kinetik
2015-09-29 11:37:14 +10:00
Ehsan Akhgari
2eb09d4da3
Bug 1168398 - Ensure that the presshell is initialized before attempting to scroll something into its view; r=enndeakin
2015-09-28 21:19:57 -04:00
Chris Pearce
d565fd2492
Bug 1208289 - Log outstanding frames in GMP DrainComplete() and detect dropped ResetComplete. r=jwwang
...
* * *
Bug 1208289 - Yet another bustage fix. r=bustage
2015-09-29 13:06:14 +13:00