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 has been 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.
The text was updated successfully, but these errors were encountered:
I should also mention that this is not a problem on Safari 7.1 where instance descriptors are configurable. However SauceLabs only provides us with Safari 7.0 and Safari 8.0, not Safari 7.1
When zone detects that we can't patch prototype descriptors, we call
patchWebSocketProperties
which tries to patchonmessage
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.The text was updated successfully, but these errors were encountered: