Commit Graph

446 Commits

Author SHA1 Message Date
Vineeth Karra
b08d05b811 Bug 1499661 - use 'this' instead of 'gBrowser' in moveTabsToStart and moveTabsToEnd, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D9374
2018-10-22 13:08:27 +00:00
Matthew Noorenberghe
a163a3d254 Bug 1435871 - Implement a basic tab-modal dialog container for Payment Request. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D7934
2018-10-20 03:39:32 +00:00
Ryan Hendrickson
73c29342b6 Bug 1419947 - Extend tabbrowser to track and use tab successors; r=dao
The successor of a tab is similar to the owner of a tab, in that if an active
tab is closed, the successor will be activated next. The differences are that
successor always defaults to being unset (an extension can set it through a
not-yet-implemented API), whereas tabbrowser sets owner to be the opener of
background tabs; successor is always consulted when an active tab is closed,
whereas the use of owner is gated by a pref; and when a tab is closed, hidden,
or moved to another window, any tabs whose successor is the affected tab
inherit that tab's successor, whereas in the parallel situation with owners,
the owner of such tabs is simply set to null.

Differential Revision: https://phabricator.services.mozilla.com/D4731
2018-10-19 01:08:06 +00:00
Brindusan Cristian
9d31304003 Backed out 2 changesets (bug 1435871) for multiple browser-chrome failures on payments. CLOSED TREE
Backed out changeset 0f7592b662e2 (bug 1435871)
Backed out changeset 039f6d65036e (bug 1435871)
2018-10-19 12:36:13 +03:00
Matthew Noorenberghe
ec5cf1bb78 Bug 1435871 - Implement a basic tab-modal dialog container for Payment Request. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D7934
2018-10-19 05:06:22 +00:00
Dorel Luca
4d4a327178 Backed out 3 changesets (bug 1435871) for mochitest crashes. CLOSED TREE
Backed out changeset 8eab3320b8c5 (bug 1435871)
Backed out changeset 29777ddd9def (bug 1435871)
Backed out changeset afdc3066f12c (bug 1435871)
2018-10-17 23:06:14 +03:00
Alex Gaynor
e18a440d8f Bug 1127393 - removed three now-unused helper functions for handling the window and document as CPOWs; r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D8985
2018-10-17 15:47:28 +00:00
Matthew Noorenberghe
a92837e447 Bug 1435871 - Implement a basic tab-modal dialog container for Payment Request. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D7934
2018-10-17 18:46:27 +00:00
Ed Lee
89531d788b Bug 1460423 - "New Tab" tab label is empty after restore previous session if restoring about:blank or new tabs set to "Blank Page" r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D8750
2018-10-17 11:16:38 +00:00
Jared Wein
1acd364881 Bug 629232 - Update remoteness of swapped browsers to ensure we can load them in a new window. r=mconley
We also need to guard against mStateFlags being undefined.

Differential Revision: https://phabricator.services.mozilla.com/D7839
2018-10-17 14:42:48 +00:00
Andrew Gregory
bb2905460d Bug 1497479 - Fix indentation in discardBrowser r=dao
Differential Revision: https://phabricator.services.mozilla.com/D8559
2018-10-17 10:31:38 +00:00
Oriol Brufau
3538baeb9f Bug 1499340 - Remove TabSelect event listener from _setupEventListeners. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D8862
2018-10-17 08:49:49 +00:00
Jared Wein
cf13003d69 Bug 1480532 - Remove 'Reload All Tabs' from tab context menu. r=Felipe
I left off the part about adding Reload Tabs to the All Tabs menu since the specs don't mention how this would appear with the New Container Tab menuitem and the Tab Manager project has been split off from the multiselect tabs project.

Differential Revision: https://phabricator.services.mozilla.com/D8274
2018-10-12 21:16:44 +00:00
Dão Gottwald
61ea55577c Bug 1493343 - Make adoptTab remove the new tab if the original tab couldn't be adopted. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D8077
2018-10-09 16:38:02 +00:00
Jason Laster
5dd89c5d3c Revert "Backed out changeset edc506b37439 (bug 1495300) for failing at /browser_toolbox_options_disable_buttons.js on a CLOSED TREE"
This reverts commit f42585540c95dd9a2874a75f0a10125a313979f9.
2018-10-05 10:28:46 -04:00
Jared Wein
0c8783573c Bug 1496091 - Remove 'Selected' from a couple tab context menuitems for consistency and disable instead of hide the 'Close Tab Options' item for consistency. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D7612
2018-10-03 20:06:26 +00:00
Jared Wein
d2a192e6e0 Bug 1495975 - Maintain visual order when unpinning multiple tabs. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D7572
2018-10-03 20:05:01 +00:00
Jared Wein
155ccb4b21 Bug 1480461 - Add 'Move Tab' sub-menu and 'Move To Start' and 'Move to End' options in tab context menu. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D7228
2018-10-02 20:12:28 +00:00
Jared Wein
7547f30558 Bug 1480472 - Replace 'Close Tabs to the Right' and 'Close Other Tabs' with 'Close Tab Options' submenu. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D7225
2018-10-02 19:41:38 +00:00
Mike Conley
3bc9dd6cb2 Bug 1492950 - Get rid of getBrowserForDocument, getBrowserForContentWindow and _getTabForContentWindow. r=NeilDeakin
Depends on D6716

Differential Revision: https://phabricator.services.mozilla.com/D6718
2018-10-02 17:54:15 +00:00
Mike Conley
31f7955d2a Bug 1492950 - Get tabbrowser.js and browser.js off of _getTabForContentWindow. r=NeilDeakin
Depends on D6715

Differential Revision: https://phabricator.services.mozilla.com/D6716
2018-10-02 17:53:47 +00:00
Mike Conley
10584d530d Bug 1492950 - Get rid of tabbrowser.getBrowserIndexForDocument. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D6706
2018-10-02 17:49:35 +00:00
Jared Wein
2d6a3e988f Bug 1480529 - Changed 'Bookmark All Tabs' to 'Bookmark Tab' for single tab selections. r=Felipe
I changed the toolbar context menuitem from 'Bookmark All Tabs' to 'Bookmark Selected Tabs' because it is separated from a specific tab and thus it is not clear which tab would get bookmarked if only one is selected. This seemed much clearer to me in my testing. The wording of 'Bookmark Selected Tabs' is already used elsewhere where we have 'Reload Selected Tabs', 'Close Selected Tabs', etc.

Differential Revision: https://phabricator.services.mozilla.com/D7217
2018-10-02 16:24:43 +00:00
Bogdan Tara
ad579c1651 Backed out changeset 1f4d7ab6cd6d (bug 1480529) for perma failing on browser_multiselect_tabs_bookmark.js 2018-10-02 18:33:49 +03:00
Jared Wein
f42d5228b2 Bug 1480529 - Changed 'Bookmark All Tabs' to 'Bookmark Tab' for single tab selections. r=Felipe
I changed the toolbar context menuitem from 'Bookmark All Tabs' to 'Bookmark Selected Tabs' because it is separated from a specific tab and thus it is not clear which tab would get bookmarked if only one is selected. This seemed much clearer to me in my testing. The wording of 'Bookmark Selected Tabs' is already used elsewhere where we have 'Reload Selected Tabs', 'Close Selected Tabs', etc.

Differential Revision: https://phabricator.services.mozilla.com/D7217
2018-10-02 03:19:01 +00:00
Brian Hackett
e72f877834 Bug 1495342 - Add 'Reload and Record Tab' menu item and functionality, r=jlast. 2018-10-01 09:42:50 -10:00
arthur.iakab
aee2718314 Merge mozilla-central to mozilla-inbound 2018-09-29 01:00:35 +03:00
Jared Wein
9d221a8f86 Bug 1480456 - Add 'Select All Tabs' into tab context menu. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D7129
2018-09-28 18:17:23 +00:00
Noemi Erli
e092395f45 Backed out changeset 634bcbff6b05 (bug 1480456) for failures in browser_customization_context_menus.js CLOSED TREE 2018-09-28 20:54:07 +03:00
Ehsan Akhgari
7bddc35620 Bug 1493563 - Part 5: Present the old state and the content blocking log to the web progress listeners; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6595
2018-09-28 14:46:02 -04:00
Noemi Erli
7fb8829472 Backed out 12 changesets (bug 1493563) for failures in test_css-logic-getCssPath.html CLOSED TREE
Backed out changeset d2e83655082f (bug 1493563)
Backed out changeset 1ce58f004593 (bug 1493563)
Backed out changeset 344298c73ee7 (bug 1493563)
Backed out changeset 02b8b073f7d7 (bug 1493563)
Backed out changeset 3ef707008502 (bug 1493563)
Backed out changeset bb2720a401fe (bug 1493563)
Backed out changeset ce0211be57a1 (bug 1493563)
Backed out changeset 83d6c2bf8dc6 (bug 1493563)
Backed out changeset 1844af4cc25b (bug 1493563)
Backed out changeset c8ab17addb7a (bug 1493563)
Backed out changeset a1ff0cd62563 (bug 1493563)
Backed out changeset 932b41e211e0 (bug 1493563)
2018-09-28 21:31:18 +03:00
Ehsan Akhgari
6c662bd61e Bug 1493563 - Part 5: Present the old state and the content blocking log to the web progress listeners; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6595
2018-09-28 13:24:41 -04:00
Jared Wein
693e3e8e00 Bug 1480456 - Add 'Select All Tabs' into tab context menu. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D7129
2018-09-28 14:48:40 +00:00
Marco Bonardo
6ef9e246cd Bug 1493193 - Add an initial UrlbarProvidersManager implementation. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D6508
2018-09-28 14:18:04 +00:00
Brendan Dahl
a327440df4 Bug 1492327 - Mimic XUL activeElement behavior for XUL in XHTML. r=smaug
Return the document element as the activeElement when there is no body
element, the document is chrome privileged, and the document element
is a XUL element.

MozReview-Commit-ID: JFDLAqOmLTS

Differential Revision: https://phabricator.services.mozilla.com/D6448
2018-09-25 16:00:13 +00:00
Jared Wein
899a5a8492 Bug 1482385 - Check if tooltipNode is non-null before dereferencing it. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D6708
2018-09-24 23:14:10 +00:00
Rob Wu
d3b588550f Bug 1393570 - Support cookieStoreId in windows.create extension API r=Gijs,rpl
Other (internal API) changes besides extension API changes:

- This also introduces support for opening a window with multiple tabs
  in a non-default container tab.

- This also adds LOAD_FLAGS_DISALLOW_INHERIT_PRINCIPAL to the
  gBrowser.loadTabs call, unless allowInheritPrincipal is set.
  For backwards-compatibility, this flag defaults to true.

Depends on D4928

Differential Revision: https://phabricator.services.mozilla.com/D4929
2018-09-19 10:57:48 +00:00
Jonathan Kingston
adaa868721 Bug 1485305 - browser/ Ensure loadURI always passes a triggeringPrincipal() r=Mossop
Differential Revision: https://phabricator.services.mozilla.com/D4551
2018-08-29 15:43:27 +01:00
Brindusan Cristian
6c0094d53f Backed out 10 changesets (bug 1485305) for browser-chrome failures on docshell/test/browser/browser_loadURI.js. CLOSED TREE
Backed out changeset 50439ec01661 (bug 1485305)
Backed out changeset a05e40ef7215 (bug 1485305)
Backed out changeset c99b97b4348b (bug 1485305)
Backed out changeset 75220b2f6669 (bug 1485305)
Backed out changeset e698f2fc1c1a (bug 1485305)
Backed out changeset acce14683c13 (bug 1485305)
Backed out changeset 323773a395cc (bug 1485305)
Backed out changeset 1b74152cabc1 (bug 1485305)
Backed out changeset 4b5c9d5929fc (bug 1485305)
Backed out changeset 238d92348159 (bug 1485305)
2018-09-19 18:47:27 +03:00
Jonathan Kingston
52a379b132 Bug 1485305 - browser/ Ensure loadURI always passes a triggeringPrincipal() r=Mossop
Differential Revision: https://phabricator.services.mozilla.com/D4551
2018-08-29 15:43:27 +01:00
arthur.iakab
f36e6bf3d0 Backed out 10 changesets (bug 1485305)for failing browser chrome tests on browser_loadDisallowInherit.js
Backed out changeset 138b8596a9cd (bug 1485305)
Backed out changeset d9f04aeeeef7 (bug 1485305)
Backed out changeset cd063d8afe4e (bug 1485305)
Backed out changeset 2f8a5a03ccb5 (bug 1485305)
Backed out changeset 8085d1eefd7c (bug 1485305)
Backed out changeset 3aaccb374a59 (bug 1485305)
Backed out changeset 3a111e9e5c9c (bug 1485305)
Backed out changeset 61aa1cfb0b01 (bug 1485305)
Backed out changeset bca973d90acc (bug 1485305)
Backed out changeset 4eb33bf25d6f (bug 1485305)
2018-09-18 20:30:07 +03:00
Jonathan Kingston
b7aabac2a5 Bug 1485305 - browser/ Ensure loadURI always passes a triggeringPrincipal() r=Mossop
Differential Revision: https://phabricator.services.mozilla.com/D4551
2018-08-29 15:43:27 +01:00
Tiberius Oros
75126ef309 Backed out 10 changesets (bug 1485305) for failures at browser/content/browser.js on a CLOSED TREE
Backed out changeset 63c50fd60ae4 (bug 1485305)
Backed out changeset bf0f2adb765e (bug 1485305)
Backed out changeset 721871bb64f1 (bug 1485305)
Backed out changeset e9da73786c5f (bug 1485305)
Backed out changeset e02038177b6b (bug 1485305)
Backed out changeset 35bd32f99f60 (bug 1485305)
Backed out changeset f40900bf8621 (bug 1485305)
Backed out changeset 03632075ac2c (bug 1485305)
Backed out changeset 2fee48378f73 (bug 1485305)
Backed out changeset 6263695b3cb8 (bug 1485305)
2018-09-18 14:46:54 +03:00
Jonathan Kingston
b194222905 Bug 1485305 - browser/ Ensure loadURI always passes a triggeringPrincipal() r=Mossop
Differential Revision: https://phabricator.services.mozilla.com/D4551
2018-08-29 15:43:27 +01:00
Gijs Kruitbosch
9c681e0239 Bug 1488822 - propagate allowScriptsToClose via the frameloader instead of relying on frame scripts, r=mconley,kmag,nika
Differential Revision: https://phabricator.services.mozilla.com/D5775
2018-09-15 08:26:33 +00:00
Coroiu Cristina
7eaf5bd4a0 Backed out 2 changesets (bug 1393570) for build bustage on linux on a CLOSED TREE
Backed out changeset 23f496cd8a42 (bug 1393570)
Backed out changeset e41e69aa9eb5 (bug 1393570)
2018-09-12 20:40:27 +03:00
Rob Wu
886b08d264 Bug 1393570 - Support cookieStoreId in windows.create extension API r=Gijs,rpl
Other (internal API) changes besides extension API changes:

- This also introduces support for opening a window with multiple tabs
  in a non-default container tab.

- This also adds LOAD_FLAGS_DISALLOW_INHERIT_PRINCIPAL to the
  gBrowser.loadTabs call, unless allowInheritPrincipal is set. Currently
  there are no callers that set this flag, but in case it's desired,
  I added an opt-in via window.arguments[10] in browser.xul/js.

  For single-argument URLs, the flag is an opt-out, since there are
  multiple callers that rely on principal inheritance (bug 1475201).

Depends on D4928

Differential Revision: https://phabricator.services.mozilla.com/D4929
2018-09-12 15:15:22 +00:00
Dale Harvey
02db992aaa Bug 1478348 - Dont show doorhanger on about:newtab. r=johannh
MozReview-Commit-ID: EmHV3OS6Kra
2018-09-12 16:15:03 +01:00
Tiberius Oros
967e769da9 Backed out 11 changesets (bug 1493563) for failures on dom/workers/test/test_sharedworker_event_listener_leaks.html on a CLOSED TREE
Backed out changeset 0bb55b604bfd (bug 1493563)
Backed out changeset 8e25c301675a (bug 1493563)
Backed out changeset 4f608b8801d4 (bug 1493563)
Backed out changeset f58d0b1ca088 (bug 1493563)
Backed out changeset eae105f2bf6d (bug 1493563)
Backed out changeset 7a8a0d1cfd69 (bug 1493563)
Backed out changeset dbba8451aab1 (bug 1493563)
Backed out changeset a6141dbd0328 (bug 1493563)
Backed out changeset f4ca3d8fa90e (bug 1493563)
Backed out changeset 56bab7fae64d (bug 1493563)
Backed out changeset 66787e603401 (bug 1493563)
2018-09-26 06:16:22 +03:00
Ehsan Akhgari
d60107096d Bug 1493563 - Part 5: Present the old state and the content blocking log to the web progress listeners; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6595
2018-09-25 21:02:51 -04:00