зеркало из https://github.com/mozilla/gecko-dev.git
Bug 626873 Navigating sometimes does not reset scale r=mfinkle
This commit is contained in:
Родитель
aa207cbcd2
Коммит
d5cd7c7f90
|
@ -192,6 +192,9 @@ let DOMEvents = {
|
||||||
|
|
||||||
case "pageshow":
|
case "pageshow":
|
||||||
case "pagehide": {
|
case "pagehide": {
|
||||||
|
if (aEvent.target.defaultView != content)
|
||||||
|
break;
|
||||||
|
|
||||||
let util = aEvent.target.defaultView.QueryInterface(Ci.nsIInterfaceRequestor)
|
let util = aEvent.target.defaultView.QueryInterface(Ci.nsIInterfaceRequestor)
|
||||||
.getInterface(Ci.nsIDOMWindowUtils);
|
.getInterface(Ci.nsIDOMWindowUtils);
|
||||||
|
|
||||||
|
|
|
@ -332,8 +332,7 @@
|
||||||
if (this.feeds && aMessage.target == this)
|
if (this.feeds && aMessage.target == this)
|
||||||
this.feeds = null;
|
this.feeds = null;
|
||||||
|
|
||||||
if (aMessage.windowId == this.contentWindowId)
|
this.scale = 1;
|
||||||
this.scale = 1;
|
|
||||||
]]>
|
]]>
|
||||||
</body>
|
</body>
|
||||||
</method>
|
</method>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче