merge fx-team to mozilla-central a=merge

This commit is contained in:
Carsten "Tomcat" Book 2014-06-18 14:35:09 +02:00
Родитель 4031a30860 bf6636a318
Коммит 062ded1885
2 изменённых файлов: 5 добавлений и 2 удалений

Просмотреть файл

@ -158,7 +158,10 @@ let gSearch = {
let image = document.createElementNS(XUL_NAMESPACE, "image");
if (engine.iconBuffer) {
let blob = new Blob([engine.iconBuffer]);
image.setAttribute("src", URL.createObjectURL(blob));
let size = Math.round(16 * window.devicePixelRatio);
let sizeStr = size + "," + size;
let uri = URL.createObjectURL(blob) + "#-moz-resolution=" + sizeStr;
image.setAttribute("src", uri);
}
box.appendChild(image);

Просмотреть файл

@ -203,7 +203,7 @@ AccountState.prototype = {
if (!this.isCurrent) {
log.info("An accountState promise was rejected, but we are ignoring that" +
"reason and rejecting it due to a different user being signed in." +
"Originally rejected with: " + reason);
"Originally rejected with: " + error);
return Promise.reject(new Error("A different user signed in"));
}
return Promise.reject(error);