Wes Kocher
f657cd0135
Backed out 4 changesets (bug 1136925) for potentially busting m-e10s-dt on a CLOSED TREE
...
Backed out changeset 331761aaae22 (bug 1136925)
Backed out changeset 2faa0e91fe23 (bug 1136925)
Backed out changeset a00f2530c911 (bug 1136925)
Backed out changeset d5e658bc0792 (bug 1136925)
2015-02-26 23:17:34 -08:00
Boris Zbarsky
78b6722596
Bug 1136925 part 1. Stop passing a parent to JS_CloneObject. r=waldo
2015-02-26 15:58:59 -05:00
Boris Zbarsky
30f7932607
Bug 1135810. Add more explicit checks for whether a descriptor wants Xrays or not instead of assuming that Xrays are desired if and only if descriptor.workers is false. r=peterv
2015-02-26 09:40:08 -05:00
Boris Zbarsky
bf177935d6
Bug 1136292 part 3. Stop passing a global as the parent arg to JS_NewObjectWithGivenProto in bindings code. r=peterv
2015-02-26 09:40:07 -05:00
Boris Zbarsky
9e8395b4c9
Bug 742194 part 1. Add support for throwing uncatchable exceptions to Web IDL bindings. People keep asking for this. r=khuey
2015-02-20 23:58:36 -05:00
Dhi Aurrahman
5b8f79fc23
Bug 1125766 - Throw proper error types for TextEncoder(), TextDecoder() and TextDecoder.decode(). r=bz
2015-02-04 18:46:26 +07:00
Tom Schuster
42f3ec261e
Bug 1127443 - Move some JS_NewObject callers to JS_NewObjectWithGiveProto
2015-01-31 16:18:51 +01:00
Boris Zbarsky
3d347c5027
Bug 1127206. Don't try to do binding UnwrapArgImpl on worker threads. It can't do anything useful there. r=peterv
2015-01-30 13:54:43 -05:00
Bill McCloskey
2f3d90830b
Bug 1123461 - Make a real interface for js/ipc (r=dvander)
2015-01-26 13:32:18 -08:00
Ehsan Akhgari
866d758e54
Bug 1069719 - Abort the execution of scripts when a prerendered page calls an IDL blacklisted function; r=bzbarsky
2015-01-26 11:02:56 -05:00
Boris Zbarsky
6a93d5c443
Bug 1107953 part 5. Add tests for promise rejections with content-side DOMExceptions, and fix the promise code so those tests actually pass. r=bholley
2015-01-15 17:39:02 -05:00
Ms2ger
b83d21c58c
Bug 914067 - Remove JSVAL_VOID from dom/; r=jst
2015-01-14 08:59:06 +01:00
Boris Zbarsky
bad2ee9b82
Bug 1117167. Make the generated implementation classes for JS-implemented bindings store an nsIGlobalObject, not an nsPIDOMWindow, so we can use them in sandboxes. r=peterv
2015-01-08 11:57:19 -05:00
Jeff Walden
79c821101e
Bug 603201 - Make HasPropertyOnPrototype fallible. r=peterv
2015-01-02 14:02:36 -06:00
Boris Zbarsky
8fd98d4057
Bug 1107592 part 2. Allow chrome JS to directly throw content DOMExceptions that will propagate out to the web script. r=peterv
2015-01-02 17:08:33 -05:00
Jason Orendorff
92f1bf16c5
Bug 1103368, part 5 - Make Class::getProperty and setProperty nullable instead of needing stub functions. Never store stub functions in JSPropertyDescriptors. r=bhackett.
...
--HG--
extra : rebase_source : a44070dd6155426ef6026c1575116f90b5fdac0c
extra : amend_source : 8d8fcf05dfd5fdf214a39501663347a6d6b56463
2014-11-22 12:23:39 -06:00
Boris Zbarsky
8ec9d58716
Bug 1087851 part 1. Rename WrapNewBindingObject to GetOrCreateDOMReflector to make it clearer what it does. r=peterv for the idea; patch itself is just search-and-replace
2014-11-26 14:25:20 -05:00
Boris Zbarsky
e86d3b5204
Bug 1096011. Warning when failing to create a JS implemntation for a Web IDL binding should include the implementation contract. r=peterv
2014-11-24 11:57:49 -05:00
Boris Zbarsky
cfe3876dca
Bug 1089079. Make .length on interface objects configurable. r=peterv
2014-11-24 12:56:32 +00:00
Andrea Marchesini
9d30f59efd
Bug 1077393 - Rename ScalarValueString to USVString. r=smaug
...
--HG--
rename : dom/bindings/parser/tests/test_scalarvaluestring.py => dom/bindings/parser/tests/test_usvstring.py
rename : dom/bindings/test/test_scalarvaluestring.html => dom/bindings/test/test_usvstring.html
2014-11-20 12:58:00 +01:00
Steve Fink
bcb05bd4d2
Bug 1053999 - Conservative stack check should assume untrusted code, r=bholley
...
--HG--
extra : rebase_source : f363a8bc1c2f78e9ab47538cdcf8669275a73cb0
2014-11-13 12:23:11 -08:00
Tom Schuster
18c9617c27
Bug 993026 - Change resolve hook in browser/XPC. r=bholley
2014-11-08 01:07:12 +01:00
Boris Zbarsky
3ab8b7383a
Bug 1088002 part 3. Stop requiring JSPROP_PROPOP_ACCESSORS just to use stub accessors. r=waldo
2014-10-29 15:06:32 -04:00
Boris Zbarsky
6ee4ab8789
Bug 1088002 part 2. Change JS_DefineElement, JS_DefineProperty, JS_DefineUCProperty, JS_DefinePropertyById, and JS_DefineProperties to default to using JSNative accessors, not JSPropertyOp accessors. r=waldo
2014-10-29 15:06:31 -04:00
Boris Zbarsky
87347c238d
Back out part of bug 1084001 because the tests are being silly.
2014-10-25 01:58:59 -04:00
Boris Zbarsky
96fe2231a2
Bug 1084001. Set the .name of DOM interface objects to the name of the interface. r=peterv
2014-10-25 00:50:28 -04:00
Boris Zbarsky
691a2b701a
Bug 1087404. Get rid of XPCQuickStubs.h/cpp. r=bholley
2014-10-23 15:21:46 -04:00
Boris Zbarsky
0929eae5cc
Bug 1019191 part 23. Eliminate the ppArgRef argument of xpc_qsUnwrapArgImpl and UnwrapArg, since we're now always handing out a ref in ppArg. r=peterv
2014-10-22 11:40:51 -04:00
Boris Zbarsky
a688f3fefc
Bug 1019191 part 22. Eliminate the effectively unused vp argument of xpc_qsUnwrapArgImpl. r=peterv
2014-10-22 11:40:51 -04:00
Boris Zbarsky
b87343d102
Bug 1019191 part 21. Change xpc_qsUnwrapArgImpl and UnwrapArg to take a HandleObject, not a HandleValue. r=peterv
2014-10-22 11:40:50 -04:00
Boris Zbarsky
e4db1a7e1e
Bug 1019191 part 19. Change GlobalObject::GetAsSupports to not rely on UnwrapArg producing an nsISupports for non-reflectors. r=peterv
2014-10-22 11:40:50 -04:00
Boris Zbarsky
56c4d8609d
Bug 1019191 part 10. Stop using xpc_qsUnwrapArg directly in BindingUtils. r=peterv
2014-10-22 11:40:48 -04:00
Brian Hackett
87281e9299
Bug 1073842 - Remove slots/elements from non-native objects, use a new layout for proxies and typed objects, r=luke,billm,efaust,bz,sfink,jandem.
2014-10-17 16:57:52 -07:00
Jason Orendorff
8ec9f238d9
Bug 1082672, part 4 - Change XrayWrapper code to be able to resolve symbol-keyed methods. r=bz, r=bholley.
...
--HG--
extra : rebase_source : f78cbb83f63dfffd648c6d3c280273f4a61c9fe8
extra : amend_source : f006a096174eee166125430753e65e9a31bd930b
2014-09-18 12:30:38 -05:00
Tom Schuster
bf9324688d
Bug 1069694 - Remove OldDebugAPI from the browser. r=shu
2014-10-12 19:37:41 +02:00
Jason Orendorff
d35e6d1e8d
Bug 1026918, part 1 - Rename BaseProxyHandler::getOwnPropertyNames -> ownPropertyKeys to match the ES6 [[OwnPropertyKeys]] internal method. r=efaust, r=bz.
...
Also renamed in this patch:
ENUMERATE_IF_DEFINED -> ADD_KEYS_IF_DEFINED
XrayEnumerateAttributesOrMethods -> XrayAttributeOrMethodKeys
XrayEnumerateNativeProperties -> XrayOwnNativePropertyKeys
XrayEnumerateProperties -> XrayOwnPropertyKeys
WrapperOwner::getPropertyNames -> getPropertyKeys
These make sense because JSITER_* flags are involved; the functions in
question are not for finding enumerable properties only.
--HG--
extra : rebase_source : 35fb0fa3c8f3d7bc952409ea8c584e58f3c1d78f
2014-09-26 15:16:36 -05:00
Bobby Holley
0eb719cc17
Bug 987794 - Don't unwrap XrayWrappers in HasPropertyOnPrototype. r=bz
2014-10-02 18:34:16 +02:00
Neil Rashbrook
2b34b65e9e
Bug 1074114 Propagate error thrown when constructing the JS implementation r=bz
2014-10-02 01:37:50 +01:00
Peter Van der Beken
ebc693bfd7
Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, make Xrays walk the prototype chain when resolving DOM properties. r=bholley.
...
* * *
Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, remove obsolete code. r=bholley.
--HG--
extra : rebase_source : 7a9aa81d3e9d74ed958374942020474147aa4f86
2014-09-15 16:51:40 +02:00
Peter Van der Beken
16b3a0fe7d
Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, add a named properties object type to DOMObjectType and how to get the parent prototype object in DOMIfaceAndProtoJSClass. r=bz, r=bholley.
...
--HG--
extra : rebase_source : fdd72f5027b365554ab0b986de685204c8030c58
2014-09-09 15:19:10 +02:00
Peter Van der Beken
307531531b
Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, move some code around. r=bholley.
...
--HG--
extra : rebase_source : 713a35d4bc7ffa4a25561823dbb0301a22565cb5
2013-10-18 13:22:08 +02:00
Peter Van der Beken
cbd064cb38
Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, make CreateInterfaceObjects take a js::Class instead of a JSClass. r=bz.
...
--HG--
extra : rebase_source : 8b37d59b5f43215c5acef9f8219e631024ece207
2014-08-05 12:46:42 +02:00
Peter Van der Beken
a756948971
Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, make global properties own on Xrays. r=bholley.
...
--HG--
extra : rebase_source : dc238b6eeed8299adc3995c2b8647f68499efb58
2014-09-15 16:49:04 +02:00
Peter Van der Beken
67e7fbe69f
Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, make GetNativePropertyHooks detect global objects. r=bz.
...
--HG--
extra : rebase_source : 15dc7787cc8456da79d9c62536f241fc3dc94dbd
2014-08-22 11:25:35 +02:00
Peter Van der Beken
1ab9ffc995
Bug 1067501 - Make stringification of DOM Xrays use Object.prototype.toString. r=bholley.
...
--HG--
extra : rebase_source : 7ba38f2b2625d0ff5405eda2fda6bad9608efa34
2014-09-15 16:45:38 +02:00
Bobby Holley
db168e5cde
Bug 1065811 - Expose isCallable()/isConstructor() in JS_PUBLIC_API. r=billm
2014-09-25 13:13:28 +02:00
Ehsan Akhgari
28f0bef008
Bug 1065025 - Make the generated WebIDL ToJSON method const; r=baku
2014-09-09 14:00:22 -04:00
Chris Peterson
d126c3c24f
Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem
2014-07-21 21:43:21 -07:00
Peter Van der Beken
dc7011c6cf
Bug 1059134 - ResolvePrototypeOrConstructor should take bool&, not bool, for cacheOnHolder. r=bz.
...
--HG--
extra : rebase_source : 063b8cd96dc8e5a7d7f73f292554ce11520c313a
2014-09-02 14:17:43 +02:00
Bobby Holley
9623afb943
Bug 1056332 - Remove cross-global adopt telemetry. r=gabor
2014-08-23 09:01:50 +02:00