Commit Graph

1735 Commits

Author SHA1 Message Date
Kyle Huey
258b1d3648 Sync webidl-parser to m-c to pick up Bug 742141. r=me a=me 2012-05-01 23:23:45 -04:00
Peter Van der Beken
31c0322ee9 Fix for bug 741267 (UserScript's XMLHttpRequest is undefined in 20120401 nightly).
Pass two objects when creating a DOM interface object, the global used to cache
the DOM interface objects and a receiver object on which the named property is
that points to the DOM interface object.

--HG--
extra : rebase_source : b462393e7376fdb68f3b279ccd08b3ab25ac154a
2012-04-23 16:10:56 +02:00
Boris Zbarsky
41febb73ea Bug 747826. Return the value inside a Nullable by reference, not by value, so Nullable around some sort of complex type works sanely. r=peterv 2012-04-26 00:42:37 -04:00
Boris Zbarsky
285863ca2d Bug 747819. When wrapping non-prefable objects, don't generate a fallback-to-XPConnect codepath. r=peterv 2012-04-26 00:42:20 -04:00
Boris Zbarsky
4399ca73fe Bug 747815. Use const strings for arguments in DOM bindings. r=peterv 2012-04-26 00:42:03 -04:00
Masatoshi Kimura
64107ebb45 Bug 744910 - Remove FileException from workers. r=bent 2012-04-24 19:50:00 -04:00
Matt Brubeck
2b509d78a7 Back out a0bc511b1d75 (bug 744910) and c85d6a254baa (bug 673752) on suspicion of causing Win debug "make check" hangs 2012-04-24 20:47:13 -07:00
Ehsan Akhgari
166aca09f9 Merge mozilla-central into mozilla-inbound 2012-04-24 21:29:44 -04:00
Ehsan Akhgari
313c5f8453 Merge mozilla-central into birch 2012-04-22 16:10:35 -04:00
Boris Zbarsky
0f61aa61e2 Bug 742197. Make unannotated non-nullable string arguments stringify null and undefined in the webidl bindings. r=peterv 2012-04-18 15:28:01 -04:00
Boris Zbarsky
19e5dd0b3b Bug 742422. Make DOM prototypes more typeinference-friendly. r=peterv 2012-04-18 12:11:55 -04:00
Boris Zbarsky
bcae5f47e3 Bug 742425. Remove the extra compartment-entering code we don't need. r=peterv 2012-04-18 12:11:33 -04:00
Boris Zbarsky
396f480085 Bug 742170. Use CGThings in CGCreateInterfaceObjectsMethod more. r=peterv 2012-04-18 12:10:48 -04:00
Boris Zbarsky
1c8d9735f3 Bug 742168. Refer to experimental bindings, not Paris bindings, in the pref code, since it will only control a subset of the Paris bindings. r=peterv 2012-04-18 12:02:04 -04:00
Boris Zbarsky
0844877e54 Bug 745899. Make it easier to use Nullable for non-primitive types. r=peterv 2012-04-18 12:01:18 -04:00
Ms2ger
1e6a07f994 Bug 742893 - Part a: Make xpc_qsValueTo{Uint,Int}64 public; r=bholley 2012-04-14 15:07:31 +02:00
Ms2ger
77ca860259 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger
2242d1961b Bug 742893 - Part a: Make xpc_qsValueTo{Uint,Int}64 public; r=bholley 2012-04-14 15:07:31 +02:00
Masatoshi Kimura
ba8ae768d0 Bug 744910 - Remove FileException from workers. r=bent 2012-04-24 19:50:00 -04:00
Boris Zbarsky
5863d6acd1 Bug 743820. Update to the changes to WebIDL that made interfaces with indexed properties distinguishable from array and sequence. r=khuey
There are two parts to this change:
1)  Sequences and arrays are now distinguishable from all non-callback interfaces.
2)  To handle that change, overload resolution first tries to convert to the exact
    interface, and only if that fails tries to convert things with indexed properties
    to sequences or arrays.
2012-04-13 13:52:21 -04:00
Kyle Huey
33342929eb Bug 741125: Update WebIDL parser. 2012-04-12 15:14:10 -07:00
Boris Zbarsky
2cec71abc7 Bug 742184. Use CGThings for whitespace munging in CGNativeToSupportsMethod. r=peterv 2012-04-10 12:40:12 -04:00
Boris Zbarsky
75ca9b355f Bug 742200. Use JSVAL_VOID, not JSVAL_NULL, as the default value for optional arguments that are not specified. r=peterv 2012-04-10 12:40:12 -04:00
Boris Zbarsky
f56e7860e0 Bug 742167. Give extendedAttribute() a better name. r=khuey 2012-04-10 12:40:12 -04:00
Kyle Huey
a56bec8769 Refix bug 741248. r=me 2012-04-09 13:48:44 -07:00
Takanori MATSUURA
bd9ba0040a Bug 737006 - Use internal ply only if needed. r=khuey 2012-04-06 14:06:52 -04:00
Ehsan Akhgari
2a534262e3 Merge mozilla-inbound and mozilla-central 2012-04-05 13:41:51 -04:00
Ehsan Akhgari
7430c20bc8 Merge the last green PGO changeset from mozilla-inbound to mozilla-central 2012-04-05 13:40:53 -04:00
Boris Zbarsky
949747f4f6 Bug 742222. Make sure to JS_WrapValue values being returned for callback types and 'any' types. r=peterv 2012-04-05 13:14:54 -04:00
Kyle Huey
af8d505179 Bug 741248: Attempt a fix by twiddling the makefile a bit. r=me 2012-04-04 19:11:30 -07:00
Kyle Huey
83aaf0fea4 Backed out changeset 3a0940f90455 2012-04-04 13:42:12 -07:00
Kyle Huey
5c0b086474 Bug 741125: Update WebIDL parser. 2012-04-04 12:07:28 -07:00
Peter Van der Beken
ed510d3506 Fix for bug 740069 (Generate JS bindings in C++ with a python script for DOM objects on the main thread and in workers. Infrastructure and new bindings for XMLHttpRequest). Patch by bent/bz/bholley/jst/khuey/peterv, r=bent/bz/bholley/jlebar/khuey/peterv/sicking/smaug.
--HG--
rename : js/xpconnect/tests/mochitest/test_bug462428.html => dom/bindings/test/test_lookupGetter.html
2012-03-30 21:42:20 -07:00
Igor Bukanov
2d04a4fe3d Bug 737365 - stop using the cx during finalization, part 1.
This part changes the signatures for various finalization API to take
not JSContext* but rather either JSFreeOp structure or its
library-private counterpart FreeOp. These structures wrap parameters
that are passed to the finalizers removing most of explicit dependencies
on JSContext in the finalization code.
2012-03-19 15:34:55 +01:00
Tom Schuster
886fac49f9 Bug 711843 - Update JSAPI for typed arrays, remove uses of jstypedarray.h outside the engine [r=Waldo,bz,Ms2ger,bholley,bjacob,philikon,evilpie,bent,yourmama] [a=mfinkle thanks to gkw] 2012-01-14 09:43:00 -08:00