Boris Zbarsky
e9898392f2
Bug 817194. Make WebIDL dictionary types sanely initialized by default; add a new Fast subclass to handle cases when we can skip the initialization safely. r=khuey
2013-10-09 12:05:22 -04:00
Ed Morley
a4e9089af7
Backed out changeset 8fa0cbe4a54d (bug 817194) for build failures
2013-10-09 17:48:13 +01:00
Boris Zbarsky
dab154c98a
Bug 817194. Make WebIDL dictionary types sanely initialized by default; add a new Fast subclass to handle cases when we can skip the initialization safely. r=khuey
2013-10-09 12:05:22 -04:00
Andy Wingo
53ce73ba77
Bug 907077: Change for-of to conform to latest ES6 specification. r=jwalden
2013-10-03 13:37:57 +01:00
Boris Zbarsky
6225c78b1a
Bug 923010. When rethrowing exceptions from JS-implemented components to content script, make sure to give them a useful filename and line number, pointing to the content script location that triggered the exception. r=peterv
2013-10-03 08:34:47 -04:00
Ms2ger
24a2e9c09e
Bug 912099 - Part a: Make sure CPP_SOURCES only points to existing files in most of the tree; r=mshal
2013-10-03 09:10:00 +02:00
Gregory Szorc
e6acf6270f
Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:01 +02:00
Gregory Szorc
1cff342d15
Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger
2013-09-30 09:51:57 +02:00
Ed Morley
18a411a55c
Backed out changeset 77bff106b704 (bug 920223)
2013-09-30 12:50:12 +01:00
Ed Morley
53a451894a
Backed out changeset 68b6b152f51a (bug 920223)
2013-09-30 12:50:09 +01:00
Gregory Szorc
0b4364c6f3
Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:01 +02:00
Gregory Szorc
6ed63cb064
Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger
2013-09-30 09:51:57 +02:00
Boris Zbarsky
eff308009e
Bug 918011 part 4. Support dictionaries in unions. r=smaug
2013-09-26 00:05:00 -04:00
Boris Zbarsky
9938e4eef7
Bug 918011 part 2. Preprocess some of our test WebIDL files so we can have debug-only tests. r=khuey
2013-09-26 00:05:00 -04:00
Boris Zbarsky
016b4b01e2
Bug 905493. Fix setting document.location via an Xray to not enter the content compartment. r=peterv
2013-09-25 14:38:29 -04:00
Ryan VanderMeulen
b2c316d8b2
Backed out 5 changesets (bug 905493, bug 920125, bug 919603) for mochitest orange on a CLOSED TREE.
...
Backed out changeset ccef656b2973 (bug 919603)
Backed out changeset 4b29ce0b2fff (bug 919603)
Backed out changeset b0a051ec55b7 (bug 919603)
Backed out changeset baa9a774aad1 (bug 920125)
Backed out changeset e03276bf4eaa (bug 905493)
2013-09-25 18:22:33 -04:00
Boris Zbarsky
59c5157dca
Bug 905493. Fix setting document.location via an Xray to not enter the content compartment. r=peterv
2013-09-25 14:38:29 -04:00
Boris Zbarsky
7f755053b4
Bug 915971. Rename FooReturnValue unions to OwningFoo, because we use them for more than just return values. r=dzbarsky
2013-09-17 11:16:02 -04:00
Boris Zbarsky
7f0a897989
Bug 915419. Add support for "object" types in owning unions (so union return values and unions in dictionaries and sequences. r=dzbarsky, smaug
...
Adds RootedUnion and NullableRootedUnion structs that are used on the
stack for union return values when the union needs rooting. It also
adds a TraceUnion method on union return values, which is called by
(Nullable)RootedUnion or by dictionary tracing. TraceUnion traces
typed array and object members of unions (the only things unions can
contain so far that might need tracing). Union return values are
changed to store raw JSObject* or typed array structs instead of
Rooted versions of both; the tracing is now handled via TraceUnion.
The wrapping code for dictionary arguments to constructors is fixed to
actually work. This required adding GetAs* methods to union return
values that return references to the internal data.
The SetToObject method is adjusted to actually work for union return
value structs and not assume it's being generated for a
union-conversion struct, and we now generate SetToObject methods as
needed for union return values.
2013-09-12 22:34:16 -04:00
Nathan Froyd
92358c0024
Bug 912197 - part 5 - move WebIDL.mk over to moz.build; r=khuey
2013-09-05 11:20:26 -04:00
Boris Zbarsky
4bcfb1058f
Bug 912948 part 2. Add support for [Clamp] and [EnforceRange] on writable attributes. r=khuey
2013-09-09 22:10:45 -04:00
Boris Zbarsky
0ad10b4254
Bug 912948 part 1. Add support for [Clamp] and [EnforceRange] on dictionary members. r=khuey
2013-09-09 22:10:44 -04:00
David Zbarsky
65e4f98211
Bug 767926 - Implement unions as member types of sequences or dictionaries for WebIDL r=bz
2013-09-09 14:39:17 -04:00
Mike Hommey
f8bc7fa754
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Andrea Marchesini
4c65dc3395
Bug 887364 - URL API for main thread. r=ehsan
2013-09-04 13:07:21 -04:00
Boris Zbarsky
33a1e2b01c
Bug 910220 part 3. Always generate a defineProperty hook for DOM proxies. r=peterv
2013-08-31 00:21:31 -04:00
Boris Zbarsky
955c798f14
Bug 910220 part 2. Use the new API in codegen to only throw when needed. r=peterv
2013-08-31 00:21:28 -04:00
David Zbarsky
5c7becd069
Bug 903277. Support default values other than null for WebIDL unions. r=bzbarsky
2013-08-29 23:29:38 -04:00
Guillaume Abadie
d2ad89c8f4
Bug 645792 - Replace throwing an exception by returning null on HTMLCanvasElement::GetContext. r=bjacob
...
CLOSED TREE
2013-08-29 10:14:22 -04:00
Ryan VanderMeulen
fb903b97d8
Backed out changeset a58d895d8197 (bug 645792) for OSX leaks.
2013-08-29 13:46:10 -04:00
Guillaume Abadie
c8b76353f6
bug 645792 - replace throwing an exception by returning null on HTMLCanvasElement::GetContext - r=bjacob
2013-08-29 10:14:22 -04:00
Boris Zbarsky
9ca8e983b5
Bug 868799 part 3. Use RootedTypedArray in codegen. r=smaug
2013-08-29 00:30:05 -04:00
Brian O'Keefe
d118b95a0d
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04:00
Boris Zbarsky
31b30305a3
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
Ms2ger
4fb1aa6786
Bug 883284 - Part c: Move LIBXUL_LIBRARY into moz.build (d-e); r=mshal
2013-08-22 08:56:00 +02:00
Ms2ger
40829a23d0
Bug 903778 - Move dom::Date into its own files; r=khuey
2013-08-22 08:30:38 +02: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
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
Ryan VanderMeulen
5079ebb23d
Merge m-c to inbound.
2013-07-30 15:41:57 -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
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
David Zbarsky
d170a8f396
Bug 865998: Implement WebIDL union return values r=bz
2013-07-26 11:25:54 -07: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
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
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