Page MenuHomePhabricator

Safari JS bug in uploadwizard
Closed, ResolvedPublic

Description

mw.Uri.js

mw.Uri = function( uri, strictMode ) {

strictMode = !!strictMode;
if ( mw.isFull( uri ) ) {

There it has "uri instanceof Location". On Safari 5 this gives me "ReferenceError: Can't find variable: Location"

I have no idea why. perhaps the prototype chain is broken in Safari for some reason. Perhaps Location is not an object in Safari.


Version: unspecified
Severity: normal

Details

Reference
bz25785

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:23 PM
bzimport added a project: UploadWizard.
bzimport set Reference to bz25785.

Bug in Safari, filed upstream: https://bugs.webkit.org/show_bug.cgi?id=49000

However it's probably wise to check for this issue in other non-FF browsers.

Merging bugzilla components "Multimedia Usability" and "Upload Wizard"

neilk wrote:

Should be fixed as Location has been removed from the codebase.