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