Jared Wein
d38a852ff0
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
--HG--
extra : moz-landing-system : lando
2018-10-12 21:16:44 +00:00
Dão Gottwald
3f7e0d3561
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
--HG--
extra : moz-landing-system : lando
2018-10-09 16:38:02 +00:00
Jason Laster
23c04604af
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
7535dd6f3a
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
--HG--
extra : moz-landing-system : lando
2018-10-03 20:06:26 +00:00
Jared Wein
a4f446bd82
Bug 1495975 - Maintain visual order when unpinning multiple tabs. r=Felipe
...
Differential Revision: https://phabricator.services.mozilla.com/D7572
--HG--
extra : moz-landing-system : lando
2018-10-03 20:05:01 +00:00
Jared Wein
849eed8400
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
--HG--
extra : moz-landing-system : lando
2018-10-02 20:12:28 +00:00
Jared Wein
c7db0393c6
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
--HG--
extra : moz-landing-system : lando
2018-10-02 19:41:38 +00:00
Mike Conley
e965c5db94
Bug 1492950 - Get rid of getBrowserForDocument, getBrowserForContentWindow and _getTabForContentWindow. r=NeilDeakin
...
Depends on D6716
Differential Revision: https://phabricator.services.mozilla.com/D6718
--HG--
extra : moz-landing-system : lando
2018-10-02 17:54:15 +00:00
Mike Conley
df8929c37c
Bug 1492950 - Get tabbrowser.js and browser.js off of _getTabForContentWindow. r=NeilDeakin
...
Depends on D6715
Differential Revision: https://phabricator.services.mozilla.com/D6716
--HG--
extra : moz-landing-system : lando
2018-10-02 17:53:47 +00:00
Mike Conley
c31b6c25c3
Bug 1492950 - Get rid of tabbrowser.getBrowserIndexForDocument. r=mikedeboer
...
Differential Revision: https://phabricator.services.mozilla.com/D6706
--HG--
extra : moz-landing-system : lando
2018-10-02 17:49:35 +00:00
Jared Wein
435e84add2
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
--HG--
extra : moz-landing-system : lando
2018-10-02 16:24:43 +00:00
Bogdan Tara
46ad559c5f
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
1b023a3753
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
--HG--
extra : moz-landing-system : lando
2018-10-02 03:19:01 +00:00
Brian Hackett
c27c10805b
Bug 1495342 - Add 'Reload and Record Tab' menu item and functionality, r=jlast.
...
--HG--
extra : rebase_source : d8c053278ec3d50367f63219e51cf178b8decf7a
2018-10-01 09:42:50 -10:00
arthur.iakab
f0410f8d4b
Merge mozilla-central to mozilla-inbound
2018-09-29 01:00:35 +03:00
Jared Wein
3b23598f85
Bug 1480456 - Add 'Select All Tabs' into tab context menu. r=Felipe
...
Differential Revision: https://phabricator.services.mozilla.com/D7129
--HG--
extra : moz-landing-system : lando
2018-09-28 18:17:23 +00:00
Noemi Erli
9272b83369
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
5f0be07390
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
4419e20e14
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
f0108e78c2
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
45e7e08e6d
Bug 1480456 - Add 'Select All Tabs' into tab context menu. r=Felipe
...
Differential Revision: https://phabricator.services.mozilla.com/D7129
--HG--
extra : moz-landing-system : lando
2018-09-28 14:48:40 +00:00
Marco Bonardo
c8b95a9017
Bug 1493193 - Add an initial UrlbarProvidersManager implementation. r=adw
...
Differential Revision: https://phabricator.services.mozilla.com/D6508
--HG--
rename : browser/components/urlbar/tests/unit/test_QueryContext.js => browser/components/urlbar/tests/unit/test_providerOpenTabs.js
rename : browser/components/urlbar/tests/unit/test_QueryContext.js => browser/components/urlbar/tests/unit/test_providersManager.js
extra : moz-landing-system : lando
2018-09-28 14:18:04 +00:00
Brendan Dahl
6c049f28fa
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
--HG--
extra : moz-landing-system : lando
2018-09-25 16:00:13 +00:00
Jared Wein
b83ae8cfed
Bug 1482385 - Check if tooltipNode is non-null before dereferencing it. r=Felipe
...
Differential Revision: https://phabricator.services.mozilla.com/D6708
--HG--
extra : moz-landing-system : lando
2018-09-24 23:14:10 +00:00
Rob Wu
6a8bd50325
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
--HG--
extra : moz-landing-system : lando
2018-09-19 10:57:48 +00:00
Jonathan Kingston
82cf4833c8
Bug 1485305 - browser/ Ensure loadURI always passes a triggeringPrincipal() r=Mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D4551
--HG--
extra : source : 2b7baed037199f16100d13e0057a5d1054fca14c
extra : intermediate-source : 091677bcef226cc780c0d60f34754e1cd8de8974
2018-08-29 15:43:27 +01:00
Brindusan Cristian
1db0587c0e
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
10c02f08ca
Bug 1485305 - browser/ Ensure loadURI always passes a triggeringPrincipal() r=Mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D4551
--HG--
extra : source : 2b7baed037199f16100d13e0057a5d1054fca14c
2018-08-29 15:43:27 +01:00
arthur.iakab
d2e647e133
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
c5b234e0ea
Bug 1485305 - browser/ Ensure loadURI always passes a triggeringPrincipal() r=Mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D4551
--HG--
extra : source : b4b9736b30b679bba6b496c4191a17529241f0d7
2018-08-29 15:43:27 +01:00
Tiberius Oros
3235f6720f
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
29f458a74f
Bug 1485305 - browser/ Ensure loadURI always passes a triggeringPrincipal() r=Mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D4551
--HG--
extra : source : 303ab4e89ad1d346107ab2a0006a89bb4e38742c
2018-08-29 15:43:27 +01:00
Gijs Kruitbosch
659898b84e
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
--HG--
extra : moz-landing-system : lando
2018-09-15 08:26:33 +00:00
Coroiu Cristina
437a9f5e37
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)
--HG--
extra : source : 56a508217ab7e7c28e1e5622f8dd31caa98a8706
2018-09-12 20:40:27 +03:00
Rob Wu
66071655a7
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
--HG--
extra : rebase_source : 23f496cd8a42d49f732e0ba4bae7cb0cc8aa5818
2018-09-12 15:15:22 +00:00
Dale Harvey
9a497be87b
Bug 1478348 - Dont show doorhanger on about:newtab. r=johannh
...
MozReview-Commit-ID: EmHV3OS6Kra
2018-09-12 16:15:03 +01:00
Tiberius Oros
70e8d3a299
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
4ced8fedcb
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
Rob Wu
3afb2de6c7
Bug 1415333 - Use tab.setAttribute instead of tab.setUserContextId r=Gijs
...
Use tab.setAttribute instead of tab.setUserContextId, in case the XBL
bindings are not ready yet.
Differential Revision: https://phabricator.services.mozilla.com/D5013
--HG--
extra : moz-landing-system : lando
2018-09-05 09:53:17 +00:00
Rob Wu
e69ac92ea0
Bug 1415333 - Set correct userContextId at window creation r=Gijs
...
The container tab indicator should also be set on the tab, not just on
the browser. Otherwise it is possible for the indicator to be missing
when a new window is opened.
And previously, if the URL was an "about:blank" URL, the tab in the new
window would use the default container because of the early return in
_handleURIToLoad. This is fixed by accounting for window.arguments[6]
when initializing the default (about:blank) tab in the tabbrowser.
Unit tests for these code path will be added in bug 1393570.
Differential Revision: https://phabricator.services.mozilla.com/D4920
--HG--
extra : moz-landing-system : lando
2018-09-05 09:39:56 +00:00
Brian Grinstead
743343fdfc
Bug 1485157 - Check to make sure document.activeElement exists before attempting to blur it;r=Gijs
...
We're ending up in a case here where document.activeElement is null in
browser.xhtml but it's a <browser> tag in browser.xul.
We'll need more analysis and testing to decide if we want the HTML or XUL
activeElement behavior, and then adjust as needed. But in the meantime,
this unbreaks a bunch of browser.xhtml tests and is a safe null check in
both cases.
Differential Revision: https://phabricator.services.mozilla.com/D4705
--HG--
extra : moz-landing-system : lando
2018-09-04 20:46:08 +00:00
Mark Banner
691543ee89
Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
...
Automatic changes by ESLint, except for manual corrections for .xml files.
Differential Revision: https://phabricator.services.mozilla.com/D4439
--HG--
extra : moz-landing-system : lando
2018-08-31 05:59:17 +00:00
Abdoulaye O. Ly
c72e4554a1
Bug 1483786 - Add aOptions object param to 'replaceTabsWithWindow' function in browser/base/content/tabbrowser.js file. r=jaws
...
replaceTabsWithWindow calls replaceTabWithWindow to create a new window window with a first tab.
But unlike the later function, the former cited function don't take an object param (aOptions) containing informations such as the mouse position (which helps set the new window position).
To adress the issue, we added support for passing an option param to replaceTabsWithWindow which just transferts the param to replaceTabWithWindow.
Differential Revision: https://phabricator.services.mozilla.com/D4735
--HG--
extra : moz-landing-system : lando
2018-08-31 05:11:34 +00:00
Jared Wein
bac44c8022
Bug 1481473 - Hide the 'Duplicate Tab' menuitem when there is a selection of tabs. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D4549
--HG--
extra : moz-landing-system : lando
2018-08-29 18:07:30 +00:00
Jared Wein
2c02e520a9
Bug 1468440 - Update close, unblock audio and mute/unmute button tooltips for multi-selected tabs. r=mconley,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D4390
--HG--
extra : moz-landing-system : lando
2018-08-29 18:44:35 +00:00
Arshad Kazmi
43fb2c87eb
Bug 1396684 - Allow extensions to access tab's "attention" flag r=mixedpuppy,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D3984
--HG--
extra : moz-landing-system : lando
2018-08-28 14:41:31 +00:00
Gijs Kruitbosch
a69092408a
Bug 1486079 - create initial browser dynamically so we can set various attributes from the start, r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D4248
--HG--
extra : moz-landing-system : lando
2018-08-28 11:07:34 +00:00
Bianca Danforth
16d89ecabc
Bug 1457226 - Revert Savant Shield study commits; r=rhelmer
...
The Savant pref flip Shield study was ended on 08-20-18 (https://bugzilla.mozilla.org/show_bug.cgi?id=1457226#c28 ), so this patch removes all temporary study code from Firefox.
Differential Revision: https://phabricator.services.mozilla.com/D4285
--HG--
extra : moz-landing-system : lando
2018-08-27 18:17:43 +00:00
Oriol Brufau
6be8c01caa
Bug 1479129 - Implement support for updateProperties.highlighted in browser.tabs.update(). r=mixedpuppy,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D3800
--HG--
extra : moz-landing-system : lando
2018-08-23 22:09:45 +00:00
Dorel Luca
d9bdf77969
Merge mozilla-central to autoland
2018-08-21 12:57:58 +03:00
Mike Conley
bda8a0dccd
Bug 1478112 - Get rid of preselect tabbox workaround, and adjust focus after changing visible tab right away. r=dao
...
The "select" event handler workaround was originally added in bug 1379270 to make it
possible to focus and select the URL bar a little bit later. This ugly hack was to
workaround an issue with WebExtensions that override about:newtab with the
chrome_url_overrides property (the issue would be that the URL bar would not be
properly focused and selected if about:newtab was overridden).
Back in the day, this was necessary because the overriding URL was fully displayed
in the URL bar (moz-webextension://...). These days, when about:newtab is overridden,
the URL bar is still empty - we just end up showing the information about the
WebExtension overriding about:newtab to the left of the URL bar.
So I think we can remove the old workaround.
Differential Revision: https://phabricator.services.mozilla.com/D3447
--HG--
extra : moz-landing-system : lando
2018-08-21 06:55:47 +00:00
Brindusan Cristian
7437f62a4d
Backed out changeset 5a6ea725be3f (bug 1472476) for ESlint failure on /sessionstore/TabState.jsm:15:1. CLOSED TREE
2018-08-20 19:06:53 +03:00
Dave Townsend
9eb7b35b8b
Bug 1472476: Allow restoring sessions from before favicons were only allowed to be local schemes. r=adw
...
Re-introduces support for setting remote icons provided a loading principal is
passed. Removes some now defunkt code from sessionstore.
Differential Revision: https://phabricator.services.mozilla.com/D3123
--HG--
extra : moz-landing-system : lando
2018-08-20 15:46:39 +00:00
Dave Townsend
79bc1ca39f
Bug 1472476: Allow restoring sessions from before favicons were only allowed to be local schemes. r=adw
...
Re-introduces support for setting remote icons provided a loading principal is
passed. Removes some now defunkt code from sessionstore.
Differential Revision: https://phabricator.services.mozilla.com/D3123
--HG--
extra : rebase_source : f039f34d13aa43c52af880d8f59962f6450791be
extra : amend_source : e60b5d7fb22538728837d5196b866ecf2284bc64
2018-08-20 12:32:27 -07:00
Dale Harvey
f0d25ece63
Bug 1477294 - Hide identity popup when the user reloads. r=johannh
...
MozReview-Commit-ID: 26f1lSVKiVA
2018-08-18 11:21:30 +01:00
sahil bhosale
bdc29311ba
Bug 1478855 - Use ES6 default parameter in updateBrowserRemotenessByURL. r=dao
2018-08-15 17:24:42 +05:30
Jared Wein
c1cd17d554
Bug 1476854 - Expose whether tabs are multiselected for accessibility. r=dao,Jamie
...
MozReview-Commit-ID: 4LAwQxqrKiO
--HG--
extra : rebase_source : 2c1475ab4ad260922d3a65ce510277a506021be2
2018-07-31 16:40:17 -04:00
Brian Grinstead
829d7647d3
Bug 1479538 - Rewrite non-test callers of document.createElementNS(XUL_NS, ...) to use document.createXULElement(...);r=paolo
...
Differential Revision: https://phabricator.services.mozilla.com/D3275
--HG--
extra : moz-landing-system : lando
2018-08-14 16:22:44 +00:00
Brian Grinstead
ac11fd9d1f
Bug 1442058 - Override loadURI on tabbrowser browsers with an expando property;r=dao
...
This allows us to remove the XBL binding inheritance, simplifying the tree of
XBL bindings under "browser" and deleting two bindings in the process.
Differential Revision: https://phabricator.services.mozilla.com/D3263
--HG--
extra : moz-landing-system : lando
2018-08-14 10:14:56 +00:00
Jonathan Kingston
a91f8e8108
Bug 1466801 - Flipping disallowInheritPrincipal to be allow. r=ckerschb r=gijs
...
--HG--
rename : browser/base/content/test/general/browser_utilityOverlay.js => browser/base/content/test/contextMenu/browser_utilityOverlay.js
extra : source : 5eab8f37c4bd6048057069cb0ac2ab0b4729d950
2018-07-16 10:17:51 +01:00
Bogdan Tara
89268618f4
Backed out changeset c9b0ce46ad4f (bug 1466801) for pause-remove-from-document-networkState.html failures CLOSED TREE
...
--HG--
rename : browser/base/content/test/contextMenu/browser_utilityOverlay.js => browser/base/content/test/general/browser_utilityOverlay.js
2018-08-11 03:20:30 +03:00
Jonathan Kingston
c24e0873da
Bug 1466801 - Flipping disallowInheritPrincipal to be allow. r=ckerschb r=gijs
...
--HG--
rename : browser/base/content/test/general/browser_utilityOverlay.js => browser/base/content/test/contextMenu/browser_utilityOverlay.js
extra : source : a7bdcc1e1373724effb0bec2d80eb9c63ae782a1
2018-07-16 10:17:51 +01:00
Margareta Eliza Balazs
f617807241
Merge inbound to mozilla-central. a=merge
2018-08-10 12:17:09 +03:00
Abdoulaye O. Ly
fc3a10730b
Bug 1481700 - Release clear-selection lock when 'mouseup' event is fired for tabs. r=jaws
...
Reapply backed out changetset with 'browser/base/content/test/tabs/multiselect_tabs_event.js' tests fixed.
Differential Revision: https://phabricator.services.mozilla.com/D3037
--HG--
extra : moz-landing-system : lando
2018-08-09 18:47:56 +00:00
Abdoulaye O. Ly
19bf2f8d32
Bug 1458056 - Implement ability to move a selection of tabs into another window through drag and drop. r=jaws
...
MozReview-Commit-ID: LFFoE6HsBp8
Differential Revision: https://phabricator.services.mozilla.com/D2986
--HG--
extra : moz-landing-system : lando
2018-08-09 18:45:52 +00:00
Brian Grinstead
abf1620630
Bug 1479125 - Migrate calls that expect an element to be returned to use element variation firstChild etc to firstElementChild etc;r=Paolo
...
This allows the JS to work in HTML documents, where whitespace is preserved. In XUL
documents, whitespace is ignored when parsing so text nodes are generally not returned.
The following changes were made, with manual cleanups as necessary (i.e. when firstChild actually
refers to a text node, or when firstChild is used in a loop to empty out an element):
firstChild->firstElementChild
lastChild->lastElementChild
nextSibling->nextElementSibling
previousSibling->previousElementSibling
childNodes->children
MozReview-Commit-ID: 95NQ8syBhYw
--HG--
extra : rebase_source : 186d805f7a2a56694dda9032aceac2dfe5424753
2018-08-08 15:22:53 -07:00
Noemi Erli
be6ab34c54
Merge mozilla-central to inbound. a=merge CLOSED TREE
...
--HG--
extra : rebase_source : 691b5b30b6c3b2ddece605c045ad913e466fdbab
2018-08-10 00:35:58 +03:00
Jonathan Kingston
9b7fb2f20c
Bug 1362034 - Have addTab() provide the correct triggering principal. r=ckerschb r=Gijs
...
Reviewers: ckerschb!, Gijs!
Tags: #secure-revision
Bug #: 1362034
Differential Revision: https://phabricator.services.mozilla.com/D2046
--HG--
extra : source : 44b25dea67d2ed079e17057ab619d827e9983400
extra : amend_source : 5742820277e0269b6f5d42b1abd98fd9b228ac4a
extra : histedit_source : 790bd2490333e4d8fea7774d036eafbc2fc329b9
2018-07-06 15:14:54 +01:00
dvarga
12f19b94e9
Backed out 2 changesets (bug 1362034) for failure at browser/tools/mozscreenshots/primaryUI/browser_primaryUI.js on a CLOSED TREE
...
Backed out changeset 1c3329958b8a (bug 1362034)
Backed out changeset f68b1b76af36 (bug 1362034)
--HG--
extra : histedit_source : 6169c5ffe856266d3bc8b2ca32f4b67054c71bbe
2018-08-08 22:11:56 +03:00
dvarga
fec90d34dd
Backed out changeset 0bcce164a404 (bug 1481700) failure at browser/base/content/test/tabs/browser_multiselect_tabs_using_Shift.js on a CLOSED TREE
2018-08-08 22:08:03 +03:00
Abdoulaye O. Ly
12717a07c9
Bug 1481700 - Release clear-selection lock when 'mouseup' event is fired for tabs. r=jaws
...
MozReview-Commit-ID: FslyILLXMrj
--HG--
extra : rebase_source : 55c14ce7244ba7c3eab5eec87d5a4004bd69ee0b
2018-08-08 03:00:29 +00:00
Jonathan Kingston
f389570122
Bug 1362034 - Have addTab() provide the correct triggering principal. r=ckerschb,Gijs
...
Reviewers: ckerschb, Gijs
Reviewed By: ckerschb, Gijs
Subscribers: mixedpuppy, reviewbot
Bug #: 1362034
Differential Revision: https://phabricator.services.mozilla.com/D2046
--HG--
extra : rebase_source : ea688b35744f970e74de3039da3973f1177d8577
extra : amend_source : 89efdb8ccec2c334a83155eec6b30f08fa0f7074
2018-08-08 20:03:55 +03:00
Kris Maglione
5ccef39c52
Bug 1479318: Minimize the amount of content Findbar code loaded by default. r=felipe
...
MozReview-Commit-ID: Gu4RyWKmaAz
--HG--
rename : toolkit/content/browser-content.js => toolkit/modules/FindBarChild.jsm
extra : source : 177e4adb94d1b63002577995deed230ba15624f8
extra : intermediate-source : 915862a355e959c92c9ea7fb1cd7adbcf03bfb98
2018-07-29 14:38:44 -07:00
Cosmin Sabou
901f34bef4
Backed out 12 changesets (bug 1479309, bug 1479312, bug 1479313, bug 1479310, bug 1479235, bug 1479945, bug 1479241, bug 1479318) for causing a big performance regression on OS X. a=backout
...
Backed out changeset 915862a355e9 (bug 1479318)
Backed out changeset f150e62dcbbd (bug 1479241)
Backed out changeset a68daa762119 (bug 1479312)
Backed out changeset 2a5aa9de1fd9 (bug 1479945)
Backed out changeset 163276881d35 (bug 1479945)
Backed out changeset 20a1a11b4d0b (bug 1479945)
Backed out changeset ca43bd11f431 (bug 1479945)
Backed out changeset 71700b368132 (bug 1479945)
Backed out changeset f5d647fae973 (bug 1479313)
Backed out changeset 3583823171de (bug 1479310)
Backed out changeset 2d46e1fe3121 (bug 1479309)
Backed out changeset 8f9c9580f687 (bug 1479235)
--HG--
rename : browser/components/uitour/ContentUITour.jsm => browser/components/uitour/content-UITour.js
rename : dom/ipc/ManifestMessages.jsm => dom/ipc/manifestMessages.js
rename : toolkit/components/normandy/content/ShieldFrameListener.jsm => toolkit/components/normandy/content/shield-content-frame.js
rename : toolkit/components/normandy/shield-content-process.js => toolkit/components/normandy/content/shield-content-process.js
2018-08-07 17:30:52 +03:00
Oriol Brufau
757eed8c02
Bug 1479130 - Dispatch TabMultiSelect event when multiselection changes
...
MozReview-Commit-ID: JkLJyDXbOKL
--HG--
extra : rebase_source : 1e03626e9c6b4cbf850ce8e95fc69d9e715daba2
2018-07-28 02:25:34 +02:00
Abdoulaye O. Ly
497a22d1d5
Bug 1477780 - In a multi-select context, 'Close Tabs To The Right' closes tabs located to right of the rightmost selected tab. r=jaws
...
MozReview-Commit-ID: 6Kwnv8fvFLa
--HG--
extra : rebase_source : c880c87b0c06bde570c0dad0c09136a715a251ae
2018-07-30 15:04:32 +00:00
Noemi Erli
58e27f3dd9
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-08-02 12:04:24 +03:00
Noemi Erli
8f66a71e70
Merge inbound to mozilla-central. a=merge
2018-08-02 11:54:46 +03:00
Andreea Pavel
b61c8b8293
Backed out changeset 177e4adb94d1 (bug 1479318) for failing android on different files on a CLOSED TREE
2018-08-02 03:10:16 +03:00
Kris Maglione
df9c9824a6
Bug 1479318: Minimize the amount of content Findbar code loaded by default. r=felipe
...
MozReview-Commit-ID: Gu4RyWKmaAz
--HG--
rename : toolkit/content/browser-content.js => toolkit/modules/FindBarChild.jsm
extra : rebase_source : 09af1eb3d02ed2403d76671bda627ef09067cfe7
2018-07-29 14:38:44 -07:00
Kris Maglione
5482f0b45c
Bug 1479318: Minimize the amount of content Findbar code loaded by default. r=felipe
...
MozReview-Commit-ID: Gu4RyWKmaAz
--HG--
rename : toolkit/content/browser-content.js => toolkit/modules/FindBarChild.jsm
extra : rebase_source : 7dc4ed4615f87c0ea9897105e2c62d69020c2940
extra : source : 177e4adb94d1b63002577995deed230ba15624f8
2018-07-29 14:38:44 -07:00
Abdoulaye O. Ly
c45c4fbe32
Bug 1458066 - Implement ability to move a selection of tabs within the same window through drag and drop. r=jaws
...
MozReview-Commit-ID: A3t0CAgrI5Z
--HG--
rename : browser/base/content/test/general/browser_tabReorder.js => browser/base/content/test/tabs/browser_tabReorder.js
extra : rebase_source : d3c329ab3ff02bdcae03cbd749ac83a0e34a9512
2018-07-23 19:01:17 +00:00
alwu
5116578704
Bug 1476701 - notify observer when audible autoplay occurred. r=cpearce,jaws
...
In our autoplay shield-study, we want to collect the information which could tell us how many website
contains audible autoplay media, but there is no way to get this information on current API desigin.
Therefore, I would like to send a new notification when autoplay occurred.
The extension code could get the information by following way,
```
Services.obs.addObserver((subject, topic, data) => {
// DO SOMETHING
}, "AudibleAutoplayMediaOccurred");
```
MozReview-Commit-ID: 4bSYcxDZOGK
--HG--
extra : rebase_source : 2a4f060dbd582419bf0727408b04f2540155aa02
2018-07-25 09:08:44 -07:00
Dão Gottwald
25eb433a54
Bug 1479775 - Rename removeTabs' aParams variable. r=jaws
...
MozReview-Commit-ID: 3ZtCme8mCdC
--HG--
extra : rebase_source : 1eb0422e88f3a7426dd927e3b3ecd5e318b00863
2018-07-31 16:11:47 +02:00
Boris Zbarsky
4abc5c5a25
Bug 1446940 part 2. Stop getting docshells from windows via getInterface in browser. r=gijs
2018-08-01 13:07:10 -04:00
Abdoulaye O. Ly
e2bd8118b8
Bug 1476844 - Clear selected tabs whenever 'TabSelect' event is fired except when switching tab from 'switchToNextMultiSelectedTab' function in /browser/base/content/tabbrowser.js. r=jaws
...
MozReview-Commit-ID: J2DyAbQJITo
--HG--
extra : rebase_source : d6aadcf62481ac180cfffe6f36af94445170315f
2018-07-21 02:32:19 +00:00
Abdoulaye O. Ly
c9c73b50e7
Bug 1478652 - removeTabs passes '{animate: true}' instead of '{animation: true}' options object to removeTab in tabbrowser.js file. r=jaws
...
MozReview-Commit-ID: 1yzAITw6j1q
--HG--
extra : rebase_source : 8155b608165b7f0f453c9bb892a8f27cb724e477
2018-07-28 04:49:02 +00:00
Dão Gottwald
2f2658219c
Bug 1478635 - Remove _createBrowser's 'remote' parameter. r=Gijs
...
MozReview-Commit-ID: 2AmpUaJVM8G
--HG--
extra : rebase_source : 3445cf47576c69864c7d385bf594099337e39f54
2018-07-27 18:04:24 +02:00
Dão Gottwald
2e725785fe
Bug 1479031 - Use destructuring assignment for optional loadTabs parameters. r=jaws
...
MozReview-Commit-ID: FMRObafFcS9
--HG--
extra : rebase_source : 7632a9ae1b58fd9162c3ea9ab11b05ea8b89a8ba
2018-07-27 19:00:40 +02:00
Dão Gottwald
f975ec5a3f
Bug 1478650 - Use destructuring assignment for optional removeTab parameters. r=Gijs
...
MozReview-Commit-ID: HVxGD44yiSy
--HG--
extra : rebase_source : 4cccc96298e17d7c6e10469fff0f718f8dfac08e
2018-07-26 15:31:55 +02:00
Dão Gottwald
14a5c3ea7a
Bug 1478606 - Use destructuring assignment for optional updateBrowserRemoteness parameters. r=Gijs
...
MozReview-Commit-ID: JONW2RBnuLX
--HG--
extra : rebase_source : d7b103c51c97ea06a8f2495de9d3c803c99a5037
2018-07-26 15:08:29 +02:00
Dão Gottwald
77680d5d2d
Bug 1478621 - Use destructuring assignment for optional _setTabLabel parameters. r=Gijs
...
MozReview-Commit-ID: 3fGgpxQgIma
--HG--
extra : rebase_source : 73faa7cfe0a95d97ff5622858f61e5443c597c16
2018-07-26 13:35:54 +02:00
Dão Gottwald
1b65d14a0e
Bug 1478618 - Use destructuring assignment for optional _createBrowser parameters. r=Gijs
...
MozReview-Commit-ID: 6oz7YiR0sU6
--HG--
extra : rebase_source : 46d62c57527a080b7bae8bcfdd488e8022f465be
2018-07-26 13:26:01 +02:00
Brian Hackett
8f246a4b12
Bug 1465477 Part 1 - Add menu items and prefs for recording/replaying tabs, r=markh.
...
--HG--
extra : rebase_source : 23307266b2df128845df3ee9972fab240754019d
2018-07-24 21:32:16 +00:00
Boris Zbarsky
270fa12c79
Bug 1476145 part 3. Stop using getInterface(nsIDOMWindowUtils) in browser/. r=gijs
2018-07-24 19:47:41 -04:00
Brian Grinstead
96dc530924
Bug 1476333 - Refer to AppConstants.BROWSER_CHROME_URL to get the browser URL from the frontend;r=Gijs
...
Before this change, we accessed the browser URL in the following ways:
- "chrome://browser/content/browser.xul"
- "chrome://browser/content/" (which redirects to chrome://browser/content/browser.xul)
- Services.prefs.getCharPref("browser.chromeURL") which returns "chrome://browser/content/"
- getBrowserURL() from utilityOverlay.js
MozReview-Commit-ID: I5vtRke1x9t
--HG--
extra : rebase_source : c525350a1954740873e85b045cbb14a8b43aa89d
2018-07-24 08:12:50 -07:00
Dão Gottwald
d0a8d0ffb2
Bug 1442582 - Remove the tabbrowser-tabpanels binding. r=dao
...
MozReview-Commit-ID: HcQgRbvcdiV
--HG--
extra : rebase_source : 4eaebcb9e651f5e5e90a5082cb04678b4739e585
2018-03-16 22:30:01 +01:00
Abdoulaye O. Ly
c619a45c9b
Bug 1477724 - 'Move To New Window' moves now contextTab instead of selectedTab in single tab context. r=jaws
...
MozReview-Commit-ID: 2c5QFuSO6kU
--HG--
extra : rebase_source : ef1c0a1b113c8684ee43726995598aedcf3d64a9
2018-07-23 19:53:56 +00:00
Abdoulaye O. Ly
64c9f57859
Bug 1475427 - Refactor warnAboutClosingTabs function in tabbrowser.js so that it directly takes the number of tabs to close as param. r=jaws
...
MozReview-Commit-ID: Hhdanmwx7rN
--HG--
extra : rebase_source : 41f17f27f914f017877c74dfcbaa12c388cd265e
2018-07-18 19:30:36 +00:00
Haik Aftandilian
59a99c8595
Bug 1350642 - Keep the tabCountResizable property in sync; r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D2197
--HG--
extra : moz-landing-system : lando
2018-07-19 18:05:35 +00:00