Page MenuHomePhabricator

Safari Error: kCFErrorDomainCFNetwork -10 when loading VE
Open, LowPublic

Description

In Safari betalabs login and click on Edit (for VE).

"Failed to load resource: The operation couldn’t be completed. (kCFErrorDomainCFNetwork error -10.)" - will be displayed in the console. Also, the same error will be persistently displayed when inserting links, starting editing lines etc.

Could be caused by some incorrect 64base encoding? - http://stackoverflow.com/questions/14678971/safari-error-kcferrordomaincfnetwork-10

Chrome does not display the error.

Event Timeline

Etonkovidova raised the priority of this task from to Needs Triage.
Etonkovidova updated the task description. (Show Details)
Etonkovidova added a project: VisualEditor.
Etonkovidova subscribed.

Not just beta labs, I see it on production too. [Error] Failed to load resource: The operation couldn’t be completed. (kCFErrorDomainCFNetwork error -10.) (data:image/gif;base64,R0lGODdhAQABAADcACwAAAAAAQABAAA, line 0)

The surrounding block of code using this image:

OO.inheritClass(ve.dm.CommentMetaItem, ve.dm.MetaItem);
ve.dm.CommentMetaItem.static.name = 'commentMeta';
ve.dm.CommentMetaItem.static.matchTagNames = [];
ve.dm.CommentMetaItem.static.storeHtmlAttributes = false;
ve.dm.CommentMetaItem.static.toDomElements = function(dataElement, doc) {
    return [doc.createComment(dataElement.attributes.text)];
};
ve.dm.modelRegistry.register(ve.dm.CommentMetaItem);
ve.ce = {};
ve.ce.whitespacePattern = /[\u0020\u00A0]/g;
ve.ce.minImgDataUri = 'data:image/gif;base64,R0lGODdhAQABAADcACwAAAAAAQABAAA';
ve.ce.unicornImgDataUri = ....

As an aside, I also get continuous localeStorage quota exceeded errors with VE again. I can clear the entire storage, but as soon as I open VE, it fills up all the way to the top.

Ryasmeen moved this task from To Triage to Freezer on the VisualEditor board.