Commit Graph

19691 Commits

Author SHA1 Message Date
Mike Conley
4c4d1d51b4 Bug 1492482 - Remove CPOW usage from browser_urlbarKeepStateAcrossTabSwitches.js. r=Gijs
Depends on D6953

Differential Revision: https://phabricator.services.mozilla.com/D6954

--HG--
extra : moz-landing-system : lando
2018-10-02 17:56:57 +00:00
Mike Conley
11645f29ef Bug 1492482 - Remove CPOW usage from browser_urlbarHashChangeProxyState.js r=Gijs
Depends on D6952

Differential Revision: https://phabricator.services.mozilla.com/D6953

--HG--
extra : moz-landing-system : lando
2018-10-02 17:56:29 +00:00
Mike Conley
8d074a7627 Bug 1492482 - Remove CPOW usage from browser_Bug 1492482.js r=johannh
Depends on D6950

Differential Revision: https://phabricator.services.mozilla.com/D6952

--HG--
extra : moz-landing-system : lando
2018-10-02 17:56:03 +00:00
Mike Conley
2995b63470 Bug 1492482 - Remove CPOW usage from browser_pageinfo_image_info.js r=florian
Depends on D6949

Differential Revision: https://phabricator.services.mozilla.com/D6950

--HG--
extra : moz-landing-system : lando
2018-10-02 17:55:32 +00:00
Mike Conley
8559b263d0 Bug 1492482 - Remove CPOW usage from browser_tab_dragdrop2.js. r=Gijs
Depends on D6947

Differential Revision: https://phabricator.services.mozilla.com/D6949

--HG--
extra : moz-landing-system : lando
2018-10-02 17:55:07 +00:00
Mike Conley
0972057135 Bug 1492482 - Remove CPOW usage from browser_keywordSearch_postData.js r=mkaply
Depends on D6718

Differential Revision: https://phabricator.services.mozilla.com/D6947

--HG--
extra : moz-landing-system : lando
2018-10-02 17:54:39 +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
1b527cf1fc Bug 1492950 - Get browser.js off of getBrowserForContentWindow. r=Gijs
Depends on D6713

Differential Revision: https://phabricator.services.mozilla.com/D6714

--HG--
extra : moz-landing-system : lando
2018-10-02 17:53:01 +00:00
Mike Conley
afd250e0d3 Bug 1492950 - Get browser-fullScreenAndPointerLock.js off of getBrowserForContentWindow. r=jaws
Depends on D6712

Differential Revision: https://phabricator.services.mozilla.com/D6713

--HG--
extra : moz-landing-system : lando
2018-10-02 17:52:56 +00:00
Mike Conley
441aadf5f8 Bug 1492950 - Get browser-fullZoom.js and ZoomUI.jsm off of getBrowserForDocument. r=florian
Depends on D6710

Differential Revision: https://phabricator.services.mozilla.com/D6711

--HG--
extra : moz-landing-system : lando
2018-10-02 17:51:11 +00:00
Mike Conley
0d561ff26a Bug 1492950 - Get rid of getTabModalPromptBox in browser.js. r=Gijs,MattN
Depends on D6709

Differential Revision: https://phabricator.services.mozilla.com/D6710

--HG--
extra : moz-landing-system : lando
2018-10-02 17:50:42 +00:00
Mike Conley
7fc357cb04 Bug 1492950 - Move ZoomManager reset for crashed tabs into ContentCrashHandlers.jsm. r=Felipe
Depends on D6706

Differential Revision: https://phabricator.services.mozilla.com/D6709

--HG--
extra : moz-landing-system : lando
2018-10-02 17:50:09 +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
Xidorn Quan
d66d53c7bf Bug 1477525 part 2 - Try hiding toolbox again when input in chrome loses the focus. r=dao
MozReview-Commit-ID: LnwVXN4oS2Z

Depends on D6750

Differential Revision: https://phabricator.services.mozilla.com/D6751

--HG--
extra : moz-landing-system : lando
2018-10-02 12:57:40 +00:00
Xidorn Quan
badd5e80ea Bug 1477525 part 1 - Merge the logic of _safeToCollapse into hideNavToolbox. r=dao
MozReview-Commit-ID: 1SEUVGprmv3

Differential Revision: https://phabricator.services.mozilla.com/D6750

--HG--
extra : moz-landing-system : lando
2018-10-02 12:57:37 +00:00
Dão Gottwald
9597af1efc Bug 1495291 - Remove obsolete code that marks the "Hide Bookmarks Toolbar" as checked. r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D7397

--HG--
extra : moz-landing-system : lando
2018-10-02 10:02:08 +00:00
Brindusan Cristian
fc5031a446 Merge inbound to mozilla-central. a=merge 2018-10-02 07:01:43 +03:00
Rob Wu
4cb234ed7e Bug 1416839 - Add viewType/viewTypes to menus API r=mixedpuppy
- Support viewTypes property in menus.create / menus.update.
- Add info.viewType to menus.onShown / menus.onClicked event.
- This "viewType" reuses the existing extension.ViewType enum,
  which is a "tab", "popup" (pageAction/browserAction) or "sidebar".

Differential Revision: https://phabricator.services.mozilla.com/D6205

--HG--
extra : moz-landing-system : lando
2018-10-01 16:56:53 +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
Brian Hackett
2ff1490550 Bug 1495341 - Place Web Replay menu items in their own submenu, r=jlast.
--HG--
extra : rebase_source : f710745682fe0bce31a8c4f97edfbf2868507c10
2018-10-01 09:41:32 -10:00
arthur.iakab
85fd583cf2 Merge mozilla-central to autoland 2018-09-29 07:17:34 +03:00
Drew Willcoxon
3f112a8327 Bug 1491724 - Search engine keyword should be highlighted only when the search will actually be performed on the corresponding search engine r=mak
My reasoning in https://bugzilla.mozilla.org/show_bug.cgi?id=1484737#c3 was wrong. I assumed that if a result started with a search alias then it had to be a search alias result, but that's clearly not true.

This is such a pain to get right, and all the messy logic in this patch reflects that.

Differential Revision: https://phabricator.services.mozilla.com/D6528

--HG--
extra : moz-landing-system : lando
2018-09-28 23:29:26 +00: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
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
Coroiu Cristina
21739daf9b Merge autoland to mozilla-central a=merge 2018-09-28 07:31:35 +03:00
Coroiu Cristina
62682de0ba Backed out changeset 39762ef5d56e (bug 1493427) for frequent talos chrome failures a=backout
--HG--
rename : browser/base/content/test/siteIdentity/browser_navigation_failures.js => browser/base/content/test/siteIdentity/browser_tls_handshake_failure.js
2018-09-28 07:29:39 +03:00
Brian Grinstead
eaaac5ca03 Bug 1460982 - Convert <searchbar> to a Custom Element;r=adw
Differential Revision: https://phabricator.services.mozilla.com/D5912

--HG--
rename : browser/components/search/content/search.xml => browser/components/search/content/searchbar.js
extra : moz-landing-system : lando
2018-09-27 23:09:55 +00:00
Dana Keeler
b3b9e414bc bug 1493427 - use the docShell to call OnSecurityChange in nsSecureBrowserUIImpl::OnLocationChange r=Gijs
When navigating to an about: page that doesn't exist (e.g.
"about:somethingthatdoesnotexist"), the docShell will call
nsSecureBrowserUIImpl::OnLocationChange with a request that is null.
Consequently, we can't use that to QueryInterface to a nsISecurityEventSink to
call OnSecurityChange. The previous implementation would use the prior
request's nsISecurityEventSink, which was a bug but luckily this produced the
correct behavior. Since the original docShell the nsSecureBrowserUIImpl was
initialized with is what needs to be notified, we can just QueryInterface that
to an nsISecurityEventSink and call OnSecurityChange directly instead.

Differential Revision: https://phabricator.services.mozilla.com/D6951

--HG--
rename : browser/base/content/test/siteIdentity/browser_tls_handshake_failure.js => browser/base/content/test/siteIdentity/browser_navigation_failures.js
extra : moz-landing-system : lando
2018-09-27 17:26:00 +00:00
Jared Wein
7da631f438 Bug 1469935 - Ctrl+M should mute/unmute all selected tabs in a multiselect context. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D6948

--HG--
extra : moz-landing-system : lando
2018-09-26 20:46:09 +00:00
Jared Wein
b08075b904 Bug 1492702 - Send the contextual link to the device, not the selected tab when a link is right-clicked. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D6980

--HG--
extra : moz-landing-system : lando
2018-09-27 07:49:05 +00:00
Dão Gottwald
da0f415be6 Bug 1491255 - Port URL trimming from urlbarBindings.xml to UrlbarInput.jsm. r=standard8 2018-09-26 17:44:04 +02:00
Rob Wu
ee0928a251 Bug 1367160 - Allow extensions to hide default menu items r=mixedpuppy
The new method allows extensions to modify menu items in their own
moz-extension:-pages, with the following features:

- All matching extension items are shown in the root menu (instead of
  being moved into a submenu), above other menu items, if any.
- The icons for these menu items are customizable.
- Optionally, the default menu items (including those from other
  extensions) can be hidden.

Depends on D6621

Differential Revision: https://phabricator.services.mozilla.com/D6622

--HG--
extra : moz-landing-system : lando
2018-09-25 16:41:47 +00:00
arthur.iakab
f0410f8d4b Merge mozilla-central to mozilla-inbound 2018-09-29 01:00:35 +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
arthur.iakab
a4258c4cc7 Backed out changeset 8cb351adc7d3 (bug 1491255)for failing test verify on browser_urlbarTrimURLs.js 2018-09-26 18:22:56 +03:00
Dão Gottwald
01bf7fa86f Bug 1491255 - Port URL trimming from urlbarBindings.xml to UrlbarInput.jsm. r=standard8
--HG--
extra : rebase_source : c2c05adedcf29720060de4533b9badc3f5dd42ab
2018-09-26 16:11:19 +02:00
Alexander Surkov
826781670a Bug 1493844 - part1, remove unused style for pageInfo, r=paolo 2018-09-26 12:03:53 +08: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
Kris Maglione
a7bce21ae1 Bug 1473933: Part 2 - Remove more unused code. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D6868

--HG--
extra : rebase_source : c9fafd72e73eee35d87ecc4b462826d22d44fad3
2018-09-25 18:06:28 -07: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
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