You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
fix(property-descriptor): do not use document object in Safari web worker
In propertyDescriptorPatch(), when running is Safari browser, patchViaCapturingAllTheEvents() is called
which uses document.addEventListener().
When this code runs in a web worker, there is no document.
Fix by changing document.addEventListener() to self.addEventListener.
0 commit comments