Trac: Description: In #10682 (closed) we disabled update pings by setting the update URL to https://127.0.0.1 which caused #13129 (moved). We can do something more clever without sending pings AND causing #13129 (moved) as shown in comment13:ticket:16200.
Is there a reason why we need the comma after the data url? Is that related to the XML warnings?
The comma is required to separate the content type from the data URL payload (which in our case is an empty string). See section 3 of https://tools.ietf.org/html/rfc2397. I think the XML warning occurs because the document (text) is empty, which means that request.responseXML is null or undefined. But we do not want a non-empty XML document, because then the code will probably get as far as trying to check for a signature and try to verify it using the updateKey... which we do not have.
So... I think this is the best we can do without patching the code inside toolkit/mozapps/extensions/internal/AddonUpdateChecker.jsm. If you want to follow the execution patch, start at the checkForUpdates() function within that file. If I was going to patch something, I would modify UpdateParser.onLoad() to accept (and ignore) a zero-length document (request.responseText == ""). I am not sure if Mozilla would like that idea or not.
Ok, I went ahead and merged this. I've also noticed a lot of noise accumulating in our error console, so perhaps we should just file a new ticket to work on that.
Trac: Status: needs_review to closed Resolution: N/Ato fixed