gecko-dev/browser/components/extensions
Bob Silverberg ba5b0824a2 Bug 1422211 - Do not try to move a tab when it is the only tab in a window, r=mixedpuppy
The problem reported in this bug is that the newTab button moves to an invalid position when
there's only 1 tab in a window and you try to move it to the end of the tab strip via tabs.move.

This may be caused by a bug in tabbrowser, which is being investigated separately, but it
brought to light the fact that we're trying to move a tab when it's the only tab in a
window, and that just doesn't make sense.

This patch updates the code so we don't try to move a tab if it's the only tab in the
window.

MozReview-Commit-ID: 1oBs0OHnvxi

--HG--
extra : rebase_source : 2fde9ffdac4a2f2e290b51f0f73dd877db60f009
2017-12-01 09:03:44 -05:00
..
schemas Bug 1370499 - Support WebExtensions bookmark context menus. r=mixedpuppy 2017-11-20 23:01:02 +00:00
test Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-12-02 12:19:55 +02:00
.eslintrc.js
ext-bookmarks.js Remove unused imports. r=trivial (no bug) 2017-11-09 16:39:57 -08:00
ext-browser.js Bug 1415913 - tabs.create without a windowId should target only normal windows, r=aswan 2017-11-20 17:00:20 -05:00
ext-browser.json Bug 1404584 Part 2: Convert ext-chrome-settings-overrides to use update and uninstall events, r=aswan,mkaply 2017-11-01 09:50:03 -04:00
ext-browserAction.js
ext-browsingData.js Bug 1404105 - Sanitize.js must check if QuotaManager returns an error before continuing with cleaning data, r=janv 2017-10-16 11:50:01 +02:00
ext-c-browser.js
ext-c-devtools-inspectedWindow.js
ext-c-devtools-panels.js
ext-c-devtools.js
ext-c-menus.js
ext-c-omnibox.js
ext-c-tabs.js
ext-chrome-settings-overrides.js Bug 1404584 Part 2: Convert ext-chrome-settings-overrides to use update and uninstall events, r=aswan,mkaply 2017-11-01 09:50:03 -04:00
ext-commands.js
ext-devtools-inspectedWindow.js Remove unused imports. r=trivial (no bug) 2017-11-09 16:39:57 -08:00
ext-devtools-network.js
ext-devtools-panels.js
ext-devtools.js Bug 1230373 - Enable mozilla/use-services for browser/components/ r=mossop 2017-10-11 15:43:51 +01:00
ext-find.js
ext-geckoProfiler.js Remove unused imports. r=trivial (no bug) 2017-11-09 16:39:57 -08:00
ext-history.js Bug 1406594 - Fix history.search and history.getVisited so that they find hidden items correctly. r=aswan,bsilverberg 2017-10-07 06:04:56 +09:00
ext-menus.js Bug 1370499 - Support WebExtensions bookmark context menus. r=mixedpuppy 2017-11-20 23:01:02 +00:00
ext-omnibox.js
ext-pageAction.js Bug 1413574 - Hide disabled page actions and offer a "Manage Extension" command for actions in extensions. r=Gijs 2017-11-10 11:06:02 -05:00
ext-pkcs11.js
ext-sessions.js
ext-sidebarAction.js Remove unused imports. r=trivial (no bug) 2017-11-09 16:39:57 -08:00
ext-tabs.js Bug 1422211 - Do not try to move a tab when it is the only tab in a window, r=mixedpuppy 2017-12-01 09:03:44 -05:00
ext-url-overrides.js Bug 1390158 - Notify user of extension controlling New Tab on first access r=aswan,jaws 2017-11-22 19:00:58 -06:00
ext-windows.js Bug 1402399 - Fix browser.windows.update to clear titlePreface if it is passed empty. r=bsilverberg, r=mixedpuppy 2017-10-13 12:38:19 +05:30
extension-mac-panel.css
extension-mac.css
extension-win-panel.css
extension.css
extension.svg
ExtensionPopups.jsm Bug 1395387 - Reconcile WebExtension page actions and Photon page actions: WebExtensions changes. r=mixedpuppy 2017-10-27 17:39:57 -04:00
extensions-browser.manifest
jar.mn
moz.build
ParseBreakpadSymbols-worker.js
ParseCppFiltSymbols-worker.js
ParseNMSymbols-worker.js
ParseSymbols.jsm