Commit Graph
12 Commits
Author SHA1 Message Date
Tamas Szentpeteri 6b4d7b4396 Backed out changeset 316531363a05 (bug 1904810) for not fixing the regressions. CLOSED TREE 2024-07-09 19:31:17 +03:00
Jon Coppeard e60e4c8754 Bug 1904810 - Add an API to drop a JS holder that has already been cleared r=mccr8
This adds an optional second argument to DropJSObjects to allow skipping
clearing of JS references in cases where that has already happened. In debug
builds it asserts that such references have already been cleared.

This is then used in CallbackObject::Reset.

Differential Revision: https://phabricator.services.mozilla.com/D215493
2024-07-03 10:06:31 +00:00
Andrew McCreight 7295aa5427 Bug 1425450 - Pass zone information through when preserving wrappers r=mccr8
This is bascially the same as your original patch.

Differential Revision: https://phabricator.services.mozilla.com/D68520
2020-04-20 17:07:58 +00:00
Jon Coppeard 8e411316bb Bug 1425450 - Remove unused IsJsHolder methods r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D68519
2020-04-20 17:07:53 +00:00
Bogdan Tara f6e229659d Backed out 6 changesets (bug 1425450) for hazard failure complaining about nsWrapperCacheInlines CLOSED TREE
Backed out changeset c57ac2e125e8 (bug 1425450)
Backed out changeset 4238c59af7bb (bug 1425450)
Backed out changeset 2a00272e72ba (bug 1425450)
Backed out changeset 3e4a52d596bb (bug 1425450)
Backed out changeset 5da68de67491 (bug 1425450)
Backed out changeset efac091a3ba4 (bug 1425450)
2020-04-06 21:22:51 +03:00
Andrew McCreight c53e3052fd Bug 1425450 - Pass zone information through when preserving wrappers r=mccr8
This is bascially the same as your original patch.

Differential Revision: https://phabricator.services.mozilla.com/D68520
2020-04-06 16:13:17 +00:00
Jon Coppeard 52cbe5dbc2 Bug 1425450 - Remove unused IsJsHolder methods r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D68519
2020-04-06 16:12:39 +00:00
Sylvestre Ledru e5a134f73a Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Bill McCloskey 1a26f8b6f4 Bug 1359245 - Remove references to context from the cycle collector (r=mccr8)
MozReview-Commit-ID: 1QoNEiZMvBf
2017-04-27 15:34:46 -07:00
Jan de Mooij b402a91ead Bug 1302448 part 1 - Rename CycleCollectedJSRuntime to CycleCollectedJSContext. r=mccr8 2016-09-14 15:47:32 +02:00
Andrew McCreight 47ce8dbe67 Bug 1119482, part 4 - Move IsJSHolder into HoldDropJSObjects. r=smaug 2015-03-10 16:41:38 -07:00
Andrew McCreight acfd3a2ff5 Bug 1119482, part 3 - Move the Hold and DropJSObjects implementations to a new HoldDropJSObjects.cpp file. r=smaug 2015-03-10 16:41:38 -07:00