Commit Graph

54 Commits

Author SHA1 Message Date
Dragana Damjanovic
c7fc0a288e Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00
Jan de Mooij
2d19dfc5f6 Bug 1177892 part 2 - Remove PRIVATE_TO_JSVAL. r=evilpie 2015-06-30 11:20:58 -07:00
Ryan VanderMeulen
1c944f7ca5 Backed out changesets ad58c270ce87 and 849151330d60 (bug 1177892) for B2G bustage.
CLOSED TREE
2015-06-30 15:48:11 -04:00
Jan de Mooij
f7b999155b Bug 1177892 part 2 - Remove PRIVATE_TO_JSVAL. r=evilpie 2015-06-30 11:20:58 -07:00
Terrence Cole
97c65455fd Bug 1164602 - Replace js::NullPtr and JS::NullPtr with nullptr_t; r=sfink 2015-05-13 14:07:34 -07:00
Andrew McCreight
aeff7c99ee Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Jan de Mooij
bfb27c97d1 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
Andrew McCreight
c34850707a Bug 1137536, part 3 - Move the top level DeferredFinalize functions into their own file. r=smaug 2015-03-18 11:36:03 -07:00
Andrew McCreight
0f7082e12b Bug 1137536, part 1 - Move DeferredFinalize out of the cyclecollector namespace. r=smaug 2015-03-18 11:36:03 -07:00
Tom Tromey
257f39f5bb Bug 1135731 - fix encoding inconsistency in NS_NewXBLProtoImpl; r=mrbkap 2015-03-13 12:05:57 -07:00
Boris Zbarsky
73dc4ec956 Bug 1136292 part 4. Stop passing a global as the parent arg to JS_NewObjectWithGivenProto in XBL code. r=peterv 2015-02-26 09:40:07 -05:00
Jason Orendorff
3adebb6c77 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
Jason Orendorff
4724b42042 Bug 1103152 - Remove JS_DeletePropertyStub, JS_EnumerateStub, JS_ResolveStub, and JS_ConvertStub. Make five mandatory JSClass hooks optional (nullable). r=bhackett.
--HG--
extra : rebase_source : a349ef612573aff8f87b995a65df94ae56cab13d
extra : amend_source : bbfe549fe0735d8b33ffff66d7eeddcc2ad042d2
2014-12-02 16:56:35 -06:00
Tom Schuster
93dc15aa0c Bug 993026 - Change resolve hook in browser/XPC. r=bholley 2014-11-08 01:07:12 +01:00
Boris Zbarsky
d3ead51082 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
e783498ddd 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
William Chen
f6d15ee24b Bug 1062578 - Call BindToTree/UnbindFromTree on shadow root children when host is bound/unbound from tree. r=smaug 2014-09-26 15:07:40 -07:00
Carsten "Tomcat" Book
05a473f758 Backed out changeset 7d7ccb243db5 (bug 1062578) for breaking webplatform 4 tests 2014-09-26 08:14:23 +02:00
William Chen
5ba334c43f Bug 1062578 - Call BindToTree/UnbindFromTree on shadow root children when host is bound/unbound from tree. r=smaug 2014-09-25 21:53:20 -07:00
Bobby Holley
2a85bd6abc Bug 1048330 - Null-check the XBL scope in more places. r=smaug 2014-08-05 12:10:34 -04:00
Bob Owen
27cf7b9b35 Bug 1037936 - Part 1: Replace nsCxPusher in nsXBLBinding::ChangeDocument. r=bholley 2014-07-15 16:39:17 +01:00
Jan de Mooij
3c7459b21a Bug 1034191 - Make nsDependentJSString users work with Latin1 strings and nursery-allocated strings. r=bz 2014-07-05 17:30:54 +02:00
Andrew McCreight
755e7c59b3 Bug 1029660 - Remove nsContentUtils::DeferredFinalize. r=peterv 2014-06-26 09:29:05 -07:00
Bill McCloskey
a36b8c7b9b Bug 1017310 - Associate JS compartments with add-on chrome XBL (r=bholley) 2014-06-23 16:33:37 -07:00
Jason Orendorff
f427cf7043 Bug 645416, part 22 - Remove JSCompartment::wrapId. r=terrence.
This is unnecessary now that object jsids no longer exist. Both string and
symbol jsids point only to GC things in the atoms compartment, which are safe
to pass to any compartment without wrapping.

--HG--
extra : rebase_source : 82c21e8474df05b1bb42c14d872c981205bbe879
2014-06-23 10:57:02 -05:00
Neil Rashbrook
b2ba38a636 Bug 1026008 Incorrect XBL behaviour with multiple insertion points r=mrbkap 2014-06-22 12:53:01 +01:00
Kyle Huey
fcaab74dfe Bug 737976: Remove nsINodeInfo. r=smaug
--HG--
rename : content/base/src/nsNodeInfo.cpp => dom/base/NodeInfo.cpp
rename : content/base/public/nsINodeInfo.h => dom/base/NodeInfo.h
rename : content/base/src/nsNodeInfo.h => dom/base/NodeInfoInlines.h
2014-06-19 19:01:40 -07:00
Wes Kocher
dff4f03174 Backed out 2 changesets (bug 1026008, bug 1025264) for debug crashtest leaks on a CLOSED TREE
Backed out changeset d7ab14487c62 (bug 1026008)
Backed out changeset 0b04aefdd3e3 (bug 1025264)
2014-06-19 17:13:12 -07:00
Neil Rashbrook
25e86d415e Bug 1026008 Incorrect XBL behaviour with multiple insertion points r=mrbkap 2014-06-19 23:57:42 +01:00
Bobby Holley
da5622f8f9 Bug 1022016 - Redesign nsDependentJSString API to be less of a footgun. r=gabor 2014-06-10 20:15:56 -07:00
Bill McCloskey
d765144f56 Bug 1017310 - Rename *XBLScope to *ContentXBLScope in xpconnect (r=bholley) 2014-06-02 18:04:21 -07:00
Nicholas Nethercote
ff47af9d66 Bug 952650 (part 16) - Remove JSVAL_TO_PRIVATE. r=till.
--HG--
extra : rebase_source : 603bb66a90484b488bedf1dd4da6935324c148c6
2014-04-28 16:01:31 -07:00
Jason Orendorff
b4e94a9f46 Bug 547140, part 4 - Remove flags argument from resolve hooks. r=Waldo. 2014-04-25 16:11:02 -05:00
Andrew McCreight
3c2c09c71b Bug 998779 - Remove unused #includes of nsHashtable.h. r=froydnj 2014-04-21 09:41:58 -07:00
Terrence Cole
c97877c686 Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz
--HG--
extra : rebase_source : 87991ed47ed071550af4e4125eea54a66fdb0071
2014-01-21 18:11:17 -08:00
Bobby Holley
4d580a20f3 Bug 996077 - Null-check |holder|, and warn if SetWeakMapEntry fails. r=bz 2014-04-14 14:17:53 -07:00
Bobby Holley
91739ca9b3 Bug 990290 - Get rid of dynamic XBL JSClasses. r=bz 2014-04-11 07:59:47 -07:00
Bobby Holley
1ebf223fc7 Bug 990290 - Store class objects in a weak map off the XBL global. r=bz
Note that we simultaneously rip out all of the crazy lifetime management for the
dynamic JSClasses here (it would be nice to do that in a separate patch, but it's
all kind of tied up together). With this patch, we simply have one dynamic JSClass
per class object, which is deleted in the finalizer. In the next patch, we remove
dynamic JSClasses entirely.
2014-04-11 07:59:47 -07:00
Bobby Holley
5477fe3737 Bug 990290 - Remove silly LRU cache of nsXBLJSClass instances. r=bz 2014-04-11 07:59:47 -07:00
Bobby Holley
318a3304dd Bug 990290 - Remove unnecessary conditional and unindent. r=bz 2014-04-11 07:59:46 -07:00
Bobby Holley
506d2f07ec Bug 990290 - Stop using ye olde JS_InitClass for XBL class objects. r=bz 2014-04-11 07:59:46 -07:00
Bobby Holley
02270e76f1 Bug 989183 - Check for nsXBLJSClass. r=bz 2014-04-01 21:34:34 -03:00
Andrew McCreight
8d50ef262c Bug 988570 - Initialize nsXBLBinding::mUsingXBLScope. r=bholley 2014-03-27 09:24:33 -04:00
Jon Coppeard
48ecc0a1b8 Bug 959787 - Handlify some more GCing APIs r=sfink 2014-03-20 09:32:37 +00:00
Bobby Holley
8e563284fb Bug 825392 - Add xpc::GetXBLScopeOrGlobal and Sprinkle some calls to it where necessary. r=bz 2014-03-19 13:35:45 -03:00
Bobby Holley
b78130c48a Bug 825392 - Infer the global from the reflector in DoInitJSClass. r=bz 2014-03-19 13:35:45 -03:00
Andrew McCreight
59ac5ad9a9 Bug 983899, part 2 - Convert nsXBLService::gClassTable to nsDataHashtable. r=mrbkap 2014-03-18 14:25:39 -07:00
Andrew McCreight
da3906c510 Bug 983899, part 1 - Delete some trailing whitespace in XBL. r=mrbkap 2014-03-18 14:25:39 -07:00
Jon Coppeard
6ca748883c Bug 959787 - Handlify JS_ExecuteScript, JS_EvaluateScript and other JS APIs r=sfink r=bz 2014-03-17 16:17:58 +00:00
Masayuki Nakano
a7a5e56dd5 Bug 981261 part.5 Rename nsEventListenerManager to mozilla::EventListenerManager r=smaug
--HG--
rename : dom/events/nsEventListenerManager.cpp => dom/events/EventListenerManager.cpp
rename : dom/events/nsEventListenerManager.h => dom/events/EventListenerManager.h
2014-03-17 15:56:53 +09:00