Commit Graph

368 Commits

Author SHA1 Message Date
Boris Zbarsky
1f640ff753 Bug 1088228 part 6. Simplify the DOM GetParentObject setup, now that we no longer rely on it for scope chains. r=peterv 2014-10-30 17:43:42 -04:00
Wes Kocher
e0d9ddc182 Backed out 6 changesets (bug 1088228) for static analysis bustage
Backed out changeset 13ecff800114 (bug 1088228)
Backed out changeset de692c3335f2 (bug 1088228)
Backed out changeset 2d449a2b4e1c (bug 1088228)
Backed out changeset 49ac8f33ab70 (bug 1088228)
Backed out changeset 920d50e84a17 (bug 1088228)
Backed out changeset 55f4818378e4 (bug 1088228)
2014-10-30 16:24:02 -07:00
Boris Zbarsky
c33d0bc4e2 Bug 1088228 part 6. Simplify the DOM GetParentObject setup, now that we no longer rely on it for scope chains. r=peterv 2014-10-30 17:43:42 -04:00
Jon Coppeard
27ce20abe8 Bug 650161 - Fix crashes moving partially initialized DOM objects r=bz 2014-10-28 10:18:36 +00: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
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
07d717f6df Bug 1082672, part 1 - Add JSAPI macros JS_SYM_FN etc. to support defining functions with well-known symbol keys. r=Waldo.
--HG--
extra : rebase_source : 9791c940599844802c9a262fe8b1610a0de3ef40
2014-07-25 18:50:48 -05: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
Peter Van der Beken
dcda2ba9bb Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz.
--HG--
extra : rebase_source : 89c476cd9436530b2df5acc903909e34188417a0
2014-10-07 11:44:49 +02: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
f0b7d81451 Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, cache named properties objects. r=bz.
--HG--
extra : rebase_source : ed4b2cc3c095690b8d91bee3202e8316e4531f60
2014-09-15 16:51:33 +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
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
Mike Habicher
c0376bc34a Bug 1053966 - move mozsettings-changed Observer info from aSubject to aData, r=bz,qDot 2014-09-16 13:15:16 -04:00
Jon Coppeard
64b91b1c09 Bug 650161 - Use the object moved hook to update the wrapper cache r=terrence r=bz r=bholley
* * *
Add exception for objectMoved hook as we do for finalize hook
2014-09-17 15:35:11 +01:00
Ryan VanderMeulen
d3fce43e7e Backed out changeset ed586ca080c0 (bug 1053966) for the same Mnw permafails it was backed out for previously. 2014-09-16 16:54:25 -04:00
Mike Habicher
e9ff4e12a0 Bug 1053966 - move mozsettings-changed Observer info from aSubject to aData, r=bz,qDot 2014-09-16 13:15:16 -04:00
Boris Zbarsky
188b3e07cb Update some documentation to make it clearer. No bug, DONTBUILD 2014-09-15 11:00:25 -04:00
Mathias De Maré
b1dd2e4484 Bug 909971: Remove MainThreadUtils.h include from BindingUtils.h - r=bjacob 2014-09-09 17:22:35 +02:00
Terrence Cole
62fae135f8 Bug 914402 - Remove the defunct conservative stack scanner; r=sfink
--HG--
extra : rebase_source : c261ef7492694e9724c78edc7bc0dac7aa4357ba
2014-09-09 15:08:23 -07:00
Peter Van der Beken
41421a4284 Bug 849567 - Automatically handle raw and already_AddRefed return values in Paris bindings and remove resultNotAddRefed, use templatized class to hold strong or weak pointer depending on the return type. r=bz.
--HG--
extra : rebase_source : 243e9ea15e2f4c213aa8a17a97fbaf53520804ac
2014-08-28 00:43:56 +02: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
Mike Habicher
34f6429b6e Bug 1057560 - implement WrappedJSToDictionary, r=bz 2014-08-25 18:10:22 -04:00
Peter Van der Beken
63152eee22 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
Roshan Vidyashankar
2d98c38825 Bug 1038993 - Add UnsafeInPrerendering extended attribute to WebIDL. r=peterv 2014-08-20 16:32:19 -07:00
Bobby Holley
9b4a386a14 Bug 1036214 - Do a subsumes check on object and any parameters (and things containing them) to JS-implemented WebIDL. r=bz 2014-08-19 18:12:15 -07:00
Peter Van der Beken
2a4b38bbe9 Bug 1036186 - Reset Migration wizard no longer skips the first step to choose a browser. r=smaug.
--HG--
extra : rebase_source : 5fd0eed62b999eabf4a7a46300f4d74a6888b1f8
2014-08-08 15:03:29 +02:00
Seth Fowler
0fd6e994ae Bug 913586 (Part 4) - Update Maybe users in dom. r=bz
--HG--
extra : rebase_source : 7b6159b00b3bf4f919b30f1bccc8939cc04fe526
2014-08-13 15:39:41 -07:00
Jon Coppeard
511f6ef1c5 Bug 1052388 - Rename JS_CallHeapFooTracer() functions to JS_CallFooTracer() r=terrence r=smaug 2014-08-13 10:05:22 +01:00
Jason Orendorff
56724afcf7 Bug 1041261, part 5 - In DOM bindings implemented as proxies, don't call a named getter/setter/deleter if the id is a symbol. r=peterv.
--HG--
extra : rebase_source : 0ec7dad0ed1364d07cf2a8731f7980ab4c89cf7f
2014-08-04 14:20:57 -05:00
Bobby Holley
0f181a8a08 Bug 1048330 - Null-check the XBL scope in more places. r=smaug 2014-08-05 12:10:34 -04:00
Ben Kelly
8d0e50e7d2 Bug 1025183 P3 Add ScalarValueString to webidl Codegen.py r=bz 2014-08-01 16:23:48 -04:00
Ben Kelly
93f746a2f6 Revert bug 1025183 (revs 69373df15281, dd6d84edf08e, 728a5d18bcd9, 71babe0bc84b, c60f9054acf6) for bustage. r=me 2014-08-01 14:10:40 -04:00
Ben Kelly
e072a1a235 Bug 1025183 P3 Add ScalarValueString to webidl Codegen.py r=bz 2014-08-01 13:56:59 -04:00
Ehsan Akhgari
c8380d74dd Bug 1045067 - Fix some bad implicit constructors in dom/content/ipc; r=smaug 2014-07-28 13:17:51 -04:00
Jon Coppeard
c71e29bdb6 Bug 1043888 - Make GetObjetZone() work on nursery objects and rename GetGCThingZone() to GetTenuredGCThingZone() r=terrence 2014-07-28 10:39:36 +01:00
Neil Rashbrook
5aea9a701a Bug 1041140 Fix design flaws in FakeString r=bz 2014-07-19 14:23:19 +01:00
Boris Zbarsky
e620338f1a Bug 832014 part 2. Add codegen support for [Unforgeable] interfaces. r=peterv 2014-07-11 19:30:27 -04:00
Bobby Holley
ec0078e10d Bug 1033927 - Drop support for custom [object XrayWrapper [object ClassName]] stringification. r=peterv 2014-07-07 13:11:24 -07:00
Jan de Mooij
44da586636 Bug 1034191 - Make nsDependentJSString users work with Latin1 strings and nursery-allocated strings. r=bz 2014-07-05 17:30:54 +02:00
Ms2ger
3b4a60ee80 Bug 1034204 - Implement unforgeable methods; r=bz 2014-07-04 15:02:10 +02:00
Jan de Mooij
574cf83f68 Bug 1032726 part 6 - Some followup changes. r=bz 2014-07-03 13:05:03 +02:00
Jan de Mooij
7aac8950d1 Bug 1032726 part 5 - Make new DOM bindings work with Latin1 strings. r=bz 2014-07-03 10:03:56 +02:00
Jan de Mooij
049c5ca279 Bug 1032726 part 3 - Make FindEnumStringIndex work with Latin1 strings. r=bz,terrence
--HG--
extra : rebase_source : dd266d1453f926438eec533502d75e2a7de37795
2014-07-02 15:45:04 +02:00
Peter Van der Beken
e6a15c150f Bug 1032748 - Make ConvertJSValueToString work on ns*String. r=bz. 2014-01-23 10:18:35 +01:00