Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

fix(patch): Worker should patch onProperties #915

Merged
merged 1 commit into from
Sep 27, 2017

Conversation

JiaLiPassion
Copy link
Collaborator

fix angular/angular#19334
Worker onProperties (onerror, onmessage) should also be patched.

@mhevery mhevery merged commit 418a583 into angular:master Sep 27, 2017
@bvdmitri
Copy link

Safari 11.0.3 Worker has no prototype

> window['Worker']
< function WrappedWorker() {
    [native code]
}
> window['Worker'].prototype
< undefined

TypeError will be raised when getOwnPropertyDescriptor will be called with 'undefined' prototype.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Web Worker => Behaviorsubject => Subscribe = Not updated on the component view
4 participants