Commit Graph

366 Commits

Author SHA1 Message Date
Cosmin Sabou
acbb3f00b8 Backed out changeset d679c9a9afa0 (bug 1442582) for mochitest browser chrome failures at browser_ext_tabs_create.js on a CLOSED TREE 2018-03-07 22:19:53 +02:00
Dão Gottwald
ab4c361849 Bug 1442582 - Remove the tabbrowser-tabpanels binding. r=mconley
MozReview-Commit-ID: GBOzGTZFBcJ
2018-03-07 11:35:57 +01:00
Dão Gottwald
a319c37f87 Bug 1443837 - Set the "hasadjacentnewtabbutton" attribute in the tabbrowser-tabs binding rather than gBrowser. r=Gijs
MozReview-Commit-ID: GzmaJ4nVwtP
2018-03-07 17:45:34 +01:00
Mike Conley
36cb8e0a60 Bug 1443315 - Don't set docShellIsActive to false for preloaded browsers that are being inserted. r=dao
MozReview-Commit-ID: LxZ9qaG1ls7
2018-03-06 14:37:27 -05:00
Mike Conley
1a0ef22e5e Bug 1443315 - Make preloaded about:newtab's layers always rendered so that we avoid the flash when opening new tabs. r=florian
MozReview-Commit-ID: I0MvCnzskhB
2018-03-05 17:03:09 -05:00
Dão Gottwald
3171b9ddaf Bug 1442398 - Convert the TabBrowser class to a plain object and make gBrowser available already before gBrowser.init returns. r=bgrins
MozReview-Commit-ID: Cmq8IOaoxn5
2018-03-07 06:49:53 +01:00
Dão Gottwald
3f43e08bd6 Bug 1442651 - Remove the tabbrowser element and binding. r=bgrins
MozReview-Commit-ID: 2IXukkFq5C2
2018-03-05 20:33:36 +01:00
Dão Gottwald
5a372abca5 Bug 1436361 - Extract the async tab switcher from tabbrowser.js into its own JSM. r=mconley
MozReview-Commit-ID: AQaVOmQ548v
2018-03-02 12:51:15 +01:00
Dão Gottwald
e15710e39d Backed out changeset 0d138609abfd (bug 1344749)
MozReview-Commit-ID: 2Mx1CpM0uyH
2018-03-03 15:04:51 +01:00
Dão Gottwald
70524436ca Backed out changeset dcfe51f25e29 (bug 1344749)
MozReview-Commit-ID: GEvjVYpAUhS
2018-03-03 15:04:25 +01:00
Dão Gottwald
5fb1f02a91 Bug 1344749 - followup: fix indentation
MozReview-Commit-ID: FKpyXZhqS58
2018-03-02 11:27:45 +01:00
Bob Silverberg
bc6e5e563a Bug 1344749 - Expose API to customize where new tabs open, r=dao,mixedpuppy
This patch implements the preference "browser.tabs.insertAfterCurrent" which,
when set to true, will cause all tabs (related and unrelated) to be opened next
to the current tab.

It also implements the browserSettings API "newTabPosition", which allows
extensions to control both "browser.tabs.insertRelatedAfterCurrent", and
"browser.tabs.insertAfterCurrent" via values for "afterCurrent",
"relatedAfterCurrent" and "atEnd".

The code for "browser.tabs.insertAfterCurrent" including the test for it is
mostly taken from a patch attached to bug 933532 written by Masayuki Nakano.

MozReview-Commit-ID: KQE7M2FGpc7
2018-01-19 12:59:53 -05:00
Dão Gottwald
0cd4992cac Bug 1441816 - Move mTabProgressListener into its own class. r=jaws
MozReview-Commit-ID: Fj5MtThJvld
2018-03-01 07:56:39 +01:00
Florian Quèze
f6add2cafd Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Brian Grinstead
938da9ee8f Bug 1392352 - Part 2 - Translate the tabbrowser implementation into a JS class;r=mconley,r=dao CLOSED TREE
We keep the XBL binding around for <content>, <constructor>, and <destructor>. This can
eventually be migrated to a Custom Element once we have platform support, but in the meantime
this is a way to get the many thousands of LOC into a JS class.

MozReview-Commit-ID: 1dCQp527yF9
2018-02-27 10:04:14 -08:00
Brian Grinstead
4fa6ea82ec Bug 1392352 - Part 1 - hg cp tabbrowser.xml to tabbrowser.js;r=dao
This will allow us to preserve blame as best as possible when the implementation
of this binding gets rewritten to JS in the next changeset.

MozReview-Commit-ID: HTBXcvQDAQZ
2018-02-27 09:47:52 -08:00