Thomas Zimmermann
db7099b738
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
Ryan VanderMeulen
febf24bb96
Merge inbound to m-c.
2013-08-09 19:08:45 -04:00
Ryan VanderMeulen
f3a8bfda31
Merge m-c to b2g-inbound.
2013-08-08 16:24:53 -04:00
David Zbarsky
3f641a4475
Bug 883493: Make CGUnionStruct use CGClass r=bz DONTBUILD
2013-08-10 11:17:16 -04:00
David Zbarsky
db45cbc551
Backed out changeset 30bd1b29ac64 for having the wrong commit message DONTBUILD
2013-08-10 11:16:59 -04:00
David Zbarsky
f841b15bb3
* * *
...
Bug 883493: Make CGUnionStruct use CGClass r=bz
2013-08-10 11:14:23 -04:00
David Zbarsky
29318028b2
Bug 883493: Use CGSwitch to generate union structs r=bz
2013-08-10 11:14:22 -04:00
Johnny Stenback
84b7ee4886
Bug 859707. Convert History to WebIDL bindings. r=bz
2013-08-09 23:47:59 -07:00
Boris Zbarsky
305e92bd92
Bug 901531. Remove the unused RootedJSValue class. r=ms2ger
2013-08-09 22:01:45 -04:00
Peter Van der Beken
ac70c03afa
Bug 895758. Make the global scope polluter a proxy. r=bzbarsky
2013-07-09 10:45:13 -04:00
David Zbarsky
7c77122b85
Bug 883493: Switch CGUnionReturnValueStruct to use CGClass r=bz
2013-08-09 21:17:51 -04:00
Nathan Froyd
46a37be6ee
Bug 899652 - use JS::UndefinedValue instead of JSVAL_VOID to encourage constexpr-ness; r=bz
2013-07-29 16:32:44 -04:00
Boris Zbarsky
a91edf5138
Bug 897913 part 2. Allow touching interface objects via an Xray even if the page they're in can't touch them. r=bholley,smaug
2013-08-07 17:40:00 -04:00
Boris Zbarsky
0404e39cd6
Bug 902485. Disallow copy constructors and operator= on WebIDL union structs, because those wouldn't do what you think they should. r=dzbarsky
2013-08-07 17:40:00 -04:00
Boris Zbarsky
8b81c4a145
Bug 901816. Include Nullable and TypedArray headers in binding header files if we have dictionaries that have those as members. r=smaug
2013-08-07 17:40:00 -04:00
Nikhil Marathe
210077a184
Bug 902257 - Include header file for Func attribute in WebIDL codegen. r=bz
2013-08-06 19:22:46 -07:00
Guillaume Abadie
78c2cdc107
bug 892978 - [WebGL 2.0] Query objects (GL_ARB_occlusion_query_boolean) - r=jgilbert
2013-08-06 17:23:46 -04:00
Nicholas Nethercote
9624be5713
Bug 901750 - Change return type of |JSNative| from |JSBool| to |bool|. code=nnethercote,jandem. r=luke,bz.
...
--HG--
extra : rebase_source : 5b3d7cc339af6d93bde078322e25c6e740d1b617
2013-08-02 00:41:57 -07:00
Boris Zbarsky
0b30dee716
Bug 901285. Allow trailing comma in WebIDL enums. r=khuey
2013-08-05 13:40:32 -04:00
Boris Zbarsky
ba2cacb577
Bug 900898 part 4. Support typed arrays inside sequences and variadics. r=smaug
2013-08-05 13:40:02 -04:00
Boris Zbarsky
c053e819dc
Bug 900898 part 3. Support typed arrays inside dictionaries. r=smaug
2013-08-05 13:40:01 -04:00
Boris Zbarsky
bcd1523d40
Bug 900898 part 2. Move to using Nullable<TypedArray> to represent possibly-null TypedArray structs. r=smaug
2013-08-05 13:40:01 -04:00
Boris Zbarsky
1e4bd71b64
Bug 900898 part 1. Give dom::TypedArray structs a no-argument constructor. r=smaug
2013-08-05 13:40:01 -04:00
Jon Coppeard
fb6671743e
Bug 900986 - Convert JS_*Element API to use MutableHandleValue for out params r=terrence r=bholley r=smaug
2013-08-05 14:02:47 +01:00
Jon Coppeard
7e34a56fc6
Bug 900979 - Change JS_DeleteProperty APIs to use a boolean out param rather than a value r=waldo r=bz
2013-08-05 14:01:53 +01:00
Carsten "Tomcat" Book
5c34d25a48
Merge b2g-inbound to m-c
2013-08-05 11:22:48 +02:00
Yoshi Huang
2e2cee1761
Bug 883741 - Part 1: WebCrypto: Move Crypto to WebIDL. r=bz
2013-08-01 14:57:25 +08:00
Boris Zbarsky
87c6485b2e
Bug 707564 followup. Update to new saner JSAPI, fixing merge bustage and ridding us of this pestilential CLOSED TREE. r=bustage
2013-08-04 00:11:30 -04:00
Boris Zbarsky
165344b12f
Bug 900994. Add support for Func annotations on interface objects. r=smaug
2013-08-03 23:38:55 -04:00
Boris Zbarsky
884acf3a89
Bug 707564 part 4. Teach WebIDL Xrays about the GetOwnProperties methods on WebIDL objects that have NewResolve. r=smaug
2013-08-03 23:38:55 -04:00
Boris Zbarsky
c17ffa06b6
Bug 707564 part 3. Give WebIDL bindings with NewResolve hooks Enumerate hooks as well, so enumerating them correctly resolves all the properties. r=smaug
2013-08-03 23:38:54 -04:00
Kyle Huey
c76d0d79c6
Bug 845545: Part 7 - Only set up XRay jsids on the main thread. r=bz
2013-08-03 16:55:41 -07:00
Kyle Huey
23d77e62e7
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
d8a5e42d26
Bug 845545: Part 5 - Port ImageData to workers. r=mccr8,peterv,bent
2013-08-03 16:55:40 -07:00
Bill McCloskey
35518f5639
Bug 899804 - Make CPOWs handle instanceof with WebIDL interfaces (r=bz,dvander)
2013-08-01 16:45:17 -07:00
Jon Coppeard
a9d33996dd
Bug 899973 - GC: Convert the rest of the JS property API to use MutableHandleValue for out params - browser changes r=bz
2013-08-02 13:15:39 +01:00
Ms2ger
e91a3ed10c
Merge m-c to inbound.
2013-08-02 11:40:30 +02:00
Ms2ger
4565d33fad
Backout changeset 531f544bc9ce for breaking B2G tests.
2013-08-02 11:38:49 +02:00
Ms2ger
50634577d5
Merge m-c to inbound.
2013-08-02 11:07:57 +02:00
Ms2ger
87ff310ef9
Bug 832883 - Move IDBKeyRange to WebIDL; r=khuey
2013-08-02 09:09:15 +02:00
Mike Hommey
2e729aa83d
Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8
2013-08-02 10:29:05 +09:00
Bill McCloskey
f6627b7dee
Backout bug 899804 for build errors.
2013-08-01 17:44:03 -07:00
Bill McCloskey
4d5b76fc01
Bug 899804 - Make CPOWs handle instanceof with WebIDL interfaces (r=bz,dvander)
2013-08-01 16:45:17 -07:00
Nikhil Marathe
34261dd495
Bug 899904 - Include header for [NoInterfaceObject]s exposed on Navigator. r=khuey
...
--HG--
extra : rebase_source : 825404f9466f6fe582650e2397734822e9cfa9c1
2013-08-01 10:28:47 -07:00
Gregory Szorc
1340edfe51
Bug 899792 - Establish precompile tier and move IPDL and WebIDL build rules; r=glandium
...
A new build tier is introduced: precompile. The intention is to replace
the export subtier with something better and nonrecursive. IPDL and
WebIDL code generation have been moved into this new tier and are
performed concurrently. This appears to reduce build times due to fewer
"single threaded" build actions.
The subtier tracking UI has been updated to reflect operations that can
occur in parallel. As subtiers are started, they turn yellow. They can
then complete in any order.
Nonrecursive targets have been added to preserve the IPDL and WebIDL
build targets such that developers can type |make| from leaf directories
like they have always done.
2013-07-30 17:00:24 -07:00
Andrea Marchesini
8f98621998
Bug 887524 - Move IDBRequest to WebIDL, r=janv
2013-08-01 00:28:15 +02:00
Andrea Marchesini
3c66a55593
Bug 891944 - Move IDBCursor to WebIDL, r=janv
2013-08-01 00:28:13 +02:00
Tom Schuster
dc4bd05cb5
Bug 884410 - Handlify JS_GetPrototype. r=terrence
2013-07-31 12:20:33 -04:00
Andrea Marchesini
af936eab73
Bug 888596 - Move IDBDatabase to WebIDL, r=janv
2013-07-31 17:48:46 +02:00
Andrea Marchesini
7d820ab021
Bug 892065 - Move IDBIndex to WebIDL, r=janv
2013-07-31 17:48:40 +02:00
Andrea Marchesini
37ded34aa5
Bug 888597 - Move IDBObjectStore to WebIDL, r=janv
2013-07-31 17:48:36 +02:00
Andrea Marchesini
9dcb97c82c
Bug 899546 - ENSURE_SUCCESS macro for ErrorResult, r=bz
2013-07-31 10:12:46 +02:00
Boris Zbarsky
036228ec9f
Bug 892609. Implement support for [ArrayClass]. r=khuey
2013-07-30 22:28:30 -07:00
Ryan VanderMeulen
70fbb1997c
Backed out changesets 77fcbb01366c (bug 899792) and e7d81c2597f2 (bug 899241) for OSX bustage.
...
CLOSED TREE
2013-07-30 21:46:07 -04:00
Gregory Szorc
e0fc597437
Bug 899792 - Establish precompile tier and move IPDL and WebIDL build rules; r=glandium
...
A new build tier is introduced: precompile. The intention is to replace
the export subtier with something better and nonrecursive. IPDL and
WebIDL code generation have been moved into this new tier and are
performed concurrently. This appears to reduce build times due to fewer
"single threaded" build actions.
The subtier tracking UI has been updated to reflect operations that can
occur in parallel. As subtiers are started, they turn yellow. They can
then complete in any order.
Nonrecursive targets have been added to preserve the IPDL and WebIDL
build targets such that developers can type |make| from leaf directories
like they have always done.
2013-07-30 17:00:24 -07:00
Ryan VanderMeulen
5079ebb23d
Merge m-c to inbound.
2013-07-30 15:41:57 -04:00
Ryan VanderMeulen
55f1829235
Merge m-c to fx-team.
2013-07-30 13:12:26 -04:00
Mina Almasry
7d6b47172c
Bug 897185 - toJSON only deals with attributes whose types are serializable. r=bz
...
Now jsonifiers only include serializable attributes in their returned object, as
per spec.
2013-07-30 10:04:04 -04:00
Trevor Saunders
6b2dfe7a73
Bug 899368 - remove static constructors added in bug 894448 with some constexpr pixi dust. r=bz
2013-07-30 08:57:28 +09:00
Jon Coppeard
20fb51afdd
Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug
2013-07-26 10:00:38 +01:00
Ehsan Akhgari
7be47235e6
Bug 895322 - Part 3: Stop generating MOZ_STATIC_ASSERT in Web IDL bindings; r=Waldo
...
--HG--
extra : rebase_source : 5f48f54084623486fd3da0356711526597b90f5f
2013-07-19 14:39:20 -04:00
Ehsan Akhgari
2824b29025
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
...
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Boris Zbarsky
449d9bef50
Bug 895728 part 4. Fix unions to work with the new boolean/numeric/string setup. r=khuey
2013-07-30 10:39:35 -07:00
Boris Zbarsky
658b16a671
Bug 895728 part 3. Fix overload resolution to work with the new boolean/numeric/string setup. r=khuey
2013-07-30 10:39:34 -07:00
Boris Zbarsky
41d8dc6ef4
Bug 895728 part 2. Make booleans, numerics, and strings/enums all be distinguishable from each other. r=khuey
2013-07-30 10:39:34 -07:00
Boris Zbarsky
e86315b77e
Bug 895728 part 1. Introduce "boolean" and "numeric" types, since those will be treated differently for purposes of distinguishability and overload resolution. r=khuey
2013-07-30 10:39:34 -07:00
Robert O'Callahan
1a91dcd0d2
Backing out 6ba07a3e0c80 (bug 892978) to fix test failures
2013-07-29 11:51:37 +12:00
Boris Zbarsky
d7ce88e1dc
Bug 895495 followup. Pass the needed second string to the exception message if the first argument of _create is not a Window. r=ms2ger
2013-07-28 10:50:35 -07:00
Guillaume Abadie
1a4c466eb3
bug 892978 - [WebGL 2.0] Query objects (GL_ARB_occlusion_query) - r=jgilbert
2013-07-28 11:59:03 -04:00
David Zbarsky
e6b60b3b6b
Remove unneeded 'nativeOwnership': 'refcounted' annotations, no bug
2013-07-26 13:20:22 -07:00
David Zbarsky
97389b3a03
Bug 856472: CanvasPattern and CanvasGradient don't need to inherit nsISupports r=bz
2013-07-26 11:25:56 -07:00
David Zbarsky
d170a8f396
Bug 865998: Implement WebIDL union return values r=bz
2013-07-26 11:25:54 -07:00
Ryan VanderMeulen
999bcfda0a
Merge m-c to inbound.
2013-07-26 14:20:01 -04:00
Ryan VanderMeulen
5fbecd2eef
Merge m-c to birch.
2013-07-26 10:48:24 -04:00
Vicamo Yang
7aeae4c5b3
Bug 891235: remove mozSms. rs=mounir
2013-07-26 18:40:27 +08:00
Ms2ger
4dee9eefaf
Bug 878600 - Move WorkerLocation to WebIDL; r=khuey
2013-07-24 09:41:55 +02:00
Ms2ger
d179468520
Bug 878401 - Move WorkerNavigator to WebIDL; r=khuey
2013-07-24 09:38:23 +02:00
Ms2ger
8609abdb1f
Bug 885170 - Remove nsINode::GetClassInfo(); r=peterv
2013-07-24 09:31:06 +02:00
Peter Van der Beken
f3d03f59de
Bug 894448 part 2 - Remove nativeOwnership = 'nsisupports'. r=bzbarsky
2013-07-04 17:24:59 +02:00
Boris Zbarsky
bd1400ee1f
Bug 894448 part 1. Move IsChromeOrXBL to xpcpublic.h. r=bholley
2013-07-25 19:41:46 -07:00
Andrea Marchesini
9609933949
Bug 888598 - Move IDBTransaction to WebIDL, r=janv
2013-07-29 19:12:21 +02:00
Mina Almasry
6e0cc6d805
Bug 872377 - Restore "toJSON" to list of reserved webidl keywords. r=bz
...
This patch makes toJSON a reserved webidl keyword, and changes the implementation of mozRTCSessionDescription to use a jsonifier.
2013-07-29 12:39:18 -04:00
Terrence Cole
28afcc4d1d
Bug 887563 - Convert CallArgs::operator[] to return a Handle; r=Waldo,bz
...
--HG--
extra : rebase_source : a06130820b34f6e1f5bc317e89c087cf0db9eeb8
2013-06-26 16:26:45 -07:00
Jon Coppeard
e6cd070d3d
Bug 896540 - GC: Convert JS_SetProperty* to take MutableHandleValue - browser changes r=bz
2013-07-25 13:57:00 +01:00
Mina Almasry
27f9b1cdb1
Bug 760851 - Add jsonifier WebIDL declaration and add toJSON to performance.timing. r=bz
...
This patch adds a jsonifier declaration to WebIDL's. The declaration adds an autogenerated method toJSON() on the given webidl. This patch also adds jsonifier and toJSON() to PerformanceTiming.webidl, and performance.timing, respectively.
2013-07-26 12:00:49 -04:00
Carsten "Tomcat" Book
ce93df92db
Backed out changeset ae8d72538dee (bug 897484) for b2g bustage
2013-07-26 12:34:25 +02:00
Jon Coppeard
9709d43d76
Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug
2013-07-26 10:00:38 +01:00
Boris Zbarsky
c25761a19b
Bug 895495. Add a faster way to create JS-implemented WebIDL objects from chrome. r=mccr8
...
This adds a Interface._create(targetWindow, chromeObj) static method
that lets a JS-implemented WebIDL object implementing Interface be
created in the window targetWindow using chromeObj as its JS
implementation.
2013-07-23 10:09:19 -04:00
Boris Zbarsky
0314f249cd
Bug 895009. Don't pass in NonNull/OwningNonNull arguments to WebIDL binding consumers. r=peterv
2013-07-22 08:15:43 -04:00
Jon Coppeard
ba4685ee98
Bug 891966 - 2 - Comment calls to Handle::fromMarkedLocation r=bz
2013-07-23 10:58:28 +01:00
Jon Coppeard
03004ec89e
Bug 891966 - 1 - Don't allow construction of Handle<T> from Heap<T> r=bz
2013-07-23 10:58:27 +01:00
Jon Coppeard
a0056f5fa0
Bug 888338 - 6 - more browser post barriers r=mccr8
2013-07-23 10:58:27 +01:00
David Zbarsky
1466d5fd4f
Bug 888685: SVGAnimatedLengthList shouldn't inherit nsISupports r=Ms2ger
2013-07-23 01:34:18 -07:00
David Zbarsky
1c217aae2d
Bug 888685: SVGAnimatedRect shouldn't inherit nsISupports r=Ms2ger
2013-07-23 01:34:17 -07:00
Masatoshi Kimura
43b4a56161
Bug 885107 - Fix testharness tests outside dom/imptests. r=dbaron
2013-07-17 20:26:23 +09:00
Ryan VanderMeulen
7c21303600
Backed out changesets 0a196c0e9f96 (bug 895974) and 0d8aa14f5ed3 (bug 895009) for causing intermittent Linux32 mochitest-1 asserts on a CLOSED TREE.
2013-07-22 18:18:17 -04:00
Boris Zbarsky
cebee2f230
Bug 895009. Don't pass in NonNull/OwningNonNull arguments to WebIDL binding consumers. r=peterv
2013-07-22 08:15:43 -04:00
Ed Morley
7f830b443a
Backed out changeset e12c6f7d6676 (bug 885107) on suspicion of causing bug 894952
2013-07-18 14:43:52 +01:00
Guillaume Abadie
09e5e38a50
Bug 890311 - [WebGL 2.0] Add WebGL2Context C++ class inheriting WebGLContext. r=jgilbert
2013-07-17 09:58:09 -04:00
Masatoshi Kimura
67b8678f7a
Bug 885107 - Fix testharness tests outside dom/imptests. r=dbaron
2013-07-17 20:26:23 +09:00
Terrence Cole
09de524f1a
Bug 862115 - Use Rooted<JSPropertyDescriptor> in favor of JSPropertyDescriptor::AutoRooter r=terrence r=smaug r=bholley
2013-04-30 10:29:40 -07:00
Nicholas Nethercote
d8f824e34e
Bug 898914 (part 1) - Remove JSBool.
...
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Brian O'Keefe
f4815f2203
Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps
2013-07-04 08:28:43 -04:00
Guillaume Abadie
b7de949bc4
Bug 890049 - WebGL2 Replace WebGLContext by WebGLContext with one subclass WebGL1Context. r=jgilbert
2013-07-16 10:32:24 -04:00
Boris Zbarsky
7d96fe6e38
Bug 838146 followup: address missed review comments. r=bholley
2013-07-16 01:39:49 -04:00
Boris Zbarsky
2e1a03a7a3
Bug 838146 part 10. Turn on WebIDL bindings for Navigator. r=smaug
2013-07-12 10:37:23 -04:00
Boris Zbarsky
a7fa30ce2b
Bug 838146 part 9. Make Xrays play nice with WebIDL resolve hooks. r=bholley
2013-07-16 01:31:03 -04:00
Boris Zbarsky
c24ad84210
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
70c2953003
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
6959f0bb17
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
3415d5c50c
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
8e71431cb3
Bug 838146 part 3. Set up preprocessing of Navigator.webidl, since we want to make some stuff on Navigator build-time-conditional. r=khuey
2013-07-12 10:35:53 -04:00
Boris Zbarsky
b927f50c8e
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
90497723d2
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
Justin Wood
25d53584ec
Bug 893798 - Remove superfluous comment spew in build logs. r=bz
2013-07-15 13:49:42 -04:00
Ryan VanderMeulen
c618a3cb48
Backed out 9 changesets (bug 838146) for suspected B2G Mn orange on a CLOSED TREE.
...
Backed out changeset 955a14e3c181 (bug 838146)
Backed out changeset fddccc5fce6e (bug 838146)
Backed out changeset 7cddfebc261c (bug 838146)
Backed out changeset fd3a62dd3910 (bug 838146)
Backed out changeset f06b420e0dfa (bug 838146)
Backed out changeset e0c3d84965cf (bug 838146)
Backed out changeset d3b135e58350 (bug 838146)
Backed out changeset 1bc7f2167503 (bug 838146)
Backed out changeset 483fbc6878a8 (bug 838146)
2013-07-12 18:15:10 -04:00
Boris Zbarsky
cbdfd1f33c
Bug 892559. Don't use #pragma once in example codegen. r=smaug
2013-07-12 10:37:23 -04:00
Boris Zbarsky
f82dba7419
Bug 838146 part 9. Turn on WebIDL bindings for Navigator. r=smaug
2013-07-12 10:37:23 -04:00
Boris Zbarsky
e89fad7782
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
6a677e0b19
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
e35e420540
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
8bdadc377c
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
e6f372f8dd
Bug 838146 part 3. Set up preprocessing of Navigator.webidl, since we want to make some stuff on Navigator build-time-conditional. r=khuey
2013-07-12 10:35:53 -04:00
Boris Zbarsky
d665c0e1a5
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
c3f15bb3e7
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
b3855202dd
Bug 880544 - Fix leak in DOMSVGPointList. r=dzbarksy
2013-07-12 11:25:27 +01:00
Jonathan Watt
c5b68c1e5a
Bug 880544 - Fix leak in DOMSVGPathSegList. r=dzbarksy
2013-07-12 11:25:26 +01:00
Jonathan Watt
c2a7752d69
Bug 880544 - Fix leak in DOMSVGNumberList. r=dzbarksy
2013-07-12 11:25:26 +01:00
Jonathan Watt
5040fbd69c
Bug 880544 - Fix leak in DOMSVGLengthList. r=dzbarksy
2013-07-12 11:25:26 +01:00
Jonathan Watt
b07d71c941
Bug 880544 - Fix leak in DOMSVGTransformList. r=dzbarksy
2013-07-12 11:25:25 +01:00
Nicholas Nethercote
9cdaaf7828
Bug 887558 (part 2) - Move various functions into ProxyObject and FunctionProxyObject. r=jorendorff.
...
--HG--
extra : rebase_source : 14402b9ab7eda3389eb1b812ee961e46067b5b1d
2013-06-20 22:39:22 -07:00
Nicholas Nethercote
ff86dae788
Bug 887558 (part 1) - Introduce ProxyObject and some sub-classes. r=jorendorff.
...
--HG--
extra : rebase_source : 33ed2aff35acbe4de8891a9fb34c60e7a314d9c8
2013-06-20 21:27:28 -07:00
Trevor Saunders
f33ade0d68
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
Andrea Marchesini
ff39bab6f8
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
Hsin-Yi Tsai
c016ff00c3
Bug 888592 - move Telephony and TelephonyCall to webidl. sr=sicking, r=bent
2013-07-15 16:27:19 +08:00
Boris Zbarsky
4ee1caf801
Bug 891585. Don't JS_WrapValue same-compartment typed array return values in bindings code (e.g. ImageData.data). r=peterv
2013-07-11 11:58:29 -04:00
Masatoshi Kimura
d8c75a1cac
Bug 885177 - Make window.ImageDocument ChromeOnly. r=bz
2013-07-11 08:15:30 +09:00
Ryan VanderMeulen
03e73d9988
Backed out changeset b7d6458d2a3c (bug 887483) for apparently causing Android robocop-2 failures.
2013-07-10 13:51:28 -04:00
Trevor Saunders
63ed0e9589
bug 887483 - rm a bunch of useless assignments to FORCE_STATIC_LIB r=mshal
2013-06-25 14:29:26 -04:00
Ryan VanderMeulen
d806e1e244
Merge m-c to inbound.
2013-07-10 09:45:16 -04:00
Peter Van der Beken
343818a218
Bug 734503 - Add new DOM binding for TouchList; r=jst.
2013-07-10 11:53:53 +02:00
Randy Lin
9175f35127
Bug 803414 - Part 4: Audio Recording - Web API & Implementation. r=roc
2013-07-05 09:50:25 +08:00
Ehsan Akhgari
1bdf54b41d
Bug 890543 - Make AudioBuffer not inherit from nsISupports; r=mccr8
2013-07-05 16:21:52 -04:00
David Zbarsky
d917b292bc
Bug 888685: SVGAnimatedLength shouldn't inherit nsISupports r=Ms2ger
2013-07-05 11:57:35 -07:00
David Zbarsky
de6fcf5fcc
Bug 888685: SVGAnimatedAngle shouldn't inherit nsISupports r=Ms2ger
2013-07-05 11:57:35 -07:00
David Zbarsky
2cf302a666
Bug 888685: SVGAngle shouldn't inherit nsISupports r=Ms2ger
2013-07-05 11:57:35 -07:00
David Zbarsky
6f6773ecc3
Bug 888685: SVGAnimatedBoolean shouldn't inherit nsISupports r=Ms2ger
2013-07-05 11:57:35 -07:00
Ehsan Akhgari
7721ae648c
Bug 889016 - Part 1: Add an API to report a not-enough-arguments error in Web IDL bindings; r=bzbarsky
2013-07-04 09:24:49 -04:00
Ehsan Akhgari
fb296d2a48
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
Kyle Huey
ab927a2cc9
Bug 885866: Separate deferred finalization from XPConnect so we can use it off the main thread. r=mccr8, peterv, bsmedberg, jorendorff
2013-07-09 07:28:15 -07:00
Johnny Stenback
fb568a43de
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
Jan Varga
3e096be8cb
Bug 886755 - Include the correct binding header if a binding uses a WebIDL enumeration that's defined in a different .webidl file. r=bz
2013-07-09 15:54:47 +02:00
Matthew Gregan
d77cb6c12b
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
bbbaf88bb3
Bug 855130 - Implement HTMLVideoElement's VideoPlaybackQuality (from
...
Media Source Extensions specification). r=roc
2013-06-21 15:14:18 +12:00
Jeff Walden
6f242a6502
Bug 888106 - Add too-much-recursion detection to isExtensible tests, and make the isExtensible hook capable of failing. r=bholley, r=ejpbruel
...
--HG--
extra : rebase_source : fe7345322f87dd214aa5122ea8704750e8b2375a
2013-06-28 14:01:09 -07:00
Phil Ringnalda
84742fd7a7
Backed out 5fa1f7715c19:7a300d1d1b23 (bug 855130) for Windows build failures
...
CLOSED TREE
2013-07-01 21:23:37 -07:00
Matthew Gregan
cc58eb952e
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
d9ad81f9e4
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
12bdf91609
Bug 888579 - Remove some code that handled WN Nodes; r=bholley
2013-07-01 09:14:36 +02:00
Ms2ger
5ba35c354d
Bug 886270 - Move SVGAnimatedInteger to WebIDL; r=dzbarsky
2013-07-01 09:02:56 +02:00
Ms2ger
fa9bb545c0
Bug 886247 - Move SVGAnimatedEnumeration to WebIDL; r=dzbarsky
2013-07-01 09:02:46 +02:00
Ms2ger
a2f191d90a
Bug 887909 - Convert IDBFileHandle to WebIDL; r=janv
2013-07-01 09:02:37 +02:00
Justin Lebar
3e059c7221
Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
051c5b560a
Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
This is a mechanical change made with sed. Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Andrew McCreight
fc86fbdc7e
Bug 882997 - Don't DROP or clear wrapper cache flag in GetAndClearExpandoObject. r=peterv
2013-06-28 12:32:27 -07:00
Matthew Gregan
7ea392c3a6
Backout 184ef886365d, 4c6a6ac3a9d5, and 59857a435c3b on a CLOSED TREE
2013-06-28 16:55:35 +12:00
Matthew Gregan
0f7b182bd6
Bug 855130 - Implement a minimal working subset of the Media Source Extensions API. r=roc
2013-06-28 16:32:05 +12:00
Matthew Gregan
bf34341609
Bug 855130 - Implement HTMLVideoElement's VideoPlaybackQuality (from Media Source Extensions spec). r=roc
2013-06-28 16:32:05 +12:00
Guillaume Abadie ext:(%20and%20James%20King%20%3Cjames%40agentultra.com%3E)
a7e54e5fa6
bug 738869 - implement OES_vertex_array_object webgl extension - r=bjacob
2013-06-27 17:07:21 -04:00
Peter Van der Beken
269c17c742
Bug 908997 - Simplify XPathEvaluator - move files and rename class. r=bz.
...
--HG--
rename : content/xslt/src/xpath/nsXPathEvaluator.cpp => content/xslt/src/xpath/XPathEvaluator.cpp
rename : content/xslt/src/xpath/nsXPathEvaluator.h => content/xslt/src/xpath/XPathEvaluator.h
extra : rebase_source : 590597171603854196bd6f6377753dbd34fd0658
2013-08-23 23:11:30 +02:00
Boris Zbarsky
577cd0be78
Bug 884373. Align WebIDL handling of default parameters with ES6. r=khuey
2013-06-26 10:59:46 -04:00
Ms2ger
2d896e6278
Merge m-c to m-i.
2013-06-23 13:44:01 +02:00
Ms2ger
b7bef21f7f
Bug 884268 - Part b: Move nsContentUtils::PreserveWrapper to nsWrapperCache; r=smaug
2013-06-23 09:15:42 +02:00
Ms2ger
3482df4f7d
Bug 883615 - Only include nsCxPusher.h in codegen when necessary; r=smaug
2013-06-23 09:14:46 +02:00
Masatoshi Kimura
6a3e0e9b8d
Bug 885611 - Remove the hasXPConnectImpls annotation from Event. r=smaug
2013-06-23 08:47:19 +09:00
Guillaume Abadie
69a846c1a8
bug 843667 - implement WEBGL_draw_buffers and add the user preference webgl.enable-draft-extensions - r=bjacob
2013-06-21 19:44:17 -04:00
Jon Coppeard
ef8bb39711
Bug 885310 - 1 Rename JSHandleFoo in the browser r=bz
2013-06-21 14:12:46 +01:00
Bobby Holley
44080291f9
Bug 883450 - Re-order stuff in CallSetup so that we construct the RootedObject after the Push. r=bz
2013-06-20 11:05:34 -07:00
Bobby Holley
7022fc3902
Bug 884362 - Play Maybe<> games to root |temp| in the right circumstances. r=bz
2013-06-20 11:05:33 -07:00
Bobby Holley
5c6400b122
Bug 884362 - Make IDBRequest::CaptureCaller use the cx stack and decxify a bunch of IDB. r=bent
2013-06-20 11:05:33 -07:00
Ed Morley
ac3d49a744
Backed out changeset 96036434bb78 (bug 875289) for mochitest-chrome failures on a CLOSED TREE
...
--HG--
rename : dom/promise/Promise.cpp => dom/future/Future.cpp
rename : dom/promise/Promise.h => dom/future/Future.h
rename : dom/promise/PromiseCallback.cpp => dom/future/FutureCallback.cpp
rename : dom/promise/PromiseCallback.h => dom/future/FutureCallback.h
rename : dom/promise/PromiseResolver.cpp => dom/future/FutureResolver.cpp
rename : dom/promise/PromiseResolver.h => dom/future/FutureResolver.h
rename : dom/promise/Makefile.in => dom/future/Makefile.in
rename : dom/promise/moz.build => dom/future/moz.build
rename : dom/promise/tests/Makefile.in => dom/future/tests/Makefile.in
rename : dom/promise/tests/moz.build => dom/future/tests/moz.build
rename : dom/promise/tests/test_promise.html => dom/future/tests/test_future.html
rename : dom/promise/tests/test_resolve.html => dom/future/tests/test_resolve.html
rename : dom/webidl/Promise.webidl => dom/webidl/Future.webidl
2013-06-20 11:20:49 +01:00
Andrea Marchesini
48c75b0ef5
Bug 875289 - Renaming 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_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-06-20 10:49:40 +02:00
Ehsan Akhgari
841ce34498
Backed out changeset c1596bee956c (bug 884279) because of build bustage
...
--HG--
rename : dom/promise/Promise.cpp => dom/future/Future.cpp
rename : dom/promise/Promise.h => dom/future/Future.h
rename : dom/promise/PromiseCallback.cpp => dom/future/FutureCallback.cpp
rename : dom/promise/PromiseCallback.h => dom/future/FutureCallback.h
rename : dom/promise/PromiseResolver.cpp => dom/future/FutureResolver.cpp
rename : dom/promise/PromiseResolver.h => dom/future/FutureResolver.h
rename : dom/promise/Makefile.in => dom/future/Makefile.in
rename : dom/promise/moz.build => dom/future/moz.build
rename : dom/promise/tests/Makefile.in => dom/future/tests/Makefile.in
rename : dom/promise/tests/moz.build => dom/future/tests/moz.build
rename : dom/promise/tests/test_promise.html => dom/future/tests/test_future.html
rename : dom/promise/tests/test_resolve.html => dom/future/tests/test_resolve.html
rename : dom/webidl/Promise.webidl => dom/webidl/Future.webidl
2013-06-19 21:57:57 -04:00
Andrea Marchesini
476be46aaf
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_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-06-19 20:57:38 -04:00
Ehsan Akhgari
acfc21a9c4
Bug 865256 - Part 2: Rename WaveTable to PeriodicWave; r=roc
...
--HG--
rename : content/media/webaudio/WaveTable.cpp => content/media/webaudio/PeriodicWave.cpp
rename : content/media/webaudio/WaveTable.h => content/media/webaudio/PeriodicWave.h
rename : content/media/webaudio/test/test_waveTable.html => content/media/webaudio/test/test_periodicWave.html
rename : dom/webidl/WaveTable.webidl => dom/webidl/PeriodicWave.webidl
2013-06-19 18:24:26 -04:00
Terrence Cole
ecf0e80935
Bug 884410 - Handlify the JS_TransplantObject interfaces; r=jonco
...
--HG--
extra : rebase_source : f1c2adc7380e5806ce6b4fce5bb41f9400b9e1b1
2013-06-13 17:09:55 -07:00
Ted Mielczarek
ec8eea352e
bug 690935 - implement navigator.getGamepads(). r=smaug
...
--HG--
rename : content/events/src/nsDOMGamepad.cpp => dom/gamepad/Gamepad.cpp
rename : content/events/src/nsDOMGamepad.h => dom/gamepad/Gamepad.h
rename : dom/system/GamepadService.cpp => dom/gamepad/GamepadService.cpp
rename : dom/system/GamepadService.h => dom/gamepad/GamepadService.h
extra : rebase_source : da536e09d6c09c605db28e4af4ccccf824efc20d
2012-02-15 19:47:13 -05:00
Boris Zbarsky
30f5cba73c
Bug 884401. Remove the hasXPConnectImpls annotations for HTMLElement, Element, and Node in WebIDL bindings, since all those are gone. r=peterv
2013-06-19 14:48:43 -04:00
Boris Zbarsky
111050ba80
Bug 883827. Make Optional<NonNull<T>> and Optional<OwningNonNull<T>> nicer to use by having their const Value() method return a T&. r=peterv
2013-06-19 14:48:43 -04:00
Andrea Marchesini
91c64da847
Bug 841442 - Move HTMLFormElement to WebIDL, r=bz
2013-06-19 10:24:37 -04:00
Andrea Marchesini
3e4e0d931a
Bug 841442 - Rename nsHTMLFormElement to HTMLFormElement
...
--HG--
rename : content/html/content/src/nsHTMLFormElement.cpp => content/html/content/src/HTMLFormElement.cpp
rename : content/html/content/src/nsHTMLFormElement.h => content/html/content/src/HTMLFormElement.h
2013-06-19 10:24:37 -04:00
Jon Coppeard
b4a1d2128a
Bug 884371 - Remove JSMutableHandleXXX from the browser r=bz
2013-06-19 11:32:27 +01:00
Olli Pettay
09024c5489
Bug 847611 - Paris bindings for autogenerated events, r=peterv
2013-06-18 21:48:45 +03:00
Jon Coppeard
a30b14261f
Bug 877762 - GC: Post-barrier cycle collector participants - 7 Convert most JSObect to use Heap<T> (ex. XBL) r=bz
2013-06-18 11:00:38 +01:00
Boris Zbarsky
c23542725a
Bug 883358 part 2. Use the new information in bindings error reporting. r=smaug
2013-06-17 16:31:13 -04:00
Ryan VanderMeulen
71c9853712
Backed out 3 changesets (bug 883358) for Android mochitest-3 failures on a CLOSED TREE.
...
Backed out changeset 84b35dd1879d (bug 883358)
Backed out changeset b5e6522257cb (bug 883358)
Backed out changeset 757a3f2e5de6 (bug 883358)
2013-06-17 19:51:12 -04:00
Boris Zbarsky
a4c9c172ca
Fix test fallout from bug 883358 so we can stop having a CLOSED TREE. No review.
2013-06-17 18:24:04 -04:00
Boris Zbarsky
4fea0995d3
Bug 883358 part 2. Use the new information in bindings error reporting. r=smaug
2013-06-17 16:31:13 -04:00
Boris Zbarsky
2d7f4e5a2e
Bug 882653 part 5. Improve WebIDL binding error reporting for overload resolution failures, unions, non-finite floats. r=smaug
2013-06-17 13:07:04 -04:00
Boris Zbarsky
ad494b55cc
Bug 882653 part 4. Improve the WebIDL binding error reporting for the not-sequence, not-callable, not-dictionary, not-date, and invalid-enum-value cases. r=smaug
2013-06-17 13:07:03 -04:00
Boris Zbarsky
5b3cb06a12
Bug 882653 part 3. Make the "does not implement interface" error reporting better in WebIDL bindings. r=smaug
2013-06-17 13:07:03 -04:00
Boris Zbarsky
9d92031480
Bug 882653 part 2. Make the "not an object" error reporting better in WebIDL bindings. r=smaug
...
This also adds infrastructure to generally indicate to the
js-to-native conversion exactly what is being converted.
2013-06-17 13:07:03 -04:00
Boris Zbarsky
f33f6d5496
Bug 882653 part 1. Improve error reporting for bogus this objects in WebIDL bindings. r=smaug
2013-06-17 13:07:03 -04:00
Boris Zbarsky
1398e3eee6
Bug 882547. Treat undefined values in WebIDL dictionaries as missing. r=smaug
2013-06-17 13:07:03 -04:00
Josh Matthews
5cb0162f45
Bug 865257 - Implement MediaStreamAudioDestinationNode. r=ehsan,roc
2013-05-21 15:17:47 -04:00
David Zbarsky
54d09e2242
Bug 882553 - Convert SVGAnimatedString to WebIDL r=Ms2ger
2013-06-14 15:37:27 -07:00
Peter Van der Beken
e246f74b5d
Bug 851465 - Remove slim wrappers - remove various slim wrapper code and checks. r=bholley.
2013-04-19 21:57:18 +02:00
James Kitchener
773d6fa5ec
Bug 796850 - Change XMLHttpRequest interface to support ByteString r=bz
2013-06-13 01:20:10 -04:00
James Kitchener
b71cfc0ec2
Bug 796850 - Implement Code Generation for Bytestring in WebIDL bindings r=bz
2013-06-13 01:18:35 -04:00
James Kitchener
130d1ab83f
Bug 796850 - Implement WebIDL parser support for Bytestring r=bz
2013-06-13 01:15:35 -04:00
Boris Zbarsky
9be8ee1733
Bug 880367 part 3. Add support for [ChromeOnly] on interface objects. r=smaug
2013-06-13 01:12:37 -04:00
Boris Zbarsky
1e9345e9b0
Bug 880367 part 2. Make ordering of named constructors in codegen deterministic. r=smaug
...
I ran into this when looking at the diff in codegen from part 1.
2013-06-13 01:12:33 -04:00
Boris Zbarsky
d2192352f3
Bug 880367 part 1. Change the "enabled" callback for WebIDL constructors to take a JSContext* and the object the constructor will be defined on. r=smaug,bholley
2013-06-13 01:12:26 -04:00
Andrea Marchesini
6e4cb51a64
Bug 856410 - Implement futures - Part 1: Constructor, webidl, Done(). r=mounir, r=bz
2013-06-11 21:41:21 -04:00
Andrea Marchesini
07ef60ab61
Bug 856410 - Implement futures - Part 0: ErrorResult::StealJSException. r=bz
2013-06-11 21:41:21 -04:00
Ms2ger
1973d8c0b5
Bug 875784 - Move MozTimeManager to WebIDL; r=smaug
2013-06-12 09:00:07 +02:00
Ms2ger
f991a72953
Bug 860731 - Part a: Add 'extern' to the definition of EnumEntry tables; r=bz
2013-06-12 08:55:26 +02:00
Ehsan Akhgari
e71db503bf
Bug 815643 - Part 1: Implement the DOM bindings for ConvolverNode; r=roc
...
--HG--
extra : rebase_source : 9f6853dcaeeac1f36aa8c2ee90991a7f0ea0b145
2013-06-10 16:07:55 -04:00
Guillaume Abadie
5cb8bce316
Bug 879954 - Implement OES_texture_float_linear - r=bjacob
2013-06-10 16:00:52 -04:00
Sankha Narayan Guria
d8379b657e
Bug 880265 - Remove AudioBufferSourceNode.gain; r=ehsan
2013-06-08 00:55:04 +05:30
Boris Zbarsky
bd8262518e
Bug 872669. Slightly speed up our named proxy gets by making use of the inline chars/length getters we can have when our id is an atom. r=waldo,peterv
2013-06-07 22:45:46 -04:00
Boris Zbarsky
7a3587f2d2
Bug 877281 part 6. Replace ${jsvalPtr} with a MutableHandle ${jsvalHandle}. r=peterv
...
It's a little unfortunate that we need both ${jsvalHandle} and
${jsvalRef}, but the only other option is to consistently have a
MutableHandle in this code. If the thing we have to work with is a
Rooted, that means doing JS::MutableHandle<JS::Value>(&myRooted) as
the thing to substitute for ${jsvalHandle}. Just using "&myRooted"
doesn't work, because things like "&myRooted.set()" or
"&myRooted.address()" fail, even if parenthesized as
"(&myRooted).set()", because &myRooted is actually a Rooted*, not a
MutableHandle.
We could go the JS::MutableHandle<JS::Value>(&myRooted) route if
desired; it would primarily uglify dictionary and sequence to-js
conversions. With the setup in this patch, ideally it looks pretty
idiomatic except for the use of .set() instead of operator= on Rooted.
2013-06-07 22:45:46 -04:00
Boris Zbarsky
13fa178ef4
Bug 877281 part 4. Eliminate uses of ${valHandle} in binding conversions and make ${val} be a handle. r=peterv
2013-06-07 22:45:45 -04:00
Boris Zbarsky
8ec29d08b1
Bug 877281 part 3. Rename valMutableHandle to mutableVal. r=peterv
2013-06-07 22:45:45 -04:00
Boris Zbarsky
a602c42cd6
Bug 877281 part 2. Eliminate uses of ${valPtr} in bindings conversions. r=peterv
2013-06-07 22:45:45 -04:00
Boris Zbarsky
e566bfef3d
Bug 877281 part 1. Convert WebIDL bindings to using something CallArgs-like. r=peterv,jandem
2013-06-07 22:45:44 -04:00
Ryan VanderMeulen
055c86c506
Bug 875449 - Bustage fix.
2013-06-07 08:54:13 -04:00
Anand Soni
36e81da58c
Bug 875449 - Rename ListBase to DOMProxy, since these proxies are used for all sorts of objects that aren't in any way like lists. r=djvj
2013-06-07 00:02:26 +05:30
Boris Zbarsky
c9eca87821
Bug 829248. Implement basic support for [TreatUndefinedAs=Missing] in WebIDL. r=khuey
...
This does not add support for [TreatUndefinedAs=Missing] in overloaded
methods, since it's not clear what that should really look like.
This also does not require that [TreatUndefinedAs=Missing] on an
argument force it on all later arguments, since it's not clear that we
want that long-term.
2013-06-05 20:51:21 -04:00
Trevor Saunders
a6d4672260
bug 870678 - convert CameraManager to webidl r=bz
2013-05-10 02:25:25 -04:00
Peter Van der Beken
5a6257bfce
Bug 871849 - Correctly trace expando objects for OverrideBuiltin proxies. r=bzbarsky.
...
--HG--
extra : rebase_source : 0c848e1c18a366ecd95b1a9acc4b517d108131fe
2013-05-17 17:04:08 +02:00
Alfredo Yang
5b1f01f4d8
Bug 855741 - Update Focus webidl from Event to FocusEvent. r=smaug
2013-06-05 08:02:51 -04:00
Bobby Holley
da316c6a98
Bug 877261 - Stop taking a cx in XPCWrappedJS::GetNewOrUsed. r=Ms2ger
...
Some of these callers seem to be passing a ccx when they don't need to, but
let's just remove the param all together for consistency.
2013-06-04 21:11:19 -07:00
Bobby Holley
638227a746
Bug 877261 - Stop using XPCCallContext for XPCConvert. r=Ms2ger
2013-06-04 21:11:19 -07:00
Ehsan Akhgari
73f4fbc038
Bug 861371 - Allow Web IDL enums to have names starting with a digit; r=bzbarsky
...
--HG--
extra : rebase_source : 5ebf235e9408bdfdfd37504e2f79c65978ccf51d
2013-06-03 17:54:46 -04:00
Andrea Marchesini
323b7f4c12
Bug 858524 - Move BarProp objects to Paris bindings, r=ms2ger, r=smaug
2013-06-01 01:53:00 -07:00
Ms2ger
94aefffcb2
Bug 876602 - Move JS-implemented webidl construction code into C++; r=bz
2013-06-01 08:56:23 +02:00
Ms2ger
6452f0c3f0
Bug 876604 - Outparamdel UnwrapDOMObjectToISupports; r=bz
2013-06-01 08:56:02 +02:00
Ms2ger
874b3539df
Bug 871287 - Part c: Move DeviceStorage to WebIDL; r=smaug
2013-06-01 08:56:00 +02:00
Ms2ger
4b6bac58fd
Bug 876240 - Move OfflineResourceList to WebIDL; r=mounir
2013-06-01 08:53:44 +02:00
Ms2ger
26a2156b34
Bug 876605 - Simplify the Init function of WebIDL dictionaries; r=smaug
2013-06-01 08:53:40 +02:00
Peter Van der Beken
098a481f6c
Bug 876080. Don't use 'nativeOwnership':'owned' for MediaList. r=bzbarsky
2013-05-31 11:27:05 -04:00
Boris Zbarsky
dca1b89519
Bug 877216. Add CallArgs-like structs for use in DOM specialized getters/setters/methods. r=waldo
2013-05-30 17:47:00 -04:00
Boris Zbarsky
ac87784e7f
Bug 877540. Fix remaining unsafe reference hazards in browser code. r=terrence
2013-05-30 17:46:48 -04:00
Boris Zbarsky
6871042269
Bug 865377. Give EventTarget a chrome-only getter that returns its global. r=smaug
...
The idea is that you then do things like t.dispatchEvent(new t.ownerGlobal.Event("something")).
2013-05-30 17:46:39 -04:00
Boris Zbarsky
26d23ddfd6
Bug 861587 followup: get rid of a stray $ and some indent fixes. r=khuey
2013-05-30 13:05:42 -04:00
Reuben Morais
66db079742
Bug 877501 - Generate pref check code for interfaces with [NoInterfaceObject, NavigatorProperty]. r=bz
...
--HG--
extra : rebase_source : 02b9028c3ab215df0378af109d2bcac15d28e9b4
2013-05-30 08:21:52 -07:00
Peter Van der Beken
3402cab97c
Bug 874321 - Fix setting of expandos on Xrays for DOM bindings with named properties. r=bz.
...
--HG--
extra : rebase_source : 697545417d27696de05c0f22987e4cb187d226cd
2013-05-29 11:38:57 +02:00
Kyle Huey
0d78767303
Bug 876555: Avoid including xpcprivate.h in most generated dom binding code. r=bz
2013-05-30 11:15:31 +08:00
Boris Zbarsky
3eabb6ea4b
Bug 876805. Fix unsafe reference gc hazards in dom/ code. r=smaug
2013-05-29 16:16:04 -04:00
Jon Coppeard
9c540a5368
Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix browser r=smaug
2013-05-29 09:29:39 +01:00
Ed Morley
8a9ae6677a
Backed out changeset 7acdb79e4d71 (bug 876639)
2013-05-29 12:09:10 +01:00
Jon Coppeard
1daad09663
Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix browser r=smaug
2013-05-29 09:29:39 +01:00
Boris Zbarsky
3f620e0461
Bug 875620. Work around bug 874923 by just trying to regenerate all the binding .h and .cpp files if we detect that our dependencies got screwed up. r=khuey
2013-05-28 10:11:19 -04:00
Ehsan Akhgari
615f1f5b8a
Bug 865256 - Part 1: Implement the DOM bindings for WaveTable; r=roc
2013-05-28 07:19:07 -04:00
Mike Shal
5169c0a913
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Masatoshi Kimura
52e23b1271
Bug 875155 - Convert TimeEvent to WebIDL. r=smaug
2013-05-25 07:55:19 +09:00
Boris Zbarsky
877c845c85
Bug 875628. NewProxyObject should take a handle for the private value. r=till
2013-05-24 13:03:13 -04:00
Boris Zbarsky
3ed0c22089
Bug 875622 part 2. Use handles in ConvertJSValueToString. r=smaug
2013-05-24 09:16:00 -04:00
Boris Zbarsky
86d8fabcab
Bug 875622 part 1. Pass through mutable handles to all the various places where we have to work with JS::Value in codegen. r=smaug
2013-05-24 09:15:55 -04:00
Bobby Holley
f2943090bd
Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
...
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Bobby Holley
b44627d83a
Bug 868130 - Remove the dependencies of the nsCxPusher machinery on nsContentUtils, use nsCxPusher in xpcshell, and privatize APIs. r=gabor
...
No more xpc::danger, for now. ;-)
2013-05-22 10:05:26 -06:00
Bobby Holley
cdde50556c
Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor
2013-05-22 10:05:26 -06:00
Boris Zbarsky
79a9f6baf6
Bug 874154. Make sure we don't end up with uninitialized JSObject* or JS::Value in dictionaries. r=ms2ger
2013-05-21 14:15:30 -04:00
Boris Zbarsky
e2a1e61323
Bug 874105. Make CallSetup hold a Rooted to the object it's constructed with so we don't have to worry about it going gray while things like argument conversion for the call are in progress. r=mccr8
2013-05-21 14:15:29 -04:00
Bobby Holley
c1533a7e3b
Bug 841312 - Remove the termination function API. r=bz
...
\o/
2013-05-21 11:45:56 -06:00
Boris Zbarsky
fb1bdaf8dd
Bug 867903. Speed up getDescriptors and some other obvious slow points in codegen. r=khuey
2013-05-09 13:06:48 -04:00
Boris Zbarsky
96a893b56d
Bug 861587. Rejigger the WebIDL binding build system to do all binding codegen in a single python process while still using our dependency tracking for bindings to minimize the number of bindings we try to regenerate. r=khuey
2013-05-09 13:05:33 -04:00
Masatoshi Kimura
a4b961e2b9
Bug 873753 - Remove classinfo bits from WebIDL-bound events. r=smaug
2013-05-21 04:34:12 +09:00
Boris Zbarsky
cb039702b6
Bug 865951. If the return value of a JS-implemented method or attribute is a JS-implemented interface and the returned object is not a DOM object, automatically wrap it up in an instance of that interface. r=mccr8
...
This does not invoke __init on the chrome object, since there are no
arguments to do it with anyway. It also doesn't invoke init(), so
don't do this in cases in which the chrome-side object will need to
know its window.
2013-05-20 13:47:08 -04:00
Boris Zbarsky
dbe1f3da32
Bug 873735 part 2. Change nsIXPConnectJSObjectHolder::GetJSObject to return a JSObject*. r=bholley
2013-05-20 08:44:18 -04:00
Ms2ger
8c193ee6c7
Bug 868778 - Part c: Move DataChannel to WebIDL; r=mounir+jesup
...
--HG--
rename : content/base/public/nsIDOMDataChannel.idl => dom/webidl/DataChannel.webidl
2013-05-20 09:19:45 +02:00
Ms2ger
9a5cb640ab
Bug 873417 - Part b: Use CGClass for CGDictionary; r=bz
2013-05-20 09:10:59 +02:00
Ms2ger
def15c3257
Bug 873417 - Part a: Cleanup and fix some bugs in CGClass; r=bz
2013-05-20 09:10:58 +02:00
Masatoshi Kimura
855ede8376
Bug 871786 - Separate D2E KeyEvent constants and a method from KeyboardEvent. r=smaug, bz
...
--HG--
rename : dom/webidl/KeyboardEvent.webidl => dom/webidl/KeyEvent.webidl
2013-05-19 10:28:47 +09:00
Andrea Marchesini
0bb228f8cc
Bug 870856 - Convert DOMError to WebIDL. r=Ms2ger, r=bz
2013-05-18 13:52:06 -04:00
Reuben Morais
99349e2738
Bug 873684 - Improve error reporting when a value can't be converted to the expected type. r=bz
...
--HG--
extra : rebase_source : 3385999de823c9df659103239e62df8ffca5f15a
2013-05-17 21:14:18 -07:00
Boris Zbarsky
43f774459d
Bug 868312 finale: finish rooting dom/ code. r=smaug
2013-05-17 21:48:25 -04:00
Boris Zbarsky
6b527597e0
Bug 873337. Change the order of the decl and holder in js-to-native conversions to clean up the code some. Now the holder always comes after the decl. r=smaug
2013-05-17 21:48:25 -04:00
Reuben Morais
2a3b57fffc
Bug 873647 - Teach codegen how to wrap Dates in constructors. r=bz
...
--HG--
extra : rebase_source : f4267f15b7076aacb47fb94e4173a05dac8de255
2013-05-17 13:52:32 -07:00
Nathan Froyd
0b82017ee5
Bug 873479 - fix BindingUtils.h to compile with GCC 4.4 in non-C++0x mode; r=bz
2013-05-17 10:44:19 -04:00
Nathan Froyd
bcb8563353
Bug 871578 - don't include AccessCheck.h in bindings unless necessary; r=bz
2013-05-13 11:32:41 -04:00
Nathan Froyd
9e98e7f3bf
Bug 871578 - don't include nsContentUtils.h in bindings unless necessary; r=bz
2013-05-13 10:07:08 -04:00
Jan-Ivar Bruaroey
8154e0de42
Bug 823512: Part 4: Workaround for lack of serializer support (bug 863402). r=bz
2013-05-15 01:07:49 -04:00
Jan-Ivar Bruaroey
1cfedb8565
Bug 823512: Part 2: Update PeerConnection to spec. states + DataChannel. r=bz,rjesup,ekr
2013-05-16 19:40:23 -04:00
Jan-Ivar Bruaroey
98794b08f6
Bug 823512: Rewrite PeerConnection in JS-implemented WebIDL r=bz,jesup
2013-05-07 20:55:21 -04:00
Ehsan Akhgari
ee70633121
Bug 836599 - Part 9: Implement the DOM binding for OfflineAudioContext; r=roc
2013-05-16 19:30:41 -04:00
Max Li
7e3e2f8967
Bug 767929 - Use Maybe instead of Optional for the holder object in new DOM binding code. r=bzbarsky
2013-05-12 15:18:37 -04:00
Boris Zbarsky
cab8324d5a
Bug 868715 part 10. Create specializations of Optional for 'any' and 'object' types so that we can have those look like Optional<Handle<Value> > and Optional<Handle<JSObject*> > respectively. r=peterv,sfink
2013-05-16 12:36:56 -04:00
Boris Zbarsky
f4608593ae
Bug 868715 part 9. Add tracing to WebIDL dictionary return values. r=peterv
2013-05-16 12:36:56 -04:00
Boris Zbarsky
90dcaa61d5
Bug 868715 part 8. Add tracing to WebIDL sequence return values. r=peterv
2013-05-16 12:36:56 -04:00
Boris Zbarsky
79374d2426
Bug 868715 part 7. Add tracing to dictionaries. r=peterv
2013-05-16 12:36:55 -04:00
Boris Zbarsky
ac6b11ed0d
Bug 868715 part 6. Add the ability to trace sequence arguments. r=peterv
2013-05-16 12:36:55 -04:00
Boris Zbarsky
69d3b09e1e
Bug 868715 part 5. Give all dictionaries a single base class so we can tell when template arguments are dictionaries. r=peterv
2013-05-16 12:36:55 -04:00
Boris Zbarsky
68c0f91dfe
Bug 868715 part 4. Use on-stack Rooted<JSObject*> for 'object' arguments in WebIDL bindings. r=peterv
2013-05-16 12:36:55 -04:00
Boris Zbarsky
67281b9e8a
Bug 868715 part 3. Use on-stack Rooted<Value> for 'any' arguments in WebIDL bindings. r=peterv
2013-05-16 12:36:54 -04:00
Boris Zbarsky
5cc81ae051
Bug 868715 part 2. Add the ability to request that the declType or holderType be constructed with a JSContext. r=peterv
2013-05-16 12:36:54 -04:00
Boris Zbarsky
df175fb7c4
Bug 868715 part 1. Change instantiateJSToNativeConversionTemplate to return an object, to make its return value more extensible. r=peterv
2013-05-16 12:36:54 -04:00
Boris Zbarsky
2a61b9f9b0
Bug 869195. Make QueryInterface be exposed for both chrome and xbl scopes, not just in chrome. r=bholley,peterv
2013-05-14 14:24:48 -04:00
Olli Pettay
ea78e0f1c6
Bug 847594 - Paris binding for DataContainerEvent, r=peterv
...
--HG--
extra : rebase_source : ff4ad6b1b5a582c6e1b973fd1729aa2c6f7db314
2013-05-16 17:10:30 +03:00
Ted Mielczarek
3cfd62c3d2
bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium
2013-05-16 09:33:26 -04:00
Boris Zbarsky
42f794f96b
Bug 871177. Fix rooting hazard in IsNotDateOrRegexp. r=smaug
2013-05-15 21:46:44 -04:00
Boris Zbarsky
a091ae2c0c
Bug 872399. Don't codegen callback interfaces for worker descriptors. r=smaug
2013-05-15 21:46:44 -04:00
Nathan Froyd
25093b2815
Bug 871011 - s/NULL/nullptr/ in bindings codegen; r=bz
2013-05-10 16:57:30 -04:00
Ryan VanderMeulen
2e83f084b9
Backed out 4 changesets (bug 869195, bug 870845, bug 872043, bug 862825) for mochitest b-c, mochitest-other, and xpcshell orange on a CLOSED TREE.
...
Backed out changeset 049889b25a79 (bug 869195)
Backed out changeset fc0bef5a2cfd (bug 862825)
Backed out changeset 267fe0d9c201 (bug 870845)
Backed out changeset 7b06b9d1acb2 (bug 872043)
2013-05-14 16:40:26 -04:00
Boris Zbarsky
9831f1768e
Bug 869195. Make QueryInterface be exposed for both chrome and xbl scopes, not just in chrome. r=bholley,peterv
2013-05-14 14:24:48 -04:00
Ehsan Akhgari
cc7519e043
Bug 871315 - Fix some rooting hazards in content/; r=till,bzbarsky
2013-05-13 13:43:53 -04:00
Ehsan Akhgari
04e1c87b5e
Backed out 2 changesets (bug 871315) because different compilers have different standards on what is and is not C++
...
Backed out changeset d0d2e13e8b83 (bug 871315)
Backed out changeset be3976bd2d57 (bug 871315)
Landed on a CLOSED TREE
2013-05-13 14:42:03 -04:00
Ehsan Akhgari
9dda412b4e
Bug 871315 - Fix some rooting hazards in content/; r=till,bzbarsky
2013-05-13 13:43:53 -04:00
Jon Buckley
68bdfcf2af
Bug 738867 - Implement WebGL OES_element_index_uint extension. r=bjacob
2013-05-13 09:22:30 -04:00
Ed Morley
5256152aa1
Backed out changeset 496846474ed3 (bug 864774)
2013-05-13 10:05:49 +01:00
Ehsan Akhgari
d3727632a9
Bug 871201 - Part 2: Implement AudioBufferSourceNode.gain; r=roc
...
X-Git-Commit-ID: db8923b372db098aa7a5dc1cbf42674310b61aef
X-Mailer: git-send-email
--HG--
rename : content/media/webaudio/test/test_audioBufferSourceNode.html => content/media/webaudio/test/test_audioBufferSourceNodeGain.html
rename : content/media/webaudio/test/test_audioBufferSourceNode.html => content/media/webaudio/test/test_delayNodeWithGainAlternate.html
extra : rebase_source : 2cc9259229209fa926970e78ddfc2ef5765f4ad5
2013-05-13 00:17:55 -04:00
Mike Shal
954221d9c9
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey
...
From 140b9201e3b5d2d8efe7af286d279c2411dbc197 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Masatoshi Kimura
0e8df20868
Bug 871153 - Rename KeyEvent back to KeyboardEvent. r=smaug
...
--HG--
rename : dom/webidl/KeyEvent.webidl => dom/webidl/KeyboardEvent.webidl
2013-05-12 14:08:37 +09:00
Nathan Froyd
3edace2ef7
Bug 870959 - don't include Preferences.h or NonRefcountedDOMObject.h in bindings unless necessary; r=bz
2013-05-10 15:44:19 -04:00
Boris Zbarsky
e335c1f797
Bug 869014. Don't allow name collisions between external interfaces and other objects. r=khuey
2013-05-09 13:08:29 -04:00
Boris Zbarsky
e6c988eefa
Bug 870219 part 1. Fix the chrome-scope checking for workers to work even if we incorrectly set up worker interface objects on the main thread. r=bent
2013-05-09 22:23:28 -04:00
Ryan VanderMeulen
9edc2f4aa0
Backed out 6 changesets (bug 868996, bug 867903, bug 869014, bug 870219, bug 861587) for PGO bustage.
...
CLOSED TREE
2013-05-09 17:11:59 -04:00
Andrea Marchesini
da5e259b0e
Bug 866796 - Convert SVGAnimatedRect to WebIDL. r=Ms2ger
2013-05-09 13:42:12 -04:00
Boris Zbarsky
53db24c110
Bug 869014. Don't allow name collisions between external interfaces and other objects. r=khuey
2013-05-09 13:08:29 -04:00
Boris Zbarsky
f53244c6cc
Bug 867903. Speed up getDescriptors and some other obvious slow points in codegen. r=khuey
2013-05-09 13:06:48 -04:00
Boris Zbarsky
062268a773
Bug 861587. Rejigger the WebIDL binding build system to do all binding codegen in a single python process while still using our dependency tracking for bindings to minimize the number of bindings we try to regenerate. r=khuey
2013-05-09 13:05:33 -04:00
Nathan Froyd
7ceff1cbc9
Bug 858131 - rewrite FloatingPoint.h to be C++-only instead of C-compatible C++; r+original-author=Waldo
2013-05-01 16:55:13 -04:00
Andrew McCreight
f9834a5efc
Bug 851178 - Add support for JS-implemented WebIDL constructors with arguments. r=bz
2013-05-02 18:00:50 -07:00
Terrence Cole
b6490325af
Bug 777548 - Make non-cc-participant tracing indirect; r=smaug,billm,jst
2013-03-28 13:37:22 -07:00
Boris Zbarsky
3aaf7effea
Bug 867863. Be a little more careful in GlobalObject initialization. r=peterv
2013-05-08 15:50:58 -04:00
Peter Van der Beken
3e22fefe23
Bug 869038 - Clear expando object the right way. r=bz.
...
--HG--
extra : rebase_source : c75c0ac7b07bbe9396f1b77b34c1e34575078a49
2013-05-08 09:20:13 +02:00
Boris Zbarsky
4eda6222fd
Bug 868102. Don't swallow exceptions from the XPCOM/XPConnect goop when setting up a js-implemented webidl object. r=mccr8
2013-05-07 22:34:56 -04:00
Boris Zbarsky
da03e696a5
Bug 869311. More rooting in dom/bindings and content/base. r=smaug
2013-05-07 22:34:56 -04:00
Bobby Holley
9aeeca898a
Bug 868637 - Simplify DOM Bindings JSON parsing. r=bz
...
At this point we could really just hoist the JSAPI call, but it's just
cumbersome enough with all the casts that I don't really want to stick
it in the codegen.
2013-05-07 14:18:03 -07:00
Peter Van der Beken
6bf999810b
Bug 868929 - Convert ImageDocument to WebIDL, drop hasXPConnectImpls from documents. r=bz.
...
--HG--
rename : content/html/document/src/ImageDocument.cpp => content/html/document/src/ImageDocument.h
extra : rebase_source : 23d83e5fcf8b6a6162524c09e7057edaeddec044
2013-05-07 17:27:53 +02:00
Nathan Froyd
19a6f21e0b
Bug 869073 - make WebIDL enums enum classes instead of plain enums; r=bz
2013-05-06 15:28:13 -04:00
Olli Pettay
966c30f69d
Bug 868232 - Paris binding for MozStkCommandEvent, r=peterv
...
--HG--
extra : rebase_source : 4a79aa44707f9dd0b0eb68611e13702f1bdb838e
2013-05-07 15:46:07 +03:00
Sankha Narayan Guria
754efdf384
Bug 867414 - Rename SafeAutoJSContext to AutoSafeJSContext. r=bholley
2013-05-06 09:04:17 -04:00
Boris Zbarsky
0545ed52a1
Bug 868448. Fix the successCode in dictionary to-js conversions to actually work right, and document the requirements on successCode better. r=smaug
2013-05-06 08:31:01 -04:00
Boris Zbarsky
b6cfd937fc
Bug 867844 part 1. Fix rooting hazards in LegacyCall. r=smaug
2013-05-06 08:30:40 -04:00
Cameron McCormack
496feec5db
Bug 868805 - [LenientThis] attribute's setter should return undefined. r=bz
2013-05-06 12:36:38 +10:00
Phil Ringnalda
1a57cd403b
Merge m-c to m-i
2013-05-05 12:17:07 -07:00
Ms2ger
4a6390f03d
Bug 868411 - Handlify js::GetObjectProto; r=bz
2013-05-05 09:03:14 +02:00
Boris Zbarsky
b0f0481c81
Bug 865785 part 2. Fix rooting issues in JS-implemented webidl. r=mccr8
2013-05-04 21:44:10 -04:00
Boris Zbarsky
3870f79014
Bug 865785 part 1. Go back to passing a JSContext* to the constructors for JS-implemented interfaces. r=mccr8
2013-05-04 21:43:58 -04:00
Boris Zbarsky
ec2d2df69a
Bug 865969 part 9. Remaining miscellaneous rooting fixes in WebIDL bindings. r=ms2ger
2013-05-03 19:29:09 -04:00
Boris Zbarsky
77fecbe508
Bug 865969 part 8. Fix rooting hazards in CallbackObject. r=ms2ger
2013-05-03 19:29:09 -04:00
Boris Zbarsky
5c1c270e34
Bug 865969 part 7. Fix rooting hazards in DOMJSProxyHandler.cpp. r=ms2ger
2013-05-03 19:29:09 -04:00
Boris Zbarsky
7640b170ac
Bug 865969 part 6. Fix rooting hazards in BindingUtils.cpp. r=smaug
2013-05-03 19:29:08 -04:00
Boris Zbarsky
f551a1cd1b
Bug 865969 part 5. Root the id argument of WebIDL DefineInterface methods. r=smaug
2013-05-03 19:29:08 -04:00
Boris Zbarsky
fc40ed13a0
Bug 865969 part 4. Pass handles to WebIDL dictionary init. r=smaug,terrence
2013-05-03 19:29:08 -04:00
Boris Zbarsky
155848b4d3
Bug 865969 part 2. Better rooting in bindings for 'any' arguments. r=smaug
2013-05-03 19:29:07 -04:00
Boris Zbarsky
6e1db48b4d
Bug 865969 part 1. Better rooting in bindings for 'object' arguments, as well as for worker interface arguments passed as JSObject*. r=smaug
2013-05-03 19:29:07 -04:00
Peter Van der Beken
dfbadfdb0e
Bug 855971 - Switch HTMLDocument to WebIDL bindings. r=bz.
2012-12-11 21:45:36 -05:00