зеркало из https://github.com/mozilla/snowl.git
Bug 520406 - german umlauts are not decoded correctly; also add missing callback in subscribe.
This commit is contained in:
Родитель
7d3e601297
Коммит
e28a8779ef
|
@ -329,7 +329,7 @@ let Subscriber = {
|
|||
this.doSubscribe();
|
||||
},
|
||||
|
||||
doSubscribe: function() {
|
||||
doSubscribe: function(aCallback) {
|
||||
this.account.refresh(null);
|
||||
|
||||
// If error on connect, or error due to null result.doc (not a feed) despite
|
||||
|
|
|
@ -283,7 +283,8 @@ SnowlFeed.prototype = {
|
|||
let request = new Request({
|
||||
// The feed processor is going to parse the response, so we override
|
||||
// the MIME type in order to turn off parsing by XMLHttpRequest itself.
|
||||
overrideMimeType: "text/plain",
|
||||
// XXX: overrideMimeType removed, text/plain hoses non ascii, ???
|
||||
// overrideMimeType: "text/plain",
|
||||
url: this.machineURI,
|
||||
// Listen for notification callbacks so we can handle authentication.
|
||||
notificationCallbacks: this
|
||||
|
|
Загрузка…
Ссылка в новой задаче