Andrew McCreight
898cb90713
Bug 886459, part 4 - Remove nsIJSRuntimeService. r=bholley,aklotz
2015-06-26 18:44:14 -07:00
Andrew McCreight
10dd21a3ef
Bug 886459, part 3 - Remove simple uses of nsIJSRuntimeService to get the JSRuntime. r=bholley
2015-06-26 18:44:14 -07:00
Terrence Cole
c16fb495f0
Bug 1169791 - Strongly type GetTenuredGCThingZone; r=jonco, r=mccr8
...
--HG--
extra : rebase_source : bedbbb99eb9655dc3f4079e0d3e5a376f7b83764
2015-06-01 14:11:08 -07:00
David Rajchenbach-Teller
547898385f
Bug 1149486 - Regroup PerformanceStats by window. r=jandem, r=bholley
...
--HG--
extra : histedit_source : 8696f5913c4da32036b2d9577499b6345f832910
2015-04-18 13:21:31 +02:00
Ryan VanderMeulen
1dc9d316cf
Backed out changesets da71c4aefb3a and 98603c32c9a3 (bug 1149486) for browser_compartments.js permafail.
...
CLOSED TREE
--HG--
extra : amend_source : bb03b38dccd8a194407ae0c5f1f8fece0fc97dc3
2015-05-29 12:59:23 -04:00
David Rajchenbach-Teller
91395b3e2d
Bug 1149486 - Regroup PerformanceStats by window. r=jandem, r=bholley
...
--HG--
extra : transplant_source : c%E9%F8v-%CD%EF4%C6%08%B05%3Fz%E6%F1%CDO%13%CB
2015-04-18 13:21:31 +02:00
Jan de Mooij
b8b1677f0f
Bug 1144366
- Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff
2015-03-28 23:22:11 +01:00
Phil Ringnalda
c8a25251c1
Backed out changeset 0c030f97a04f (bug 1144366
) for being on top of patches being backed out
...
CLOSED TREE
2015-03-28 10:39:56 -07:00
Jan de Mooij
8d6d44ecb8
Bug 1144366
- Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff
2015-03-28 12:08:37 +01:00
Bobby Holley
125cbceb13
Bug 1147215 - Add a helper to get the current window with a null check. r=smaug
2015-03-26 12:24:53 -07:00
Tom Schuster
fcb11bbe71
Bug 1131003 - Move jsproxy.h to js/Proxy.h. r=efaust
...
--HG--
rename : js/src/jsproxy.h => js/public/Proxy.h
2015-02-10 19:58:18 +01:00
Ehsan Akhgari
d161a0c991
Bug 1123002 - Convert XPCStringConvert::ZoneStringCache::mBuffer to void*; r=mccr8
...
This variable is only used for pointer comparison in order to compute
a cache match. This patch converts the type of the variable to void*
so that it can still be used for the pointer comparison, but not for
any other purpose, including dereferencing, since the pointer may
potentially be dangling if the string buffer dies.
2015-01-20 19:12:42 -05:00
Brad Lassey
36b059df69
bug 1096718 - - display time measured spent in each compartment r=billm,mossop
2015-01-13 17:38:05 -08:00
Andrew McCreight
ffbaeabe1a
Bug 1119499 - Define BAD_TLS_INDEX where it is used. r=janv
2015-01-09 12:41:49 -08:00
Ehsan Akhgari
4354953b4f
Bug 1118486 - Part 1: Use = delete
instead of MOZ_DELETE directly; r=Waldo
...
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:
#!/bin/bash
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "*/.git*" \
! -wholename "obj-*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Terrence Cole
20e03ef2a5
Bug 1105069 - Part 17: Convert xpc_IsGrayGCThing to GCCellPtr; r=mccr8, j=jonco
...
--HG--
extra : rebase_source : 9fdc5ac9ca8de9c12a399532db7e77bc34abb7da
2014-12-05 09:38:34 -08:00
Terrence Cole
a99f92dd64
Bug 1105069 - Part 15: Convert xpc_GCThingIsGrayCCThing to GCCellPtr; r=mccr8, r=jonco
...
--HG--
extra : rebase_source : 096b8eaf5b46afc1c40b0b9e8b233ec13c638c85
2014-12-09 16:22:51 -08:00
Bobby Holley
8b421a48d3
Bug 1070842 - Factor script error event dispatch into a separate function. r=bz
2014-09-29 15:34:21 +02:00
Bobby Holley
94bd419133
Bug 1070842 - Remove ambiguous globals from xpc::ErrorReporter and make meanings explicit. r=bz
2014-09-29 15:34:20 +02:00
Bobby Holley
a24c29adc9
Bug 1070131 - Switch originPrincipals to a mutedError flags. r=luke,r=bz
...
--HG--
rename : js/src/jsapi-tests/testOriginPrincipals.cpp => js/src/jsapi-tests/testMutedErrors.cpp
2014-09-29 10:44:30 +02:00
Bobby Holley
e3eca2660e
Bug 1070696 - Rename xpc::GetNativeForGlobal to xpc::NativeGlobal and make it accept non-global JSObjects. r=smaug
...
The method is infallible, and making the callers invoke
js::GetGlobalForObjectCrossCompartment manually is dumb.
2014-09-21 21:31:53 +02:00
Bobby Holley
d7458ed3db
Bug 1065452 - Add an API to access the associated window of addon scopes. r=billm
2014-09-15 14:12:12 +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
Bobby Holley
9ff6cd212d
Bug 1062077 - Merge NS_ScriptErrorReporter and xpc::SystemErrorReporter. r=bz
...
We keep the latter name because it's referenced in more places. Error reporters
will go away entirely in bug 981187.
2014-09-08 16:30:11 -07:00
Bobby Holley
7ba663f3ec
Bug 1062077 - Hoist console logging duties into xpc::ErrorReport. r=bz
2014-09-08 16:30:11 -07:00
Bobby Holley
e85bd78d5d
Bug 1062077 - Introduce xpc::ErrorReport. r=bz
...
I've got it! Let's just wrap the JS thing in an XPCOM thing that duplicates
its fields with a different ownership model! We totally need another one of
those, right? And we could even stick it in XPConnect! </sarcasm>
In seriousness - the code to own, format, and display error reports is
currently spread between the JS engine, JSErrorReporters, an async Runnable
abstraction, and elsewhere. We need to condense it somewhere to start chipping
away at this mess.
2014-09-08 16:30:10 -07:00
Bobby Holley
9623afb943
Bug 1056332 - Remove cross-global adopt telemetry. r=gabor
2014-08-23 09:01:50 +02:00
Bobby Holley
a87c8777d9
Bug 1052089 - Swap out the SafeJSContextGlobal for the new UnprivilegedJunkScope. r=billm
2014-08-18 10:57:30 -07:00
Bobby Holley
eaebf58731
Bug 1052089 - Rename JunkScope to PrivilegedJunkScope and remove fallibility of singleton scope access. r=billm
...
These two things ended up getting mushed together in my tree.
2014-08-18 10:57:30 -07:00
Terrence Cole
260506a9ca
Bug 1046945 - Move ExposeGCThingToActiveJS to js::gc:: and use the typed wrappers instead; r=jonco
...
--HG--
extra : rebase_source : 99d98ed9351f563ed3b6eb18ad67d2f3ae736df4
2014-07-31 12:14:17 -07:00
Bobby Holley
6807884378
Bug 940305 - Move extraWarnings to RuntimeOptions with a per-compartment override. r=jandem,r=khuey
2014-07-29 21:00:37 -07:00
Bobby Holley
8bee6258a0
Bug 1044205 - Invoke XPCWrappedNativeScope::TraceSelf from TraceXPCGlobal. r=billm
2014-07-29 08:48:32 -07:00
Ehsan Akhgari
a82c63e0e4
Bug 1045092 - Fix some bad implicit constructors in xpconnect; r=bholley
2014-07-28 13:20:14 -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
Bill McCloskey
926f8bfdd8
Bug 1017323 - Add-on interposition (r=bholley)
2014-07-14 22:10:05 -07:00
Jim Blandy
e07aaa8185
Bug 800200: Remove references to JSD from outside js/jsd. r=mccr8,bholley,ted,smaug
2014-06-27 11:05:08 -07:00
Bill McCloskey
64b94c4b6d
Bug 1017310 - Associate JS compartments with add-on chrome XBL (r=bholley)
2014-06-23 16:33:37 -07:00
Bill McCloskey
a461ef47a5
Bug 990729 - Add compartmentPerAddon option for XUL overlays (r=bholley)
2014-06-21 11:55:15 -07:00
Nicholas Nethercote
aaf6fb2124
Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
...
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Bill McCloskey
9157c8fd4d
Bug 1017310 - Rename *XBLScope to *ContentXBLScope in xpconnect (r=bholley)
2014-06-02 18:04:21 -07:00
Bobby Holley
8ad042014e
Bug 999297 - Implement xpc::UnwrapReflectorToISupports. r=bz
...
I kind of thought we already had something like this, but I couldn't find
anything.
2014-05-01 11:03:11 -07:00
Birunthan Mohanathas
c48b86b0c6
Bug 866289 - Make mode lines consistent in js/xpconnect/ for 4 space indented files. r=Ms2ger
2014-04-03 07:58:00 -04:00
Bobby Holley
2a54864f28
Bug 990353 - Add a pref for system source discarding. r=bent
2014-04-22 14:08:28 -07:00
Bobby Holley
3b3a7fe701
Bug 993772 - Introduce a singleton compilation scope. r=mrbkap
2014-04-20 11:48:13 -07:00
Boris Zbarsky
7523e50082
Bug 993889 part 4. Remove the scope argument of xpc_FastGetCachedWrapper. r=bholley
2014-04-10 00:58:42 -04:00
Peter Van der Beken
9bbd30a4ac
Bug 990158 - Make inner windows use their wrapper cache. r=bz.
...
--HG--
extra : rebase_source : bc040c75280bb45ae7ab0ed302130ff5d7178153
2013-11-09 11:20:22 +01:00
Bobby Holley
32bae26d23
Bug 979481 - Separate the lifetime of the SafeJSContext global from that of the SafeJSContext itself. r=bz
2014-03-26 10:59:02 -03:00
Bobby Holley
fbb9b62de8
Bug 825392 - Remove SOWs. r=bz
2014-03-19 13:35:45 -03:00
Bobby Holley
79c147b83d
Bug 825392 - Add xpc::GetXBLScopeOrGlobal and Sprinkle some calls to it where necessary. r=bz
2014-03-19 13:35:45 -03:00
Peter Van der Beken
ae397a6658
Bug 982112 - Make accesscheck code deal with WebIDL bindings. r=bz.
2013-11-05 09:47:59 +01:00