Commit Graph

31833 Commits

Author SHA1 Message Date
Aaron Klotz
239823a763 Bug 1070755: Fix invalid key for module init histogram; r=vladan
--HG--
extra : rebase_source : ef763b640d733198a951553aae3591725839f4ed
2014-12-15 17:02:02 -07:00
Jan-Ivar Bruaroey
4f6ab2df19 Bug 1106675 - Replace _queueOrRun with a promise-chain. r=mt 2014-12-04 11:12:19 -08:00
Arnaud Bienner
6db8e37318 Bug 826176 - File extension support for accept attribute. r=smaug 2014-11-29 12:22:30 +01:00
Ryan VanderMeulen
cb95b51b81 Merge m-c to inbound. a=merge
CLOSED TREE
2014-12-17 21:03:11 -05:00
Ryan VanderMeulen
bf0212ce4f Backed out changeset dc6994acf4e3 (bug 1109457) for EME test failures and crashes.
CLOSED TREE
2014-12-17 20:57:12 -05:00
Christoph Kerschbaumer
5ae1d5c4b7 Bug 1112782 - Update Redirect handling for CSP followup - CLOSED TREE (r=me) 2014-12-17 17:04:16 -08:00
Bobby Holley
aa8cde4b8e Bug 1101416 - Don't assert against pending exceptions in AutoNoJSAPI. r=luke,r=smaug 2014-12-17 16:34:37 -08:00
Chris Pearce
ddd4b18d14 Bug 1109457 - Add persistent session to our ClearKey CDM. r=edwin 2014-12-18 13:23:27 +13:00
Christoph Kerschbaumer
815aea2245 Bug 1112782 - Update Redirect handling for CSP (r=sstamm) 2014-12-17 14:19:25 -08:00
David Anderson
9b99c0f6d4 Allow containerless scrolling for root scroll frames, too. (bug 1076192, r=tn)
--HG--
extra : rebase_source : 29d74a8734aabc0e583ad5e372f7b04bcc9e2b8f
2014-12-17 15:37:28 -08:00
Brian Birtles
7f2f1073ca Bug 927349 part 7 - Factor out AnimationTimeline::GetRefreshDriver into a separate method; r=jwatt
This is in preparation for adding AnimationTimeline::FastForward in the next
patch which will reuse this code.
2014-12-18 08:42:41 +09:00
Brian Birtles
c93cabd2c1 Bug 927349 part 6 - Rename AnimationPlayer::ResolveStartTime to AnimationPlayer::StartNow; r=jwatt
ResolveStartTime is a bit hard to understand. Eventually, once we implement
SetStartTime, we can probably remove this method altogether and just use that.
This renaming moves us closer to that direction.

This patch also adjusts a comment about the preconditions for calling StartNow.
This is because in a subsequent patch in this series we will update the
assertion at the beginning of StartNow to simply check that the player is
pending.
2014-12-18 08:42:41 +09:00
Brian Birtles
9fdafb68a4 Bug 927349 part 5 - Cancel players that are no longer used; r=jwatt
This patch adds a means of terminating an animation so that is has no effect.
The procedure is defined by Web Animations:

  http://w3c.github.io/web-animations/#cancelling-a-player-section

We don't implement all of this, however, since we don't currently support the
finished promise or custom effects.

In a later bug we will expose this as the cancel() method on AnimationPlayer.

We call this method for terminated animations in nsAnimationManager and
nsTransitionManager to ensure they get removed from the pending player tracker
and so that, for example, the ready promise of CSS Animation player objects is
rejected when the corresponding item is removed from animation-name.
2014-12-18 08:42:41 +09:00
Brian Birtles
c91b2dea43 Bug 927349 part 4 - Make the ready Promise be created lazily; r=heycam
In Bug 1104435 we made the initial ready promise be created lazily. This patch
takes this a step further and makes sure we don't create the promise at all
unless it is explicitly requested.
2014-12-18 08:42:41 +09:00
Brian Birtles
e7e0331a96 Bug 927349 part 3 - Cancel a pending play when pause is called; r=jwatt
This patch updates the pause procedure for AnimationPlayer so that if there is
a pending play it will be cancelled.

At the same it removes the existing check for a redundant call to Pause when we
are already paused. This check is not necessary since if we are already paused
the method will have no effect anyway.

Finally, this patch updates the comment about going to the pending state while
pausing since this will happen in bug 1109390.
2014-12-18 08:42:41 +09:00
Brian Birtles
97da0a29b5 Bug 927349 part 2 - Add AnimationPlayer::mIsPending and return "pending" from AnimationPlayer::PlayState(); r=jwatt
This patch adds a member for tracking if a player is currently pending or not
and uses this to return the "pending" state from PlayState(). We don't currently
set mIsPending to true yet, however.

Additionally, this patch updates AnimationPlayer::ComposeStyle to set
aNeedsRefreshes to true when the player is pending. This is used by the
appropriate animation/transition manager to determine if it should continue to
observe the refresh driver or not.
2014-12-18 08:42:41 +09:00
Brian Birtles
1c721ff76d Bug 927349 part 1 - Add PendingPlayerTracker; r=jwatt
This patch adds a hashtable to nsDocument that stores all the animation players
that are currently waiting to start. In the future it may also be used to store
players that are waiting to pause which is why the methods are called
AddPlayPending/RemovePlayPending instead of just AddPlayer/RemovePlayer.
2014-12-18 08:42:41 +09:00
Brian Birtles
11e4d27c81 Bug 1104435 part 9 - Make getting AnimationPlayer.ready flush for CSS Animation players; r=heycam 2014-12-18 08:42:41 +09:00
Brian Birtles
fdda18cad2 Bug 1104435 part 8 - Add tests for AnimationPlayer.ready; r=heycam 2014-12-18 08:42:40 +09:00
Brian Birtles
28dc20551a Bug 1104435 part 7 - Update AnimationPlayer tests to wait on ready promise; r=heycam
AnimationPlayer.ready will currently always be resolved but by updating these
tests to wait on it anyway they should continue to work once we introduce the
delayed animation start behavior.
2014-12-18 08:42:40 +09:00
Brian Birtles
e510de8cf2 Bug 1104435 part 6 - Use step_func inside Promise callbacks; r=heycam
Since bug 1104433, step_func now passes on the return value of its callback.
That means we can use it directly as a Promise callback function in Promise
chains where the return value of the function is another Promise.

This patch updates existing tests to eliminate the awkward handling we had
around wrapping some parts of Promise callbacks in step() but leaving the return
statement outside it.
2014-12-18 08:42:40 +09:00
Brian Birtles
e6c6f40af3 Bug 1104435 part 5 - Factor out common animation test methods into testcommon.js; r=heycam
This patch moves commonly used addDiv and waitForFrame test methods to
a separate testcommon.js support file.

It also takes advantage of the updates to testharness.js from bug 1104433 to
rework addDiv such that it automatically removes the created div at the end of
the test.
2014-12-18 08:42:40 +09:00
Brian Birtles
d5194f5c02 Bug 1104435 part 4 - Create and resolve new ready promises on play(); r=heycam
Every time we call play() (and in future pause()) we should create a new Promise
object and then fulfill it when we complete the play() operation.

This patch adds that step. This allows us to tweak test cases that currently
expect animations to start immediately so that by waiting on this promise they
will continue to work when we introduce the delayed start behavior in bug
927349.

We should also resolve the ready promise when we are in the pending state and
pause() is called. However, since we currently never enter the pending state we
don't need to add this just yet.
2014-12-18 08:42:40 +09:00
Brian Birtles
5834996813 Bug 1104435 part 3 - Add AnimationPlayer.ready promise; r=smaug
This patch simply adds the ready promise to AnimationPlayer. Creating new
promises and resolving them is added in a subsequent patch.
2014-12-18 08:42:40 +09:00
Brian Birtles
93e0028762 Bug 1104435 part 2 - Make AnimationPlayer derive from nsISupports; r=smaug
Web Animations defines the AnimationPlayer.ready Promise as type
Promise<AnimationPlayer>. This promise resolves to the AnimationPlayer object on
which it is defined. However, in order to be able to pass AnimationPlayer as
a resolution value it needs to implement nsISupports.

This patch makes AnimationPlayer derive from nsISupports.
2014-12-18 08:42:40 +09:00
Brian Birtles
4d0e7f2cd7 Bug 1104435 part 1 - Make AnimationTimeline::GetParentObject return an nsIGlobalObject; r=smaug
In order to create a Promise object for AnimationPlayer.ready, we need an
nsIGlobalObject. Currently we can access this through the following chain:

  AnimationPlayer -> AnimationTimeline -> Document -> nsIGlobalObject

Come bug 1096776 (Support AnimationPlayers without a timeline or with an
inactive timeline) we will no longer be able to rely on having an
AnimationTimeline so we will probably have to store the corresponding window
object on the AnimationPlayer. For now, however, we can look up the timeline as
above.

This patch makes this a little more straightforward by changing the return type
and value of AnimationTimeline::GetParentObject to return the nsIGlobalObject of
the document with which it is associated.
2014-12-18 08:42:40 +09:00
Matt Woodrow
675718e2ea Bug 1112446 - Add logging for media queue lengths. r=ajones 2014-12-18 12:41:19 +13:00
Matt Woodrow
5bb2a0b324 Bug 1112444 - Add a pref to force each appended MSE segment to be in its own decoder. r=ajones 2014-12-18 12:39:34 +13:00
Edgar Chen
4e186eb6ac Bug 1052825 - Part 5: Add test in telephony for unlocking puk via MMI. r=hsinyi 2014-11-28 11:41:34 +08:00
Edgar Chen
1f125ea69e Bug 1052825 - Part 4: Add test in mobileconnection for unlocking puk via MMI. r=hsinyi 2014-11-27 15:12:42 +08:00
Botond Ballo
efb3b4172d Bug 1073081 - Fix -Woverloaded-virtual warnings in the MediaDecoder hierarchy. r=cpearce
--HG--
extra : source : 9aba1a2b1b23b0640867501b1b92f96fb6d0b13a
2014-12-10 13:48:56 -05:00
Botond Ballo
37fdfeaeec Bug 1073081 - Fix -Wmultichar warnings by disabling them. r=ehsan,ted
--HG--
extra : source : be2421d1f5774650bfef732bdf046bf638293a5b
2014-12-10 21:09:33 -05:00
Botond Ballo
449bab4daf Bug 1073081 - Fix warnings about macro redefinitions by renaming macros. r=ehsan
--HG--
extra : source : 18294144de5ff84e3a88945f7222e6eb8bbfcb34
2014-12-10 18:20:10 -05:00
Botond Ballo
8f00119c18 Bug 1073081 - Fix warnings about macro redefinitions by #undef'ing macros. r=ehsan
--HG--
extra : source : 13df0150da382d9d64f7739a29673509b493ba64
2014-12-10 18:26:55 -05:00
Botond Ballo
c06e38f0f8 Bug 1073081 - Fix -Wreorder warnings. r=ehsan
--HG--
extra : source : bb7467946fb9144514a5460a7103956449595d21
2014-11-26 17:57:40 -05:00
Botond Ballo
870235958c Bug 1073081 - Fix -Wunused-result, -Wunused-variable, and -Wunused-but-set-variable warnings. r=ehsan
--HG--
extra : source : a1ac7acfcf14207706eca29be3a20c576c8fae06
2014-11-26 18:13:49 -05:00
Botond Ballo
ca9b3098b7 Bug 1073081 - Fix a -Waddress warning. r=slee
--HG--
extra : source : d88ee36d711edf1df2427097a632f5256ff79234
2014-11-24 19:48:49 -05:00
Botond Ballo
79d427447d Bug 1073081 - Fix -Waddress warnings about Nuwa functions. r=khuey
--HG--
extra : source : 8cd5108862aaf2c579a76ac6e9c08eb69fa5f3ff
2014-11-26 19:20:03 -05:00
Botond Ballo
b68f6489dc Bug 1073081 - Fix -Wattribute warnings by disabling them. r=ehsan,ted
--HG--
extra : source : 8393f458463ff465c0862209a7bef284e5ce6b48
2014-11-24 19:43:19 -05:00
Botond Ballo
8bcf931152 Bug 1073081 - Fix -Wattribute warnings by removing MOZ_EXPORT from forward declarations. r=ehsan
--HG--
extra : source : 25145aa73cb75faa067ec96114968bc55bf7bbac
2014-11-24 19:40:59 -05:00
Botond Ballo
4830e53616 Bug 1073081 - Fix -Wattribute warnings by removing unnecessary forward declarations. r=ehsan
--HG--
extra : source : a53418b5392c529098ca015ea7bce192a73bc5e1
2014-11-24 19:39:00 -05:00
Botond Ballo
40dadf0d08 Bug 1073081 - Fix -Wsign-compare and -Wsign-conversion warnings. r=ehsan
--HG--
extra : source : 88c58a8cc276a4691ed23fd8b8f2f6c0713b50fd
2014-11-24 19:54:33 -05:00
Botond Ballo
2c60ae66cf Bug 1073081 - Fix -Wdelete-non-virtual-dtor warnings by adding virtual destructors. r=ehsan
--HG--
extra : source : 194c715428c3405ec2eb3d041fed36a9515555e5
2014-11-24 19:34:19 -05:00
Botond Ballo
7b85bd5de5 Bug 1073081 - Fix -Wdelete-non-virtual-dtor warnings by marking some classes as MOZ_FINAL. r=ehsan
--HG--
extra : source : 7a909c534cf723b252ea5b0a225a6656399b5b2e
2014-11-24 18:38:23 -05:00
Wes Kocher
2eb72eb486 Merge m-c to inbound a=merge 2014-12-12 17:39:12 -08:00
Sotaro Ikeda
e32c11d714 Bug 1108728 - Remove dormant related state from MediaDecoder r=cpearce 2014-12-12 17:29:24 -08:00
Wes Kocher
58cb48da88 Merge fx-team to m-c a=merge 2014-12-12 17:18:42 -08:00
Wes Kocher
e4ad7391ee Merge b2g-inbound to m-c a=merge 2014-12-12 16:43:37 -08:00
Wes Kocher
8e77adb0d6 Backed out 3 changesets (bug 1107516) for b2g debug emulator mochitest bustage
Backed out changeset 5fe0df3298aa (bug 1107516)
Backed out changeset ce51e5cd2a85 (bug 1107516)
Backed out changeset c3b2309fdf93 (bug 1107516)
2014-12-12 15:29:28 -08:00
Ehsan Akhgari
09a262787c Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted
We are white-listing the existing set of tests that use setTimeout
like this.  Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.

This check is only turned on for mochitest-plain for now.
2014-12-11 13:34:40 -05:00
Christoph Kerschbaumer
a4375f9cf0 Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - dom/ changes (r=sicking) 2014-12-12 09:06:09 -08:00
Christoph Kerschbaumer
97e4b52984 Bug 1110615 - Fix inheriting problem for blobs (r=sicking) 2014-12-12 09:03:47 -08:00
Trevor Saunders
60b14922d8 bug 1098386 - Allow PDocAccessibleConstructor to be recieved when gAccessibilityService doesn't exist r=surkov
Talos causes accessibility to be instantiated only in the content
process.  That means PDocAccessibleConstructor messages can be recieved
by the parent when GetAccService() returns null.  The easiest way of
dealing with this is moving DocManager::mRemoteDocuments from a member
of the acc service singleton to its own global.  That means the parent
process can track accessible documents in child processes without
instantiating a11y in the parent process.
2014-12-08 20:08:15 -05:00
Bobby Holley
f99391c4c3 Bug 1109216 - Chain MediaOmxReader::ReleaseDecoder off MediaDecoderReader::Shutdown resolution. r=cpearce 2014-12-12 14:22:29 -08:00
Bobby Holley
da72b3891c Bug 1109954 - Make resolve/reject values optional in callback signatures. r=cpearce 2014-12-12 14:22:23 -08:00
Ben Kelly
6b1e77b231 Bug 1107516 P3 Make sure all workers have an nsILoadGroup when loading scripts. r=sicking r=bent 2014-12-12 16:41:36 -05:00
Benjamin Smedberg
9f21c59029 Bug 1110818 - Measure crash and breakpad rates for subprocesses (plugin/gmplugin/content), r=gfritzsche
--HG--
extra : rebase_source : d5817f37804323f59d46c9c22c13f0588f2512fc
2014-12-12 14:13:28 -05:00
Benjamin Smedberg
6ddc077746 Bug 1108035 - Add a preference that allows us to disable Flash protected mode from within Firefox. We do this by hooking CreateFileW and replacing the Flash config file with our own. r=aklotz
--HG--
extra : rebase_source : 929cb9acf53f7aa761d202b660dbfc39020bac74
2014-12-12 10:19:06 -05:00
Akshendra Pratap
17f593dfab Bug 1110789 - Cleanup patch for Bug 340494. r=bz 2014-12-12 07:04:00 -05:00
Jan-Ivar Bruaroey
4760e3d471 Bug 1110478 - Remove obsolete peerConnectionImpl.connectDataConnection. r=smaug, r=jesup 2014-12-12 13:00:42 -05:00
Jim Mathies
57bb068631 Bug 874167 - Enable java plugins with e10s on Windows. r=billm 2014-12-12 12:24:24 -06:00
Tom Tromey
18bb6d0861 Bug 1050770 - Add paint details to timeline. r=smaug, r=mattwoodrow 2014-12-11 10:40:00 -05:00
Phil Ringnalda
f7aea19aae Backed out 15 changesets (bug 1087442)
Backed out changeset 3f4166fb5e37 (bug 1087442)
Backed out changeset 0c9c9123a0a9 (bug 1087442)
Backed out changeset 1d85d298042d (bug 1087442)
Backed out changeset 51f3ce397d68 (bug 1087442)
Backed out changeset f3b81a623692 (bug 1087442)
Backed out changeset 472e8fa74596 (bug 1087442)
Backed out changeset 12f97df7b79c (bug 1087442)
Backed out changeset 253cde88d3c5 (bug 1087442)
Backed out changeset b44f9ebd56cb (bug 1087442)
Backed out changeset 48e412887726 (bug 1087442)
Backed out changeset a2c76343f7a9 (bug 1087442)
Backed out changeset 0b5b07cfef0e (bug 1087442)
Backed out changeset 2931c35342a4 (bug 1087442)
Backed out changeset 681ce9dcad64 (bug 1087442)
Backed out changeset 47c505856954 (bug 1087442)
2014-12-11 21:58:21 -08:00
Christoph Kerschbaumer
ce7c3e7aa8 Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - dom/ changes (r=sicking) 2014-12-11 20:45:56 -08:00
Anthony Jones
08736c299f Bug 1110595 - Fix MSE playback stalling; r=mattwoodrow 2014-12-12 17:11:51 +13:00
Morris Tseng
51d08a2a24 Bug 1101364 - Part 2: Add Mochitest. r=mats 2014-12-12 01:15:00 -05:00
Alastor Wu
50d890e0f7 Bug 1100803 - Re-create a decoded media stream if necessary. r=roc 2014-12-15 09:22:15 +08:00
Alastor Wu
bf3526619d Bug 1100803 - Avoid repeated deletion of media ports. r=roc 2014-12-11 10:53:00 +08:00
Alfredo Yang
f089a2fa04 Bug 938034 - Enable new gUM recording callback. r=roc 2014-12-15 01:01:00 -05:00
Alfredo Yang
c623645cee Bug 938034 - Add new GonkCameraImage image type. r=roc 2014-12-15 01:01:00 -05:00
Szu-Yu Chen [:aknow]
4139e9a79b Bug 1100200 - Part 5: Merge emergency and radio-off related tests. r=hsinyi 2014-12-17 23:47:55 +08:00
Szu-Yu Chen [:aknow]
79380f89c8 Bug 1100200 - Part 4: Merge test cases into test_outgoing_basic_operations.js. r=hsinyi 2014-12-17 23:47:55 +08:00
Szu-Yu Chen [:aknow]
b264cd0a9d Bug 1100200 - Part 3: Merge test cases into test_incoming_connecting_hangup.js. r=hsinyi 2014-12-17 23:47:55 +08:00
Szu-Yu Chen [:aknow]
c03cb5a8d5 Bug 1100200 - Part 2: Merge test cases into test_incoming_basic_operations.js. r=hsinyi 2014-12-17 23:47:54 +08:00
Szu-Yu Chen [:aknow]
dd06b8f080 Bug 1100200 - Part 1: Migrate to promise version. r=hsinyi 2014-12-17 23:47:54 +08:00
Edgar Chen
0aa7fa0c12 Bug 1052852 - Use WebIDL enums for contactType. r=hsinyi 2014-12-12 11:08:27 +08:00
Jessica Jong
6a2280b481 Bug 1058305 - (follow-up) re-update nsIRadioInterface uuid. r=hsinyi 2014-12-17 22:27:46 +08:00
Carsten "Tomcat" Book
d714a97341 Merge mozilla-central to b2g-inbound 2014-12-17 13:07:36 +01:00
Yoshi Huang
d01e495b3c Bug 1111523 - isP2P and sessionToken shouldn't exist in nfc-manager-tech-discover wrapper. r=dimi 2014-12-15 18:01:34 +08:00
Yoshi Huang
acfdd2727f Bug 1111528 - onpeerfound shouldn't be called when receiving NDEF from another peer. r=dimi 2014-12-15 18:19:25 +08:00
Christoph Kerschbaumer
0071dc5074 Bug 1080987 - navigator.sendBeacon() needs to sent origin header - test (r=sicking) 2014-11-19 16:03:30 -08:00
Christoph Kerschbaumer
b9ffdef568 Bug 1080987 - navigator.sendBeacon() needs to sent origin header (r=sicking) 2014-11-19 16:03:39 -08:00
Ryan VanderMeulen
3d7d4af71d Backed out changesets acb4dd16755c and 40768f723990 (bug 867348) for static analysis bustage.
CLOSED TREE
2014-12-18 15:59:51 -05:00
Chris Pearce
a23d2bdf73 Bug 1109457 - Add persistent session to our ClearKey CDM. r=edwin 2014-12-19 09:54:34 +13:00
Ehsan Akhgari
2e80a88820 Bug 867348 - Part 2: Apply MOZ_NO_ARITHMETIC_EXPR_IN_ARGUMENT to CheckedInt's constructor; r=jrmuizel
Note that the analysis currently just looks at the AST subtree of the
function call site and is therefore unable to correctly deal with cases
such as the last two hunks of the change to OggCodecState.cpp.  Fixing
the analysis to deal with that would be very difficult, so we currently
adjust the code so that it compiles.  The first hunk in that file though
is a real bug that this analysis found.

--HG--
extra : rebase_source : b44bb6d90d95551d860e0b5a1afcf2bb35cde084
2014-12-18 15:27:05 -05:00
Jan-Ivar Bruaroey
1267c35d6d Bug 1098314 - Ignore and warn on turns: and stuns: urls until we support TURN/STUN TLS. r=bwc 2014-11-17 22:18:49 -05:00
Szu-Yu Chen [:aknow]
b300b7156f Bug 1102671 - Set hangUpLocal correctly. r=hsinyi 2014-12-14 19:48:13 +08:00
Szu-Yu Chen [:aknow]
8051af2598 Bug 1104590 - Fix missing argument. r=hsinyi 2014-12-14 19:46:48 +08:00
Mike Habicher
4e25b1e2d9 Bug 1052821 - expose exposure metering modes to JS, r=aosmond,bz 2014-12-12 21:42:13 -05:00
Mike Habicher
cb12b55b35 Bug 1104055 - fix CameraControl memory leak, r=aosmond 2014-12-12 21:18:03 -05:00
Edgar Chen
de246a0a9a Bug 1052825 - Part 3: RIL and test changes for lockType WebIDL enum. r=hsinyi 2014-11-12 12:39:04 +08:00
Edgar Chen
ec63bd2ac9 Bug 1052825 - Part 2: DOM changes for using WebIDL enum in lockType. r=smaug 2014-11-11 18:16:57 +08:00
Fabrice Desré
13d9f723e5 Bug 1107259 - Remove the sync IPC getDPI() and getDefaultScale() during app startup. r=thinker 2014-12-12 09:50:46 -08:00
Tom Schuster
8960d9ef9f Bug 1094176 - Remove lookup API from browser. r=bholley 2014-12-17 00:28:39 +01:00
Tom Schuster
7ed0e36ad2 Bug 783829 - Remove getEnumerablePropertyKeys. r=efaust,bholley 2014-12-17 00:28:38 +01:00
Tom Schuster
f834688bbc Bug 783829 - Change from Proxy iterate to enumerate. r=efaust,bholley 2014-12-17 00:28:38 +01:00
Ben Turner
d4bff69580 Bug 1104853 - Add a null check to an async IDB open operation, r=khuey. 2014-12-16 15:19:19 -08:00
Matt Woodrow
38354269a6 Bug 1111966 - Fix reporting of parsed and decoded frames for MP4Reader. r=cpearce 2014-12-17 11:31:17 +13:00
Matt Woodrow
646b842413 Bug 1111413 - Part 2: Remove RequestSampleCallback. r=bholley 2014-12-16 23:08:42 +13:00
Matt Woodrow
2c7e571767 Bug 1111413 - Part 1: Use MediaPromises for seeking. r=bholley 2014-12-16 22:52:57 +13:00
Ryan VanderMeulen
5be405b39f Merge m-c to inbound. a=merge
--HG--
rename : xpcom/tests/TestExpirationTracker.cpp => xpcom/glue/tests/gtest/TestExpirationTracker.cpp
2014-12-16 16:05:26 -05:00
Terrence Cole
20e03ef2a5 Bug 1105069 - Part 17: Convert xpc_IsGrayGCThing to GCCellPtr; r=mccr8, j=jonco
--HG--
extra : rebase_source : 9fdc5ac9ca8de9c12a399532db7e77bc34abb7da
2014-12-05 09:38:34 -08:00
Terrence Cole
e4a4d0c7fa Bug 1105069 - Part 14: Convert NoteJSChild to GCCellPtr; r=mccr8, r=jonco
--HG--
extra : rebase_source : 2338e0a57779401f9bc4744bc2fa59a4b31d76bf
2014-12-05 09:38:34 -08:00
Paul Adenot
1497d8eae0 Bug 1108455 - r=jesup 2014-12-09 11:37:01 +01:00
Ben Turner
f2c0ff7d75 Bug 1111842 - Make sure QuotaManager can handle escaped URL components passed from SQLite, r=janv. 2014-12-01 16:29:27 -05:00
Ryan VanderMeulen
e9df582545 Backed out changeset 938abddb1a2d (bug 1080995) for Linux mochitest failures. 2014-12-16 11:41:36 -05:00
Andrew McCreight
13f89f6e49 Bug 1111076 - Get rid of nsIScriptContext::GC(). r=smaug 2014-12-16 08:02:27 -08:00
Ralph Giles
206a008179 Bug 1080995 - Filter out h264parse gstreamer element. r=edwin
This avoids the crash but also blocks video decoding in general, at least with the fluendo decoder. The audio track still plays on valid videos.

We limit the blacklist by version.

Gstreamer 1.0 api calls are untested.
2014-12-16 10:45:48 -05:00
Edgar Chen
596a9052b3 Bug 1052825 - Part 1: Interface changes for using WebIDL enum in lockType. r=hsinyi 2014-10-30 16:29:37 +08:00
Ben Turner
9a1f2f231f Bug 1092311 - Fix IndexedDB profiler markers and logging, r=khuey. 2014-10-15 21:56:52 -07:00
Wes Kocher
6d3a321489 Merge inbound to m-c a=merge 2014-12-11 16:50:45 -08:00
Wes Kocher
ccea819af8 Merge b2g-inbound to m-c a=merge 2014-12-11 16:48:00 -08:00
Aaron Klotz
165993e17f Bug 1070755: Telemetry to track total time that the main thread is blocked during plugin initialization; r=vladan (Relanding because I meant to back out a different commit for bustage, not this) CLOSED TREE 2014-12-11 14:00:47 -07:00
Wes Kocher
821c1dde56 Backed out changeset 22484b7bbff3 (bug 1108728) for mochitest-11 bustage on a CLOSED TREE 2014-12-11 15:19:50 -08:00
Wes Kocher
107c3a54d2 Backed out changeset 62a9e591e57d (bug 1070755) for mochitest-11 bustage on a CLOSED TREE 2014-12-11 14:53:01 -08:00
Aaron Klotz
8c17675dca Bug 1070755: Telemetry to track total time that the main thread is blocked during plugin initialization; r=vladan 2014-12-11 14:00:47 -07:00
Sotaro Ikeda
256fdbd326 Bug 1108728 - Remove dormant related state from MediaDecoder r=cpearce 2014-12-11 12:15:12 -08:00
Jan Varga
28081c7948 Bug 1110067 - Presence of asmjs cache in storage/temporary causing indexedDB.open() to fail for non-persistent storage; r=bent 2014-12-11 20:34:52 +01:00
Ryan VanderMeulen
efca71336b Backed out changeset 0460160af653 (bug 1039639) for B2G debug mochitest crashes. 2014-12-11 11:59:47 -05:00
Mike Habicher
003c0f1ac8 Bug 1107683 - remove method callbacks from CameraControl, r=aosmond,bz 2014-12-11 11:02:51 -05:00
Jonathan Hao
7523ecd024 Bug 1105201 - [RTSP] Can't play if tap pause/play continuously. r=bechen 2014-12-02 15:59:27 -08:00
Jim Porter
ca6add6d5f Bug 1039639 - Add support for Flac on Firefox OS. r=cajbir 2014-12-02 16:37:00 -05:00
Ting-Yu Lin
f674a2ec9b Bug 1067728 - Part 5 - Dispatch updateposition after scroll end and reflow. r=roc, sr=smaug
Add a selection state "updateposition" and a field "visible" to indicate
that the current selection's boundingClientRect or visible is changed.
We dispatch this state after scrolling or reflowing is done.
2014-12-10 01:50:00 +01:00
Thomas Zimmermann
e81f7a7fc6 Bug 1095487: Add Blueooth A2DP support when using daemon backend, r=shuang 2014-12-11 10:53:14 +01:00
Thomas Zimmermann
84cfd20bbb Bug 1095487: Added Blueooth A2DP interface for daemon backend, r=shuang 2014-12-11 10:53:14 +01:00
Thomas Zimmermann
8a19feb688 Bug 1095487: Added Bluetooth A2DP module for daemon backend, r=shuang 2014-12-11 10:53:14 +01:00
Thomas Zimmermann
2b853840cd Bug 1095487: Add Bluetooth A2DP helpers, r=shuang 2014-12-11 10:53:14 +01:00
Szu-Yu Chen [:aknow]
fa2e5ade20 Bug 1093014 - Part 3: Implement in call MMI. r=hsinyi 2014-12-11 16:27:45 +08:00
Szu-Yu Chen [:aknow]
74d20814bb Bug 1093014 - Part 2: Test in call MMI. r=hsinyi 2014-12-11 16:27:45 +08:00
Szu-Yu Chen [:aknow]
4330523a3b Bug 1093014 - Part 1: Refactoring. r=hsinyi 2014-12-11 16:27:44 +08:00
Ryan VanderMeulen
437abd21ee Merge inbound to m-c. a=merge
CLOSED TREE
2014-12-10 16:01:20 -05:00
Ryan VanderMeulen
2662512950 Backed out changesets 027c65d3ac10 and 541ea8e2706e (bug 1104623) for intermittent leaks in the new test. 2014-12-10 12:43:56 -05:00
Nikhil Marathe
d5cdc68ca7 Bug 1107684 - ScriptSettings.cpp xpc::ErrorReport::Init() callers should not pass string where boolean is expected. r=bholley 2014-12-04 09:47:48 -08:00
Tom Tromey
7e74625848 Bug 1095728 - Mark ToJSValue with MOZ_WARN_UNUSED_RESULT. r=bz 2014-12-09 14:45:00 -05:00
Andrea Marchesini
c69f55b5a4 Bug 1104623 - Inherit security flags if channel already has a loadinfo attached in NS_NewChannel - tests (r=ckerschb) 2014-12-09 20:21:41 -08:00
Carsten "Tomcat" Book
2a69ec4f96 Merge mozilla-central to mozilla-inbound 2014-12-10 13:01:03 +01:00
Carsten "Tomcat" Book
2145ba8738 merge b2g-inbound to mozilla-central a=merge 2014-12-10 12:52:44 +01:00
Karl Tomlinson
323baa2777 backout 78bde999fddd from bug 975782 for assertion failure in mochitest CLOSED TREE
--HG--
extra : amend_source : 3802b09260b751790211ed5fe8174bf162694e5a
2014-12-10 17:33:46 +13:00
Kyle Machulis
0636c32ce5 Bug 1105511 - Make observer principal cache name reflect content; r=gerard-majax 2014-12-09 13:53:20 -08:00
Kyle Machulis
acc7048fe4 Bug 1105511 - Store principals with locks instead of with tasks; r=gerard-majax 2014-12-09 13:53:04 -08:00
Kyle Machulis
ac9724ff1e Bug 1105511 - Check validity of principals before doing permissions check; r=gerard-majax 2014-12-09 13:52:46 -08:00
Ryan VanderMeulen
507e950980 Merge b2g-inbound to m-c. a=merge 2014-12-09 14:11:06 -05:00
Ryan VanderMeulen
1bdab6fe7b Backed out changesets fb903f13f215, 9c5c712698e4, and 36d257ead3da (bug 1092835) for causing test_csp_allow_https_schemes.html permafail on Android 2.3.
CLOSED TREE
2014-12-09 14:00:47 -05:00
Ryan VanderMeulen
054f112d6d Backed out changeset a0a2ada42652 (bug 936724) because something in the push made Gij(2) permafail.
CLOSED TREE
2014-12-09 12:09:09 -05:00
Carsten "Tomcat" Book
45230b6414 Merge mozilla-central to b2g-inbound 2014-12-09 13:20:50 +01:00
Chris Peterson
d157605c05 Bug 1108932 - Fix -Wunused-const-variable warning-as-error in nsCSPParser.cpp. r=ckerschb 2014-12-08 21:16:51 -08:00
Dimi Lee
13291aa1f7 Bug 1091356 - Change AvailableIn to PrivilegedApps for p2p sharing API. r=smaug r=allstars.chh 2014-12-04 15:55:14 -08:00
Szu-Yu Chen [:aknow]
4421eb704f Bug 1104481 - Provide correct parameters. r=hsinyi 2014-12-09 16:03:19 +08:00
Ryan VanderMeulen
529edd40b5 Merge inbound to m-c. a=merge 2014-12-08 15:46:14 -05:00
Ryan VanderMeulen
47e5302790 Merge fx-team to m-c. a=merge 2014-12-08 15:37:46 -05:00
Ryan VanderMeulen
0aae88bf85 Backed out changesets ae63e2dda6e0, a9ca0113db3c, and d0a6757e24bd (bug 1097823) for bustage.
DONTBUILD CLOSED TREE
2014-12-08 15:00:02 -05:00
Bobby Holley
1a45088976 Bug 1097823 - Implement Media Promises. r=cpearce 2014-12-08 11:34:50 -08:00
Bobby Holley
881af4ca94 Bug 1097823 - Implement MediaTaskQueue::ForceDispatch. r=cpearce
This is necessary to have strong guarantees that promises will be resolved.
While we're flushing the task queue, normal dispatch starts to fail,
meaning that we can't dispatch promise resolution. We have 3 options to handle
this:

(A) Never respond to the promise.
(B) Invoke the Resolve/Reject callback synchronously if dispatch fails.
(C) Prevent dispatch from failing.

(C) seems like the option least likely to violate invariants if we can get away
with it. Promise resolution is unlikely to be a heavyweight task in the way that
a decode task might be, so this should hopefully be ok.

Note that this still doesn't help for bonafide task queue shutdown. It's up to
consumers to tear down their MediaPromiseHolders before the task queues are shut
down.
2014-12-08 11:34:50 -08:00
Bobby Holley
7aa1467674 Bug 1097823 - Move NotDecodedReason from RequestSampleCallback to MediaDecoderReader. r=cpearce 2014-12-08 11:34:50 -08:00
Carsten "Tomcat" Book
d47077edcc Backed out changeset ac697e112134 (bug 1105468) for m5 test failures 2014-12-10 11:44:24 +01:00
Bob Owen
d921ff4edf Bug 1103946 Part 1: Change --content-sandbox mach / mochitest option to --strict-content-sandbox. r=jmaher
Also, change tests that are skipped using (contentSandbox != off) to (strictContentSandbox).
2014-12-10 09:34:03 +00:00
Chris Pearce
e859dcdb44 Bug 1109389 - Don't share task queues with all EMEDecryptors the EME PDM creates. r=kinetik 2014-12-09 20:34:00 +01:00
Jean-Yves Avenard
3b9c59eb6d Bug 1107339 - Add support for MP4 with VP6F video track (FFmpeg only). r=k17e 2014-12-04 11:58:00 -08:00
Jay Wang
56bf9455a1 Bug 1105452 - Need to use new Audio system APIs for audio offload playback. r=roc, r=jld, r=ggrisco
Resolve the build failure caused by API changes

There are some changes in Audio APIs in Android version
21. Modifying the code to use the new APIs.

Change-Id: I24fdeb20f8f957d05fb6c0c317de0a6f0769c347

Resolve seccomp violation caused by syscall 256

Modify the filter to allow syscall 256 (set_tid_address).

Change-Id: I49461770c4c5e70bf68462d34321381b0b7ead0a
2014-12-02 17:10:00 -05:00
Karl Tomlinson
a8eb079cb4 bug 975782 stop delaying the load event when media fetch has stalled r=cpearce,f=kinetik
--HG--
extra : rebase_source : 7e47f1be1b68185377f20c0a8dc5f5f5b70b2938
2014-11-28 18:23:37 +13:00
Andrew McCreight
8d88c3a6f8 Bug 1105468 - OpenFileAndSendFDRunnable::OpenFile needs to ensure we don't release off main thread. r=khuey
If any of the file operations fail, we need to ensure we still dispatch to the main thread.

If the dispatch fails, leak the runnable (and the things it owns) rather than crash when we try to release them off main thread.
2014-11-26 13:05:00 +01:00
Alexandre Poirot
cd42d11736 Bug 1100964 - Reset phone while enabling unrestricted devtools mode. r=fabrice, r=sicking
--HG--
extra : amend_source : 905e0ea7680baad061c66a0b6dc77dbf23258218
2014-11-26 06:46:00 -05:00
Andreas Pehrson
27ed59b426 Bug 1106963 - Resync media stream clock before destroying decoded stream. r=roc 2014-12-04 19:29:00 +01:00
Jan-Ivar Bruaroey
afad2eeeee Bug 1053407 - return DOMError rather than string in peerConnection callbacks. r=bz, r=jesup 2014-11-26 15:26:37 -05:00
Andrea Marchesini
174e98dcb2 Bug 1104623 - Inherit security flags if channel already has a loadinfo attached in NS_NewChannel -tests (r=ckerschb) 2014-12-07 20:24:18 -08:00
Bobby Holley
aa27b00ccd Backed out changeset c405b4271e64 (bug 1097823) 2014-12-07 17:09:12 -08:00
Bobby Holley
4867c99ce8 Backed out changeset 8dfbe042e946 (bug 1097823) 2014-12-07 17:09:11 -08:00
Bobby Holley
b55769853e Backed out changeset b56e5e762329 (bug 1097823) 2014-12-07 17:09:09 -08:00
Bobby Holley
8327697375 Backed out changeset b76636e9f49a (bug 1097823) 2014-12-07 17:09:08 -08:00
Bobby Holley
60f876f46a Backed out changeset ab6ddc8ac28a (bug 1097823) 2014-12-07 17:09:06 -08:00
Bobby Holley
5864562a3f Backed out changeset 47c97b8b490c (bug 1097823) 2014-12-07 17:09:04 -08:00
Bobby Holley
d6b8543ed2 Backed out changeset 1ea671313ad3 (bug 1097823) 2014-12-07 17:09:03 -08:00
Bobby Holley
31f9bf9d0b Backed out changeset 979bec024c07 (bug 1097823) 2014-12-07 17:08:19 -08:00
Bobby Holley
da23a71bbe Bug 1097823 - Followup to remove the assertions cpearce asked for because they don't hold. rpending=cpearce 2014-12-07 15:41:46 -08:00
Chris Lord
cccccfadb3 Bug 1106132 - Signal more error types in browser element. r=fabrice 2014-12-05 11:06:25 +00:00
Bobby Holley
7b4b4838ca Bug 1097823 - Followup to avoid null-derefing when promises have already been rejected during shutdown. rpending=cpearce 2014-12-07 15:08:47 -08:00
Bobby Holley
3871f53bf6 Bug 1097823 - Followup fix to ensure that the borrowed task queue doesn't get destroyed before subdecoders shut down. rpending=cpearce 2014-12-07 13:25:11 -08:00
Bobby Holley
b5f3305d3c Bug 1097823 - Replace AudioDecodeRendezvous with promise-y goodness. r=cpearce,karlt 2014-12-07 11:21:35 -08:00
Bobby Holley
61900e1d2d Bug 1097823 - Use MediaPromises for RequestAudioData and RequestVideoData. r=cpearce 2014-12-07 11:21:35 -08:00
Bobby Holley
ecd1b4cbb2 Bug 1097823 - Implement Media Promises. r=cpearce 2014-12-07 11:21:34 -08:00
Bobby Holley
6318733591 Bug 1097823 - Implement MediaTaskQueue::ForceDispatch. r=cpearce
This is necessary to have strong guarantees that promises will be resolved.
While we're flushing the task queue, normal dispatch starts to fail,
meaning that we can't dispatch promise resolution. We have 3 options to handle
this:

(A) Never respond to the promise.
(B) Invoke the Resolve/Reject callback synchronously if dispatch fails.
(C) Prevent dispatch from failing.

(C) seems like the option least likely to violate invariants if we can get away
with it. Promise resolution is unlikely to be a heavyweight task in the way that
a decode task might be, so this should hopefully be ok.

Note that this still doesn't help for bonafide task queue shutdown. It's up to
consumers to tear down their MediaPromiseHolders before the task queues are shut
down.
2014-12-07 11:21:34 -08:00
Bobby Holley
14e9457ae3 Bug 1097823 - Move NotDecodedReason from RequestSampleCallback to MediaDecoderReader. r=cpearce 2014-12-07 11:21:34 -08:00
Bobby Holley
455f15535d Bug 1103324 - Instantiate an AutoNoJSAPI when dispatching IPC messages. r=billm 2014-12-06 09:51:14 -08:00
Jan Varga
7a79af88ee Bug 771288 - Multiprocess FileHandle support (FileHandle on PBackground); Part 1 - Remove unused stuff; r=bent 2014-12-06 07:31:53 -08:00
Carsten "Tomcat" Book
f1726ca015 Backed out changeset d7462aafbd1a (bug 1093014) for b2g X1 perma failures 2014-12-10 13:34:32 +01:00
Carsten "Tomcat" Book
e9e34726db Backed out changeset 838ed7eb8560 (bug 1093014) 2014-12-10 13:34:12 +01:00
Carsten "Tomcat" Book
a3d80458e4 Backed out changeset c06f2c1e0d40 (bug 1093014) 2014-12-10 13:34:11 +01:00
Carsten "Tomcat" Book
e10e1249fe Merge mozilla-central to b2g-inbound 2014-12-10 13:04:13 +01:00
Yoshi Huang
cb253c7c91 Bug 1082475 - B2G NFC: move 'nfc' permission to privilege. r=smaug, pauljt, dimi 2014-11-26 12:16:18 +08:00
Yoshi Huang
cfbd984cd3 Bug 1108996 - using isP2P in NFCTechDiscoveredWrapper. r=dimi
From 677658217f206423c7f07be926e0e9f28d9b37e6 Mon Sep 17 00:00:00 2001
---
 dom/nfc/nsNfc.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2014-12-09 18:51:29 +08:00
Yoshi Huang
ffb0bc5267 Bug 1108005 - Move NFC IPC messages and permission together. r=dimi
From 76b3d82105390ca821df0264e4a7f914950019d2 Mon Sep 17 00:00:00 2001
---
 dom/nfc/gonk/Nfc.js | 115 ++++++++++++++++++----------------------------------
 1 file changed, 40 insertions(+), 75 deletions(-)
2014-12-09 18:56:40 +08:00
Szu-Yu Chen [:aknow]
bfd00e8713 Bug 1093014 - Part 3: Implement in call MMI. r=hsinyi 2014-12-10 15:40:44 +08:00
Szu-Yu Chen [:aknow]
f8b8b504ec Bug 1093014 - Part 2: Test in call MMI. r=hsinyi 2014-12-10 15:40:43 +08:00
Szu-Yu Chen [:aknow]
591e1f5beb Bug 1093014 - Part 1: Refactoring. r=hsinyi 2014-12-10 15:40:42 +08:00
Oleg Romashin
59e59866db Bug 1103412 - Gecko does not compile with printing disabled. r=mconley 2014-11-22 12:15:00 +01:00
Chris Peterson
eb01580f05 Bug 1108304 - Remove deprecated let block in dom/contacts/fallback/ContactDB.jsm. r=reuben 2014-11-30 00:12:48 -08:00
Tim Chien
55b49905e1 Bug 936724 - Implement addInput/removeInput in InputMethod API, r=yxl, r=khuey 2014-12-08 18:46:00 +01:00
Nathan Froyd
eb4768e58c Bug 1095543 - remove unnecessary nsInterfaceHashtable.h includes; r=ehsan 2014-11-07 08:52:43 -05:00
Masatoshi Kimura
487b1516b0 Bug 1092835 - Log usage of weak ciphers in the console. r=keeler,mcmanus 2014-12-10 00:54:06 +09:00
Neil Deakin
b0a6a33837 Bug 1060529, send the enabled state of child process commands to the parent on update, without the test, r=smaug,ehsan 2014-12-09 10:48:27 -05:00