dom/bindings/CallbackObject.cpp
ad83746d1c80406a527f53b9c8897da06b0b74da
created 2019-07-09 17:04 +0000
pushed 2019-08-26 18:30 +0000
Boris Zbarsky Boris Zbarsky - Bug 1561887 part 2. Fix cycle-collection skipping of JSEventHandler to work correctly. r=smaug a=RyanVM
9437efdc6fc3bc29853cda4ddd0986316097e10d
created 2019-05-03 15:15 +0000
pushed 2019-07-01 08:34 +0000
Boris Zbarsky Boris Zbarsky - Bug 1547923 part 5. Start using nsIGlobalObject::GetGlobalJSObjectPreserveColor where possible. r=mccr8,jonco
2d60837b8f3c38281997ab84a80a490f7f478496
created 2019-05-02 21:32 +0000
pushed 2019-07-01 08:34 +0000
Boris Zbarsky Boris Zbarsky - Bug 1547923 part 4. Add nsIGlobalObject::HasJSGlobal(). r=mccr8
27a7ba7282164c8806cb8ed93d3353677371c7b4
created 2019-04-11 14:12 +0000
pushed 2019-07-01 08:34 +0000
Boris Zbarsky Boris Zbarsky - Bug 1543564 part 2. Get rid of pointless nsPIDOMWindowInner::AsInner methods. r=farre
2d48960b28162a564b1f2896bdac851a62721b44
created 2019-03-08 00:04 +0200
pushed 2019-05-13 09:36 +0000
Brindusan Cristian Brindusan Cristian - Backed out 2 changesets (bug 1515214) for hazard build bustage at CallbackObject.cpp. CLOSED TREE
9aabc3ad2470032f34bf20cafcb5c0bc2c61d64e
created 2019-03-07 18:04 +0000
pushed 2019-05-13 09:36 +0000
Markus Stange Markus Stange - Bug 1515214 - Add CallbackObject::GetDescription. r=bzbarsky
885176df765a22df1202f8b0bfad7c4fe43e4429
created 2019-01-23 16:56 -0800
pushed 2019-03-11 12:10 +0000
Jeff Walden Jeff Walden - Bug 1522350 - Move JS::ContextOptions{,Ref} to a new js/public/ContextOptions.h header to further slim jsapi.h. r=arai
ddb7c9f71ce2883ab9d1912fc09bee67b9f83f09
created 2018-12-12 08:02 +0000
pushed 2019-03-11 12:10 +0000
Jan de Mooij Jan de Mooij - Bug 1512260 - Make wrapper nuking work with a target realm instead of target compartment. r=kmag
c322f02577d386a90b72d29bf98d99256de13563
created 2018-12-12 09:14 +0200
pushed 2019-03-11 12:10 +0000
Ciure Andrei Ciure Andrei - Backed out changeset a8dd01db9f92 (bug 1512260) requsted by owner (missing test) CLOSED TREE
a8dd01db9f92757385f96a322296c4b027b7e72c
created 2018-12-12 06:39 +0000
pushed 2019-03-11 12:10 +0000
Jan de Mooij Jan de Mooij - Bug 1512260 - Make wrapper nuking work with a target realm instead of target compartment. r=kmag
6f3709b3878117466168c40affa7bca0b60cf75b
created 2018-11-30 11:46 +0100
pushed 2019-01-21 12:33 +0000
Sylvestre Ledru Sylvestre Ledru - Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
6760912e7b0330c082654ed2c3039321150fde9b
created 2018-08-10 14:08 -0700
pushed 2018-10-15 10:40 +0000
Kris Maglione Kris Maglione - Bug 1480244: Part 1b - Rename nsInProcessTabChildGlobal to InProcessTabChildMessageManager. r=bz
3f30b1a694972d96332c9165a6131cf400c68b44
created 2018-08-07 14:06 +0200
pushed 2018-10-15 10:40 +0000
Jan de Mooij Jan de Mooij - Bug 1480678 part 7 - Use CallbackObject's callback global for realm entering in more places. r=bz
b3c093b141e2381efef699124f8a629d0711c8c6
created 2018-08-07 11:57 +0200
pushed 2018-10-15 10:40 +0000
Jan de Mooij Jan de Mooij - Bug 1478359 - Store a global object in nsXPCWrappedJS and use it for realm-entering. r=mccr8
92fb1c3c4d9357476f780d5fafb5bfa0c6d3ac02
created 2018-08-03 17:11 -0400
pushed 2018-10-15 10:40 +0000
Boris Zbarsky Boris Zbarsky - Bug 1477923. Make WebIDL callbacks store a global in addition to the object that's used as a callback. r=mccr8
f486f734d4c4354f773f605aea98940cd3a56825
created 2018-08-01 11:25 +0200
pushed 2018-10-15 10:40 +0000
Jan de Mooij Jan de Mooij - Bug 1474272 part 4 - Stop using js::GetGlobalForObjectCrossCompartment in xpc::NativeGlobal. r=bholley
1494e906ad52413008a722bf5e9ab533d1821f57
created 2018-07-28 12:12 +0200
pushed 2018-10-15 10:40 +0000
Jan de Mooij Jan de Mooij - Bug 1478955 part 1 - Rename JSAutoRealm to JSAutoRealmAllowCCW. r=luke
7049feb994eeb47283e34efb660743ef56c9b3b9
created 2018-07-06 18:16 +0200
pushed 2018-10-15 10:40 +0000
Jan de Mooij Jan de Mooij - Bug 1472973 part 2 - Use JS::GetNonCCWObjectGlobal in some functions where we unwrapped the object. r=bz
e2b90c69db5d2edc9790963c60d8a481b157bc05
created 2018-05-31 11:28 +0200
pushed 2018-08-24 17:02 +0000
Jan de Mooij Jan de Mooij - Bug 1464374 part 2 - Pass JS::Realm* instead of JSCompartment* to CallSetup. r=bz,luke
6b6365bdb4c2dd18efdc5a4ee0f4f8b8550f5e8b
created 2018-05-16 10:53 +0200
pushed 2018-08-24 17:02 +0000
Jan de Mooij Jan de Mooij - Bug 1461292 part 1 - Rename JSAutoCompartment to JSAutoRealm. r=bz,luke
9c7e42b18aecf22a9f93ca850839d7e7eb79d7e7
created 2018-03-20 12:18 -0700
pushed 2018-06-18 21:12 +0000
Daniel Holbert Daniel Holbert - Bug 1447420: Give CallbackObject.cpp an include for nsContentUtils.h (whose methods it calls). r=baku
068c59c7c4ec46802b4a18e98adc227aed6d5da1
created 2017-11-17 11:01 +0800
pushed 2018-04-26 16:43 +0000
Olli Pettay Olli Pettay - Bug 1193394 - Part 1: Microtasks and promises scheduling. r=bevis
a416b0a21b1395dfe7dc28577a31be57c075d9b4
created 2018-03-01 16:29 +0200
pushed 2018-04-26 16:43 +0000
Csoregi Natalia Csoregi Natalia - Backed out 7 changesets (bug 1193394) for browser-chrome failures on browser_ext_popup_background.js. CLOSED TREE
55c94c05c57f0bb34ca131c68c79e05a97aa4b6c
created 2017-11-17 11:01 +0800
pushed 2018-04-26 16:43 +0000
Olli Pettay Olli Pettay - Bug 1193394 - Part 1: Microtasks and promises scheduling. r=bevis
d4605bc50d4e4a65cc05d9bb33b926876c4786c7
created 2017-11-21 18:07 -0500
pushed 2018-03-01 12:45 +0000
Nika Layzell Nika Layzell - Bug 1419597 - Part 18: Remove IsInnerWindow and IsOuterWindow methods, r=smaug
ff6e961b87dc1163c5efe35da2e334c6723a14e1
created 2017-11-03 18:25 -0400
pushed 2018-01-11 17:45 +0000
Nika Layzell Nika Layzell - Bug 1414974 - Part 2: Switch many consumers to nsGlobalWindow{Inner,Outer}, r=smaug
0c3f75e78a5b0aab8ad20fbab2a5767b99f1c9c9
created 2017-10-09 10:59 -0700
pushed 2018-01-11 17:45 +0000
Steve Fink Steve Fink - Bug 1406570 - Rooting improvements, r=jonco,bz
960319673e9c1eb44092f9040c12dc5c5aa5acdc
created 2017-10-05 18:34 +0300
pushed 2018-01-11 17:45 +0000
Olli Pettay Olli Pettay - Bug 1405821 - Move microtask handling to CycleCollectedJSContext, r=baku
8af47160570c05088128428bae1eb69bf48b0dc4
created 2017-09-04 17:21 -0700
pushed 2018-01-11 17:45 +0000
Kris Maglione Kris Maglione - Bug 1369533: Return dead wrappers rather than null for dead CallbackObject values. r=bz
fe7a664b11b7384ce5cf6c19dfaa7490ad352741
created 2017-10-16 14:05 -0400
pushed 2017-11-02 12:36 +0000
Steve Fink Steve Fink - Bug 1406570 - Rooting improvements. r=jonco, r=bz, a=ritu
bd62e8a3194213d0ef806a83f5c888b72b663cd0
created 2017-09-09 04:11 -0400
pushed 2017-11-02 12:36 +0000
Boris Zbarsky Boris Zbarsky - Bug 1396904. Remove bogus and no longer needed AutoSuppressGCAnalysis. r=mccr8
8da651d21bb56dad086f53fe01b444883df1bd1e
created 2017-06-16 17:15 -0400
pushed 2017-09-14 16:50 +0000
Thomas Wisniewski Thomas Wisniewski - Bug 1036659 - Don't call mozilla::DropJSObjects() in CallbackObject::DropJSObjects(). r=mccr8
4721910b49eca48c69f912b8575f64844dd23de7
created 2017-02-28 14:45 -0500
pushed 2017-07-31 14:08 +0000
Michael Layzell Michael Layzell - Bug 1331434 - Part 5: Mark some Throw calls in /dom/bindings as having custom cleanup, r=baku
8750d50052adc918390f6ff5ce5f5aa793e028ea
created 2017-02-06 11:34 -0800
pushed 2017-04-10 20:44 +0000
Kris Maglione Kris Maglione - Bug 1336988: Correctly handle dead callback objects when iterating over event listeners. r=peterv a=gchang
27c422b6b825c6889e4ecb17737d5c16ef9fe859
created 2016-11-14 19:49 -0800
pushed 2017-04-10 20:44 +0000
Kris Maglione Kris Maglione - Bug 1273251: Part 4 - Drop CallbackObject's JS objects for nuked compartments during CC. r=peterv,mccr8
5d378d9b9a910f2aa6e3fea032c707dcdccecd91
created 2016-11-14 21:25 -0800
pushed 2017-04-10 20:44 +0000
Kris Maglione Kris Maglione - Bug 1273251: Part 3 - Allow CallbackObject to contain a null callable. r=peterv
910c551b4d72866775aa6ff9a4dd024b266a06c9
created 2017-01-03 21:47 +0200
pushed 2017-04-10 20:44 +0000
Olli Pettay Olli Pettay - Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8
9fdb9ee08a3071c42c30e239cb4b2b6cfba2833c
created 2016-12-29 13:19 -0800
pushed 2017-04-10 20:44 +0000
Boris Zbarsky Boris Zbarsky - Bug 1326105 part 5. Move the getting of the incumbent global to the finish-slow-js codepath too, since it's not needed if no one will ever call our callback. r=smaug
56abaeb568041617481b82dffaa4d6a82a5d2def
created 2016-12-29 13:19 -0800
pushed 2017-04-10 20:44 +0000
Boris Zbarsky Boris Zbarsky - Bug 1326105 part 3. Move async stack capture out of the 'fast' CallbackObject constructor and into FinishSlowJSInitIfMoreThanOneOwner. r=smaug
dd5b7e039015662e7084a6ccfe84d309eef60687
created 2016-12-29 13:19 -0800
pushed 2017-04-10 20:44 +0000
Boris Zbarsky Boris Zbarsky - Bug 1326105 part 2. Rename CallbackObject::HoldJSObjectsIfMoreThanOneOwner to a more generic name and hand it a JSContext to use. r=smaug
98eba3f5cc5157b7e366615b886713dcf65969a4
created 2016-08-26 15:38 -0400
pushed 2017-01-16 13:07 +0000
Boris Zbarsky Boris Zbarsky - Bug 1295322 part 2. Stop propagating through xpconnect exceptions to consumers that won't be able to work with them. r=bholley
b77acaa22eaa9657293d885604b0126e51855da4
created 2016-07-07 20:08 -0400
pushed 2016-10-31 18:13 +0000
Boris Zbarsky Boris Zbarsky - Bug 1279313 part 1. Simplify AutoEntryScript to not make callers pass in a JSContext. r=bholley
94bf6a16d707a3450ad3360a9d02ddf65ab445aa
created 2016-06-03 11:11 +0200
pushed 2016-09-05 20:01 +0000
Ms2ger Ms2ger - Bug 1273499 - Move some code around in CallSetup::CallSetup() to avoid code repetition; r=bz
9c3411213ac7e9fec81f44c97655dfa4ea814eb9
created 2016-05-27 20:26 -0400
pushed 2016-09-05 20:01 +0000
Boris Zbarsky Boris Zbarsky - Bug 1275698. Get rid of nsScriptSecurityManager::ScriptAllowed and replace it with xpc::Scriptability::Get(obj).Allowed() for better performance and less indirection. r=khuey
1287ce64f050a1f21cd19197b7d5ce7659b18ff4
created 2016-05-18 12:23 -0400
pushed 2016-09-05 20:01 +0000
Boris Zbarsky Boris Zbarsky - Bug 1273661 part 3. Add the codegen bits and Trace implementation to allow Web IDL callbacks to not have to HoldJSObjects until the bindings have determined that someone is actually holding on to the callback object. r=smaug,terrence
7ab87e09f57b97da66c986b70f539b0289aba3cf
created 2016-05-19 00:26 -0400
pushed 2016-09-05 20:01 +0000
Boris Zbarsky Boris Zbarsky - Backed out changesets bdb5b50fd858, 74dbcb56456d, 8f319062be85, 9806d7a88802, c08f417d85fd (bug 1273661) for build bustage and CLOSED TREE.
8f319062be853113102f62d07869b149b6e3445b
created 2016-05-18 12:23 -0400
pushed 2016-09-05 20:01 +0000
Boris Zbarsky Boris Zbarsky - Bug 1273661 part 3. Add the codegen bits and Trace implementation to allow Web IDL callbacks to not have to HoldJSObjects until the bindings have determined that someone is actually holding on to the callback object. r=smaug,terrence
0ed75e9e62c0b3b4a0c8cfb2c8b7de151f75d695
created 2016-05-04 13:59 -0400
pushed 2016-09-05 20:01 +0000
Boris Zbarsky Boris Zbarsky - Bug 1269400. Provide better error messages for the cases when a CallSetup fails and we hence fail to execute a Web IDL callback. r=bholley
d5f6867173c95e4d5d7da1c95db483354e1f5209
created 2016-04-07 21:58 -0400
pushed 2016-07-25 16:35 +0000
Boris Zbarsky Boris Zbarsky - Bug 1262630. Replace workers::GetGlobalObjectForGlobal with xpc::NativeGlobal. r=khuey
5d533891bb5134a0891951e767677fa7bde3c96b
created 2016-04-07 09:11 +0200
pushed 2016-07-25 16:35 +0000
Ms2ger Ms2ger - Bug 1260417 - Part c: Stop mentioning requests around CallSetup::mRootedCallable; r=bz
6ec261488c7598b3774982480149493148b47ca8
created 2016-04-07 09:11 +0200
pushed 2016-07-25 16:35 +0000
Ms2ger Ms2ger - Bug 1260417 - Part b: Depend on AutoEntryScript to find an appropriate JSContext CallSetup; r=bz
d4dce7faceace88b269122e96994b3f737618cd9
created 2016-03-23 10:40 -0400
pushed 2016-07-25 16:35 +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-07-25 16:35 +0000
Wes Kocher Wes Kocher - Backed out changeset 95494e68c722 (bug 1177488) for crashes in test_bug732665.xul CLOSED TREE
4907a0296ff97afd10bd83f05f264149fa770dd3
created 2016-03-25 11:11 -0400
pushed 2016-07-25 16:35 +0000
Boris Zbarsky Boris Zbarsky - Bug 1259545. Remove the JS_SaveFrameChain bits in CallbackObject error reporting, since they are no longer needed. r=bholley
95494e68c7221d808062ecfbc7189b2db8cf62cb
created 2016-03-23 10:40 -0400
pushed 2016-07-25 16:35 +0000
Nathan Froyd Nathan Froyd - Bug 1177488 - use |const char*| for representing async call reasons; r=bz,fitzgen
1d07dab8a2331218e88848b8cdd1ef8450d856d3
created 2016-03-23 11:44 -0400
pushed 2016-07-25 16:35 +0000
Boris Zbarsky Boris Zbarsky - Bug 1255817 part 6. Fix up some comments in CallbackObject that refer to things that no longer exist. r=bholley
a45a6cde6558c0ed0797a29818eec13c4e0e2196
created 2016-03-23 11:44 -0400
pushed 2016-07-25 16:35 +0000
Boris Zbarsky Boris Zbarsky - Bug 1255817 part 2. Get rid of AutoJSAPI::OwnsErrorReporting and AutoJSAPI::TakeOwnershipOfErrorReporting. r=bholley
476c67fdc36c72c4d7efac7bb4506625093f29b1
created 2016-03-18 10:48 -0400
pushed 2016-07-25 16:35 +0000
Boris Zbarsky Boris Zbarsky - Bug 1257335. Replace some AutoSafeJSContext uses with AutoJSAPI or AutoJSContext uses. r=bholley
04ea7a18573df2a6b3b9f9e58f4a0c0d8a281d2f
created 2016-03-14 13:15 -0700
pushed 2016-07-25 16:35 +0000
Wes Kocher Wes Kocher - Backed out changeset ee3c99e6f676 (bug 1177488) for LeakSanitizer failures
ee3c99e6f6768fd804b58544efd97262cfea4779
created 2016-03-08 16:29 -0500
pushed 2016-07-25 16:35 +0000
Nathan Froyd Nathan Froyd - Bug 1177488 - use |const char*| for representing async call reasons; r=bz,fitzgen
less more (0) -100 -60 tip