Skip to content

ostrio_files.js error when using opera #293

@sebastianlutter

Description

@sebastianlutter

When I try to test an application on Opera 12.16 Build 1860 (Debian 8, x86_64 system) I get an client error in ostrio_files.js line 1647:

Unhandled Error: Cannot convert '_URL' to object
											this._webWorkerUrl = _URL.createObjectURL(new Blob(['"use strict";self.onmessage=function(a){if(a.data.ib===!0)postMessage({bin:a.data.f.slice(a.data.cs*(a.data.cc-1),a.data.cs*a.data.cc),chunkId:a.data.cc});else{var b;self.FileReader?(b=new FileReader,b.onloadend=function(c){postMessage({bin:(b.result||c.srcElement||c.target).split(",")[1],chunkId:a.data.cc,s:a.data.s})},b.onerror=function(a){throw(a.target||a.srcElement).error},b.readAsDataURL(a.data.f.slice(a.data.cs*(a.data.cc-1),a.data.cs*a.data.cc))):self.FileReaderSync?(b=new FileReaderSync,postMessage({bin:b.readAsDataURL(a.data.f.slice(a.data.cs*(a.data.cc-1),a.data.cs*a.data.cc)).split(",")[1],chunkId:a.data.cc})):postMessage({bin:null,chunkId:a.data.cc,error:"File API is not supported in WebWorker!"})}};'], {
												type: 'application/javascript'//
											})); //
										})

The command in the next line (1646) sets _URL to undefined, which obviously causes the error on line 1647:

_URL = window.URL || window.webkitURL || window.mozURL; //

Versions:
Meteor 1.4.2.3
ostrio:files@1.7.5

This only happens in Opera, the application runs well on Firefox, Chrome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions