Commit Graph

2739 Commits

Author SHA1 Message Date
Nikhil Marathe
0bb77ad8b0 Bug 1109751 - Consume FormData support in Fetch API. r=baku 2015-04-03 22:55:15 -07:00
Wes Kocher
d642860643 Backed out 2 changesets (bug 1109751) for asan mochitest-3 failures
Backed out changeset 269ce19afa43 (bug 1109751)
Backed out changeset add6d1bd2e52 (bug 1109751)
2015-04-03 12:22:47 -07:00
Nikhil Marathe
833423e628 Bug 1109751 - Consume FormData support in Fetch API. r=baku 2015-04-02 10:51:13 -07:00
Jed Davis
4c9271f0d8 Bug 1143934 - Disallow mozSetFileNameArray in content processes. r=ehsan
Summary of rationale: it never entirely worked, in that the File objects
it created would cause form submission to fail, and the longer-term plan
for content-process system-principal scripts is to remove APIs that allow
direct filesystem access.
2015-03-31 20:47:00 -04:00
Vladimir Vukicevic
f3b0e44deb Bug 1148005; Update WebVR APIs based on latest spec changes; r=baku 2015-04-01 16:02:20 -04:00
Carsten "Tomcat" Book
67c906928f Backed out changeset 3a626a11ac38 (bug 1097468) for B2G ICS Emulator m1 test failures 2015-04-01 12:53:02 +02:00
Carsten "Tomcat" Book
26bb0d5a32 Backed out changeset 80c32af73390 (bug 1139560) 2015-04-01 09:59:35 +02:00
Junior Hsu
32eed59d4c Bug 1097468 - Part1: expose |homescreen-webapps-manage| in Apps.webidl; r=sicking 2015-03-06 18:24:42 +08:00
John Schoenick
0399db03c7 Bug 1139560 - <img>.currentSrc should be not be nullable. r=jst 2015-03-04 23:12:00 +01:00
Ben Turner
331d4866a7 Bug 1112702 - Make IndexedDB transactions non-durable by default, r=khuey. 2015-01-25 22:30:09 -08:00
Jonathan Watt
0049e0435c 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
49b12af674 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
5cab6b1876 Bug 1074630, part 1 - Implement Web Animations finishing behavior. r=birtles, r=smaug 2015-03-18 13:22:11 +00:00
Eddy Bruël
d00b267216 Bug 1092102 - Implement WorkerDebuggerGlobalScope.createSandbox;r=khuey 2015-03-31 12:22:40 +02:00
Carsten "Tomcat" Book
1c12053f95 Backed out changeset 71abbf190d53 (bug 1092102) for static analysis build bustage on a CLOSED TREE 2015-03-31 11:14:46 +02:00
Eddy Bruël
2f0b9d1497 Bug 1092102 - Implement WorkerDebuggerGlobalScope.createSandbox;r=khuey 2015-03-31 10:19:04 +02:00
Cameron McCormack
ed67351bba Bug 1072101 - Part 5: Remove indexed property access on FontFaceSet. r=peterv 2015-03-31 14:05:33 +11:00
Cameron McCormack
5f99c1a18d Bug 1072101 - Part 4: Implement FontFaceSet.{keys,@@iterator}. r=peterv 2015-03-31 14:05:33 +11:00
Cameron McCormack
4995d7f612 Bug 1072101 - Part 3: Implement FontFaceSet.forEach. r=peterv 2015-03-31 14:05:33 +11:00
Cameron McCormack
161a8c2a7e Bug 1072101 - Part 2: Implement FontFaceSet.{entries,values}. r=peterv 2015-03-31 14:05:33 +11:00
Cameron McCormack
b7a4daf2fd Bug 1072101 - Part 1: Implement FontFaceSet.size. r=peterv 2015-03-31 14:05:33 +11:00
Wes Kocher
c352c08794 Backed out changeset 3be650e84eea (bug 1112702) 2015-03-30 19:45:56 -07:00
Ben Turner
43b80d420b Bug 1112702 - Make IndexedDB transactions non-durable by default, r=khuey. 2015-01-25 22:30:09 -08:00
Carsten "Tomcat" Book
de9a24faef Backed out changeset bf22c9e5c5a3 (bug 1094764) for crashtest failures on a CLOSED TREE 2015-03-30 15:14:09 +02:00
Paul Adenot
abb5580168 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
52887dab0d Bug 1092102 - Implement WorkerDebuggerGlobalScope.setImmediate;r=khuey 2015-03-30 13:54:38 +02:00
Jan-Ivar Bruaroey
ba8b7e1552 Bug 1046245 - enumerateDevices (harmless interface version) r=smaug, r=jesup 2015-03-03 09:51:05 -05:00
Phil Ringnalda
a5476594ba 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
19225aa9cf Backed out 6 changesets (bug 1046245) on a CLOSED TREE 2015-03-29 01:42:32 -04:00
Jan-Ivar Bruaroey
880d534f17 Bug 1046245 - enumerateDevices (harmless interface version). r=smaug, r=jesup 2015-03-03 09:51:05 -05:00
Phil Ringnalda
f45c1bd02b 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
c13f1afd8c Bug 1046245 - enumerateDevices (harmless interface version). r=smaug, r=jesup 2015-03-03 09:51:05 -05:00
Ben Turner
e10d86d36f Bug 1112702 - Make IndexedDB transactions non-durable by default, r=khuey. 2015-01-25 22:30:09 -08:00
Ryan VanderMeulen
4da777479a 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
6f2c68c317 Bug 1046245 - enumerateDevices (harmless interface version). r=smaug, r=jesup 2015-03-03 09:51:05 -05:00
Wes Kocher
ab449aca37 Merge b2g-inbound to m-c a=merge 2015-03-27 17:11:19 -07:00
Ryan VanderMeulen
dbc2e6caa3 Merge m-c to b2g-inbound. a=merge 2015-03-27 12:20:00 -04:00
Timur Valeev
71db30f7ff 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
27ad456fde Bug 1092102 - Implement WorkerDebuggerGlobalScope.enterEventLoop;r=khuey 2015-03-27 07:17:16 +01:00
Eddy Bruël
c35b5d7565 Bug 1092102 - Implement WorkerDebuggerGlobalScope.reportError;r=khuey 2015-03-26 20:09:45 +01:00
Ryan VanderMeulen
65b8c960ef Merge mozilla-inbound to m-c. a=merge
CLOSED TREE
2015-03-26 14:43:39 -04:00
Szu-Yu Chen [:aknow]
1b1a630e6d Bug 1043165 - Part 1: Add TelephonyCall.disconnectedReason (webidl). r=hsinyi 2015-03-26 16:39:39 +08:00
Wes Kocher
0d9c0798af Merge m-c to inbound a=merge CLOSED TREE 2015-03-23 16:51:22 -07:00
Jocelyn Liu
f19ab05fd5 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
2015-03-23 03:27:00 -04:00
Jocelyn Liu
3934085aa3 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
2015-03-23 03:25:00 -04:00
Nikhil Marathe
f04010b8a1 Bug 1146059 - Remove Response.finalURL. r=ehsan 2015-03-21 17:49:29 -07:00
Timur Valeev
38fee18c3e Bug 1136757 - Add direct Response overload for FetchEvent.respondWith(). r=jdm,nsm,ehsan
ON CLOSED TREE
Fix bug number
2015-03-20 08:44:20 -07:00
Nikhil Marathe
2e35d3d440 Backed out changeset 62b55b1f9b7e for wrong bug number ON CLOSED TREE 2015-03-20 08:43:59 -07:00
Timur Valeev
22c8e8c3da Bug 1135627 - Add direct Response overload for FetchEvent.respondWith(). r=jdm,nsm,ehsan 2015-03-18 06:17:11 +03:00
Dan Glastonbury
ec06079fd7 Bug 1048745 - Uniform array with Uint32Array. r=jgilbert, r=smaug 2015-03-26 14:27:44 +10:00