Boris Zbarsky
57621e1167
Bug 1135961. Implement subclassing of DOM objects. r=peterv
2015-07-31 13:30:55 -04:00
Boris Zbarsky
89016f2d0c
Bug 1186696. Event handlers on JS-implemented webidl interfaces should have the same behavior as other event handlers: accept all values, convert non-objects to null. r=smaug
2015-07-28 12:35:39 -04:00
Tom Tromey
a37b7fa928
Bug 1148593 - Pass JSContext to CallbackObject constructor. r=bz
...
--HG--
extra : rebase_source : 5c4c1b8dc646fc76bda37a8c6e35a6494d0800b8
2015-07-24 07:00:00 -04:00
Boris Zbarsky
5487ec884b
Bug 1185028. Fix GCJsonifierMethod to correctly handle worker descriptors. r=nsm
...
toBindingNamespace() should only be called on descriptor names, not interface names.
2015-07-20 10:14:21 -04:00
Ryan VanderMeulen
b171b787bd
Backed out changesets fa9fe193778f and 3eaf867930dd (bug 1148593) for test_async_setTimeout_stack.html and test_async_setTimeout_stack_across_globals.html failures.
2015-07-17 12:37:24 -04:00
Tom Tromey
2bbc02624b
Bug 1148593 - Pass JSContext to CallbackObject constructor. r=bz
2015-07-17 07:47:00 -04:00
Jan de Mooij
bd0285d1bf
Bug 1177892 part 6 - Remove UINT_TO_JSVAL. r=evilpie
2015-07-17 11:51:54 +02:00
Jan de Mooij
aa64d5cee2
Bug 1177892 part 5 - Remove DOUBLE_TO_JSVAL. r=evilpie
2015-07-17 11:51:52 +02:00
Kan-Ru Chen
5c2f3fc74e
Bug 1179718 - Rename CheckPermissions to CheckAnyPermissions. r=bz
2015-07-17 11:07:53 +08:00
Kan-Ru Chen
a5886f19c7
Bug 1179718 - Add a CheckAllPermissions extended attribute to WebIDL. r=bz
2015-07-17 11:06:23 +08:00
Boris Zbarsky
d39d28be5c
Bug 1180770
part 2. Remove the unused ifaceName/memberName arguments of ThrowMethodFailedWithDetails and rename it to ThrowMethodFailed. r=peterv
2015-07-09 22:51:28 -04:00
Martin Thomson
a0c4950dee
Bug 1172785 - Adding StaticClassOverride routing for JS implemented WebIDL, r=peterv
...
--HG--
extra : commitid : H3mD5wT8wHm
extra : rebase_source : 64b9ed654bb2cc739a41981315350de4263f6930
2015-07-06 10:40:03 -07:00
Boris Zbarsky
6a7660edde
Bug 1176236
. Make typed array arguments work for constructors of JS-implemented interfaces. r=peterv
2015-07-01 14:15:20 -04:00
Boris Zbarsky
d1c9680b83
Bug 1177869. Fix example codegen to output the correct return type for WrapObject in the non-wrappercached case. r=peterv
2015-07-01 14:15:20 -04:00
Boris Zbarsky
2a8044e088
Bug 1162956 part 2. Forward-declare things as needed in example codegen. Also, use js/TypeDecls.h for the JSContext declaration and include BindingDeclarations.h so we get things like Optional (which are a pain to forward-declare). r=peterv
2015-07-01 14:15:19 -04:00
Boris Zbarsky
af37d2c61b
Bug 1162956 part 1. Move forwardDeclareForType to be a method on ForwardDeclarationBuilder. r=peterv
2015-07-01 14:15:19 -04:00
Terrence Cole
620b712967
Bug 1178581 - Interning does not and should not imply infinite lifetime; r=sfink
...
--HG--
extra : rebase_source : f6fb6b881bffe5af0dfde6a45e9e0c29932c8885
2015-06-30 07:58:31 -07:00
Jan de Mooij
2c2b7af49c
Bug 1177892 part 4 - Remove INT_TO_JSVAL. r=evilpie
2015-06-30 21:10:04 -07:00
Kyle Machulis
c035543458
Bug 1123516 - Implement maplike/setlike in WebIDL Codegen; r=bz
2015-06-29 15:38:53 -07:00
Boris Zbarsky
cc12674984
Bug 1025395. Output a #error instead of a nonexistent macro for the CC bits of example codegen, to make it clearer to people using it what they should do with CC. r=peterv
2015-06-25 01:39:28 -07:00
Boris Zbarsky
09be7723cb
Bug 1173829. Fix some compile issues in code generated by bindings codegen for non-concrete interfaces. r=peterv
...
Specifically, two issues:
1) We didn't include the implementation header for a non-concrete empty
interface. But if it has a parent we assert it's refcounted if and only if the
parent is refcounted, so need to see the class declaration.
2) We were getting the parent proto in all cases in CreateInterfaceObjects.
But parent may not have a proto at all if it has no concrete descendants. So
this patch switches to getting the parent proto only if we have a proto ourselves.
2015-06-17 13:42:06 -04:00
Boris Zbarsky
fefbd0cfd7
Bug 1174954 part 3. Remove ReportJSExceptionFromJSImplementation, since it no longer does anything interesting. r=bholley
2015-06-16 16:44:11 -04:00
Boris Zbarsky
13e1b69040
Bug 1173913. Indicate what webidl generated files were generated from, if they were generated for a particular webidl file. r=peterv
2015-06-16 12:18:17 -04:00
Brian Hackett
a6cbfd3be7
Bug 1170372 - Use unboxed arrays for Array() and other functions keyed to allocation sites, r=jandem.
2015-06-10 09:42:22 -07:00
Jose Antonio Olivera Ortega
1fde4d00db
Bug 1131352 - Part 1: Fix codegen issue. r=smaug
2015-05-24 05:45:00 -04:00
Tom Schuster
8b3a3efd8b
Bug 1135993 - Remove js::IsInNonStrictPropertySet. r=jorendorff
2015-06-02 23:27:39 +02:00
Boris Zbarsky
ade68101e4
Bug 1166443. Example codegen should output the right signature for Wrap() when the object is not wrappercached. r=peterv
2015-06-01 23:19:57 -04:00
Birunthan Mohanathas
180b572edb
Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj
2015-05-28 11:07:44 -07:00
Jason Orendorff
112cb52d91
Bug 1140482 - Add JSPROP_RESOLVING. Give NativeDefineProperty standard behavior in cases where a non-resolving define needs to trigger a resolve hook. r=Waldo.
...
--HG--
extra : rebase_source : c63bb83179ec98e9f93ebb86cb488d65f980a07e
2015-05-01 14:03:17 -05:00
Boris Zbarsky
51eacd8439
Bug 1158806. Don't try to include stuff for a generated hasInstance hook if we have no interface object, since in that case we don't need the include. r=peterv
2015-05-19 21:05:06 -04:00
Terrence Cole
161a4c26ba
Bug 1164602 - Replace js::NullPtr and JS::NullPtr with nullptr_t; r=sfink
2015-05-13 14:07:34 -07:00
Birunthan Mohanathas
1f8d7454e3
Bug 968520 - Add mozilla::fallible to Fallible{Auto,}TArray::SetCapacity calls. r=froydnj
2015-05-18 13:50:34 -07:00
Boris Zbarsky
c3b1832743
Bug 913053. Split up IDLTypedef and IDLTypedefType, and likewise for IDLCallback vs IDLCallbackType, so it's clearer whether we're operating on types or objects represented by those types. r=khuey
2015-05-13 22:19:22 -04:00
Tom Schuster
a74539d534
Bug 1161101
- Use JS_GetOwnPropertyDescriptor instead of GetPropertyDescriptor in dom/bindings. r=bz
2015-05-04 20:27:02 +02:00
Boris Zbarsky
864f723c0c
Bug 1155946 part 2. Add mayResolve methods to DOM classes with resolve hooks. r=peterv
2015-04-28 12:25:55 -04:00
Boris Zbarsky
34d521e285
Bug 1155984. Improve the performance of the "self" getter in both window and workers. r=peterv,jorendorff
2015-04-27 13:38:12 -04:00
Jan de Mooij
103a223716
Bug 1155946 part 1 - Add a mayResolve class hook to optimize objects with resolve hooks better. r=bhackett
2015-04-23 15:51:28 +02:00
Boris Zbarsky
ee1ef3326d
Bug 1152902 part 1. Add a way to flag a method in webidl as being identity-testable, so we'll expose such an identity test from bindings to other C++ code. r=peterv
2015-04-17 22:01:02 -04:00
Phil Ringnalda
11411ee0a4
Back out 2 changesets (bug 1152902) for Gu bustage
...
CLOSED TREE
Backed out changeset 462f2f668259 (bug 1152902)
Backed out changeset 1c5ed66652c3 (bug 1152902)
2015-04-18 15:30:17 -07:00
Boris Zbarsky
e279603075
Bug 1155793 part 2. Split apart the concepts of movability and eliminatability in jitinfo, since some things are not movable but are eliminatable. r=efaust.
2015-04-17 22:01:02 -04:00
Boris Zbarsky
7758808bc1
Bug 1155793 part 1. Make it possible to safely change the number of bits in the slotIndex field in jitinfo. r=efaust
2015-04-17 22:01:02 -04:00
Boris Zbarsky
bc2fcba9c4
Bug 1152902 part 1. Add a way to flag a method in webidl as being identity-testable, so we'll expose such an identity test from bindings to other C++ code. r=peterv
2015-04-17 22:01:02 -04:00
Jim Blandy
ebd83c9a61
Bug 1152577: Add 'aReason' argument to AutoEntryScript constructor, and provide plausible names for its instantiations. r=bholley
...
--HG--
extra : rebase_source : 8ab7a3628a5b4d94b957f24e23e4c5c7871db97c
2015-04-08 21:23:48 -04:00
Boris Zbarsky
806a236c64
Bug 1129239. Don't require 'optional' keyword on trailing dictionary arguments if the dictionary has a required member. r=smaug
2015-04-17 12:13:25 -04:00
Daniel Holbert
6f842d2ca6
Bug 1148506: Remove unused variable 'bool result' from code generated by getDeleterBody(), in Codegen.py. r=jorendorff
2015-04-16 11:00:28 -07:00
Paul Adenot
a1ddbe8bcb
Bug 1148496 - Allow to set an interface member as [Deprecated] in WebIDL. r=bz,smaug
2015-04-14 17:03:49 +02:00
Boris Zbarsky
94eab48905
Bug 1146333. Get rid of WrapCallThisValue and just use ToJSValue, now that we have it. r=peterv
2015-03-30 23:43:45 -04:00
Tom Schuster
ac250f9d73
Bug 1147005 - Change JSAddPropertyOp signature. r=jorendorff,peterv
2015-03-28 14:47:02 +01:00
Boris Zbarsky
bfe065abe8
Bug 1144397. Disallow using fill when dedent would do. r=peterv
2015-03-30 23:43:24 -04:00
L. David Baron
f04f3ed4a7
Back out changeset 64934914c29d (bug 1144397) for widespread test bustage, on a CLOSED TREE.
2015-03-30 21:52:35 -07:00