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

Safari loading error #13

Closed
pmelchior opened this issue Apr 24, 2013 · 3 comments
Closed

Safari loading error #13

pmelchior opened this issue Apr 24, 2013 · 3 comments

Comments

@pmelchior
Copy link

I'm developing a web tool for browsing FITS files and make use of webfits and thus fitsjs. In most browsers, everything works as expected, but Safari on Mac OS X 10.6.8 throws an error at line 690 of fits.js (when attempting to load a valid FITS file):

TypeError: '[object BlobConstructor]' is not a constructor (evaluating 'new Blob([fn1], {
        type: mime
      })')

Help appreciated.

Peter

@kapadia
Copy link
Member

kapadia commented Apr 24, 2013

Hi Peter, this is an issue with Safari 5. Upgrading to Safari 6 will resolve this issue. Despite supporting Blobs, Safari 5 does not support the Blob constructor.

Please reference "Browser compatibility" towards the end of this document:
https://developer.mozilla.org/en-US/docs/DOM/Blob

I'm interested in the web tool that you're developing. Would you mind sending a link when you're ready?

@pmelchior
Copy link
Author

Hi Amit, thanks for the details. I guess that just means the web app won't be available for Safari 5. I can live with that. The application is a browser for proprietary data, so I can't share the link. But I can probably make a standalone example once the code base is stable.

@kapadia
Copy link
Member

kapadia commented Apr 26, 2013

Oh, forgot to mention that getFrame should work in Safari 5. getFrameAsync is the method calling the blob constructor.

Sure, if you have code to share, I'm sure others would appreciate it.

On Apr 25, 2013, at 23:42, Peter Melchior [email protected] wrote:

Hi Amit, thanks for the details. I guess that just means the web app won't be available for Safari 5. I can live with that. The application is a browser for proprietary data, so I can't share the link. But I can probably make a standalone example once the code base is stable.


Reply to this email directly or view it on GitHub.

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

No branches or pull requests

2 participants