Commit Graph

4083 Commits

Author SHA1 Message Date
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
Florian Quèze
65211c1000 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
Brian Grinstead
d92148ac31 Bug 1434401 - Remove the "root-element" binding from :root and create the LightweightThemeConsumer directly from browser.js;r=dao,Gijs
MozReview-Commit-ID: GZiovTZpu6a
2018-02-13 09:16:10 -08:00
Johann Hofmann
47add025f4 Bug 1433511 - Properly handle default popup permissions in the site identity popup. r=prathiksha
We were not correctly setting the menulist value for default popup permissions,
which went largely unnoticed so far because the user had no way of actually setting
these permissions explicitly. It might happen with policy engine in the future
and so we should fix this.

MozReview-Commit-ID: 1VQc1NRGGX
2018-02-07 12:10:26 +01:00
Sebastian Hengst
3c21120192 merge mozilla-inbound to mozilla-central. a=merge 2018-02-10 00:26:50 +02:00
Paolo Amadini
ff1ddd6adf Bug 1434883 - Part 2 - Use an asynchronous API to open PanelMultiView panels. r=Gijs
MozReview-Commit-ID: 3VzoxJ3Ociy
2018-02-06 09:02:27 +00:00
Gijs Kruitbosch
b34b68c23a Bug 1436559 - stop doing busy-work in setOverLink and make textToSubURI available on Services.jsm, r=florian
MozReview-Commit-ID: F63kE4GE67B
2018-02-07 22:07:08 +00:00
Florian Quèze
18f1c218c4 Bug 1434945 - the tabbar visibility should be set during a DOMContentLoaded listener, r=johannh. 2018-02-08 19:40:15 +01:00
Florian Quèze
e09dd0f9ce Bug 1434945 - the UI density should be set from a DOMContentLoaded listener, r=johannh. 2018-02-08 19:40:15 +01:00
Andrew McCreight
272cee1e65 Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG
2018-02-06 09:36:57 -08:00
Marco Bonardo
9cb130abef Bug 1167237 - Remove nsIBrowserGlue.sanitize() and nsIBrowserGlue. r=johannh
MozReview-Commit-ID: DPs8n6OTfDh
2018-02-06 14:23:03 +01:00
Brian Grinstead
ef2315a744 Bug 1435437 - Expose gNavigatorBundle as a plain JS object with a stringbundle-like API;r=Gijs
This will allow us to not rely on an actual <stringbundle> while still avoiding a mass rewrite
of code that accesses gNavigatorBundle with the more awkward API exposed by gBrowserBundle.

MozReview-Commit-ID: 2B4smbo1xZP
2018-02-02 16:15:53 -08:00
Florian Quèze
c5f15a4700 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Kris Maglione
0bb74efdf1 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
fd67f090b2 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
683a97d172 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Dzmitry Malyshau
5e9a4ff298 Bug 1433139 - WebRender capture integration on Nightly. r=mikedeboer
MozReview-Commit-ID: 6oIUlPSfLMg
2018-01-26 10:09:30 -05:00
Kartikaya Gupta
63864bd244 Back out cset 75b5af791006 (bug 1433139) for OS X debug mochitest-chrome-3 failure. r=me 2018-01-26 11:31:34 -05:00
Dzmitry Malyshau
ad7df96f76 Bug 1433139 - WebRender capture integration on Nightly. r=mikedeboer
MozReview-Commit-ID: 6oIUlPSfLMg
2018-01-26 10:09:30 -05:00
Paolo Amadini
2f84510771 Bug 1432016 - Part 2 - Move descriptionHeightWorkaround and some other methods to the PanelView class. r=Gijs
MozReview-Commit-ID: 59fUuB35Ygy
2018-01-25 15:35:45 +00:00
Kris Maglione
1046270983 Backed out 3 changesets (bug 1431533) for Android mochitest bustage. CLOSED TREE
MozReview-Commit-ID: 5ubE9EMQpZ9
2018-01-24 22:04:59 -08:00
Kris Maglione
50ace7f99d Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
MozReview-Commit-ID: 8V1ZT53ReiP
2018-01-24 15:48:47 -08:00
Jonathan Kingston
65aef4b2cc Bug 1335970 - Add prefs to add "Not Secure" text to insecure pages. r=johannh
MozReview-Commit-ID: JtCAjIYI3Qz
2018-01-20 22:41:59 +00:00
Prathiksha
f6428a60d7 Bug 1427952 - Make hostname in Canvas permission prompt more prominent. r=johannh
MozReview-Commit-ID: DKUCWoDLutu
2018-01-17 20:03:55 +05:30
Mark Banner
d90158b1da Bug 1431020 - Remove unused globals TLS_ERROR_REPORT_TELEMETRY_MANUAL_SEND and TLS_ERROR_REPORT_TELEMETRY_AUTO_SEND. r=florian
MozReview-Commit-ID: HFStJKJKsSA
2018-01-17 09:08:06 +00:00
Steve Pfister
55d5a7e066 Bug 1338497 - make the safebrowsing notification dismiss when navigating to other domains, r=gijs
This moves the Safe Browsing notification banner into its own object, makes it aware of the current base domain,
and adds a function that's called when the location changes to determine if it should dismiss or not.

MozReview-Commit-ID: 31JQ4dUyFb4
2018-01-12 00:53:31 -05:00
Tim Nguyen
e0347f3526 Bug 1428938 - Remove legacy toolbar customization code. r=Gijs
MozReview-Commit-ID: 1ppfxI7yYJW
2018-01-11 16:35:17 +00:00
Henri Sivonen
ad36a7c3fa Bug 1428771 - Make UCS2_CHAR_IS_BIDI check for lead surrogates corresponding to U+1E800...U+1EFFF and rename to UTF16_CODE_UNIT_IS_BIDI. r=jfkthame
MozReview-Commit-ID: 9ZKF6SaN79n
2018-01-08 16:18:32 +02:00
Gijs Kruitbosch
9e84a956ff Bug 1422643 - deal with tabs in the protocol in js paste detection code, r=florian,valentin
MozReview-Commit-ID: Ax5LGkIedkY
2017-12-20 18:57:48 +00:00
Alessio Placitelli
74f5cb095d Bug 1417473 - Implement the hybrid content telemetry API. r=chutten,Gijs
This enables whitelisted pages to send messages to the chrome using
asynchronous messaging from the content. This patch only adds the
API and test coverage. The first consumer of the API will be added
as part of bug 1417479.

MozReview-Commit-ID: ESxFFjvhpWA
2017-11-27 11:54:27 +01:00
Csoregi Natalia
7aedfa322e Backed out 3 changesets (bug 1417473) for failing browser_HybridContentTelemetry.js. r=backout on a CLOSED TREE
Backed out changeset 27db7bf978be (bug 1417473)
Backed out changeset a365a5a59ad1 (bug 1417473)
Backed out changeset 443747e39abe (bug 1417473)
2018-01-05 13:45:25 +02:00
Alessio Placitelli
9aa344ff1f Bug 1417473 - Implement the hybrid content telemetry API. r=chutten,Gijs
This enables whitelisted pages to send messages to the chrome using
asynchronous messaging from the content. This patch only adds the
API and test coverage. The first consumer of the API will be added
as part of bug 1417479.

MozReview-Commit-ID: ESxFFjvhpWA
2017-11-27 11:54:27 +01:00
Andreea Pavel
75e4899e8a Backed out 1 changesets (bug 1422643) for failing browser/base/content/test/urlbar/browser_removeUnsafeProtocolsFromURLBarPaste.js r=backout on a CLOSED TREE
Backed out changeset 6ad5ec88a898 (bug 1422643)
2018-01-05 02:13:10 +02:00
Gijs Kruitbosch
87ee1fc631 Bug 1422643 - deal with tabs in the protocol in js paste detection code, r=florian,valentin
MozReview-Commit-ID: Ax5LGkIedkY
2017-12-20 18:57:48 +00:00
Ursula Sarracini
6af905a8c7 Bug 1420285 - Change <browser> attribute isPreloadBrowser to preloadedState r=mconley
MozReview-Commit-ID: 3ooQldAnPZl
2018-01-04 15:54:37 -05:00
Chung-Sheng Fu
b5e311db1b Bug 1413780 - Change permission name from canvas/extractData to canvas. r=johannh
MozReview-Commit-ID: 40mesFLeRWU
2017-12-14 15:59:57 -06:00