Commit Graph

18223 Commits

Author SHA1 Message Date
Ehsan Akhgari
1ce56d7088 Bug 1350765 - Avoid recomputing the histogram ID when it's available in the caller; r=chutten 2017-04-13 00:59:53 -04:00
Kris Maglione
65308c79f2 Bug 1354941: Pre-load all cached schema data in one DB operation. r=aswan
MozReview-Commit-ID: JyBOcR2Ea15
2017-04-11 16:08:45 -07:00
Kris Maglione
e6a8ac0beb Bug 1355120: Get rid of top-level window ID tracking. r=aswan
MozReview-Commit-ID: y7DzMxXBot
2017-04-12 14:12:22 -07:00
dimi
80b83c117c Bug 1311933 - P2. Add telemetry to measure if completion match type is the same for v2 and v4. r=francois
When full match is found in both v2 and v4, the threat types returned should also be the same.
If threat types are different, the telemetry record this by setting a bit flags which indicates
what threat types are being returned.

If threat types are the same, this telemetry will record 0.

MozReview-Commit-ID: Laz77yoCg00
2017-04-12 09:11:18 +08:00
dimi
b19db734bc Bug 1311933 - P1. Use integer as the key of safebrowsing cache. r=francois
In Bug 1323953, we always send 4-bytes prefix for completion and the prefix is also
used as the key to store cache result from gethash request.
Since it is always 4-bytes, we could convert it to integer for simplicity.

MozReview-Commit-ID: Lkvrg0wvX5Z
2017-04-11 16:07:26 +08:00
Mike Conley
be01a0a0a4 Bug 1354698 - Add tests for View Source in both the tab and window mode when doing DocGroup checks. r=jryans
MozReview-Commit-ID: BDTYuEMho6L
2017-04-09 01:31:10 -04:00
Tomislav Jovanovic
b916f5f3e6 Bug 1345225 - Check if webRequest filters overlap with host permissions r=kmag
MozReview-Commit-ID: 1tMHynv9FBO
2017-03-26 20:53:28 +02:00
Tomislav Jovanovic
3206e4731d Bug 1318565 - Test extension permission to read from a tainted canvas r=kmag
MozReview-Commit-ID: FkgSLDRyY3R
2017-04-01 15:38:23 +02:00
Joel Maher
d2be399571 Bug 1351067 - add BUG_COMPONENT to toolkit/* files. r=myk,enndeakin,mossop
MozReview-Commit-ID: 8mv5Oed68JL
2017-04-09 05:43:43 -04:00
Sebastian Hengst
cd96931410 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-04-08 22:56:39 +02:00
Sebastian Hengst
cd36d1bb46 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IkoXCAwjjKu
2017-04-08 22:49:04 +02:00
Kris Maglione
200c31ef0b Bug 1351163: Part 4 - Don't start moz-anno: requests until the channel is opened. r=bz
MozReview-Commit-ID: HbaNUqLRtK6
2017-04-07 22:36:01 -07:00
Kris Maglione
d7a95b9b00 Bug 1353150: Add tests for WebExtension Xray named element property access. r=bz,mixedpuppy
MozReview-Commit-ID: ARyek92K5qR
2017-04-06 15:20:24 -07:00
Georg Fritzsche
7d536d302f Bug 1347216 - Fix categorical keyed histograms. r=Dexter
This also fixes an existing bug where we checked for the wrong type in JSKeyedHistogram_Add().
KeyedHistogram::GetHistogramType() returns one of the histogram types from nsITelemetry.idl, not one of the chromium types (base::*).

I extended the test coverage accordingly, as it seemed to be lacking.
2017-04-07 20:55:51 +07:00
Carsten "Tomcat" Book
ffed63ec64 Backed out changeset d4b635aa0c2e (bug 893505) for eslint failure 2017-04-07 15:53:19 +02:00
Carsten "Tomcat" Book
0175d8a0b6 Merge mozilla-central to mozilla-inbound 2017-04-07 15:33:03 +02:00
Marco Bonardo
f46796e1b0 Bug 1353783 - updatePlaces doesn't correctly notify and count embed visits. r=Gijs
Additionally, move some history tests to the history folder, split insertMany tests into their own test file.
Also, remove some no more needed android annotations, Firefox for Android doesn't use nor build Places anymore.

MozReview-Commit-ID: 6p4mazeUjsw
2017-04-06 14:24:25 +02:00
Johann Hofmann
6f157e5a1c Bug 1337772 - Part 2 - Explicitly trigger a mousedown event before opening the context menu in browser_context_menu.js. r=MattN
MozReview-Commit-ID: ADTskzMoK9t
2017-04-06 11:00:11 +02:00
Johann Hofmann
2852b063d7 Bug 1337772 - Part 1 - Use mousedown instead of contextmenu to avoid showing the password autocomplete. r=MattN
MozReview-Commit-ID: EUZ1f6Qdm0c
2017-04-07 00:01:31 +02:00
mcfuller
fb5e11e9f1 Bug 1354039 - Remove unused PromiseUtils.jsm import from TelemetryController.jsm and TelemetryEnvironment.jsm. r=gfritzsche 2017-04-07 00:34:44 -07:00
Gabor Krizsanits
d0075a38b2 Bug 1344174 -Add measure for memory distribution among child processes. r=chutten 2017-04-07 12:14:45 +02:00
Phil Ringnalda
16779227d3 Backed out changeset 228a6487d0c1 (bug 1350781) for eslint failures
CLOSED TREE
2017-04-06 21:16:03 -07:00
Ehsan Akhgari
6cdfd26990 Bug 1350781 - Avoid recomputing gBrowserThumbnails._topSiteURLs for 1 minute after computing it to speed up session restore; r=markh 2017-04-06 23:26:08 -04:00
Doug Thayer
4eef1f271d Bug 893505 - Simplify the application update UI. r=Gijs, r=enndeakin, r=rstrong, data-r=bsmedberg
There are quite a few changes in here. At a high level, all we're trying to do is to replace the old update popup with a less intrusive and more modern doorhanger (set of doorhangers) for various update success and failure conditions.
2017-04-06 17:20:36 -07:00
Sebastian Hengst
94b383c450 Backed out 2 changesets (bug 893505) for failing eslint. r=backout
Backed out changeset 5880d471d75c (bug 893505)
Backed out changeset 3246d7cb2729 (bug 893505)
2017-04-07 01:04:54 +02:00
Michael Layzell
c176ef3568 Bug 1320179 - Part 4: MOZ_OBJDIR->MOZ_TOPOBJDIR and update m-c-changes.patch for protobuf changes, r=fitzgen
MozReview-Commit-ID: EPhkF350sGY
2017-04-06 18:37:31 -04:00
Michael Layzell
4048a099d9 Bug 1320179 - Part 3: Define LOGLEVEL_0 unconditionally in protobuf on windows, r=fitzgen
This brings the workaround for the GOOGLE_LOG(ERROR) problem when ERROR is
defined as `0` by wingdi.h in line with our workaround in the chromium sandbox
code. (http://searchfox.org/mozilla-central/rev/381a7b8f8a78b481336cfa384cb0a5536e217e4a/security/sandbox/chromium/base/logging.h#334-346)

The other patches on this bug triggered a build problem where in some situations
ERROR would be undefined when the LogLevel enum is being defined, while ERROR
was defined at a callsite. By unconditionally defining ERROR on windows and
including the LOGLEVEL_0 enum variant, we can avoid this issue and fix the
associated build bustage.

MozReview-Commit-ID: 3XFHf1FqHBr
2017-04-06 18:37:29 -04:00
Wes Kocher
5ae8393d54 Merge m-c to inbound a=merge 2017-04-06 15:30:43 -07:00
Wes Kocher
3edcd86647 Backed out 4 changesets (bug 1320179) for causing merge conflicts a=backout
Backed out changeset b8aa677f7452 (bug 1320179)
Backed out changeset 9e2f77570128 (bug 1320179)
Backed out changeset 470d8143b350 (bug 1320179)
Backed out changeset ea4f1b3cc7b1 (bug 1320179)
2017-04-06 15:29:24 -07:00
Doug Thayer
c78f940f2d Bug 893505 - Simplify the application update UI. r=Gijs, r=enndeakin, r=rstrong, data-r=bsmedberg
There are quite a few changes in here. At a high level, all we're trying to do is to replace the old update popup with a less intrusive and more modern doorhanger (set of doorhangers) for various update success and failure conditions.
2017-04-06 15:09:16 -07:00
Wes Kocher
c48a5e31ea Merge inbound to central, a=merge 2017-04-06 15:01:34 -07:00
Michael Layzell
38196f2361 Bug 1320179 - Part 4: MOZ_OBJDIR->MOZ_TOPOBJDIR and update m-c-changes.patch for protobuf changes, r=fitzgen
MozReview-Commit-ID: EPhkF350sGY
2017-04-06 17:37:13 -04:00
Michael Layzell
a73539d5c9 Bug 1320179 - Part 3: Define LOGLEVEL_0 unconditionally in protobuf on windows, r=fitzgen
This brings the workaround for the GOOGLE_LOG(ERROR) problem when ERROR is
defined as `0` by wingdi.h in line with our workaround in the chromium sandbox
code. (http://searchfox.org/mozilla-central/rev/381a7b8f8a78b481336cfa384cb0a5536e217e4a/security/sandbox/chromium/base/logging.h#334-346)

The other patches on this bug triggered a build problem where in some situations
ERROR would be undefined when the LogLevel enum is being defined, while ERROR
was defined at a callsite. By unconditionally defining ERROR on windows and
including the LOGLEVEL_0 enum variant, we can avoid this issue and fix the
associated build bustage.

MozReview-Commit-ID: 3XFHf1FqHBr
2017-04-06 17:22:11 -04:00
Carsten "Tomcat" Book
a195b1bec0 Merge mozilla-central to mozilla-inbound 2017-04-06 13:10:09 +02:00
Carsten "Tomcat" Book
f00871f796 merge mozilla-inbound to mozilla-central a=merge 2017-04-06 12:50:50 +02:00
Mark Banner
7945b07153 Bug 1342459 - Enable no-undef on browser/base, and clean up unnecessary no-undef references. r=mossop
MozReview-Commit-ID: KVrAnAjMD1E
2017-04-03 11:46:56 +01:00
Mark Banner
25c75db032 Bug 1342459 - Add a rule to automatically detect ContentTask.spawn and inject the relevant globals. r=mossop
This reduces the amount of places where we need to specify the mozilla/frame-script environment. It does have
the side effect of allowing those globals in the whole file, but that is what specifying the environment would
do, and this is also for mochitest test files only.

MozReview-Commit-ID: 1LLFbn6fFJR
2017-04-05 10:00:25 +01:00
Paolo Amadini
1c5ae40148 Bug 1273265 - Allow long file names in specific cases. r=jimm
MozReview-Commit-ID: 3tl5Iihxs27
2017-04-06 09:08:06 +01:00
djmdev
c93799501b Bug 1344738 - Updated TelemetryController.jsm to async function & await. r=dexter
Replaced Task.async and yield with async and await
2017-03-27 15:15:02 +05:30
Doug Thayer
a5b27a8e9b Bug 893505 - Simplify the application update UI r=chmanchester,enndeakin+6102,Gijs,rstrong
There's quite a few changes in here. At a high level, all we're trying to do
is to replace the old update popup with a less intrusive and more modern
doorhanger (set of doorhangers) for various update failure conditions.

MozReview-Commit-ID: 24sESMTosNX
2017-03-21 13:50:09 -07:00
Sebastian Hengst
69276fe58f merge mozilla-central to autoland. r=merge a=merge 2017-04-07 22:16:26 +02:00
Sebastian Hengst
50a41bb8e6 Backed out changeset 2f185f0d9e26 (bug 1311935) for failing browser_trackingUI_6.js. r=backout 2017-04-07 19:06:18 +02:00
Sebastian Hengst
ac6f4701fe Backed out changeset fc8099c8f98a (bug 1311935) 2017-04-07 19:05:42 +02:00
Sebastian Hengst
95f06a1763 Backed out changeset a4e571cb610a (bug 1311935) 2017-04-07 19:05:38 +02:00
Sebastian Hengst
1274e1391e Backed out changeset 18a286ccf1be (bug 1311935) 2017-04-07 19:05:33 +02:00
Mike Conley
dbab8e7198 Bug 1350243 - Combine e10s and non-e10s code paths when reacting to datalist updates. r=MattN
MozReview-Commit-ID: 1O3wAzzwWAR
2017-04-06 16:39:08 -04:00
Phil Ringnalda
28eaf6b802 Backed out changeset 38bbf2279a94 (bug 1343182) for timeouts in test_automigration.js and test_PlacesProvider.js
CLOSED TREE
2017-04-07 07:56:18 -07:00
Chris H-C
1b37b5e4b6 bug 1339019 - Caution against recording Telemetry in hot paths. r=gfritzsche
Histograms, Scalars, and Events are cheap but not free. Expect performance
impacts if you use them in tight loops or hot paths.

MozReview-Commit-ID: 2nrdHXrbN9i
2017-04-06 14:07:02 -04:00
Ganesh Chaitanya Kale
be33a9ed6d Bug 1343182 - Added updatePlaces's ignoreErrors, ignoreResults and aGroupNotifications to insertMany API in History.jsm. r=mak
MozReview-Commit-ID: 45VbtBu25cP
2017-04-01 13:10:04 +05:30
Tomislav Jovanovic
e94741e606 Bug 1323036 - Preserve case of header names r=mixedpuppy
MozReview-Commit-ID: 2jDHOr2GI6T
2017-04-06 01:08:11 +02:00