Commit Graph

4070 Commits

Author SHA1 Message Date
Dão Gottwald
184079c708 Bug 1443849 - Part 4: Call gBrowser.init from gBrowserInit and prevent early access to gBrowser. r=Gijs
MozReview-Commit-ID: 6QxXs8fUk3o
2018-03-13 14:44:16 +01:00
Narcis Beleuzu
66991a4f9d Backed out 4 changesets (bug 1443849) backed out for mochitest bc failures on /browser_tabs_close_beforeunload.js
Backed out changeset 54259728e099 (bug 1443849)
Backed out changeset e2768d74d30e (bug 1443849)
Backed out changeset b34c63d24344 (bug 1443849)
Backed out changeset 22799a033471 (bug 1443849)
2018-03-13 17:24:33 +02:00
Dão Gottwald
ace3f34827 Bug 1443849 - Part 4: Call gBrowser.init from gBrowserInit and prevent early access to gBrowser. r=Gijs
MozReview-Commit-ID: 6QxXs8fUk3o
2018-03-13 14:44:16 +01:00
Dão Gottwald
4de32902e2 Bug 1444891 - Remove the statuspanel binding. r=jaws
MozReview-Commit-ID: KcpOYuObiNG
2018-03-12 20:47:31 +01:00
Cosmin Sabou
6e9b9fb5f4 Backed out changeset 4805bc295b9a (bug 1444891) for ESlint failure on browser/base/content/browser.js 2018-03-12 19:49:23 +02:00
Dão Gottwald
8cb00984d2 Bug 1444891 - Remove the statuspanel binding. r=jaws
MozReview-Commit-ID: JaMhIAWHbEv
2018-03-12 14:55:55 +01:00
Tim Taubert
28467af293 Bug 1430150 - Implement WebAuthentication permission prompts r=jcj,johannh
Reviewers: jcj, johannh

Reviewed By: jcj, johannh

Bug #: 1430150

Differential Revision: https://phabricator.services.mozilla.com/D638
2018-03-11 18:47:14 +01:00
Dão Gottwald
693f275b7c Bug 1444614 - Avoid initializing gBrowser and gBrowser.tabContainer early in the urlbar binding constructor. r=Gijs
MozReview-Commit-ID: Lfv4d8RzhmZ
2018-03-10 15:02:33 +01:00
Prathiksha
872d37cca3 Bug 1435160 - Format notification popup description message in a helper function. r=johannh
MozReview-Commit-ID: Bwy2WrbXjUf
2018-02-28 02:01:55 +05:30
Arthur Deschamps
4ed0880e6d Bug 1438069 - "Get me out of here" button now redirects to page "Private Browsing with Tracking Protection" in private mode - r=johannh 2018-02-20 19:27:55 +01:00
Prathiksha
2ccd7324d0 Bug 1437324 - Wrap popup permission indicator text in the Site Identity Panel when it exceeds the width of the panel. r=johannh
textContent is used to set the indicator label text here instead of the value attribute because the text set using the value attribute does not wrap when it exceeds the width of the panel, which in turn pushes the menulist and half of the indicator text out of view.

MozReview-Commit-ID: 1VBaQlbZwzQ
2018-03-03 19:19:42 +05:30
Dão Gottwald
3171b9ddaf Bug 1442398 - Convert the TabBrowser class to a plain object and make gBrowser available already before gBrowser.init returns. r=bgrins
MozReview-Commit-ID: Cmq8IOaoxn5
2018-03-07 06:49:53 +01:00
Dão Gottwald
3f43e08bd6 Bug 1442651 - Remove the tabbrowser element and binding. r=bgrins
MozReview-Commit-ID: 2IXukkFq5C2
2018-03-05 20:33:36 +01:00
J. Ryan Stinnett
3ab512e66c Bug 1442923 - Convert openInExtenalEditor to Promises. r=bdahl
This resolves some confusion around the required callback for
`openInExtenalEditor` by converting it to instead return a Promise.  This also
simplifies the flow of its callers as well.

MozReview-Commit-ID: EYoucELJLbu
2018-03-05 11:50:50 -06:00
Dão Gottwald
9a202786b2 Bug 1442961 - Remove the windowdragbox element and binding. r=jaws
MozReview-Commit-ID: JZVMty8qMCP
2018-03-05 14:54:03 +01:00
Christoph Kerschbaumer
3c66d0e8e0 Bug 1430751 - Apply unified behavior model for about: pages to about:privatebrowsing. r=gijs,mrbkap 2018-03-05 09:20:34 +01:00
Prathiksha
375cc71cab Bug 1192927 - Remove plugins specific code and initialize the flash plugin row in Page Info and support flash in Site Identity. r=Felipe,johannh
MozReview-Commit-ID: 7CLfN4Io0ez
2018-02-18 00:20:11 +05:30
Johann Hofmann
6bb2491ff6 Bug 1440607 - Move getAnimations call out of the rAF for the WebRTC blinking animation. r=florian
MozReview-Commit-ID: It4buk33ea7
2018-02-27 22:46:32 +01:00
Andreea Pavel
15a36587f5 Backed out changeset 8e5b1525be69 (bug 1192927) or failing testing\firefox-ui\tests\functional\security\test_no_certificate.py TestNoCertificate.test_no_certificate on a CLOSED TREE 2018-03-02 13:51:15 +02:00
Prathiksha
0567731fbe Bug 1192927 - Remove plugins specific code and initialize the flash plugin row in Page Info and support flash in Site Identity. r=Felipe,johannh
MozReview-Commit-ID: 3KUbgencO3M
2018-02-18 00:20:11 +05:30
Michael Kaply
97e2f5fdd4 Bug 1432355 - Add a policy to disable private browsing. r=Gijs
MozReview-Commit-ID: AprbL6usEv5
2018-03-01 10:20:38 -06:00
Marco Bonardo
b303f85036 Bug 1439315 - 8 - Remove some dangling NetUtil usage. r=standard8
MozReview-Commit-ID: A8WcjKkFhVA
2018-02-28 15:20:05 +01:00
Dão Gottwald
ed10c9e61e Bug 1441788 - Expose Reader View shortcut in the address bar button's tooltip. r=mikedeboer
MozReview-Commit-ID: 88p5xYUrefQ
2018-02-28 11:45:54 +01:00
Florian Quèze
f6add2cafd Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Sebastian Hengst
b120b7fb67 merge mozilla-inbound to mozilla-central. a=merge 2018-02-28 12:54:12 +02:00
Tooru Fujisawa
7e45b6b27e Bug 1435908 - Part 2: Pass the triggering principal when opening an URI from new tab button and new window button drag and drop. r=Gijs 2018-02-28 10:36:44 +09:00
Tooru Fujisawa
2aeafc70af Bug 1319157 - Check each URIs for home button. r=Gijs 2018-02-28 10:36:43 +09:00
Tooru Fujisawa
7b9b15de74 Bug 1435910 - Part 1: Warn when opening too many tabs by drag and drop. r=Gijs 2018-02-28 10:36:43 +09:00
Brian Grinstead
938da9ee8f Bug 1392352 - Part 2 - Translate the tabbrowser implementation into a JS class;r=mconley,r=dao CLOSED TREE
We keep the XBL binding around for <content>, <constructor>, and <destructor>. This can
eventually be migrated to a Custom Element once we have platform support, but in the meantime
this is a way to get the many thousands of LOC into a JS class.

MozReview-Commit-ID: 1dCQp527yF9
2018-02-27 10:04:14 -08:00
Valentin Gosu
b9160f5ce8 Bug 1433958 - Change code that sets nsIURI.userPass to use nsIURIMutator r=mayhemer
* Code in XMLHttpRequestMainThread is converted to set the username and password individually. This is because when the parameters are empty, it ended up calling SetUserPass(":") which always returns an error.

MozReview-Commit-ID: 3cK5HeyzjFE
2018-02-26 20:43:46 +01:00
Valentin Gosu
ca5c5bbf19 Bug 1439931 - nsIIOService.extractScheme/net_ExtractURLScheme should lowercase its output r=mayhemer
MozReview-Commit-ID: LZ2rqIdIoXQ
2018-02-26 16:42:27 +01:00
Johann Hofmann
5c7258102e Bug 1431027 - Update disk space warning to reflect the latest preferences. r=nhnt11
This changes the disk space notification to show the correct preferences path
and to use the correct openPreferences arguments.

MozReview-Commit-ID: BuKAUvDjp9T
2018-02-22 00:31:16 +01:00
Mike Conley
a50309145a Bug 1434376 - Switch over all uses of BrowserUtils.promiseLayoutFlushed to window.promiseDocumentFlushed. r=Paolo
window.promiseDocumentFlushed will call a callback as soon as a style or layout
flush is not required for the document (which might be immediately). This is a
new ChromeOnly API introduced in an earlier patch in this series.

This patch also removes the now-unneeded BrowserUtils.promiseLayoutFlushed and
BrowserUtils.promiseReflowed methods and infrastructure.

MozReview-Commit-ID: Jv7KoxBXhHG
2018-02-11 20:15:11 -05:00
Andreea Pavel
f77494f37a Backed out 3 changesets (bug 1434376)for failing browser chrome at browser/base/content/test/performance/browser_urlbar_search_reflows.js on a CLOSED TREE
Backed out changeset b636251b75ab (bug 1434376)
Backed out changeset fccbba9cb959 (bug 1434376)
Backed out changeset b5128504011c (bug 1434376)
2018-02-25 12:44:28 +02:00
Mike Conley
7a9538a35f Bug 1434376 - Switch over all uses of BrowserUtils.promiseLayoutFlushed to window.promiseDocumentFlushed. r=Paolo
window.promiseDocumentFlushed will call a callback as soon as a style or layout
flush is not required for the document (which might be immediately). This is a
new ChromeOnly API introduced in an earlier patch in this series.

This patch also removes the now-unneeded BrowserUtils.promiseLayoutFlushed and
BrowserUtils.promiseReflowed methods and infrastructure.

MozReview-Commit-ID: Jv7KoxBXhHG
2018-02-11 20:15:11 -05:00
Johann Hofmann
70ab74c1b1 Bug 1333468 - Part 1 - Move WebRTC sharing indicator into the identity block and add a paused state. r=florian
MozReview-Commit-ID: ETi6nX2Eapc
2017-11-16 19:33:19 +01:00
Prathiksha
00ec9a144a Bug 1433513 - Correctly handle new expire type (EXPIRE_POLICY) in the Site Identity panel and Page Info window. r=johannh
MozReview-Commit-ID: 7mfxnqI1C65
2018-02-14 00:16:53 +05:30
Gijs Kruitbosch
c1dcbfb787 Bug 1439396, r=mak 2018-02-21 12:18:40 +00:00
Florian Quèze
1d6327fce1 Bug 1403648 - set the 'focused' attribute on the urlbar by default, and remove it when we are unsure, to avoid flickering of the urlbar-history-dropmarker, r=johannh. 2018-02-14 22:15:05 +01:00
Florian Quèze
761f5bd190 Bug 1403648 - set urlbar focus and about:home favicon in the DOMContentLoaded handler to reduce window open flicker, r=johannh. 2018-02-14 22:15:05 +01:00
Florian Quèze
05ea0eb30d Bug 1403648 - focus the urlbar at first paint without waiting for a promise to resolve in most cases, r=johannh. 2018-02-14 22:15:05 +01:00
Johann Hofmann
2cd44ff9f7 Bug 1438806 - Set correct default permission when showing blocked popups in the identity popup. r=prathiksha
MozReview-Commit-ID: 9dSsGViBbbU
2018-02-16 12:21:02 +01:00
Nihanth Subramanya
c3963ef3d5 Bug 1438511 - Don't update sidebar UI density before SidebarUI is initialized, or if the sidebar is not open. r=florian
MozReview-Commit-ID: GTfBrSccecX
2018-02-15 19:31:03 +05:30
Brendan Dahl
5ef80eaf60 Bug 1418403 - Remove viewing source in a standalone window. r=jryans
Along with removing the view source standalone windows and prefs this patch:
1) Re-structures several of the view source tests that were only testing the old
standalone windows to now test view source in tab.
2) Adds support viewSourceUtils.viewSource() to open a browser window when there
aren't any open (for browser toolbox view source).
3) Cleans up some of the API for viewSourceUtils and removes the old deprecated
ways of calling it.

MozReview-Commit-ID: DI6sgZwbCf
2018-02-05 13:33:58 -08:00
Dão Gottwald
65ce67881c Backed out changeset f23ac3f571cf
MozReview-Commit-ID: FLl0Gd0oG6o
2018-02-16 09:27:40 +01:00
Dão Gottwald
3fbd3c5838 Backed out changeset c03c60285f5d
MozReview-Commit-ID: 1JWaWpvbii6
2018-02-16 09:27:22 +01:00
Dão Gottwald
fac3dbe8b8 Backed out changeset 9833d3aa5451
MozReview-Commit-ID: HwyR97pKxfA
2018-02-16 09:27:05 +01:00
Dorel Luca
c2e3efbc47 Merge mozilla-centra to mozilla-inbound 2018-02-15 00:37:44 +02:00
Florian Quèze
3897439eea Bug 1403648 - set the 'focused' attribute on the urlbar by default, and remove it when we are unsure, to avoid flickering of the urlbar-history-dropmarker, r=johannh. 2018-02-14 22:15:05 +01:00
Florian Quèze
4628f7047b Bug 1403648 - set urlbar focus and about:home favicon in the DOMContentLoaded handler to reduce window open flicker, r=johannh. 2018-02-14 22:15:05 +01:00