Jon Coppeard
92628b5345
Bug 1396613 - Update the object moved hook to allow it to be called when tenuring nursery objects r=sfink r=mccr8
2017-09-19 12:31:30 +01:00
Jan de Mooij
f9f0443c9f
Bug 1389510 part 3 - Remove getProperty/setProperty hooks from ClassOps. r=evilpie
2017-08-25 10:12:16 +02:00
Jan de Mooij
aee7ba6a59
Bug 1370608 part 3 - Use JS_NewEnumerateStandardClasses outside js/src. r=bz
2017-06-14 10:39:11 +02:00
Jan de Mooij
5e5e72f23f
Bug 1370608 part 1 - Move newEnumerate hook from ObjectOps to ClassOps. r=evilpie,bz
2017-06-14 10:37:44 +02:00
Jon Coppeard
48dadf1863
Bug 1352430 - Add barrier to wrapper cache to clear dying objects that have not yet been finalized r=bz r=sfink
...
* * *
Code review followup
2017-04-26 11:18:39 +01:00
Andrea Marchesini
8f5f953fba
Bug 1343933 - Renaming Principal classes - part 2 - NullPrincipal, r=qdot
2017-03-22 11:38:40 +01:00
Brian Hackett
672894a957
Bug 1337112 - Remove links from JSRuntime to its single context and zone group, r=jandem,jonco.
2017-02-10 16:47:50 -07:00
Boris Zbarsky
dd7a191ab9
Bug 1326301. Put the global allocated by SimpleGlobalObject in the system zone, so we don't create tons of zones when we're converting JSON to dictionaries many times over. r=mccr8
2017-01-04 14:52:26 -05:00
Olli Pettay
3898f7d882
Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8
2017-01-03 21:47:55 +02:00
Jon Coppeard
66a80788eb
Bug 1296688 - Add JSCLASS_FOREGROUND_FINALIZE flag r=sfink r=smaug
2016-08-24 14:18:10 +01:00
Jan de Mooij
bfe36450fc
Bug 1292892 part 5 - Replace most nsContentUtils::RootingCx calls with dom::RootingCx. r=bz,terrence
2016-08-11 14:39:23 +02:00
Boris Zbarsky
a1329c170c
Bug 1282150 followup: placate the rooting analysis in SimpleGlobalObject::Create so we can reopen the CLOSED TREE
2016-07-07 22:24:37 -04:00
Boris Zbarsky
cb47ca8628
Bug 1282150 part 2. Get rid of GetDefaultJSContextForThread. r=bholley
2016-07-07 20:08:26 -04:00
Boris Zbarsky
e9c48229ba
Bug 1268845. Make sure to set up an XPCWrappedNativeScope for SimpleGlobalObject globals on the main thread. r=bholley,ttaubert,ejpbruel
2016-05-10 20:57:29 -04:00
Yoshi Huang
2b116e8616
Bug 1263496 - Part 3: fix for nsNullPrincipal::Create
...
This fixed the locations listed by
http://searchfox.org/mozilla-central/search?q=nsNullPrincipal::Create (&redirect=true
that needs to inherit origin attributes.
2016-04-27 18:38:07 +08:00
Boris Zbarsky
13e738d27e
Bug 1264377. Get rid of some unnecessary custom JSClass hook functions in xpconnect sandboxes and DOM simple globals. r=bholley
2016-04-14 14:54:01 -04:00
Nicholas Nethercote
a35143c546
Bug 1261723 (part 2) - Separate class ops from js::Class. code=njn,h4writer. r=efaust,bz.
...
js::Class op are often all null. And when they're not all null, they're often
duplicated among classes. By pulling them out into their own struct, and using a
(possibly null) pointer in js::Class, we can save 114 KiB per process on
64-bit, and half that on 32-bit.
* * *
imported patch separate-ClassOps-2
2016-04-01 11:00:01 +11:00
Nicholas Nethercote
ea5ce3931c
Bug 1261720 (part 2) - Move ClassExtension::isWrappedNative into js::Class::flags. r=jorendorff.
...
This saves 10 KiB of static data on 64-bit, and half that on 32-bit.
2016-04-04 08:47:15 +10:00
Nicholas Nethercote
a34f03aa34
Bug 1261720 (part 1) - Separate js::ClassExtension from js::Class. r=jorendorff,bz.
...
js::ClassExtension is often all null. When it's not all null, it's often
duplicated among classes. By pulling it out into its own struct, and using a
(possibly null) pointer in js::Class, we can save 17 KiB per process on
64-bit, and half that on 32-bit.
2016-04-04 08:45:07 +10:00
Boris Zbarsky
c380dbce70
Bug 1246153 part 2. Create a way to ask for a clean new global that works on both mainthread and workers. r=bholley
2016-04-04 12:29:16 -04:00