Commit Graph

1144 Commits

Author SHA1 Message Date
Noemi Erli
0d60573524 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-03-15 19:43:12 +02:00
Marco Bonardo
0d3410c17d Bug 474043 - Part 5 - Remove the json suffix from nsHandlerService. r=Paolo
MozReview-Commit-ID: C7H7VlYO25i
2018-03-15 14:44:00 +01:00
Marco Bonardo
56b7e7f43e Bug 1445905 - Remove some no more useful code from nsBrowserGlue. r=dao
MozReview-Commit-ID: GhWS7ROvkc4
2018-03-14 11:03:46 +01:00
Kit Cambridge
1e89ded632 Bug 1199077 - Split change sources for automatic and manual bookmark restores. r=mak
MozReview-Commit-ID: 1glcCPj2X90
2018-03-01 13:37:13 -08:00
Michael Kaply
ddcbbe9327 Bug 1435862 - Default search mitigation. r=florian 2018-03-05 08:47:32 -06:00
Mike Cooper
8fa569ae7b Bug 1436113 - Part 1: Move browser/extensions/shield-recipe-client to toolkit/components/normandy r=Gijs
MozReview-Commit-ID: LidgzhI4Z7h
2018-02-28 14:55:47 -08:00
Gijs Kruitbosch
ab72cbd549 Bug 1370930 - remove DirectoryLinksProvider, r=Mardak
MozReview-Commit-ID: 4YcsNvRg7Hn
2018-03-01 16:53:49 +00:00
Sebastian Hengst
500c4f7ad2 Backed out 6 changesets (bug 888600) for beta simulation failures: build bustage on Linux and Windows opt (bug 1442036) and devtools failure browser_net_view-source-debugger.js (bug 1441961). a=backout
Backed out changeset 83c87140dc3d (bug 888600)
Backed out changeset 2efb9b1753f6 (bug 888600)
Backed out changeset af5303781961 (bug 888600)
Backed out changeset 79ef59047e63 (bug 888600)
Backed out changeset 30d568d628dd (bug 888600)
Backed out changeset c7bd4c6c9741 (bug 888600)
2018-03-01 11:51:09 +02:00
Peter Van der Beken
972562411b Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz. 2018-02-22 20:22:29 +01:00
Kyle Machulis
e652cb2bd4 Bug 1201590 - WebMIDI device access permissions prompt implementation; r=baku,johannh
MozReview-Commit-ID: LxElgfdaiQs
2017-11-15 11:13:12 -08:00
Marco Bonardo
d0ccc79f34 Bug 1434414 - Locking the 'sanitize on shutdown' pref causes sanitization to happen at every startup. r=johannh
MozReview-Commit-ID: 6PvRFmaZsBC
2018-02-15 00:42:58 +01:00
Zibi Braniecki
1c2824a153 Bug 1431260 - Migrate LocaleService::AvailableLocales from ChromeRegistry to multilocale.txt. r=jfkthame
MozReview-Commit-ID: 6S4VaAvDako
2018-02-13 23:41:39 -08:00
Kathy Brade
2f5dab1e88 Bug 1433523 - Disable Session Restore in Permanent PBM. r=mikedeboer
When in permanent private browsing mode, always return false
for isAutomaticRestoreEnabled. This ensures that there will
not be any confusion inside nsBrowserContentHandler.defaultArgs
as to whether a one time session restore will occur.

Also, for consistency and in case someone looks at the pref,
avoid setting browser.sessionstore.resume_session = true during
browser shutdown.

This bug occurred when staging was not used during the update
process. On Windows it always occurred because staging is not
used even when it should be (https://trac.torproject.org/18292).
2018-02-12 22:08:00 +02:00
Brian Grinstead
1a84ffbd66 Bug 1438579 - Refer to the tabbrowser element as gBrowser instead of #content;r=dao
Since gBrowser is going to become a plain JS object instead of a DOM node,
we don't want any callers directly referring to the DOM node to get ahold of it.

MozReview-Commit-ID: KbE5dlTWmS
2017-10-05 15:58:45 -07:00
Ed Lee
750f3fa273 Bug 1433324 - Part 3. Assume true for browser.newtabpage.activity-stream.enabled. r=ursula
MozReview-Commit-ID: KMgNw5QsMIX
2018-02-13 16:53:50 -08:00
Tim Nguyen
800b8501ca Bug 1404688 - Make headerURL optional and remove text-shadow when there is no headerURL. r=jaws
MozReview-Commit-ID: 5x6SPWEJ3jp
2018-02-15 13:37:30 +00:00
Coroiu Cristina
86747c3ece Backed out changeset 067ee834b07b (bug 1404688) for xpcshell failures at toolkit/mozapps/extensions/test/xpcshell/test_LightweightThemeManager.js 2018-02-15 05:15:10 +02:00
Tim Nguyen
f26ed7c47c Bug 1404688 - Make headerURL optional and remove text-shadow when there is no headerURL. r=jaws
MozReview-Commit-ID: BWhStvcLpkL
2018-02-15 02:30:44 +00:00
Dorel Luca
2385f5c71f Backed out changeset 85e30806ade1 (bug 1404688) for Browser chrome failure on browser/base/content/test/general/browser_compacttheme.js. CLOSED TREE 2018-02-14 21:50:09 +02:00
Tim Nguyen
212aa936f0 Bug 1404688 - Make headerURL optional and remove text-shadow when there is no headerURL. r=jaws
MozReview-Commit-ID: iHJggOjHBa
2018-02-11 19:28:32 +00:00
Michael Kelly
895bcde6ef Bug 1426482 Report browser errors in Nightly to Mozilla. r=gijs
Errors are collected via nsIConsoleService, shaped to a Sentry-compatible
format, and sent off. Reporting is on by default, and can be disabled using a
checkbox added to the privacy prefs in about:preferences.

Collected errors are sampled to avoid overloading the collection service; the
sample rate was determined by a previous Shield study that measured the number
of errors occurring in Nightly.

The feature is hard-disabled outside of Nightly and local builds, and the
preference is disabled by default in local builds. It is intended as a prototype
that will be evaluated and replaced by a more robust collection system if it
proves helpful.

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

MozReview-Commit-ID: 6aqUatXyuYs
2018-02-12 10:59:47 -08:00
Florian Quèze
7e376f1716 Bug 1336227 - Show about:blank as soon as possible during startup (pref'ed off), r=mconley. 2018-02-10 15:07:48 +01:00
Edouard Oger
1666fb5941 Bug 1427674 - Unify FxA content server URL preferences. r=markh,tcsc
MozReview-Commit-ID: 3zhHGAzQr0R
2018-01-30 13:21:35 -05: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
Johann Hofmann
0013a2e800 Bug 1167238 - Part 3 - Clean up usage of sanitize.js to properly use Sanitizer.jsm. r=mak
This replaces all non-test usage of sanitize.js or legacy Sanitizer.jsm
to use the new Sanitizer.jsm module which does not hold internal state
and instead receives all configuration through function arguments (or by reading prefs).

MozReview-Commit-ID: KitMVptuIG3
2018-01-18 16:02:04 +01: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
Zibi Braniecki
6a23509aaf Bug 1433411 - Import fetch API in nsBrowserGlue. r=Gijs
MozReview-Commit-ID: 4jgi2NOu81A
2018-01-26 08:28:51 -08: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
Thom Chiovoloni
d12f5322be Bug 1408361 - Add ellipsis when truncating received tab URI for display. r=eoger
MozReview-Commit-ID: 4PVX5J59kpM
2018-01-16 12:57:36 -05:00
Johann Hofmann
ed86084f85 Bug 1345077 - Part 2 - Add telemetry on permission requests from third party origins, handling user input and insecure contexts. r=florian,liuche
MozReview-Commit-ID: 4ARIxa6gwCg
2018-01-10 21:07:59 +01:00
Drew Willcoxon
6222e547c6 Bug 1431489 - Follow-up fix: Allow users to choose whether search suggestions or history suggestions come first in the address bar. r=mak
MozReview-Commit-ID: 7t1Co8JxA8O
2018-01-19 11:35:26 -08:00
Dão Gottwald
9f79dc1a2c Bug 1430128 - Remove remnants of the iconsize attribute. r=Gijs
MozReview-Commit-ID: 3a80XcR3NUM
2018-01-12 16:03:44 +01: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
Drew Willcoxon
cd64a5cda7 Bug 1426216 - Allow users to choose whether search suggestions or history suggestions come first in the address bar. r=mak,past
MozReview-Commit-ID: HVWRyEu19Dv
2018-01-10 08:41:16 -08:00
DimiL
8b6d0c4a38 Bug 1407879 - Check password field url against the local whitelist. r=francois
MozReview-Commit-ID: 1OqpeWeU1s1
2017-12-19 14:16:23 +08: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
Margareta Eliza Balazs
5a94a14ee9 Merge inbound to mozilla-central r=merge a=merge 2017-12-20 11:47:11 +02:00
Ciure Andrei
18e59bfd8b Backed out changeset 3325c31e498c (bug 1423247) for taking a new approach targeting Mozilla59 r=backout a=backout on a CLOSED TREE 2017-12-20 01:46:37 +02:00
DimiL
ea3c40a569 Bug 1425625 - Fix getting reputation service with wrong interface name. r=francois
Fix get service with wrong interface name and a double init issue.

MozReview-Commit-ID: BA0wex06eWb
2017-12-19 09:46:28 +08:00
Drew Willcoxon
315b2eddc7 Bug 1423247 - Couple Awesome Bar Composition (matchBuckets pref) to user's Address bar state (unified vs. 2 bar). r=mak
MozReview-Commit-ID: LZIWVcDvMrK
2017-12-14 14:14:10 -08:00
DimiL
cb870a0cdd Bug 1407878 - P1. Check URLs against the login reputation service when a password field is focused. r=francois 2017-12-14 10:11:45 +08:00
Florian Quèze
103f0c42f1 Bug 1424343 - Stop migrating the browser.search.selectedEngine preference, r=adw. 2017-12-10 01:39:17 +01:00
Florian Quèze
d4e339176b Bug 1423811 - do not attempt to reset search settings of users with an original default engine that isn't considered a default engine (likely due to a langpack), r=adw. 2017-12-10 01:39:16 +01:00