This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(property-descriptor): do not use document object in Safari web wo…
…rker 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.
- Loading branch information