Commit Graph

39390 Commits

Author SHA1 Message Date
Shane Caraveo
0c09d0ce5c Bug 1256289 force external links to open in tabs if non-tab browser, r=kmag
MozReview-Commit-ID: 3Xn6XvjZ8KG

--HG--
extra : rebase_source : 7b2c4cc7b17ccdc009b5f4cd9b956e320bbcc3cb
2017-03-20 14:00:08 -07:00
Matthew Wein
58ad9a7a5b Bug 1348934 - Fix comments in ext-theme.js r=jaws DONTBUILD
MozReview-Commit-ID: 15ECUDgVgpJ

--HG--
extra : rebase_source : 2f8504a07a60a2208e13e684e99de465dfdaa3fa
2017-03-20 14:36:13 -04:00
David Teller
d6c9b04db1 Bug 1348883 - Clarifying histogram DOM_SCRIPT_SRC_ENCODING;r=francois
MozReview-Commit-ID: KT2zgsuoeAT

--HG--
extra : rebase_source : 9757e8d6a6d6beb85392582aa4f75f4ac88498c7
2017-03-20 16:57:14 +01:00
Dão Gottwald
d7e6cc08c3 Bug 1347928 - Remove legacy information-*.png icons. r=jaws
MozReview-Commit-ID: 47FAxEjg4KG

--HG--
extra : rebase_source : 6b67778d0129752867b4f1d5933e016464a398c9
2017-03-16 15:11:05 +01:00
Federico Padua
9b71d631d4 Bug 1344833 - Enable flake8 rule E128: "continuation line under-indented for visual indent". r=Dexter
This patch enables flake8 rule E128:
"continuation line under-indented for visual indent" in toolkit/components/telemetry
by removing the relative E128 entry from toolkit/components/telemetry/.flake8
and fixing the files for which the E128 error was reported.
Precisely 10 errors violating E128 rule were found and solved.

MozReview-Commit-ID: 4sNXIxGFJQN

--HG--
extra : rebase_source : bc2ef3bf1cc4bbe5b0450458226af07a83c30f30
2017-03-18 21:18:27 +01:00
Gabriele Svelto
7b64f6d545 Bug 1319071 - Make crash minidumps use the same format for filenames on Linux as on other platforms; r=ted
This patch forks the breakpad files used for GUID generation and replaces them
with copies living together with the rest of the forked sources. Since other
files in the breakpad sources rely on the original files being present they
haven't been removed but we deliberately define their inclusion definitions in
the build system to prevent them from contributing to the build. This ensures
that we always use our own version of the GUID generator while not touching
the non-forked sources.

MozReview-Commit-ID: 5kW74yAPUDW

--HG--
rename : toolkit/crashreporter/google-breakpad/src/common/linux/guid_creator.cc => toolkit/crashreporter/breakpad-client/linux/handler/guid_generator.cc
rename : toolkit/crashreporter/google-breakpad/src/common/linux/guid_creator.h => toolkit/crashreporter/breakpad-client/linux/handler/guid_generator.h
extra : rebase_source : 60eb027258833996777469d2a13142077486bee9
2017-03-14 14:37:26 +01:00
Carsten "Tomcat" Book
5e6de01173 Merge mozilla-central to autoland
--HG--
extra : rebase_source : c02d69d14dd7a37ebc1811e0e58906d0499025f3
2017-03-20 13:13:45 +01:00
Carsten "Tomcat" Book
d61e0b9ced merge mozilla-inbound to mozilla-central a=merge 2017-03-20 13:10:48 +01:00
Dão Gottwald
f37b8c7128 Bug 1348495 - Stop setting padding for .button-box on Linux. r=karlt
MozReview-Commit-ID: 7nh452uE5qc

--HG--
extra : rebase_source : 51d5baea48a10930d2cb066b535a31bd6f4ab460
2017-03-18 08:40:19 +01:00
Thomas Nguyen
405f2f52de Bug 1345569 - Get blocked info from content when clicking report false deceiptive site from xul browser. r=francois
MozReview-Commit-ID: GXkbjfOrnHX

--HG--
extra : rebase_source : 7130d656b0dfd2f0cbc64227657347efdce54036
2017-03-20 14:43:08 +08:00
Simon Sapin
f593f1436b No bug - Update Cargo.lock files for https://github.com/servo/servo/pull/16014 to fix bustage. r=bustage-fix on a CLOSED TREE 2017-03-20 00:28:46 +01:00
k88hudson
a01488052d Bug 1348124 Update RemotePageManager to expose portId on public interface r=mossop
MozReview-Commit-ID: BYCI9zi6YLh

--HG--
extra : rebase_source : ba6cef5cb137138d786d932464bddc9466a889cc
2017-03-17 12:57:30 -04:00
Tomislav Jovanovic
6ec248d32c Bug 1339559 - Enable no-mixed-operators ESLint rule r=kmag
MozReview-Commit-ID: LjuiizBh1OK

--HG--
extra : rebase_source : 0423cca6e47ed593ec79d56c96a16f63628b15d1
2017-03-17 14:28:14 +01:00
Tomislav Jovanovic
8dd875bed5 Bug 1339559 - Identify script that resulted in non-structured-clonable data r=kmag
MozReview-Commit-ID: AURB4Qpwimh

--HG--
extra : rebase_source : 51c70e2d18745c49494b2dead4b5863eba88c08b
2017-03-13 09:04:45 +01:00
Nihanth Subramanya
d5ac420cfd Bug 1341742 - Split secondary action for push notification permission prompt into "not now" and "never". r=johannh
MozReview-Commit-ID: DTkUuWabNjH

--HG--
extra : rebase_source : cd0188b641c858a8a631b1112be593dc4085aa8c
2017-02-24 18:42:36 -08:00
Sebastian Hengst
db670f1744 merge mozilla-central to autoland. r=merge a=merge 2017-03-18 16:35:12 +01:00
Sebastian Hengst
c9f5cc6b45 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 8nsStTZt40O
2017-03-18 16:24:53 +01:00
Ehsan Akhgari
f4a03626ab Bug 1347400 - Add telemetry for imgLoader::LoadImage(); r=mystor,francois 2017-03-17 21:19:21 -04:00
Deepa
4dae2debd4 Bug 1344741 - Update TelemetrySend.jsm to async function & await. r=gfritzsche 2017-03-17 22:26:25 +05:30
Federico Padua
8e4d52d31b Bug 1344836 - Enable flake8 rule E713: "test for membership should be 'not in'". r=Dexter
This patch enables flake8 rule E713:
"test for membership should be 'not in'" in toolkit/components/telemetry
by removing the relative E713 entry from toolkit/components/telemetry/.flake8
and fixing the files for which the E713 error was reported.
Precisely 6 errors violating E713 rule were found and solved.

MozReview-Commit-ID: 2AaYGgVkxbU

--HG--
extra : rebase_source : 5f655591a18c4d0b2e7189732ebd8db0f20b0c6a
2017-03-14 02:03:13 +01:00
Matthew Wein
44cfffc793 Bug 1338525 - Add test coverage for theme validation r=mikedeboer
MozReview-Commit-ID: FLYMpceZYhA

--HG--
extra : rebase_source : 4c11ce0ee80a53326709ddeb10527ce83d6b9846
2017-03-09 16:56:46 -05:00
Matthew Wein
4193302534 Bug 1338525 - Add schema validation for webextension themes r=mikedeboer,mossop
MozReview-Commit-ID: 3QjDrTeMKH0

--HG--
extra : rebase_source : 22975ddc5dfccd14c09ab594e4a499db068e9a2f
2017-03-17 18:17:14 -04:00
Jan Beich
b860efe473 Bug 1347661 - Unbreak --enable-warnings-as-errors on platforms without Gecko Profiler. r=gfritzsche
MozReview-Commit-ID: Jp2HsYItboc

--HG--
extra : rebase_source : 506d410b24fcfd82b44a829c442da803d774e79b
2017-03-15 19:05:33 +00:00
Andrew Swan
04b1a97485 Bug 1341011 Pass uri objects in originatingURI for addon install notifications r=mossop
MozReview-Commit-ID: LGRSDdbzIxK

--HG--
extra : rebase_source : bf9358c079c80c1370d78df22cfc95a3f2b287a2
2017-03-01 21:17:46 -08:00
Wes Kocher
ee28f4ee71 Merge inbound to central, a=merge
MozReview-Commit-ID: Fq7B78wD7Wv
2017-03-17 11:03:59 -07:00
Carsten "Tomcat" Book
3e0a5441c6 Merge mozilla-central to mozilla-inbound 2017-03-17 14:55:15 +01:00
dimi
b98b77568d Bug 1346196 - URLCLASSIFIER_UPDATE_REMOTE_STATUS2 records values using empty keys. r=francois
mTelemetryProvider might be empty if |CancelUpdate| is called during update.
In that scenario, the call flow will look like:
CancelUpdate -> UpdateError -> DownloadDone -> set mTelemetryProvider to empty ->
OnStartRequest -> record telemetry with empty key.

So in this patch, move mTelemetryProvider.Truncate() to OnStopRequest.

MozReview-Commit-ID: JDgNUqR4SKa

--HG--
extra : rebase_source : 42aa4c898f403a1189e67e355246ebed5aa4af44
2017-03-16 14:42:46 +08:00
Federico Padua
e475364161 Bug 1344844 - Enable flake8 rule E222: "multiple spaces after operator". r=Dexter
This patch enables flake8 rule E222:
"multiple spaces after operator" in toolkit/components/telemetry
by removing the relative E222 entry from toolkit/components/telemetry/.flake8
and fixing the files for which the E222 error was reported.
Precisely 1 error violating E222 rule was found and solved.

MozReview-Commit-ID: 3xx09jkVu3E

--HG--
extra : rebase_source : 23c7ed40161e843ebe1b47fead2b00e4550b90ff
2017-03-14 01:44:29 +01:00
Mark Banner
b792bfe15f Bug 1347884 - Enable eslint cyclomatic complexity rule at existing levels. r=jaws
Enable the rule with the maximums set to avoid current failures, except for test_form_autocomplete which is very
high (82). The levels are set per major area, with existing warnings being changed to errors.

MozReview-Commit-ID: 37M6Ry0Mr1c

--HG--
extra : rebase_source : 07e6864bdd945eb322499912dd702638430c0365
2017-03-16 11:04:39 +00:00
Kris Maglione
589919e4a7 Bug 1333990: Part 3e - Add tests for content script cache eviction. r=aswan,billm
MozReview-Commit-ID: 6SRI8xTuZk5

--HG--
extra : rebase_source : 1618db2982bdb74c2efb8b53048c1ceb998e0049
2017-03-11 20:17:36 -08:00
Kris Maglione
4546457e5e Bug 1333990: Part 3d - Split observe() method to fix complexity warnings. r=aswan
MozReview-Commit-ID: 5ACOf2X5Z7I

--HG--
extra : rebase_source : 23bd6eccaa8ca0c6b0884849c9ad2adbef8e2616
2017-03-10 23:33:06 -08:00
Kris Maglione
085289b49f Bug 1333990: Part 3c - Evict cached content scripts after a timeout and on memory-pressure. r=aswan,billm
This change automatically evicts content scripts 5 minutes after their last
use, and flushes the entire cache whenever a memory-pressure event is
received.

In the case of memory-pressure events other than heap-minimize, we only evict
scripts that have been in the cache for longer than 3 seconds (which is a
fairly arbitrary number) in order to prevent pre-loads from being evicted and
then immediately re-loaded.

MozReview-Commit-ID: LCXkI9qVMxS

--HG--
extra : rebase_source : b81ed3b9962346154fa18eaee58a7411244a1936
2017-03-10 20:11:18 -08:00
Kris Maglione
6a80b8df35 Bug 1333990: Part 3b - Preload matching content scripts when opening document channels. r=aswan,billm
This uses the http-on-opening-request observer that's dispatched in the child
process to begin preloading matching content scripts as early in the load
cycle as possible. Ideally we would use the network predictor for this, but
most of its prediction work happens in the parent process, and there are no
simple ways for us to hook into it.

This currently does not do any pre-loading in the parent process, mainly
because there isn't a good way to distinguish top-level document loads that
are happening directly in the parent versus those that are being proxied from
the child.

MozReview-Commit-ID: dIQW68HtxZ

--HG--
extra : rebase_source : b36f6c8516d0550a0d5bb0df895ce6db76ab3538
2017-03-10 21:01:52 -08:00
Kris Maglione
53e241ffbc Bug 1333990: Part 3a - Use async loading and in-memory caching for WebExtension content scripts. r=aswan
MozReview-Commit-ID: GcdKDbWcUtu

--HG--
extra : rebase_source : 830dfbe0fdd380229340ec8008217e3bd75ec87c
2017-03-16 18:45:22 -07:00
Wes Kocher
c5d1991d35 Merge m-c to inbound, a=merge
MozReview-Commit-ID: AuQEHTgSKcO
2017-03-16 14:07:10 -07:00
Michael Layzell
ccc519e3f4 Bug 1347983 - Part 1: Make forms submitted from a large-allocation page not leave the large-allocation process, r=smaug
MozReview-Commit-ID: 7SEdTJN9Xd2
2017-03-16 14:32:26 -04:00
Florian Quèze
be00c3b9e8 Bug 1345294 - add an eslint rule to reject usage of {get,set}ComplexValue for nsISupportsString and suggest {get,set}StringPref instead, and make it pass, r=Mossop. 2017-03-16 19:26:02 +01:00
Florian Quèze
9c4d40bb54 Bug 1345294 - script generated patch (+ some hand cleanup) to replace {get,set}ComplexValue for nsISupportsString by {get,set}StringPref, r=Mossop. 2017-03-16 19:26:01 +01:00
Florian Quèze
a09d41b402 Bug 1343571 - When clicking an action button of a PopupNotification in an inactive window, focus the window instead of performing the action, r=past. 2017-03-16 19:14:22 +01:00
Sebastian Hengst
e43c8a0ce7 Backed out changeset 8a1c36e9ba80 (bug 1341008) 2017-03-16 17:29:18 +01:00
Carsten "Tomcat" Book
023d5aecd1 Merge mozilla-central to mozilla-inbound 2017-03-16 15:39:58 +01:00
Carsten "Tomcat" Book
468f7d8e9f merge mozilla-inbound to mozilla-central a=merge 2017-03-16 15:35:50 +01:00
Gabor Krizsanits
2fc4ec4086 Bug 1341008 - Use the preallocated process manager by default. r=billm, r=kmag 2017-03-16 11:22:37 +01:00
flyingrub
a8f1cea361 Bug 1346299 - Remove Telemetry Probe: KEYGEN_GENERATED_KEY_TYPE r=jcj,keeler
Removed the probe in Histogram.json and the code related to it in nsKeygenHandler.cpp

MozReview-Commit-ID: E8lGbx19e2C

--HG--
extra : rebase_source : ef958749e6ad2e2b617fd1efdd09cdd3185bef18
2017-03-14 11:54:57 +01:00
Blake Kaplan
6366b92fa6 Bug 1346286 - Remove CPOW usage via browser_bug511456.js. r=Gijs
MozReview-Commit-ID: DGZGwgSxO9T

--HG--
extra : rebase_source : 8d954f8de079c061b234f586b9417fb3a682a001
2017-03-09 17:20:18 -08:00
Marco Castelluccio
62cb24eea6 Bug 1341015 - Document how to build the shared libraries needed for the TelemetryModules test. r=Dexter 2017-03-15 23:22:04 +01:00
djmdev
ba39c68cbb Bug 1344849 - Enabled flake8 rule E201: "whitespace after '{'". r=Dexter
Removed whitespace after '{'
2017-03-15 18:33:48 +05:30
Cameron McCormack
9f8808666b Bug 1341102 - Revendor rust dependencies. r=me (CLOSED TREE)
--HG--
extra : amend_source : acddfc66c347a7b66341931b57446bcd0eadf3bb
2017-03-17 13:07:35 +08:00
Markus Stange
0048861a6b Bug 1329111 - Rename SharedLibraryInfo::mName to mModuleName, and consistently cut off the path on all platforms. r=marco
MozReview-Commit-ID: 8gqqVjTjy1Z

--HG--
extra : rebase_source : 646340086cd46fe023495bfca140e859c98a5205
2017-03-14 17:07:43 -04:00
Henry Chang
b769db9a5e Bug 1347657 - Use array entry as value instead of reference to avoid being invalidated by realloc. r=francois
nsTArray::AppendElement may cause memory reallocation if out of capacity.
In nsUrlClassifierStreamUpdater::FetchNextRequest(), we take the reference of
the first element of mPendingRequests and pass its member as reference to
DownloadUpdate(), where mPendingRequests.AppendElement will be called.
If the AppendElement in DownloadUpdate() causes realloc, the reference
becomes dangling.

The most efficient fix is to "move" the reference's (i.e. request)
member variables to DownloadUpdate() but I think in this case we can just
take the value from the array and pass it around with no given that the
array element contains simply a couple of strings and pointers.

MozReview-Commit-ID: KEZ5d3l3HoI

--HG--
extra : rebase_source : 4bf61a8a6f6bc57523dfbb7e5b0b40b7ce77a57a
2017-03-16 15:19:45 +08:00