Open mijoda opened 13 years ago
On Wed, Oct 5, 2011 at 15:38, mijoda < reply@reply.github.com>wrote:
I cannot upload apps using the current Safari on Mac OS X. Details:
I'm on http://app-inventor-gallery.appspot.com/ . When I attempt to upload image 1, after choosing the file, I get an error popup with the URL and the message "Your browser does not support the required functionality. Please use a recent version of Chrome, Firefox, or Safari.". Attempting to upload a source or application file yields the same message.
The files are definitely not uploaded, because when I hit OK to complete the "Add New Application" process, I get the error popup "Async(undefined) exception: Application error 4: Missing required attributes: image1, source"
I have the latest Safari, 5.1, on Mac OS 10.6.8. Uploading works fine on Firefox on the same machine.
This is a browser issue. My research indicated that the FileReader object was available on all of the modern browsers. I don't have Mac, though, so have tested it only with Firefox and Chrome. We'll have to look into what is required to get it working on Safari. We certainly do want to support that browser.
Derrell
According to current research, it's supposed to work. If Safari has a debugger with which you can execute arbitrary JavaScript commands, please load the Gallery, and from the debugger, try:
var x = new window.FileReader()
Does it get back an object?
It has a firebug-like debugger like that of (identical to?) Chrome. It didn't work, error message is:
"'undefined' is not a constructor (evaluating 'new window.FileReader()')"
FileReader, supported in Chrome, FireFox, and Opera for some time, is not supported in Safari or IE, according to this:
Maybe something here is relevant? No clue if it could be worked into Qooxdoo.
https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-browser-Polyfills
On Wed, Oct 5, 2011 at 17:06, mijoda < reply@reply.github.com>wrote:
FileReader, supported in Chrome, FireFox, and Opera for some time, is not supported in Safari or IE, according to this:
Maybe something here is relevant? No clue if it could be worked into Qooxdoo.
https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-browser-Polyfills
Ok, right from the mouth of the monster... It's implemented internally, but not yet bound to the API. https://bugs.webkit.org/show_bug.cgi?id=32624
I cannot upload apps using the current Safari on Mac OS X. Details:
I'm on http://app-inventor-gallery.appspot.com/ . When I attempt to upload image 1, after choosing the file, I get an error popup with the URL and the message "Your browser does not support the required functionality. Please use a recent version of Chrome, Firefox, or Safari.". Attempting to upload a source or application file yields the same message.
The files are definitely not uploaded, because when I hit OK to complete the "Add New Application" process, I get the error popup "Async(undefined) exception: Application error 4: Missing required attributes: image1, source"
I have the latest Safari, 5.1, on Mac OS 10.6.8. Uploading works fine on Firefox on the same machine.