mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Merge backout of changeset 0acf72149fc9 (bug 594002).
This commit is contained in:
commit
5909a44092
@ -132,9 +132,7 @@ function test() {
|
||||
handleLoad: function (aEvent) {
|
||||
let _this = this;
|
||||
executeSoon(function () {
|
||||
let extent = _this.window.outerWidth - _this.window.gBrowser.tabContainer.mTabstrip.scrollClientSize;
|
||||
let windowWidth = _this.tabbarWidth + extent;
|
||||
_this.window.resizeTo(windowWidth, _this.window.outerHeight);
|
||||
_this.window.resizeTo(_this.windowWidth, _this.window.outerHeight);
|
||||
ss.setWindowState(_this.window, JSON.stringify(_this.state), true);
|
||||
});
|
||||
},
|
||||
@ -153,7 +151,7 @@ function test() {
|
||||
|
||||
// setup and actually run the test
|
||||
run: function () {
|
||||
this.tabbarWidth = Math.floor((this.numTabsToShow - 0.5) * tabMinWidth);
|
||||
this.windowWidth = Math.floor((this.numTabsToShow - 0.5) * tabMinWidth);
|
||||
this.window = openDialog(location, "_blank", "chrome,all,dialog=no");
|
||||
this.window.addEventListener("SSTabRestoring", this, false);
|
||||
this.window.addEventListener("load", this, false);
|
||||
|
Loading…
Reference in New Issue
Block a user