Commit Graph

2734 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
47611f8971 Backed out changeset 3a626a11ac38 (bug 1097468) for B2G ICS Emulator m1 test failures
--HG--
extra : rebase_source : 15927fe3ada3005ad4cde630c480e1d0b04cf0f9
2015-04-01 12:53:02 +02:00
Carsten "Tomcat" Book
18b4bf751f Backed out changeset 80c32af73390 (bug 1139560) 2015-04-01 09:59:35 +02:00
Junior Hsu
13d86b6c11 Bug 1097468 - Part1: expose |homescreen-webapps-manage| in Apps.webidl; r=sicking 2015-03-06 18:24:42 +08:00
John Schoenick
54734da502 Bug 1139560 - <img>.currentSrc should be not be nullable. r=jst 2015-03-04 23:12:00 +01:00
Ben Turner
152d030360 Bug 1112702 - Make IndexedDB transactions non-durable by default, r=khuey. 2015-01-25 22:30:09 -08:00
Jonathan Watt
f95f52e412 Bug 1145246, part 5 - Remove the Animatable.getAnimationPlayers() alias for Animatable.getAnimations(). r=birtles, r=smaug 2015-03-20 18:21:02 +00:00
Jonathan Watt
2e0ff82e9d Bug 1145246, part 1 - Rename Animatable.getAnimationPlayers() to Animatable.getAnimations(), but leave the old name an an alias for the new. r=birtles, r=smaug 2015-03-20 18:20:32 +00:00
Jonathan Watt
d9bad51ee9 Bug 1074630, part 1 - Implement Web Animations finishing behavior. r=birtles, r=smaug 2015-03-18 13:22:11 +00:00
Eddy Bruël
b86b9bb514 Bug 1092102 - Implement WorkerDebuggerGlobalScope.createSandbox;r=khuey 2015-03-31 12:22:40 +02:00
Carsten "Tomcat" Book
5245fa5a7b Backed out changeset 71abbf190d53 (bug 1092102) for static analysis build bustage on a CLOSED TREE
--HG--
extra : rebase_source : fb64615c90507f79d27f3ab096e6e0259cb38c3e
2015-03-31 11:14:46 +02:00
Eddy Bruël
0c47b481d2 Bug 1092102 - Implement WorkerDebuggerGlobalScope.createSandbox;r=khuey 2015-03-31 10:19:04 +02:00
Cameron McCormack
b1f66da064 Bug 1072101 - Part 5: Remove indexed property access on FontFaceSet. r=peterv 2015-03-31 14:05:33 +11:00
Cameron McCormack
db636166fe Bug 1072101 - Part 4: Implement FontFaceSet.{keys,@@iterator}. r=peterv 2015-03-31 14:05:33 +11:00
Cameron McCormack
8f0c4021e3 Bug 1072101 - Part 3: Implement FontFaceSet.forEach. r=peterv 2015-03-31 14:05:33 +11:00
Cameron McCormack
07051e8f27 Bug 1072101 - Part 2: Implement FontFaceSet.{entries,values}. r=peterv 2015-03-31 14:05:33 +11:00
Cameron McCormack
d5707c9f36 Bug 1072101 - Part 1: Implement FontFaceSet.size. r=peterv 2015-03-31 14:05:33 +11:00
Wes Kocher
cb09a2f4de Backed out changeset 3be650e84eea (bug 1112702) 2015-03-30 19:45:56 -07:00
Ben Turner
ae054a3620 Bug 1112702 - Make IndexedDB transactions non-durable by default, r=khuey. 2015-01-25 22:30:09 -08:00
Carsten "Tomcat" Book
60382cb6ba Backed out changeset bf22c9e5c5a3 (bug 1094764) for crashtest failures on a CLOSED TREE 2015-03-30 15:14:09 +02:00
Paul Adenot
6ee36e38f6 Bug 1094764 - Implement AudioContext.suspend and friends. r=roc,ehsan
- Relevant spec text:
    - http://webaudio.github.io/web-audio-api/#widl-AudioContext-suspend-Promise
    - http://webaudio.github.io/web-audio-api/#widl-AudioContext-resume-Promise
    - http://webaudio.github.io/web-audio-api/#widl-AudioContext-close-Promise
    - http://webaudio.github.io/web-audio-api/#widl-AudioContext-state
    - http://webaudio.github.io/web-audio-api/#widl-AudioContext-onstatechange

- In a couple words, the behavior we want:
    - Closed context cannot have new nodes created, but can do decodeAudioData,
    and create buffers, and such.
    - OfflineAudioContexts don't support those methods, transitions happen at
    startRendering and at the end of processing. onstatechange is used to make
    this observable.
    - (regular) AudioContexts support those methods. The promises and
    onstatechange should be resolved/called when the operation has actually
    completed on the rendering thread.  Once a context has been closed, it
    cannot transition back to "running". An AudioContext switches to "running"
    when the audio callback start running, this allow authors to know how long
    the audio stack takes to start running.
    - MediaStreams that feed in/go out of a suspended graph should respectively
    not buffer at the graph input, and output silence
    - suspended context should not be doing much on the CPU, and we should try
    to pause audio streams if we can (this behaviour is the main reason we need
    this in the first place, for saving battery on mobile, and CPU on all
    platforms)

- Now, the implementation:
    - AudioNodeStreams are now tagged with a context id, to be able to operate
    on all the streams of a given AudioContext on the Graph thread without
    having to go and lock everytime to touch the AudioContext. This happens in
    the AudioNodeStream ctor. IDs are of course constant for the lifetime of the
    node.
    - When an AudioContext goes into suspended mode, streams for this
    AudioContext are moved out of the mStreams array to a second array,
    mSuspendedStreams. Streams in mSuspendedStream are not ordered, and are not
    processed.
    - The MSG will automatically switch to a SystemClockDriver when it finds
    that there are no more AudioNodeStream/Stream with an audio track. This is
    how pausing the audio subsystem and saving battery works. Subsequently, when
    the MSG finds that there are only streams in mSuspendedStreams, it will go
    to sleep (block on a monitor), so we save CPU, but it does not shut itself
    down. This is mostly not a new behaviour (this is what the MSG does since
    the refactoring), but is important to note.
    - Promises are gripped (addref-ed) on the main thread, and then shepherd
    down other threads and to the GraphDriver, if needed (sometimes we can
    resolve them right away). They move between threads as void* to prevent
    calling methods on them, as they are not thread safe. Then, the driver
    executes the operation, and when it's done (initializing and closing audio
    streams can take some time), we send the promise back to the main thread,
    and resolve it, casting back to Promise* after asserting we're back on the
    main thread. This way, we can send them back on the main thread once an
    operation has complete (suspending an audio stream, starting it again on
    resume(), etc.), without having to do bookkeeping between suspend calls and
    their result. Promises are not thread safe, so we can't move them around
    AddRef-ed.
    - The stream destruction logic now takes into account that a stream can be
    destroyed while not being in mStreams.
    - A graph can now switch GraphDriver twice or more per iteration, for
    example if an author goes suspend()/resume()/suspend() in the same script.
    - Some operation have to be done on suspended stream, so we now use double
    for-loop around mSuspendedStreams and mStreams in some places in
    MediaStreamGraph.cpp.
    - A tricky part was making sure everything worked at AudioContext
    boundaries.  TrackUnionStream that have one of their input stream suspended
    append null ticks instead.
    - The graph ordering algorithm had to be altered to not include suspended
    streams.
    - There are some edge cases (adding a stream on a suspended graph, calling
    suspend/resume when a graph has just been close()d).
2015-02-27 18:22:05 +01:00
Eddy Bruël
8f6d3f73d2 Bug 1092102 - Implement WorkerDebuggerGlobalScope.setImmediate;r=khuey 2015-03-30 13:54:38 +02:00
Jan-Ivar Bruaroey
b711b1abcf Bug 1046245 - enumerateDevices (harmless interface version) r=smaug, r=jesup 2015-03-03 09:51:05 -05:00
Phil Ringnalda
74fbc95715 Backed out 5 changesets (bug 866846, bug 1131776, bug 1131766, bug 1144806, bug 1112702) on suspicion of causing Windows debug devtools-4 storage crashes
CLOSED TREE

Backed out changeset 142d9ae5826c (bug 1131776)
Backed out changeset 0b4de21b759f (bug 1112702)
Backed out changeset 1b4ead852ae0 (bug 1131766)
Backed out changeset cbd862dd036f (bug 866846)
Backed out changeset 178412a2fe8b (bug 1144806)
2015-03-29 12:55:11 -07:00
Randell Jesup
2b3486247c Backed out 6 changesets (bug 1046245) on a CLOSED TREE 2015-03-29 01:42:32 -04:00
Jan-Ivar Bruaroey
a0143ecf52 Bug 1046245 - enumerateDevices (harmless interface version). r=smaug, r=jesup 2015-03-03 09:51:05 -05:00
Phil Ringnalda
24b4f38005 Back out 6 changesets (bug 1046245) for thinking that MSVC would have anything to do with a __PRETTY_FUNCTION__
CLOSED TREE

Backed out changeset 9e3ecca831d8 (bug 1046245)
Backed out changeset 87dc145f4da8 (bug 1046245)
Backed out changeset 01606cf19a77 (bug 1046245)
Backed out changeset 2ed2b15fe940 (bug 1046245)
Backed out changeset 2b99b193828a (bug 1046245)
Backed out changeset d1ac67faccbb (bug 1046245)
2015-03-28 19:57:17 -07:00
Jan-Ivar Bruaroey
08e703b65e Bug 1046245 - enumerateDevices (harmless interface version). r=smaug, r=jesup 2015-03-03 09:51:05 -05:00
Ben Turner
7d056075df Bug 1112702 - Make IndexedDB transactions non-durable by default, r=khuey.
--HG--
extra : rebase_source : 837613693f18ba7181972d51ea730a112c0b9a25
2015-01-25 22:30:09 -08:00
Ryan VanderMeulen
003e8f5278 Backed out 6 changesets (bug 1046245) for bustage on a CLOSED TREE.
Backed out changeset 222c2f9e3bc9 (bug 1046245)
Backed out changeset 4251eef464a2 (bug 1046245)
Backed out changeset 592f4cc23197 (bug 1046245)
Backed out changeset 5bfb9a1c0550 (bug 1046245)
Backed out changeset e966a5df87b6 (bug 1046245)
Backed out changeset 609f3ca64004 (bug 1046245)
2015-03-28 16:24:25 -04:00
Jan-Ivar Bruaroey
f33f50277c Bug 1046245 - enumerateDevices (harmless interface version). r=smaug, r=jesup 2015-03-03 09:51:05 -05:00
Wes Kocher
e4585cf145 Merge b2g-inbound to m-c a=merge 2015-03-27 17:11:19 -07:00
Ryan VanderMeulen
e09b8cecbf Merge m-c to b2g-inbound. a=merge 2015-03-27 12:20:00 -04:00
Timur Valeev
19a398b233 Bug 1146365 - Add support of union type for FetchEvent.respondWith. r=nsm, r=ehsan 2015-03-24 10:37:39 +03:00
Eddy Bruël
208b56c029 Bug 1092102 - Implement WorkerDebuggerGlobalScope.enterEventLoop;r=khuey 2015-03-27 07:17:16 +01:00
Eddy Bruël
7c855a15e6 Bug 1092102 - Implement WorkerDebuggerGlobalScope.reportError;r=khuey 2015-03-26 20:09:45 +01:00
Ryan VanderMeulen
be425949b5 Merge mozilla-inbound to m-c. a=merge
CLOSED TREE
2015-03-26 14:43:39 -04:00
Szu-Yu Chen [:aknow]
71e2359b3d Bug 1043165 - Part 1: Add TelephonyCall.disconnectedReason (webidl). r=hsinyi 2015-03-26 16:39:39 +08:00
Wes Kocher
8794504c9f Merge m-c to inbound a=merge CLOSED TREE 2015-03-23 16:51:22 -07:00
Jocelyn Liu
b83b288476 Bug 1114515 - Par h4: Implement Service, Characteristic, Descriptor interfaces for GATT client DiscoverServices API. r=btian, r=mrbkap
This patch covers
1) Add BluetoothGattService, BluetoothGattCharacteristic, BluetoothGattDescriptor interfaces
2) Create services, characteristics, descriptors from handling signals distributed by BluetoothGattManager

--HG--
extra : histedit_source : d5d881f0da1ac57c1ad8a0a59100ff6ba86bfde4
2015-03-23 03:27:00 -04:00
Jocelyn Liu
736736c246 Bug 1114515 - Part 3: Implement GATT client DiscoverServices API. r=btian, r=mrbkap
This patch covers
1) Add DiscoverServices() method into BluetoothGatt interface.
2) Implement discover procedure in BluetoothGattManager

--HG--
extra : histedit_source : 9cc8c68706c6147a801bd9f43b91f1b87e329a07
2015-03-23 03:25:00 -04:00
Nikhil Marathe
5e45307f84 Bug 1146059 - Remove Response.finalURL. r=ehsan
--HG--
extra : rebase_source : 6b22c835c2599d20d625b7b0706c625b06080b23
2015-03-21 17:49:29 -07:00
Timur Valeev
19d6b48603 Bug 1136757 - Add direct Response overload for FetchEvent.respondWith(). r=jdm,nsm,ehsan
ON CLOSED TREE
Fix bug number

--HG--
extra : rebase_source : 98ca84186a9840a8827aa8da8a217badffc856c2
extra : histedit_source : ae3613ff672e71d340587c74d511e2beb04030f8
2015-03-20 08:44:20 -07:00
Nikhil Marathe
a6bcf43dcd Backed out changeset 62b55b1f9b7e for wrong bug number ON CLOSED TREE
--HG--
extra : rebase_source : ce58377252069674fd30d3c9ebca91c8d4aca780
extra : histedit_source : 4af47c8f4abf6ba8c234547e47c99a737d3e4771
2015-03-20 08:43:59 -07:00
Timur Valeev
4a14abec30 Bug 1135627 - Add direct Response overload for FetchEvent.respondWith(). r=jdm,nsm,ehsan
--HG--
extra : rebase_source : 1df0b695586ff6273e7e5ded032c2daa3d5e1e31
2015-03-18 06:17:11 +03:00
Dan Glastonbury
c9f30719f5 Bug 1048745 - Uniform array with Uint32Array. r=jgilbert, r=smaug 2015-03-26 14:27:44 +10:00
Steve Fink
fe6e5487f0 Bug 1125412 - Add a pref-gated performance.mozMemory for accessing internal memory usage/threshold info, r=smaug, sr=smaug
--HG--
extra : rebase_source : a5a6a365cadd01e94831c09d50d6a24b05c35982
2015-03-23 12:19:52 -07:00
Bevis Tseng
48e31d5050 Bug 1114935 - Part 5.2: Build MozIccManager by default. r=echen, r=htsai, r=glandium
--HG--
extra : histedit_source : fb9d199f31d4d57d30d670d49044d54f71eba95a
2015-01-14 14:43:32 +08:00
Bevis Tseng
e511c87731 Bug 1114935 - Part 5.1: Bind new nsIccService into MozIcc. r=echen, r=hsinyi
--HG--
extra : histedit_source : c4f30cabe18e4a2ef4f6a34745e95d46c5baaff7
2015-01-13 18:03:44 +08:00
Eddy Bruël
7989a0b7bf Bug 1092102 - Implement WorkerDebugger.postMessage;r=khuey 2015-03-20 12:15:59 +01:00
Jonathan Watt
f7d5a879ea Bug 1127380, part 1 - Initial implementation of AnimationPlayer.playbackRate. r=birtles, r=smaug
--HG--
extra : rebase_source : 5b2dbefbcd986d7529d8567b7f068ac30ad6416e
2015-03-13 20:10:45 +00:00