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.

Etonkovidova updated the task description. (Show Details)
Etonkovidova raised the priority of this task from to Needs Triage.
Etonkovidova added a project: VisualEditor.
Etonkovidova added a subscriber: Etonkovidova.
Etonkovidova updated the task description. (Show Details)Dec 23 2014, 5:40 PM
Etonkovidova set Security to None.
TheDJ added a subscriber: TheDJ.Dec 29 2014, 11:13 AM

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 triaged this task as Low priority.Jan 9 2015, 11:35 PM
Ryasmeen moved this task from To Triage to Backlog on the VisualEditor board.