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(WebSocket): don't patch EventTarget methods twice
closes #235 On older versions of Chrome, patching via property descriptors isn't available, but unlike Safari, window.EventTarget exists and is already patched, so the EventTarget methods on WebSocket.prototype don't need to be patched again. Closes #233.
- Loading branch information