dom/base/ScriptSettings.cpp
62680dc80fb74c2809059b9013b07e10ba679e1b
created 2017-05-08 09:54 +0200| base
pushed 2017-06-12 13:08 +0000
Carsten "Tomcat" Book Carsten "Tomcat" Book - Backed out changeset 5d77f6b14633 (bug 1362119) for android bustage in nsCCUncollectableMarker.cpp:500:7: error: 'TraceScriptHolder' is not a member of 'mozilla'
d8d6b8f76ca5bfc644b9d3aefffe465797ec4500
created 2017-03-23 03:06 -0400
pushed 2017-06-12 13:08 +0000
Boris Zbarsky Boris Zbarsky - Bug 1349690. Improve dangling-exception logging in AutoJSAPI::InitInternal to deal better with exceptions from a different origin. r=bholley
85658d613c7706ebe449c669c3818a3a8fecfc53
created 2017-03-23 08:45 +0100
pushed 2017-06-12 13:08 +0000
Carsten "Tomcat" Book Carsten "Tomcat" Book - Backed out changeset 3ccb231829a9 (bug 1349690)
3ccb231829a94c8d5aff22222ecfe0ef1f1d50a7
created 2017-03-23 03:06 -0400
pushed 2017-06-12 13:08 +0000
Boris Zbarsky Boris Zbarsky - Bug 1349690. Improve dangling-exception logging in AutoJSAPI::InitInternal to deal better with exceptions from a different origin. r=bholley
4aa2a18476e0a8ba3ef2c69ce00b6e21e6dfdf18
created 2017-03-22 11:38 +0100
pushed 2017-06-12 13:08 +0000
Andrea Marchesini Andrea Marchesini - Bug 1343933 - Renaming Principal classes - part 1 - ExpandedPrincipal, r=qdot
37962f55384708d9e045181d22353f4b4fa3edfd
created 2017-02-28 12:41 -0500
pushed 2017-04-18 12:07 +0000
Boris Zbarsky Boris Zbarsky - Bug 1342513. Set up a scripted caller override in AutoEntryScript. r=bholley
f958c1dd30d0073fa48ae81ddde53eac379c4e20
created 2016-11-18 16:13 -0500
pushed 2017-03-06 20:48 +0000
Boris Zbarsky Boris Zbarsky - Bug 1318471. Get rid of IsCallerChrome calls in scriptsettings code. r=bholley
fe8948da2efd64f8695f00f3dd49437f0945051a
created 2016-08-14 20:39 +0900
pushed 2017-01-23 14:19 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1283710 - Part 5: Rename message to toStringResult if it is the result of toString. r=bholley,jwalden,froydnj
e8bc246a57ad418864039ffe1dfb2cbe9a83fba1
created 2016-08-14 20:39 +0900
pushed 2017-01-23 14:19 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1283710 - Part 4: Do not duplicate message in ExpandErrorArgumentsVA, and remove message parameter from WarningReporter. r=jwalden
971d6777956556108ab4d571015e8360ded559c3
created 2016-10-18 17:27 -0700
pushed 2017-01-23 14:19 +0000
Wes Kocher Wes Kocher - Backed out 10 changesets (bug 1283710) for osx xpcshell failures a=backout
d72527b7d3c0c328e65bdaf4c259921a1e8481c2
created 2016-08-14 20:39 +0900
pushed 2017-01-23 14:19 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1283710 - Part 5: Rename message to toStringResult if it is the result of toString. r=bholley,jwalden,froydnj
ee5215f1a38e702d7335da05316ead5978e64986
created 2016-08-14 20:39 +0900
pushed 2017-01-23 14:19 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1283710 - Part 4: Do not duplicate message in ExpandErrorArgumentsVA, and remove message parameter from WarningReporter. r=jwalden
73b3f8cc7d5f13b9254a533319d8f17e8db4794d
created 2016-10-13 15:04 +0800
pushed 2017-01-23 14:19 +0000
Cameron McCormack Cameron McCormack - Bug 1309082 - Part 1: Extract image tracking from nsDocument into a separate, refcounted object. r=bholley
fff0c85df59096ad9245c127d36a3baa6a337b2d
created 2016-09-14 15:47 +0200
pushed 2016-11-14 12:26 +0000
Jan de Mooij Jan de Mooij - Bug 1302448 part 1 - Rename CycleCollectedJSRuntime to CycleCollectedJSContext. r=mccr8
5ec20954d8133deeeba391d88f7e241aec48e8df
created 2016-08-11 14:39 +0200
pushed 2016-11-14 12:26 +0000
Jan de Mooij Jan de Mooij - Bug 1292892 part 3 - Pass RootingContext to ScriptErrorEvent, DispatchScriptErrorEvent. r=bz
bc58a207c0fd0c1dceb2fa6888997d6a9c206cd3
created 2016-08-11 14:39 +0200
pushed 2016-11-14 12:26 +0000
Jan de Mooij Jan de Mooij - Bug 1292892 part 2 - Some RootingContext cleanup. r=bz,terrence
f84bf71b399ed089a007a145e3adccc7d7f2827c
created 2016-08-11 14:39 +0200
pushed 2016-11-14 12:26 +0000
Jan de Mooij Jan de Mooij - Bug 1292892 part 1 - Stop using JSRuntime outside SpiderMonkey. r=bz,terrence,fitzgen,kanru
0f3690ffc8db5f9ece85ae701c86d0fa36ba677a
created 2016-08-08 23:29 +0300
pushed 2016-11-14 12:26 +0000
Olli Pettay Olli Pettay - Bug 1292699 - Add a small helper to deal with cases when native side needs to ensure that slow script dialog shows up, r=bholley
dddc81f6047d25c7a7ad85d2dbd0655940332fa6
created 2016-07-27 11:05 -0400
pushed 2016-09-19 13:38 +0000
Boris Zbarsky Boris Zbarsky - Bug 1289129. When setting up an AutoJSAPI with a global, make sure to expose that global to active JS. r=mccr8
c8029c0727763e292cb90923355ac6cad7ec7206
created 2016-07-07 20:08 -0400
pushed 2016-09-19 13:38 +0000
Boris Zbarsky Boris Zbarsky - Bug 1282150 part 6. Get rid of GetSafeJSContext. r=bholley
9870763b6a4c1d196562f45cbbaa0c5875ad3a07
created 2016-07-07 20:08 -0400
pushed 2016-09-19 13:38 +0000
Boris Zbarsky Boris Zbarsky - Bug 1282150 part 3. Add a way to get the JSRuntime for the thread, and use it in various places for rooting. r=bholley
57628a2c33d651e1e2e5925eb44a3e266528551f
created 2016-07-07 20:08 -0400
pushed 2016-09-19 13:38 +0000
Boris Zbarsky Boris Zbarsky - Bug 1282150 part 2. Get rid of GetDefaultJSContextForThread. r=bholley
e21358504aa9e822d3cee4c43becaad5010c03a5
created 2016-07-07 20:08 -0400
pushed 2016-09-19 13:38 +0000
Boris Zbarsky Boris Zbarsky - Bug 1282150 part 1. Add a mozilla::dom::danger::GetJSContext API. r=bholley
b77acaa22eaa9657293d885604b0126e51855da4
created 2016-07-07 20:08 -0400
pushed 2016-09-19 13:38 +0000
Boris Zbarsky Boris Zbarsky - Bug 1279313 part 1. Simplify AutoEntryScript to not make callers pass in a JSContext. r=bholley
d1be02c274005bd8574cc61117c3f758cf7f09ab
created 2016-07-05 11:06 +0200
pushed 2016-09-19 13:38 +0000
Jan de Mooij Jan de Mooij - Bug 1283855 part 5 - Make warning reporter APIs take JSContext instead of JSRuntime. r=arai
44ad8744579ed1430e998657a6b5a437e01f1287
created 2016-06-24 14:19 -0400
pushed 2016-09-19 13:38 +0000
Boris Zbarsky Boris Zbarsky - Bug 767938 part 10. Remove the now write-only XPCJSContextStack's actual stack of JSContexts and AutoCxPusher. r=bholley
cbc55c9bf8ed4e6485782a7ad47af9d7e06b403a
created 2016-06-24 14:19 -0400
pushed 2016-09-19 13:38 +0000
Boris Zbarsky Boris Zbarsky - Bug 767938 part 9. Move the JSAutoRequest from AutoCxPusher to AutoJSAPI, because we're about to kill off AutoCxPusher. r=bholley
e13615311dafdafc703e6c5555161b1b4866ff2b
created 2016-06-24 14:19 -0400
pushed 2016-09-19 13:38 +0000
Boris Zbarsky Boris Zbarsky - Bug 767938 part 7. Remove the now-debug-only uses of XPCJSContextStack::Peek and Count(). r=bholley
43e691e50e19ff9242ff2af40925a88199f0b371
created 2016-06-24 14:19 -0400
pushed 2016-09-19 13:38 +0000
Boris Zbarsky Boris Zbarsky - Bug 767938 part 6. Get rid of XPConnect's GetCurrentJSContext getter. r=bholley
e636c71862862a77f275dccecb95f48dffc85c09
created 2016-06-24 14:19 -0400
pushed 2016-09-19 13:38 +0000
Boris Zbarsky Boris Zbarsky - Bug 767938 part 5. Stop using the JSContext stack to get the current JSContext. r=bholley
c3369c0fd825268b6fb7692d82a99605f64517e0
created 2016-06-24 14:19 -0400
pushed 2016-09-19 13:38 +0000
Boris Zbarsky Boris Zbarsky - Bug 767938 part 3. Make AutoJSAPI a ScriptSettingsStackEntry. r=bholley
b27e490c048a5422468a2104ab4207d511499892
created 2016-06-24 14:19 -0400
pushed 2016-09-19 13:38 +0000
Boris Zbarsky Boris Zbarsky - Bug 767938 part 2. Move control over pushing/popping ScriptSettingsStackEntry instances into subclasses, so we can do the conditional pushing/popping AutoJSAPI will need. r=bholley
48e7f620a02e6b1b3c7a00cd9c9f6aa97c036584
created 2016-06-24 14:19 -0400
pushed 2016-09-19 13:38 +0000
Boris Zbarsky Boris Zbarsky - Bug 767938 part 1. Change ScriptSettingsStackEntry to allow having stack entries that are neither candidates for being entry globals nor candidates for being incumbent globals. r=bholley
13737de6673b181e7e83c20299b5f604d3990f18
created 2016-06-20 17:40 -0400
pushed 2016-09-19 13:38 +0000
Boris Zbarsky Boris Zbarsky - Bug 1276327. Remove the non-debug use of CxPusherIsStackTop(). r=bholley
3b42129e45a9bdfbefeb35a2ea26d60d757c7e1f
created 2016-06-07 20:30 +0200
pushed 2016-09-19 13:38 +0000
Jan de Mooij Jan de Mooij - Bug 1277278 part 3 - Rename error reporter callback to warning reporter, assert it's only used for warnings. r=luke
aaebaccae0a2c9595c3009f08cdb4c84ad82d4b4
created 2016-06-07 20:30 +0200
pushed 2016-09-19 13:38 +0000
Jan de Mooij Jan de Mooij - Bug 1277278 part 1 - Remove ContextOptions and make autoJSAPIOwnsErrorReporting the default. r=luke
33274da6962d2e3edb18c874a662f7db09f9e878
created 2016-06-02 10:34 -0400
pushed 2016-08-01 13:59 +0000
Boris Zbarsky Boris Zbarsky - Bug 1276276 part 5. Change AutoCxPusher to not worry about nsIScriptContext, since its JSContext never has one anymore. r=smaug
f70ca2787f508594e19363128987431552b94bd9
created 2016-06-02 10:34 -0400
pushed 2016-08-01 13:59 +0000
Boris Zbarsky Boris Zbarsky - Bug 1276276 part 2. Change AutoEntryScript to always use the safe jscontext instead of trying to find a global-specific one. r=smaug
20835baaf80fb66a98261e0399b4a4ac5dd2672b
created 2016-06-02 10:34 -0400
pushed 2016-08-01 13:59 +0000
Boris Zbarsky Boris Zbarsky - Bug 1276276 part 1. Make AutoJSAPI hold a strong ref to the nsIGlobalObject it's initialized with, so it won't go away while we're working with it. r=smaug
8cab033c0e0b01536bdc1e85fa7fd0f798219165
created 2016-05-27 09:53 -0400
pushed 2016-08-01 13:59 +0000
Boris Zbarsky Boris Zbarsky - Bug 1275999 part 4. Change XPCJSContextStack::Push to return void. r=bholley
fb8c79c89d066a07c24e91cf5883c73bbeaf1832
created 2016-05-01 21:29 +0300
pushed 2016-08-01 13:59 +0000
Aryeh Gregor Aryeh Gregor - Bug 1193762 part 4 - Avoid nsCOMPtr in ternary operator; r=froydnj
49293302ac513b9f91da0780c0383612dbf39744
created 2016-04-20 02:29 +0300
pushed 2016-06-06 19:02 +0000
Olli Pettay Olli Pettay - Bug 1257096, don't try to report about unusual unhandled rejected Promises, r=bz,waldo
d4dce7faceace88b269122e96994b3f737618cd9
created 2016-03-23 10:40 -0400
pushed 2016-06-06 19:02 +0000
Nathan Froyd Nathan Froyd - Bug 1177488 - use |const char*| for representing async call reasons; r=bz,fitzgen
aaf2b3f9970e9d5e81d6f8d631afe715e2b9f982
created 2016-03-25 12:11 -0700
pushed 2016-06-06 19:02 +0000
Wes Kocher Wes Kocher - Backed out changeset 95494e68c722 (bug 1177488) for crashes in test_bug732665.xul CLOSED TREE
95494e68c7221d808062ecfbc7189b2db8cf62cb
created 2016-03-23 10:40 -0400
pushed 2016-06-06 19:02 +0000
Nathan Froyd Nathan Froyd - Bug 1177488 - use |const char*| for representing async call reasons; r=bz,fitzgen
a45a6cde6558c0ed0797a29818eec13c4e0e2196
created 2016-03-23 11:44 -0400
pushed 2016-06-06 19:02 +0000
Boris Zbarsky Boris Zbarsky - Bug 1255817 part 2. Get rid of AutoJSAPI::OwnsErrorReporting and AutoJSAPI::TakeOwnershipOfErrorReporting. r=bholley
96449936b41a3bca0b748836269f3baafa155aa1
created 2016-03-23 11:44 -0400
pushed 2016-06-06 19:02 +0000
Boris Zbarsky Boris Zbarsky - Bug 1255817 part 1. Make AutoJSAPI always take ownership of error reporting. r=bholley
2c3ebed966864f64b2fe2ba980c7d74cd52ae687
created 2016-03-23 11:02 -0400
pushed 2016-06-06 19:02 +0000
Boris Zbarsky Boris Zbarsky - Bug 1257725 part 6. Get rid of ThreadsafeAutoJSContext. r=bholley
238a18a30a15c07db6b71c8586dcd7c434aaa493
created 2016-03-17 23:23 -0400
pushed 2016-06-06 19:02 +0000
Boris Zbarsky Boris Zbarsky - Bug 1257306. Simplify the implementation of AutoSafeJSContext (and therefore AutoJSContext, since AutoSafeJSContext will no longer be an AutoJSContext). r=bholley
f87cc2d2312c3746909b2162cea8de786de3c47f
created 2016-03-15 17:25 -0400
pushed 2016-06-06 19:02 +0000
Boris Zbarsky Boris Zbarsky - Logging patch for bug 1256008. r=khuey
21e5497ebb7269dde3315ec97d28243fe09f72de
created 2016-03-14 20:48 -0400
pushed 2016-06-06 19:02 +0000
Boris Zbarsky Boris Zbarsky - Bug 1256424. Get rid of ThreadsafeAutoSafeJSContext. r=bholley
04ea7a18573df2a6b3b9f9e58f4a0c0d8a281d2f
created 2016-03-14 13:15 -0700
pushed 2016-06-06 19:02 +0000
Wes Kocher Wes Kocher - Backed out changeset ee3c99e6f676 (bug 1177488) for LeakSanitizer failures
ee3c99e6f6768fd804b58544efd97262cfea4779
created 2016-03-08 16:29 -0500
pushed 2016-06-06 19:02 +0000
Nathan Froyd Nathan Froyd - Bug 1177488 - use |const char*| for representing async call reasons; r=bz,fitzgen
7dc9b4f0a84f795e9e50fde363add0dd1a9801fd
created 2016-03-09 23:17 -0500
pushed 2016-06-06 19:02 +0000
Boris Zbarsky Boris Zbarsky - Fix the asset for bug 1112920 to not touch uninitialized memory. Totally my fault, since I moved it above the mCx assignment, and now we have a CLOSED TREE.
412c5cae8dea7b52da7c6981eec6a2a2884897c9
created 2016-03-09 22:27 -0500
pushed 2016-06-06 19:02 +0000
Boris Zbarsky Boris Zbarsky - Bug 1255192 part 2. Clean up the JSContext usage around xpc::FindExceptionStackForConsoleReport now that it just needs a JSContext for rooting. r=bholley
cea91e137dd4befc041af43ff55ed27ad59c3fef
created 2016-03-09 22:27 -0500
pushed 2016-06-06 19:02 +0000
Bobby Holley Bobby Holley - Bug 1112920 - Assert against pending exceptions in AutoJSAPI::InitInternal. v1 r=luke,r=smaug
1ce42e0fdfe18a8891043afe6b8042a5ca01b3f7
created 2016-03-09 19:02 -0500
pushed 2016-06-06 19:02 +0000
Boris Zbarsky Boris Zbarsky - Bug 1255181. Remove AutoJSAPI::InitWithLegacyErrorReporting. r=bholley
781240d96e26ebc2da454d8f1c23e2c0af7f5fef
created 2016-03-09 19:02 -0500
pushed 2016-06-06 19:02 +0000
Boris Zbarsky Boris Zbarsky - Bug 1254847 part 3. Make AutoEntryScript always take ownership of error reporting. r=bholley
42252455a8c40212e6ecbc602846a4a9a82a5989
created 2016-03-09 15:28 -0500
pushed 2016-06-06 19:02 +0000
Boris Zbarsky Boris Zbarsky - Bug 1254846. Add an AutoEntryScript constructor that takes a JSObject instead of an nsIGlobalObject, for convenience. r=bholley
6622bc6dd8d14f0f21dedfecf2dd56b792ac07c1
created 2016-03-08 17:21 -0500
pushed 2016-06-06 19:02 +0000
Boris Zbarsky Boris Zbarsky - Bug 1254230 kinda-fix. Make sure to never send script errors with stacks attached to the console service if the associated windows have already had FreeInnerObjects called on them. r=bholley
less more (0) -100 -60 tip