Commit Graph

379 Commits

Author SHA1 Message Date
Boris Zbarsky
18604b2bde Bug 843272. Uncomment tests that should not be commented out. r=mccr8 2014-09-19 00:02:30 -04:00
Peter Van der Beken
85aaf1e6c4 Bug 849567 - Automatically handle raw and already_AddRefed return values in Paris bindings and remove resultNotAddRefed, remove instances of non-refcounted sequence return type. r=bz.
--HG--
extra : rebase_source : 1388e0d6f971d52debb745a448a9a5524ceee25d
2014-08-28 00:43:55 +02:00
Boris Zbarsky
e98ca1b5ef Bug 1063889. Fix the handling of sequences of wrapper types in unions. r=khuey 2014-09-08 11:28:57 -04:00
Boris Zbarsky
2b1247970e Back out bug 1063889 (rev 2f5df573f4a3) because windowsx.h defines GetFirstChild/GetNextSibling macros, so will make the world blow up if you include it anywhere near nsIDOMNode/nsINode. r=bustage 2014-09-08 12:25:17 -04:00
Boris Zbarsky
93ca015865 Bug 1063889. Fix the handling of sequences of wrapper types in unions. r=khuey 2014-09-08 11:28:57 -04:00
Boris Zbarsky
a06c8df5c2 Bug 1057541 part 3. Change codegen to support required dictionary members. r=khuey 2014-09-05 14:28:43 -04:00
Mike Hommey
8fd95ad480 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Ehsan Akhgari
6f236e1960 Bug 1061023 - Fix more bad implicit constructors in DOM; r=baku
--HG--
extra : rebase_source : c80c5f9d7ae28286513cdb52ad76b46c240bdd5d
2014-09-01 18:26:43 -04:00
Boris Zbarsky
c6070203fb Bug 929609 part 2. Fix passing of typed arrays to JS-implemented WebIDL to actually work. r=peterv 2014-08-25 15:07:45 -04:00
Boris Zbarsky
b7055f8eaf Bug 929609 part 1. Rename "jsObjectsArePtr" to "typedArraysAreStructs" (and invert its meaning, of course), since that's what it's really used for nowadays. r=peterv 2013-09-30 10:30:06 -04:00
Peter Van der Beken
6339a35cea Bug 1041731 - Unforgeable Xrayed methods aren't getting cached on the holder. r=bholley.
--HG--
extra : rebase_source : 9e86ba2d864e6894cc10722ddaf83ded41d88e42
2014-08-22 11:25:07 +02:00
Andrew McCreight
45c0af210a Bug 963382, part 2 - Add chrome JS function for clearing cache. r=bz 2014-08-21 13:56:11 -07:00
Roshan Vidyashankar
f99e9878e4 Bug 1038993 - Add UnsafeInPrerendering extended attribute to WebIDL. r=peterv 2014-08-20 16:32:19 -07:00
Bobby Holley
13b281a967 Bug 1036214 - Tests. r=bz
This whole test setup comes from bug 923904, so some of the things it's testing
need to be rejiggered (like the checkGlobal stuff).
2014-08-19 18:12:15 -07:00
Andrew McCreight
2ee3816f99 Bug 1048659 - Return the union we construct in a JS callback. r=peterv 2014-08-19 08:41:26 -07:00
Boris Zbarsky
5417316dd3 Bug 1048437. Allow dictionary members with '-' in the name. r=khuey 2014-08-04 15:02:58 -04:00
Boris Zbarsky
76425ced6d Bug 1043690 part 2. Change the codegen for DOM proxies to ignore named props when looking up property descriptors on [[Set]]. r=efaust 2014-08-01 23:37:14 -04:00
Ben Kelly
89b4e69b9a Bug 1025183 P5 Add tests for ScalarValueString. r=bz 2014-08-01 16:23:48 -04:00
Ben Kelly
767bba1db9 Revert bug 1025183 (revs 69373df15281, dd6d84edf08e, 728a5d18bcd9, 71babe0bc84b, c60f9054acf6) for bustage. r=me 2014-08-01 14:10:40 -04:00
Ben Kelly
8d3963af12 Bug 1025183 P5 Add tests for ScalarValueString. r=bz 2014-08-01 13:57:00 -04:00
Boris Zbarsky
4bf1640106 Bug 1041646. Don't assume mStack is non-null in JSStackFrame, since people sometimes operate on them after unlinking. r=khuey 2014-07-26 01:41:18 -04:00
Andrea Marchesini
179c6c5321 Bug 660237 - implement nsIDOMStorage with a proxy, r=bzbarsky, r=mayhemer 2014-07-23 01:07:12 -04:00
Boris Zbarsky
f10d7405dc Bug 1021066. Make named setters work even for non-overridebuiltins bindings over Xrays. r=bholley,jorendorff 2014-07-23 01:06:33 -04:00
Jan-Ivar Bruaroey
6673e6501e Bug 1033833 - unbreak test_exceptions_from_jsimplemented.html. r=bz 2014-07-21 06:53:15 +02:00
Ms2ger
5e7f19500d Bug 1034204 - Implement unforgeable methods; r=bz 2014-07-04 15:02:10 +02:00
Ben Kelly
3d655c8190 Bug 1029812 Make webidl Sequence and MozMap distinguishable. r=bz 2014-06-25 10:25:09 -07:00
Boris Zbarsky
089a4f6015 Bug 1027667. Allow MozMap in unions. r=peterv 2014-06-23 16:03:58 -04:00
Boris Zbarsky
ec84ae32a6 Bug 767924 part 4. Allow [] as a default value for sequences in unions. r=peterv 2014-06-23 16:03:58 -04:00
Boris Zbarsky
f802f5213f Bug 767924 part 3. Allow sequences in unions. r=peterv 2014-06-23 16:03:57 -04:00
Boris Zbarsky
f83d03288d Bug 1026080 part 2. Add binding codegen support for [] as a default value for sequence arguments and dictionary entries. r=khuey 2014-06-23 16:03:57 -04:00
Nick Fitzgerald
89c96462f2 Bug 1000967 - Add source notes for |new| expression and function calls to improve source maps and debugging. r=ejpbruel 2014-06-20 13:09:00 -04:00
Ben Kelly
7f3775f58d Bug 1027256 P2 Add test case for ByteString union type. r=bz 2014-06-18 20:22:09 -04:00
Ben Kelly
935db1e193 Bug 1025973 - Part 2: Do not pass JSContext to static webidl methods in non-worker case. r=bz 2014-06-16 12:52:00 -04:00
Boris Zbarsky
b6c8784504 Bug 1009675 part 3. Return WebIDL 'object' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
Boris Zbarsky
1284410aa0 Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
Boris Zbarsky
68c240adc6 Bug 1007878 part 5. Implement callback codegen for MozMap. r=khuey 2014-05-23 17:32:39 -04:00
Boris Zbarsky
e115971ce5 Bug 1007878 part 4. Add C++-to-JS conversion for MozMap. r=khuey 2014-05-23 17:32:38 -04:00
Boris Zbarsky
a76f5998d9 Bug 1007878 part 3. Add JS-to-C++ conversion for MozMap. r=khuey 2014-05-23 17:32:38 -04:00
Bobby Holley
6aee3321e3 Bug 992958 - Fix test that depends on the order in which properties are enumerated. r=luke 2014-05-23 16:53:02 -07:00
Wes Kocher
e453e97449 Backed out 5 changesets (bug 1007878) for b2g build bustage r=khuey
Backed out changeset ee3bb06075f7 (bug 1007878)
Backed out changeset ab3dd51be3cd (bug 1007878)
Backed out changeset aa53ba4e64b8 (bug 1007878)
Backed out changeset ff6fd8187ff3 (bug 1007878)
Backed out changeset d631378463ac (bug 1007878)
2014-05-23 15:10:51 -07:00
Boris Zbarsky
ef09975166 Bug 1007878 part 5. Implement callback codegen for MozMap. r=khuey 2014-05-23 17:32:39 -04:00
Boris Zbarsky
d5a8585aec Bug 1007878 part 4. Add C++-to-JS conversion for MozMap. r=khuey 2014-05-23 17:32:38 -04:00
Boris Zbarsky
03d472073c Bug 1007878 part 3. Add JS-to-C++ conversion for MozMap. r=khuey 2014-05-23 17:32:38 -04:00
Boris Zbarsky
22f64a2913 Bug 843840 part 2. Add a way to ask DOM proxies for only their enumerable property names, and use that in the enumerate hook. r=peterv 2014-04-15 22:58:44 -04:00
Boris Zbarsky
b730833389 Bug 843840 part 1. Add a way to ask DOM proxies with a named getter whether a property is enumerable or not and use that information in getOwnPropertyDescriptor. r=peterv 2014-04-15 22:58:44 -04:00
Boris Zbarsky
fdbb455d4f Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
This patch was mostly generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky
ac98569cac Bug 985536. Go back to allowing optional any with no default value in WebIDL, but treat it as having a default value of undefined. r=khuey 2014-04-03 23:32:11 -04:00
Mike Hommey
d4e380fe7f Bug 989522 - Remove LIBXUL_LIBRARY from the moz.build sandbox. r=mshal 2014-04-02 11:52:04 +09:00
Neil Rashbrook
fe80fce47a Bug 514280 Consistently declare and define IID accessors r=bsmedberg 2014-03-28 08:45:02 +00:00
Boris Zbarsky
ede5ccefdb Bug 987110. Disallow dictionary members that would shadow Object.prototype properties. r=bholley 2014-03-25 22:48:46 -04:00