Boris Zbarsky
ce26c7ab39
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
a552fc6664
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
0ac8350533
Bug 882547. Treat undefined values in WebIDL dictionaries as missing. r=smaug
2013-06-17 13:07:03 -04:00
Josh Matthews
e9baa064b2
Bug 865257 - Implement MediaStreamAudioDestinationNode. r=ehsan,roc
2013-05-21 15:17:47 -04:00
David Zbarsky
97e1b80d17
Bug 882553 - Convert SVGAnimatedString to WebIDL r=Ms2ger
2013-06-14 15:37:27 -07:00
Peter Van der Beken
cffa62184d
Bug 851465 - Remove slim wrappers - remove various slim wrapper code and checks. r=bholley.
2013-04-19 21:57:18 +02:00
James Kitchener
aaa284cd89
Bug 796850 - Change XMLHttpRequest interface to support ByteString r=bz
2013-06-13 01:20:10 -04:00
James Kitchener
6d46bd7a62
Bug 796850 - Implement Code Generation for Bytestring in WebIDL bindings r=bz
2013-06-13 01:18:35 -04:00
James Kitchener
8740436c04
Bug 796850 - Implement WebIDL parser support for Bytestring r=bz
2013-06-13 01:15:35 -04:00
Boris Zbarsky
5f569d0d0e
Bug 880367 part 3. Add support for [ChromeOnly] on interface objects. r=smaug
2013-06-13 01:12:37 -04:00
Boris Zbarsky
510f0068e6
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
65c0969f7c
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
939f013b5f
Bug 856410 - Implement futures - Part 1: Constructor, webidl, Done(). r=mounir, r=bz
2013-06-11 21:41:21 -04:00
Andrea Marchesini
5bd0488290
Bug 856410 - Implement futures - Part 0: ErrorResult::StealJSException. r=bz
2013-06-11 21:41:21 -04:00
Ms2ger
68ea30a57e
Bug 875784 - Move MozTimeManager to WebIDL; r=smaug
2013-06-12 09:00:07 +02:00
Ms2ger
36892e3a5f
Bug 860731 - Part a: Add 'extern' to the definition of EnumEntry tables; r=bz
2013-06-12 08:55:26 +02:00
Ehsan Akhgari
bcac308338
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
73226a51be
Bug 879954 - Implement OES_texture_float_linear - r=bjacob
2013-06-10 16:00:52 -04:00
Sankha Narayan Guria
5304247273
Bug 880265 - Remove AudioBufferSourceNode.gain; r=ehsan
2013-06-08 00:55:04 +05:30
Boris Zbarsky
f68f0da53c
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
9f09fecc19
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
19af9fb8fa
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
77568d97df
Bug 877281 part 3. Rename valMutableHandle to mutableVal. r=peterv
2013-06-07 22:45:45 -04:00
Boris Zbarsky
34e85404c7
Bug 877281 part 2. Eliminate uses of ${valPtr} in bindings conversions. r=peterv
2013-06-07 22:45:45 -04:00
Boris Zbarsky
ec718b51e3
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
677b915d13
Bug 875449 - Bustage fix.
2013-06-07 08:54:13 -04:00
Anand Soni
0981ee2607
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
4c44f5a456
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
22b7362f5a
bug 870678 - convert CameraManager to webidl r=bz
2013-05-10 02:25:25 -04:00
Peter Van der Beken
131db2e8fe
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
f46ff90dd3
Bug 855741 - Update Focus webidl from Event to FocusEvent. r=smaug
2013-06-05 08:02:51 -04:00
Bobby Holley
ad7187ee15
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
41e994226a
Bug 877261 - Stop using XPCCallContext for XPCConvert. r=Ms2ger
2013-06-04 21:11:19 -07:00
Ehsan Akhgari
5be6cc599a
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
c2a5090d51
Bug 858524 - Move BarProp objects to Paris bindings, r=ms2ger, r=smaug
2013-06-01 01:53:00 -07:00
Ms2ger
d56528fce5
Bug 876602 - Move JS-implemented webidl construction code into C++; r=bz
2013-06-01 08:56:23 +02:00
Ms2ger
1602264ebc
Bug 876604 - Outparamdel UnwrapDOMObjectToISupports; r=bz
2013-06-01 08:56:02 +02:00
Ms2ger
04c8cd41cd
Bug 871287 - Part c: Move DeviceStorage to WebIDL; r=smaug
2013-06-01 08:56:00 +02:00
Ms2ger
adad04a973
Bug 876240 - Move OfflineResourceList to WebIDL; r=mounir
2013-06-01 08:53:44 +02:00
Ms2ger
68c642b793
Bug 876605 - Simplify the Init function of WebIDL dictionaries; r=smaug
2013-06-01 08:53:40 +02:00
Peter Van der Beken
52581f152e
Bug 876080. Don't use 'nativeOwnership':'owned' for MediaList. r=bzbarsky
2013-05-31 11:27:05 -04:00
Boris Zbarsky
5be706faaf
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
897328ff5b
Bug 877540. Fix remaining unsafe reference hazards in browser code. r=terrence
2013-05-30 17:46:48 -04:00
Boris Zbarsky
7c5e61e873
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
f77e6564a3
Bug 861587 followup: get rid of a stray $ and some indent fixes. r=khuey
2013-05-30 13:05:42 -04:00
Reuben Morais
d74dacf938
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
86d520dcf2
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
fb465d209c
Bug 876555: Avoid including xpcprivate.h in most generated dom binding code. r=bz
2013-05-30 11:15:31 +08:00
Boris Zbarsky
14e7edc59d
Bug 876805. Fix unsafe reference gc hazards in dom/ code. r=smaug
2013-05-29 16:16:04 -04:00
Jon Coppeard
6d32ef3678
Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix browser r=smaug
2013-05-29 09:29:39 +01:00