Commit graph

87 commits

Author SHA1 Message Date
Shane Caraveo
a9dba8f395 Bug 1449700 refactor addTab/moveTabTo patterns, r=aswan,dao
Calculate all positioning of the tab during addTab to avoid extraneous events and to provide an accurate tab id during TabOpen.

MozReview-Commit-ID: AgcrAJ9hotF

--HG--
extra : rebase_source : 6f0e6f859b5f4145c1fd691fe0cd5c1815a66fb5
2018-04-26 10:38:18 -05:00
vidit23
753c26dd7e Bug 1453957 - Stop setting the "unread" attribute on tabs. r=dao 2018-05-04 19:46:17 +02:00
Dão Gottwald
51eab9cbe5 Bug 1183135 - Update tab position attributes when a tab becomes visually selected rather than synchronously when switching tabs. r=mconley
MozReview-Commit-ID: Lvf0edXlwTu

--HG--
extra : rebase_source : ca5899905428ce3d295eeb0211f02b5799c908f2
2018-05-03 13:32:28 +02:00
arthur.iakab
9befdc9927 Backed out changeset ee1e498e3c43 (bug 1183135) for failing browser chrome tests on browser/base/content/test/performance/browser_tabclose.js a=backout 2018-05-03 13:45:10 +03:00
Dão Gottwald
891e47b838 Bug 1183135 - Update tab position attributes when a tab becomes visually selected rather than synchronously when switching tabs. r=mconley
MozReview-Commit-ID: LGOk50fNaXe

--HG--
extra : rebase_source : 835411c7e88a48506a2652581443d15122025c52
2018-04-28 19:19:59 +02:00
Kris Maglione
bf4d9f1be5 Bug 1456035: Part 5 - Convert manual QueryInterface to ChromeUtils.generateQI. r=mccr8
Manually-implemented QueryInterface functions don't benefit from the
MozQueryInterface optimizaions, and a lot of them are in hot code, and
implement a large number of interfaces.

MozReview-Commit-ID: 8OzglraowZt

--HG--
extra : rebase_source : 5fff3d9973a0ea976096339a63ce9ff628b68441
2018-04-23 12:58:34 -07:00
Mark Striemer
b72766aef6 Bug 1408062 - Show hidden tabs that are playing audio r=dao
MozReview-Commit-ID: FHV3bmXbX9d

--HG--
extra : rebase_source : fcd11c3f0fd8b3a508584d0219d9cafaca1d02ce
2018-04-20 13:15:28 -05:00
Ed Lee
17be320585 Bug 1454344 - Setting New tabs to |Blank Page| does not become effective until the 2nd new tab. r=k88hudson
MozReview-Commit-ID: GNbMgaLpB9n

--HG--
extra : rebase_source : f5177816f7ae30c5d997b32ec8a93533ac943906
2018-04-24 16:29:02 -07:00
Dorel Luca
68398eade7 Backed out changeset f55f15b26569 (bug 1408062) for Browser-chrome failure on browser/base/content/test/general/browser_audioTabIcon.js. CLOSED TREE 2018-04-25 23:06:18 +03:00
Mark Striemer
c342d4e1ad Bug 1408062 - Show hidden tabs that are playing audio r=dao
MozReview-Commit-ID: FHV3bmXbX9d

--HG--
extra : rebase_source : d8fa008014d58d4898aeb1f7feb5f002ef7e2ebf
2018-04-20 13:15:28 -05:00
Mike Conley
0a0c4cc456 Bug 1358712 - Get rid of synchronous layout flushes when calculating where to put the StatusPanel. r=Felipe
MozReview-Commit-ID: KHagFdaRAzF

--HG--
extra : rebase_source : 4c79b7f23cc8980179ab0437eab13e7b03fd60c1
2018-03-07 17:39:20 -05:00
Luca Greco
764da92e2d Bug 1453280 - Clear and destroy tabbrowser tab's listener when adopting the last tab of a window. r=dao
MozReview-Commit-ID: 4XA866P0HJl

--HG--
extra : rebase_source : c7f68757edf02d0094b251f597a837af006b547d
2018-04-10 23:09:28 +02:00
Shane Caraveo
3ca9246dbe Bug 1442679 - fix insertAfterRelated for bulk opening via tabbrowser.loadTabs, r=dao
MozReview-Commit-ID: 1E90mhjvm81

--HG--
extra : rebase_source : c37e693f91386d4d601cea74e99012fce3e4936c
2018-04-05 11:33:39 -05:00
Gijs Kruitbosch
3929672b94 Bug 1371523 - remove find bar sync ipc message, r=mikedeboer
MozReview-Commit-ID: C0VO0U3UJ76

--HG--
extra : rebase_source : 4c29a0d740ff8b18dea35428a3f88ab5093ecc91
extra : source : cbf007a7027f20ecc1641ea9cc07e98817a49862
2018-03-21 17:10:40 +00:00
Mark Striemer
b1780b744c Bug 1408061 - Show hidden tabs in all tabs menu r=dao
MozReview-Commit-ID: FpbeT1FwEWe

--HG--
extra : rebase_source : 91d99cb327707fd51f8ec1b4819c8cac87a98b16
2018-04-03 13:58:48 -05:00
Brian Grinstead
244cee4afd Bug 1448555 - Part 1 - Allow the devtools toolbox to shrink when the window shrinks;r=dao,Gijs,jdescottes
By setting flex=10000 on the siblings of the toolbox and flex=1 on the toolbox iframe
we ensure that free space gets allocated to the browser contents and that the devtools
toolbox can shrink when the window needs to resize.

MozReview-Commit-ID: oel3kRw9m6

--HG--
extra : rebase_source : b87d6c024d8e57085115550bdc1b9169d3d70983
2018-04-03 13:57:30 -07:00
Manish Kumar
ca80552b9f Bug 1446719 - Rename getTabValue / setTabValue / deleteTabValue to getCustomTabValue / setCustomTabValue / deleteCustomTabValue. r=dao
--HG--
extra : rebase_source : 4d1ee61af6b01c58c07aa8e09d125959b62dcc75
2018-04-01 16:05:34 +02:00
Andreea Pavel
afdd07f3e2 Backed out changeset f80a1b8f781b (bug 1446719) for failing browser chrome at browser/components/sessionstore/test/browser_350525.js on a CLOSED TREE 2018-04-01 16:16:09 +03:00
Manish Kumar
6887194f83 Bug 1446719 - Rename getTabValue / setTabValue / deleteTabValue to getCustomTabValue / setCustomTabValue / deleteCustomTabValue. r=dao 2018-04-01 11:15:54 +02:00
Vivek Dhingra
58c16b4984 Bug 1446314 - Rename mIsBusy to _isBusy r=dao
MozReview-Commit-ID: H1H4om8F6dt

--HG--
extra : rebase_source : 1e2ad604ca7653be466087dcff671e63630bb163
2018-03-30 17:27:00 -04:00
Brindusan Cristian
1f01a16a9b Backed out changeset cbf007a7027f (bug 1371523) for browser chrome failures on toolkit/content/tests/browser/browser_findbar.js CLOSED TREE 2018-03-31 01:16:09 +03:00
Gijs Kruitbosch
1037d799f9 Bug 1371523 - remove find bar sync ipc message, r=mikedeboer
MozReview-Commit-ID: C0VO0U3UJ76

--HG--
extra : rebase_source : 01e33223409023b03bd2ac83652953cc586be1ae
2018-03-21 17:10:40 +00:00
Dão Gottwald
c37f295a17 Bug 1448303 - Refactor TabsInTitlebar initial update handling. r=florian
MozReview-Commit-ID: BQTe6cVyHo1

--HG--
extra : rebase_source : fdc23cfe4902ffd831adf0f9418177342906b241
2018-03-28 20:36:21 +02:00
Csoregi Natalia
f80b492e44 Backed out changeset 3e32fb05601e (bug 1448303) expected to fail on browser_windowopen.js. CLOSED TREE 2018-03-28 21:34:21 +03:00
Dão Gottwald
a791e420c3 Bug 1448303 - Refactor TabsInTitlebar initial update handling. r=florian
MozReview-Commit-ID: ASVRIsVIoKa

--HG--
extra : rebase_source : 2a388c9f15c75fb736550714df062d1c4d7a0ed2
2018-03-28 20:24:26 +02:00
Dão Gottwald
e71fb1aa39 Bug 1448482 - Remove <title> element from about:privatebrowsing since tabbrowser already sets the title. r=Gijs
MozReview-Commit-ID: 7oQrfiK0FRa

--HG--
extra : rebase_source : dcaeae1f53682531709bd8333cdf38a0a7e21298
2018-03-27 23:34:23 +02:00
Dão Gottwald
e6320ddb5d Bug 1448565 - Extract tab bar visibility handling from the tabs binding. r=Gijs
MozReview-Commit-ID: RDvodB7C8e

--HG--
extra : rebase_source : 821cfdd9e3a6cfafd19ab46a9395f06ad01f9ec8
2018-03-27 23:19:15 +02:00
Mike Conley
20eb6b854d Bug 1408026 - Remove early renderLayers for preloaded browsers now that Activity Stream takes care of it. r=florian
MozReview-Commit-ID: L9ROVXggr5k

--HG--
extra : rebase_source : 2d76c136487072ed7178742687bc84c225ed45bf
2018-03-27 16:01:36 -04:00
Margareta Eliza Balazs
b33efac796 Backed out changeset 49867cc4dcc2 (bug 1448482) for ss failures in browser/tools/mozscreenshots/primaryUI/browser_primaryUI.js on a CLOSED TREE 2018-03-27 20:13:36 +03:00
Dão Gottwald
08516a61ad Bug 1448482 - Remove <title> element from about:privatebrowsing since tabbrowser already sets the title. r=Gijs
MozReview-Commit-ID: 3VcK126FfWX

--HG--
extra : rebase_source : f06592918693f9eefbb7214e7232c8066be63740
2018-03-23 22:30:11 +01:00
Bogdan Tara
302a55b534 Merge inbound to mozilla-central. a=merge 2018-03-27 12:12:57 +03:00
Bob Silverberg
58a89452a8 Bug 1344749 - Expose API to customize where new tabs open, r=dao
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

--HG--
extra : rebase_source : d2dd721a58e675fc1db88ab0c0b90bb62e283231
2018-01-19 12:59:53 -05:00
Tim Nguyen
e002c63fa4 Bug 1444760 - Combine loadURIWithFlags and loadURI methods. r=dao
MozReview-Commit-ID: 5dsyKwvjYht

--HG--
extra : rebase_source : 881e10f2987606e84e55c267260661c0f7b3b746
2018-03-16 23:21:46 +00:00
Tim Nguyen
5e399b2f06 Bug 1444760 - Support only one form of loadURIWithFlags calls. r=dao
MozReview-Commit-ID: A5rMjQ6xnRw

--HG--
extra : rebase_source : 31166bca511e5bc16ffff2acab2e3295d9f6079c
2018-03-25 14:35:17 +02:00
Margareta Eliza Balazs
27703664b0 Backed out 2 changesets (bug 1444760) for ES lint failure in /builds/worker/checkouts/gecko/browser/base/content/browser.js on a CLOSED TREE
Backed out changeset 71f61091a716 (bug 1444760)
Backed out changeset 4956db1e9bdd (bug 1444760)
2018-03-25 15:29:54 +03:00
Tim Nguyen
e2ed0b5dfb Bug 1444760 - Combine loadURIWithFlags and loadURI methods. r=dao
MozReview-Commit-ID: 5dsyKwvjYht

--HG--
extra : rebase_source : 8e9f24d20829021db2239435c7d8d0db08e28bf9
2018-03-16 23:21:46 +00:00
Tim Nguyen
78b296ff06 Bug 1444760 - Support only one form of loadURIWithFlags calls. r=dao
MozReview-Commit-ID: A5rMjQ6xnRw

--HG--
extra : rebase_source : e44817bd271a3477fdd54f405beb1b5096a032d0
2018-03-25 13:59:50 +02:00
Dão Gottwald
1b366a1008 Bug 1448102 - Move tabWarmingEnabled, tabWarmingMax, tabWarmingUnloadDelay properties from gBrowser to AsyncTabSwitcher.jsm. r=mconley
MozReview-Commit-ID: 2pI1aDUxWFw

--HG--
extra : rebase_source : ed6f75031f47456e91ed419c939b2e29ecc58526
2018-03-22 19:36:00 +01:00
Tim Nguyen
74e6b6b1e9 Bug 1445099 - Remove unused properties from browser binding. r=enndeakin 2018-03-26 16:32:37 +02:00
Gurzau Raul
3057041352 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-16 19:58:27 +02:00
Vivek Dhingra
7b323d8758 Bug 1446060 - Rename mPanelContainer to tabpanels r=dao
MozReview-Commit-ID: 85PNkl3OeBE

--HG--
extra : rebase_source : d7bfb49a8736b8319f6d1ca45f39fe001d4214d8
2018-03-16 10:23:00 -04:00
Dão Gottwald
c16e018107 Bug 1446332 - Remove const nsI* from tabbrowser.js. r=Gijs
MozReview-Commit-ID: XZuOy5yJo6

--HG--
extra : rebase_source : 38705ee750615269023e28eacf50d91d75212763
2018-03-16 12:28:37 +01:00
Dão Gottwald
487924b63b Bug 1446414 - Remove underutilized browser.homePage and browser.goHome. r=enn 2018-03-16 16:31:59 +01:00
Brian Birtles
ee9982905f Bug 1420320 - Drop dom.animations-api.pending-member.enabled pref; r=bz,hiro
This pref was introduced in case we encountered compatibility issues from
changing the return value of Animation.playState (bug 1412765). Now that the
change to Animation.playState has shipped to release channel without any known
problems we should drop this pref.

MozReview-Commit-ID: CwMWRRtIf6u

--HG--
extra : rebase_source : b26c59a51880406c2b94baad8da2eafeb3ae3202
2018-03-16 12:49:55 +09:00
Gijs Kruitbosch
d2ebbb38df Bug 1358815 - remove sync reflow from find bar initialization, r=jaws
This removes the sync reflow from almost all cases. The only case where we keep it is when a keypress
caught in content triggers a sync message to the parent process. We should clean this up in bug 1371523.

I've tried to fix the tests, but a lot of them seem to be disabled anyway...

MozReview-Commit-ID: 9k36p7q8MKy

--HG--
extra : rebase_source : 311ee41ba9456a5c5d58b81a0cfa999bcef0027e
2018-03-12 14:01:44 +00:00
Dão Gottwald
7b82a59655 Bug 1446004 - Remove old non-e10s FX_TAB_SWITCH_TOTAL_MS probe. r=mconley
MozReview-Commit-ID: 9blsuI0AKje

--HG--
extra : rebase_source : 775dbb993d6dbd494fa1d0ce8ed60d727c28e4a6
2018-03-15 17:07:02 +01:00
Brindusan Cristian
4f5a76dc76 Backed out 2 changesets (bug 1358815) for bc failures on browser_pdfjs_main.js CLOSED TREE
Backed out changeset 880736d97de3 (bug 1358815)
Backed out changeset a2a0a0990e1a (bug 1358815)
2018-03-15 21:23:12 +02:00
Gijs Kruitbosch
59e21359c8 Bug 1358815 - remove sync reflow from find bar initialization, r=jaws
This removes the sync reflow from almost all cases. The only case where we keep it is when a keypress
caught in content triggers a sync message to the parent process. We should clean this up in bug 1371523.

I've tried to fix the tests, but a lot of them seem to be disabled anyway...

MozReview-Commit-ID: 9k36p7q8MKy

--HG--
extra : rebase_source : 311ee41ba9456a5c5d58b81a0cfa999bcef0027e
2018-03-12 14:01:44 +00:00
Noemi Erli
6e96a3f1e4 Merge autoland to mozilla-central. a=merge 2018-03-15 19:38:46 +02:00
Dão Gottwald
e8799dff1d Bug 1445949 - updateCurrentBrowser cleanup. r=mconley 2018-03-15 15:14:53 +01:00