Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should FileReaderSync be exposed to service workers? #735

Closed
mattto opened this issue Aug 19, 2015 · 2 comments

Comments

@mattto
Copy link
Member

commented Aug 19, 2015

FileReaderSync is an sync IO API, should service workers be allowed to use it?

@wanderview

This comment has been minimized.

Copy link
Member

commented Aug 19, 2015

There is a non-normative note in the spec:

Any type of synchronous requests must not be initiated inside of a service worker.

I guess we could take away the footgun by making things like FileReaderSync and sync XHR [Exposed=DedicatedWorker,SharedWorker].

@annevk

This comment has been minimized.

Copy link
Member

commented Aug 19, 2015

XMLHttpRequest/ProgressEvent was changed earlier today. See: https://xhr.spec.whatwg.org/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.