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.
When zone detects that we can't patch prototype descriptors, we call patchWebSocketProperties which tries to patch onmessage and friends via descriptors on the instance. This works in Chrome <43 but not in Safari 7.0 where even instance descriptors are not configurable.
Potential fix would be to return a proxy object similar to how patchClass works and intercept all of the property getters and setters via the proxy.
When zone detects that we can't patch prototype descriptors, we call
patchWebSocketPropertieswhich tries to patchonmessageand friends via descriptors on the instance. This works in Chrome <43 but not in Safari 7.0 where even instance descriptors are not configurable.Potential fix would be to return a proxy object similar to how
patchClassworks and intercept all of the property getters and setters via the proxy.