gecko-dev/dom/worklet
Jon Coppeard c53e11c2b2 Bug 1642974 - Don't expose WeakRef targets which are DOM wrappers whose target has been collected r=smaug,sfink
WeakRef targets that are wrappers to DOM objects are preserved when the WeakRef is created.  This checks whether the wrapper is still preserved in deref() and if it is found to have been released, the target is cleared.

The patch adds a new DOMJSClass hook to deal with getting the wrapper cache for non-nsISupports objects.

Differential Revision: https://phabricator.services.mozilla.com/D78061
2020-06-06 06:58:42 +00:00
..
tests Bug 1624524 - Remove uses of wasmTextToBinary in non-JS shell tests. r=bbouvier 2020-04-10 21:28:19 +00:00
Worklet.cpp Bug 1627892 - Use SafeRefPtr for Request. r=dom-workers-and-storage-reviewers,perry 2020-05-11 12:13:48 +00:00
Worklet.h Bug 1402784 - Use nsIContentPolicy::TYPE_INTERNAL_AUDIOWORKLET and nsIContentPolicy::TYPE_INTERNAL_PAINTWORKLET in Worklet code, r=smaug 2020-03-17 22:24:39 +00:00
WorkletGlobalScope.cpp Bug 1630947 - Update Reporting API - part 1 - ReportingObserver in workers, r=smaug 2020-04-18 12:25:57 +00:00
WorkletGlobalScope.h Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 7 - nsIGlobalObject::IsSharedMemoryAllowed(), r=smaug 2020-02-06 13:50:11 +00:00
WorkletImpl.cpp Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 7 - nsIGlobalObject::IsSharedMemoryAllowed(), r=smaug 2020-02-06 13:50:11 +00:00
WorkletImpl.h Bug 1402784 - Use nsIContentPolicy::TYPE_INTERNAL_AUDIOWORKLET and nsIContentPolicy::TYPE_INTERNAL_PAINTWORKLET in Worklet code, r=smaug 2020-03-17 22:24:39 +00:00
WorkletPrincipals.cpp
WorkletPrincipals.h
WorkletThread.cpp Bug 1642974 - Don't expose WeakRef targets which are DOM wrappers whose target has been collected r=smaug,sfink 2020-06-06 06:58:42 +00:00
WorkletThread.h Bug 1612570 - Add promise support to worklet, r=smaug 2020-02-06 13:54:19 +00:00
moz.build