Commit Graph

594 Commits

Author SHA1 Message Date
Randell Jesup
ff26f0eb21 Bug 882145: reland changesets bc4ee7cbd7bd and cf373e408a6b r=bz 2013-09-16 02:34:57 -04:00
Ryan VanderMeulen
ffb1abac7d Backed out changesets bc4ee7cbd7bd and cf373e408a6b (bug 882145) for causing bug 916609. r=jsmith 2013-09-15 18:19:42 -04:00
Jan-Ivar Bruaroey
ed7644263b Bug 882145: gUM constraints converted to webidl + gUMDevices() takes constraints. r=bz r=jesup 2013-09-14 00:48:39 -04:00
Ryan VanderMeulen
982559c42b Merge m-c to inbound. 2013-09-11 22:20:33 -04:00
Vicamo Yang
43b8e10872 Bug 910568 - WebTelephony: move DOM classes to namespace mozilla::dom. r=khuey 2013-09-12 05:47:14 +02:00
David Zbarsky
c0ee768917 Bug 911603 - Convert MozPowerManager to WebIDL r=Ms2ger
--HG--
rename : dom/power/nsIDOMPowerManager.idl => dom/webidl/MozPowerManager.webidl
2013-09-10 19:03:56 -04:00
Andrew McCreight
3c613d26d4 Bug 911333 - Remove customTrace from bindings codegen. r=bz 2013-09-10 08:29:44 -07:00
David Zbarsky
d72b3f16e2 Bug 911575 - Convert canvas callbacks to WebIDL r=bz 2013-09-11 18:35:51 -04:00
David Zbarsky
584fd59ee6 Bug 914944 - Move PowerManager to mozilla::dom r=Ms2ger 2013-09-11 10:35:04 -04:00
Ryan VanderMeulen
1f6d0efee0 Backed out 10 changesets (bug 914944, bug 871445) for mochitest failures on a CLOSED TREE.
Backed out changeset a840638b5b18 (bug 914944)
Backed out changeset f40c7d5790bd (bug 914944)
Backed out changeset e1b288e29663 (bug 871445)
Backed out changeset 6242ddf7b6c7 (bug 871445)
Backed out changeset 7679185a8cf3 (bug 871445)
Backed out changeset 639ec7a627f8 (bug 871445)
Backed out changeset 93b050a79db4 (bug 871445)
Backed out changeset ec3382ceef99 (bug 871445)
Backed out changeset 51c0d5230306 (bug 871445)
Backed out changeset 76c9069bdb56 (bug 871445)
2013-09-11 11:45:51 -04:00
David Zbarsky
0c0d01d589 Bug 914944 - Move PowerManager to mozilla::dom r=Ms2ger 2013-09-11 10:35:04 -04:00
Kyle Huey
7bf860132d Bug 911258: Part 5 - Use the unified exception handling mechanism on workers. r=bz 2013-09-08 20:29:21 -07:00
Kyle Huey
6a6c67829f Bug 911258: Part 4 - Refactor exception implementations. r=bz 2013-09-08 20:28:50 -07:00
Kyle Huey
025c388bda Bug 911258: Part 3 - Convert exceptions to WebIDL. r=bz 2013-09-08 20:28:49 -07:00
Vicamo Yang
7252df0bea Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-07 14:19:53 +08:00
Ryan VanderMeulen
d82368f831 Backed out 7 changesets (bug 907585, bug 873351, bug 864485) for making phones unbootable.
Backed out changeset 001a849303de (bug 873351)
Backed out changeset 8020b3013618 (bug 907585)
Backed out changeset 9039460e09c5 (bug 907585)
Backed out changeset 9464e393a501 (bug 907585)
Backed out changeset d6920653de69 (bug 864485)
Backed out changeset 20ef446b27cd (bug 864485)
Backed out changeset e27c780e1ef5 (bug 864485)
2013-09-06 17:28:10 -04:00
Vicamo Yang
3f03665fbf Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-06 16:11:34 +08:00
Andrea Marchesini
d80e13725f Bug 887364 - URL API for main thread. r=ehsan 2013-09-04 13:07:21 -04:00
Ryan VanderMeulen
0bb2b68229 Merge inbound to m-c. 2013-09-03 17:40:56 -04:00
Jose Antonio Olivera Ortega
538c2fcf73 Bug 888593 - Move MozVoicemail to WebIDL. r=Ms2ger
--HG--
rename : dom/voicemail/nsIDOMMozVoicemail.idl => dom/webidl/MozVoicemail.webidl
2013-09-03 16:38:53 +02:00
Kyle Huey
b967782465 Bug 909563: Part 3 - Rename nsDOMParser and drop Bindings.conf annotations. r=bz
--HG--
rename : content/base/src/nsDOMParser.cpp => content/base/src/DOMParser.cpp
rename : content/base/src/nsDOMParser.h => content/base/src/DOMParser.h
2013-08-30 10:16:32 -07:00
Kyle Huey
063f0d01af Bug 909563: Part 2 - Remove a couple unneeded annotations. r=bz 2013-08-30 10:14:19 -07:00
Kyle Huey
0ac384a996 Bug 909563: Part 1 - Fix whitespace in Bindings.conf. r=bz 2013-08-30 10:13:20 -07:00
Rick Eyre
d91df96fac Bug 868509 - Rename TextTrackCue to VTTCue r=rillian
This way we can ensure that JS code written for WebVTT is spec
compliant while at the same time not having to abstract VTTCue
from TextTrackCue.

--HG--
rename : dom/webidl/TextTrackCue.webidl => dom/webidl/VTTCue.webidl
2013-08-27 13:07:00 -07:00
Ed Morley
682992c98c Merge mozilla-central and inbound 2013-08-27 15:20:06 +01:00
Andrew Quartey
7a4f4c47b7 Bug 909285 - Fix WebGLActiveInfo Bindings.conf 'headerFile' descriptor. r=Ms2ger 2013-08-27 09:01:45 -04:00
Vicamo Yang
c670c0d9e8 Bug 865403 - Move MozCellBroadcast to WebIDL. r=Ms2ger
--HG--
rename : dom/cellbroadcast/interfaces/nsIDOMMozCellBroadcast.idl => dom/webidl/MozCellBroadcast.webidl
2013-08-27 11:38:37 +08:00
Trevor Saunders
6ad6f7d99c bug 899210 - convert camera control to WebIDL r=bz 2013-07-06 16:55:10 -04:00
Kyle Huey
6213aaaf09 Bug 903772: Part 7 - Remove the worker thread TextEncoder implementation. r=emk 2013-08-22 22:17:10 -07:00
Kyle Huey
9feab0db14 Bug 903772: Part 5 - Remove the worker TextDecoder implementation. r=emk 2013-08-22 22:17:09 -07:00
Kyle Huey
bf31d78a83 Bug 903772: Part 3 - Refactor GlobalObject. r=peterv 2013-08-22 22:17:08 -07:00
Kyle Huey
a54c089296 Bug 903772: Part 1 - Add an API for creating typed arrays that doesn't require the caller to be wrapper cached. r=peterv 2013-08-22 22:17:07 -07:00
Boris Zbarsky
fde2af5f9d Bug 907548. URL.prototype should be undefined, since we don't implement the URL API. r=khuey 2013-08-22 09:46:26 -04:00
Hsin-Yi Tsai
d8cd9a05fb Bug 772765 - Conference call - part1 - webidl. sr=sicking, r=bent 2013-07-20 14:46:35 +08:00
Ehsan Akhgari
d323ec880a Bug 865253 - Part 1: Implement the DOM bindings for OscillatorNode; r=roc 2013-08-19 11:53:00 -07:00
Guillaume Abadie
86136e3f00 bug 900767 - Implement the WebGL extension ANGLE_instanced_arrays - r=jgilbert 2013-08-13 18:11:01 -04:00
Thomas Zimmermann
bda2731440 Bug 888595 - Convert BluetoothDevice to WebIDL. r=bz, r=echou
We keep the old XPIDL files in place to stay compatible with existing
code. They can probably be removed when all bindings have been converted
to WebIDL.
2013-08-12 10:34:28 +02:00
Thomas Zimmermann
75e046a4af Bug 888595 - Convert BluetoothAdapter to WebIDL. r=bz, r=echou
In addition to converting BluetoothAdapter, this patch also converts
MediaMetaData and MediaPlayStatus to WebIDL. The old XPIDL-based
bindings have been removed.
2013-08-12 10:32:53 +02:00
Thomas Zimmermann
60bf85dd1d Bug 888595 - Convert BluetoothManager bindings to WebIDL. r=bz, r=echou
This patch converts the BluetoothManager to WebIDL and removes the
old XPIDL bindings. The only user of BluetoothManager is the class
Navigator, which has been adapted to the change.
2013-08-12 10:31:58 +02:00
Carsten "Tomcat" Book
524da22e31 Backed out changeset 3e6be7551207 (bug 888595) for mochitest failure 2013-08-12 18:08:19 +02:00
Carsten "Tomcat" Book
5e3c55d3f4 Backed out changeset 4ce3e048289c (bug 888595) for mochitest failure 2013-08-12 18:08:03 +02:00
Carsten "Tomcat" Book
3f2e1bc9c0 Backed out changeset 6855c55668a7 (bug 888595) for mochitest oranges 2013-08-12 18:07:32 +02:00
Carsten "Tomcat" Book
7ae8018071 merge mozilla-central to b2g-inbound 2013-08-12 11:52:02 +02:00
Thomas Zimmermann
d1a87dc4f2 Bug 888595: Converted BluetoothDevice to WebIDL, r=bzbarsky,echou
We keep the old XPIDL files in place to stay compatible with existing
code. They can probably be removed when all bindings have been converted
to WebIDL.

--HG--
extra : rebase_source : b6612fbd237d89bd02a2fde34e121691be3c0f08
2013-08-12 10:34:28 +02:00
Thomas Zimmermann
a21fbb7fdc Bug 888595: Converted BluetoothAdapter to WebIDL, r=bzbarsky,echou
In addition to converting BluetoothAdapter, this patch also converts
MediaMetaData and MediaPlayStatus to WebIDL. The old XPIDL-based
bindings have been removed.

--HG--
extra : rebase_source : 8a3e25ff89877148d0765b371ebdf77ad33aad75
2013-08-12 10:32:53 +02:00
Thomas Zimmermann
9735683b39 Bug 888595: Convert BluetoothManager bindings to WebIDL, r=bzbarsky,echou
This patch converts the BluetoothManager to WebIDL and removes the
old XPIDL bindings. The only user of BluetoothManager is the class
Navigator, which has been adapted to the change.

--HG--
extra : rebase_source : 4bdc77b3923d4ca6ec820c12454a295010382839
2013-08-12 10:31:58 +02:00
Johnny Stenback
eb82278883 Bug 859707. Convert History to WebIDL bindings. r=bz 2013-08-09 23:47:59 -07:00
Hsin-Yi Tsai
f7c97fd706 Bug 888592 - move Telephony and TelephonyCall to webidl. sr=sicking, r=bent 2013-07-15 16:27:19 +08:00
Guillaume Abadie
aa8c3fc910 bug 892978 - [WebGL 2.0] Query objects (GL_ARB_occlusion_query_boolean) - r=jgilbert 2013-08-06 17:23:46 -04:00
Carsten "Tomcat" Book
ce9fe7db3d Merge b2g-inbound to m-c 2013-08-05 11:22:48 +02:00
Yoshi Huang
dfc815e181 Bug 883741 - Part 1: WebCrypto: Move Crypto to WebIDL. r=bz 2013-08-01 14:57:25 +08:00
Kyle Huey
f01bea5183 Bug 845545: Part 6 - Add a switch to force no QueryInterface function and use it for ImageData. r=bz 2013-08-03 16:55:40 -07:00
Kyle Huey
6a4d059236 Bug 845545: Part 5 - Port ImageData to workers. r=mccr8,peterv,bent 2013-08-03 16:55:40 -07:00
Andrea Marchesini
4cf68c1978 Bug 887524 - Move IDBRequest to WebIDL, r=janv 2013-08-01 00:28:15 +02:00
Andrea Marchesini
ebeb72d6f9 Bug 891944 - Move IDBCursor to WebIDL, r=janv 2013-08-01 00:28:13 +02:00
Andrea Marchesini
20617169ee Bug 888596 - Move IDBDatabase to WebIDL, r=janv 2013-07-31 17:48:46 +02:00
Andrea Marchesini
9dbd04ea78 Bug 892065 - Move IDBIndex to WebIDL, r=janv 2013-07-31 17:48:40 +02:00
Andrea Marchesini
ef616d1baf Bug 888597 - Move IDBObjectStore to WebIDL, r=janv 2013-07-31 17:48:36 +02:00
Andrea Marchesini
a1a1e17579 Bug 888598 - Move IDBTransaction to WebIDL, r=janv 2013-07-29 19:12:21 +02:00
David Zbarsky
0f65482b40 Remove unneeded 'nativeOwnership': 'refcounted' annotations, no bug 2013-07-26 13:20:22 -07:00
David Zbarsky
6753f28dcc Bug 856472: CanvasPattern and CanvasGradient don't need to inherit nsISupports r=bz 2013-07-26 11:25:56 -07:00
David Zbarsky
a4a3a95214 Bug 865998: Implement WebIDL union return values r=bz 2013-07-26 11:25:54 -07:00
Ryan VanderMeulen
bd7aefa3d9 Merge m-c to birch. 2013-07-26 10:48:24 -04:00
Vicamo Yang
40d98c0265 Bug 891235: remove mozSms. rs=mounir 2013-07-26 18:40:27 +08:00
Ms2ger
9d125e581b Bug 878600 - Move WorkerLocation to WebIDL; r=khuey 2013-07-24 09:41:55 +02:00
Ms2ger
2aa5daadda Bug 878401 - Move WorkerNavigator to WebIDL; r=khuey 2013-07-24 09:38:23 +02:00
Peter Van der Beken
52d88da1d5 Bug 894448 part 2 - Remove nativeOwnership = 'nsisupports'. r=bzbarsky 2013-07-04 17:24:59 +02:00
David Zbarsky
2f0e22e174 Bug 888685: SVGAnimatedLengthList shouldn't inherit nsISupports r=Ms2ger 2013-07-23 01:34:18 -07:00
David Zbarsky
e6053c5ab9 Bug 888685: SVGAnimatedRect shouldn't inherit nsISupports r=Ms2ger 2013-07-23 01:34:17 -07:00
Guillaume Abadie
16e0f88f06 Bug 890311 - [WebGL 2.0] Add WebGL2Context C++ class inheriting WebGLContext. r=jgilbert 2013-07-17 09:58:09 -04:00
Guillaume Abadie
79fae3c7f5 Bug 890049 - WebGL2 Replace WebGLContext by WebGLContext with one subclass WebGL1Context. r=jgilbert 2013-07-16 10:32:24 -04:00
Boris Zbarsky
4e13ee3c6a Bug 838146 part 10. Turn on WebIDL bindings for Navigator. r=smaug 2013-07-12 10:37:23 -04:00
Boris Zbarsky
05c6fea280 Bug 838146 part 7. Implement the MOZ_MEDIA_NAVIGATOR WebIDL APIs on Navigator. r=smaug, sr=sicking 2013-07-12 10:37:21 -04:00
Boris Zbarsky
735f5c683b Bug 838146 part 6. Implement gamepad, bluetooth, time, audiochannel WebIDL APIs on Navigator. r=smaug, sr=sicking 2013-07-12 10:36:32 -04:00
Boris Zbarsky
0c35f645a5 Bug 838146 part 5. Implement remaining MOZ_B2G_RIL-conditional WebIDL APIs on Navigator. r=smaug, sr=sicking 2013-07-12 10:36:22 -04:00
Boris Zbarsky
12ddb245e1 Bug 838146 part 4. Implement WebIDL API on Navigator for WebTelephony. r=bent, sr=sicking 2013-07-12 10:36:13 -04:00
Boris Zbarsky
0563b53628 Bug 838146 part 2. Implement WebIDL API on Navigator for all our nonstandard extensions that are not behind build-time flags. r=smaug, sr=peterv 2013-07-12 10:35:44 -04:00
Boris Zbarsky
94ca92ae92 Bug 838146 part 1. Implement WebIDL API on Navigator for the parts that are specified or are in nsIDOMNavigator. r=smaug, sr=sicking 2013-07-12 10:35:35 -04:00
Jonathan Watt
ee77b8b230 Bug 880544 - Fix leak in DOMSVGPointList. r=dzbarksy 2013-07-12 11:25:27 +01:00
Jonathan Watt
bd9e887f5c Bug 880544 - Fix leak in DOMSVGPathSegList. r=dzbarksy 2013-07-12 11:25:26 +01:00
Jonathan Watt
8296bfb916 Bug 880544 - Fix leak in DOMSVGNumberList. r=dzbarksy 2013-07-12 11:25:26 +01:00
Jonathan Watt
91b1c7a866 Bug 880544 - Fix leak in DOMSVGLengthList. r=dzbarksy 2013-07-12 11:25:26 +01:00
Jonathan Watt
1f95d7d9a7 Bug 880544 - Fix leak in DOMSVGTransformList. r=dzbarksy 2013-07-12 11:25:25 +01:00
Andrea Marchesini
0090dbd0ea Bug 884279 - Rename Future to Promise. r=mounir
--HG--
rename : dom/future/Makefile.in => dom/promise/Makefile.in
rename : dom/future/Future.cpp => dom/promise/Promise.cpp
rename : dom/future/Future.h => dom/promise/Promise.h
rename : dom/future/FutureCallback.cpp => dom/promise/PromiseCallback.cpp
rename : dom/future/FutureCallback.h => dom/promise/PromiseCallback.h
rename : dom/future/FutureResolver.cpp => dom/promise/PromiseResolver.cpp
rename : dom/future/FutureResolver.h => dom/promise/PromiseResolver.h
rename : dom/future/moz.build => dom/promise/moz.build
rename : dom/future/tests/Makefile.in => dom/promise/tests/Makefile.in
rename : dom/future/tests/moz.build => dom/promise/tests/moz.build
rename : dom/future/tests/test_bug883683.html => dom/promise/tests/test_bug883683.html
rename : dom/future/tests/test_future.html => dom/promise/tests/test_promise.html
rename : dom/future/tests/test_resolve.html => dom/promise/tests/test_resolve.html
rename : dom/webidl/Future.webidl => dom/webidl/Promise.webidl
2013-07-11 16:40:36 -04:00
Ryan VanderMeulen
ec6b3d53b5 Merge m-c to inbound. 2013-07-10 09:45:16 -04:00
Peter Van der Beken
9cbb0938bb Bug 734503 - Add new DOM binding for TouchList; r=jst. 2013-07-10 11:53:53 +02:00
Randy Lin
fcd0ce74f3 Bug 803414 - Part 4: Audio Recording - Web API & Implementation. r=roc 2013-07-05 09:50:25 +08:00
Ehsan Akhgari
81c77fdc86 Bug 890543 - Make AudioBuffer not inherit from nsISupports; r=mccr8 2013-07-05 16:21:52 -04:00
David Zbarsky
fa439e686b Bug 888685: SVGAnimatedLength shouldn't inherit nsISupports r=Ms2ger 2013-07-05 11:57:35 -07:00
David Zbarsky
cca410aaf8 Bug 888685: SVGAnimatedAngle shouldn't inherit nsISupports r=Ms2ger 2013-07-05 11:57:35 -07:00
David Zbarsky
48d0fb8919 Bug 888685: SVGAngle shouldn't inherit nsISupports r=Ms2ger 2013-07-05 11:57:35 -07:00
David Zbarsky
c9b05748a2 Bug 888685: SVGAnimatedBoolean shouldn't inherit nsISupports r=Ms2ger 2013-07-05 11:57:35 -07:00
Ehsan Akhgari
43122d5613 Fix sorting on variables in WebIDL.mk, and also fix the wrong sorting order in Bindings.conf added in bug 855611
--HG--
extra : rebase_source : 87aa51d944193f73ea0a4e04c660785e6f5ddb4b
2013-07-09 10:54:05 -04:00
Johnny Stenback
7faf821ddb Fixing bug 855611. Convert navigator.plugins and navigator.mimeTypes to use new DOM bindings. r=peterv@propagandism.org. 2013-07-09 06:58:21 -07:00
Matthew Gregan
13e5c08e6c Bug 855130 - Implement a minimal working subset of the Media Source
Extensions specification.  r=roc
2013-06-21 15:14:42 +12:00
Matthew Gregan
deb8ac1d03 Bug 855130 - Implement HTMLVideoElement's VideoPlaybackQuality (from
Media Source Extensions specification).  r=roc
2013-06-21 15:14:18 +12:00
Phil Ringnalda
223d1262f5 Backed out 5fa1f7715c19:7a300d1d1b23 (bug 855130) for Windows build failures
CLOSED TREE
2013-07-01 21:23:37 -07:00
Matthew Gregan
e960f249c0 Bug 855130 - Implement a minimal working subset of the Media Source Extensions API. r=roc
---
 content/media/mediasource/AsyncEventRunner.h       |  35 ++
 content/media/mediasource/Makefile.in              |  18 +
 content/media/mediasource/MediaSource.cpp          | 395 +++++++++++++++++++++
 content/media/mediasource/MediaSource.h            | 127 +++++++
 .../media/mediasource/MediaSourceInputAdapter.cpp  | 176 +++++++++
 .../media/mediasource/MediaSourceInputAdapter.h    |  43 +++
 content/media/mediasource/SourceBuffer.cpp         | 249 +++++++++++++
 content/media/mediasource/SourceBuffer.h           | 115 ++++++
 content/media/mediasource/SourceBufferList.cpp     | 143 ++++++++
 content/media/mediasource/SourceBufferList.h       |  79 +++++
 content/media/mediasource/moz.build                |  24 ++
 content/media/moz.build                            |   2 +
 dom/bindings/Bindings.conf                         |  13 +
 dom/dom-config.mk                                  |   1 +
 dom/webidl/MediaSource.webidl                      |  38 ++
 dom/webidl/SourceBuffer.webidl                     |  44 +++
 dom/webidl/SourceBufferList.webidl                 |  17 +
 dom/webidl/WebIDL.mk                               |   3 +
 layout/build/Makefile.in                           |   4 +
 modules/libpref/src/init/all.js                    |   3 +
 20 files changed, 1529 insertions(+)
 create mode 100644 content/media/mediasource/AsyncEventRunner.h
 create mode 100644 content/media/mediasource/Makefile.in
 create mode 100644 content/media/mediasource/MediaSource.cpp
 create mode 100644 content/media/mediasource/MediaSource.h
 create mode 100644 content/media/mediasource/MediaSourceInputAdapter.cpp
 create mode 100644 content/media/mediasource/MediaSourceInputAdapter.h
 create mode 100644 content/media/mediasource/SourceBuffer.cpp
 create mode 100644 content/media/mediasource/SourceBuffer.h
 create mode 100644 content/media/mediasource/SourceBufferList.cpp
 create mode 100644 content/media/mediasource/SourceBufferList.h
 create mode 100644 content/media/mediasource/moz.build
 create mode 100644 dom/webidl/MediaSource.webidl
 create mode 100644 dom/webidl/SourceBuffer.webidl
 create mode 100644 dom/webidl/SourceBufferList.webidl
2013-07-02 15:46:48 +12:00
Matthew Gregan
dd3855fa0e Bug 855130 - Implement HTMLVideoElement's VideoPlaybackQuality (from Media Source Extensions spec). r=roc
---
 content/html/content/public/HTMLVideoElement.h |  4 ++
 content/html/content/src/HTMLVideoElement.cpp  | 27 ++++++++++
 content/media/MediaDecoder.h                   | 17 +++++++
 content/media/MediaDecoderStateMachine.cpp     |  6 ++-
 content/media/VideoPlaybackQuality.cpp         | 53 ++++++++++++++++++++
 content/media/VideoPlaybackQuality.h           | 68 ++++++++++++++++++++++++++
 content/media/moz.build                        |  2 +
 dom/base/moz.build                             |  2 +
 dom/bindings/Bindings.conf                     |  4 ++
 dom/webidl/HTMLVideoElement.webidl             |  6 +++
 dom/webidl/VideoPlaybackQuality.webidl         | 20 ++++++++
 dom/webidl/WebIDL.mk                           |  1 +
 12 files changed, 209 insertions(+), 1 deletion(-)
 create mode 100644 content/media/VideoPlaybackQuality.cpp
 create mode 100644 content/media/VideoPlaybackQuality.h
 create mode 100644 dom/webidl/VideoPlaybackQuality.webidl
2013-07-02 15:46:48 +12:00
Ms2ger
8adaa5a198 Bug 886270 - Move SVGAnimatedInteger to WebIDL; r=dzbarsky 2013-07-01 09:02:56 +02:00