In my Javascript code, I am trying to check the blob URL generated by the uploaded image: alert(window.webkitURL.createObjectURL(files[0]));
In Safari, with this line, I get the error: TypeError: 'undefined' is not an object (evaluating 'window.webkitURL.createObjectURL')
Of course, the files [0] are referenced correctly. When I do: alert(files[0]);
Safari tells me: [object File]
So, I know that I have a file object that is correctly referenced - what should be - the correct link to the WebKit link.
Any ideas?
source share