Commit Graph

23639 Commits

Author SHA1 Message Date
Andreea Pavel
97e7fbb91f Merge mozilla-inbound to mozilla-central. a=merge 2018-07-05 19:26:15 +03:00
Daniel Stenberg
0e01b892ce bug 1470813 - Telemetry::DNS_TRR_RACE2 adds two new categories r=francois
... compared to DNS_TRR_RACE, to also count when either of the resolves
were more than 100 milliseconds faster.

MozReview-Commit-ID: FNZa7ZVuJPv
2018-07-04 23:26:00 +03:00
Ciure Andrei
a55b661b04 Merge inbound to mozilla-central. a=merge 2018-07-05 12:51:41 +03:00
Kris Maglione
8766ceb571 Bug 1472523: Part 4 - Avoid unnecessary domain string duplication in preference observers. r=njn
MozReview-Commit-ID: EMCgMRTDqDn
2018-07-04 14:52:48 -07:00
Daniel Stenberg
efc1e5d391 bug 1472659 - add Telemetry::DNS_TRR_FIRST and Telemetry::DNS_TRR_DISABLED r=mcmanus
To help evaluate TRRfirst sucess/error rates.

MozReview-Commit-ID: Ljrbed6UDG2
2018-07-02 13:50:21 +02:00
Coroiu Cristina
00f374168d Merge mozilla-central to mozilla-inbound a=merge on a CLOSED TREE 2018-07-05 03:34:37 +03:00
Coroiu Cristina
34c5df272d Merge inbound to mozilla-central a=merge 2018-07-05 03:14:19 +03:00
Coroiu Cristina
dfd438c078 Backed out 2 changesets (bug 1470333) for xpcshell failures at browser/extensions/formautofill/test/unit/test_getFormInputDetails.js
Backed out changeset dbea1942a32f (bug 1470333)
Backed out changeset 440ee3fab72a (bug 1470333)
2018-07-05 00:24:27 +03:00
Kris Maglione
5a3ffd4ede Bug 1470333: Part 2 - Avoid creating ConsoleAPI instances when debug logging is not enabled. r=MattN
MozReview-Commit-ID: Edck1SgCcDA
2018-07-04 12:43:21 -07:00
Kris Maglione
871bddafb2 Bug 1470333: Part 2 - Avoid creating ConsoleAPI instances when debug logging is not enabled. r=MattN
MozReview-Commit-ID: Edck1SgCcDA
2018-07-04 12:43:21 -07:00
Coroiu Cristina
240dbf1078 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-07-05 03:33:16 +03:00
Drew Willcoxon
433cf16c1b Bug 1467627 - Calculate origin frecency as the sum of all URL frecencies instead of the max. r=mak
MozReview-Commit-ID: KZi9C7olvsj
2018-07-04 14:01:28 -07:00
Gurzau Raul
e356d5eb97 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-04 19:33:40 +03:00
Gurzau Raul
d8f7029118 Merge inbound to mozilla-central. a=merge 2018-07-04 19:30:07 +03:00
Andrea Marchesini
0c2e994f8a Bug 1470108 - Write a test to see how the anti-tracking blocking works with cached images, r=aosmond 2018-07-04 15:52:01 +02:00
Gurzau Raul
a18af34c88 Merge inbound to mozilla-central. a=merge 2018-07-04 12:58:33 +03:00
shindli
4ef161a261 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-04 01:35:17 +03:00
shindli
1cc076f5ad Merge inbound to mozilla-central. a=merge 2018-07-04 00:56:24 +03:00
Narcis Beleuzu
86ffb7c58b Backed out 3 changesets (bug 1470528) for build bustages on WebRenderBridgeParent. CLOSED TREE
Backed out changeset 90513daef576 (bug 1470528)
Backed out changeset e438548991db (bug 1470528)
Backed out changeset f859daf8d8d9 (bug 1470528)
2018-07-04 00:41:14 +03:00
Ryan Hunt
18528405a6 Bug 1470528 - Implement CONTENT_FRAME_TIME for the non-webrender codepath. r=sotaro, data-review=francois
This commit adds the CONTENT_FRAME_TIME metric which tracks the time from the beginning
of a paint in the content process until it is presented in the compositor.

There is existing logging for frame latency which tracks from the beginning of a refresh
tick until the frame is presented. This is undesirable for this probe as javascript and
layout can run in this time period. So this probe uses the existing infrastructure for
logging frame latency, but uses a start time from BeginTransaction in layer manager.

MozReview-Commit-ID: 5z9LS3tsZTY
2018-06-26 13:40:10 -05:00
Ryan Hunt
0c33e17b3c Bug 1470528 - Implement CONTENT_FRAME_TIME for the non-webrender codepath. r=sotaro
This commit adds the CONTENT_FRAME_TIME metric which tracks the time from the beginning
of a paint in the content process until it is presented in the compositor.

There is existing logging for frame latency which tracks from the beginning of a refresh
tick until the frame is presented. This is undesirable for this probe as javascript and
layout can run in this time period. So this probe uses the existing infrastructure for
logging frame latency, but uses a start time from BeginTransaction in layer manager.

MozReview-Commit-ID: 5z9LS3tsZTY
2018-06-26 13:40:10 -05:00
Gijs Kruitbosch
567d31a745 Bug 1469916, r=ckerschb,jkt 2018-06-22 15:41:39 +01:00
Gijs Kruitbosch
435b8f162d Backed out changeset be11a3290029 (bug 1469916) for test orange involving Not enough arguments [nsIWebBrowserPersist.saveURI] 2018-07-03 15:45:13 +01:00
shindli
ad9494f393 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-04 01:01:25 +03:00
Tim Huang
0c5713210a Bug 1470156 - Part 1: Adding a test case for reassuring mozilla::OriginAttributes::CreateSuffix won't be crashed with invalid characters in firstParty domain. r=baku,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D1845
2018-07-03 13:48:18 +00:00
Brindusan Cristian
08c01699dd Backed out changeset 604fb83b6b61 (bug 1470156) for mochitest failures on test_ext_cookies_first_party.html. CLOSED TREE 2018-07-04 00:01:49 +03:00
Tim Huang
b95d7d0501 Bug 1470156 - Part 1: Adding a test case for reassuring mozilla::OriginAttributes::CreateSuffix won't be crashed with invalid characters in firstParty domain. r=baku,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D1845
2018-07-03 13:48:18 +00:00
Gijs Kruitbosch
2cd42146aa Bug 1469916, r=ckerschb,jkt 2018-06-22 15:41:39 +01:00
Paolo Amadini
f08ea56f7b Bug 1472635 - Prevent suppressing executable warnings using the "don't ask me this again" checkbox. r=Gijs
A hidden preference matching "browser.download.manager.alertOnEXEOpen" is kept, but is renamed in order to recover cases where the checkbox was used accidentally.

This also cleans up duplicate unused strings in the "browser" folder.

MozReview-Commit-ID: GyccRiyoVGs
2018-07-02 15:42:58 +01:00
arthur.iakab
2476395d52 Merge inbound to mozilla-central a=merge 2018-07-03 11:55:46 +03:00
Emilio Cobos Álvarez
9933ecf2bb Bug 1472529: More nsFind cleanup. r=mats
The general setup is that the State struct is used to iterate over text nodes
explicitly, and keeps references to the ranges so that we don't need to pass all
them around everywhere.

We need to teach nsFindContentIterator to rewind into NAC to be able to get rid
of mIterNode, which was getting out of sync when we failed to rewind to the
anchor node.

MozReview-Commit-ID: 5czYADrm1WX
2018-07-03 02:07:48 +02:00
Tiberius Oros
a746fb8d53 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-03 00:59:47 +03:00
James Willcox
a292c3fc95 Bug 1467919 - Don't try to clear PushService data if Push disabled r=baku
MozReview-Commit-ID: IkImtSkmUAI
2018-07-02 11:46:55 -05:00
Rob Wu
88992d666c Bug 1351663 - Support SameSite flag in browser.cookies API r=rpl
A part of cookies.json is copied from
ea90e37756/chrome/common/extensions/api/cookies.json

MozReview-Commit-ID: LCVN9Y8uHIL
2018-06-09 01:26:26 +02:00
Michael Ratcliffe
e39cdc2571 Bug 1472627 - Fix event name and field name lengths in Events.yaml r=miker
MozReview-Commit-ID: 5O2Vw8OE7be
2018-07-02 13:03:08 +01:00
Mark Banner
d636d89aae Bug 1470455 - Add the 'expected' arguments to throws/rejects for toolkit. r=mossop
MozReview-Commit-ID: Ln9EpDpTR91
2018-06-22 16:02:22 +01:00
Lina Cambridge
d4339fe3eb Bug 1472835 - Exclude the root from the parentsWithGaps check in the bookmarks mirror. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D1918
2018-07-02 23:17:12 +00:00
Brian Grinstead
a1722b0480 Bug 1450813 - Create print preview toolbar as customized built-in Custom Element;r=mconley,timdream
MozReview-Commit-ID: LYlQ8xxJNA8
2018-07-02 13:33:09 -07:00
Ciure Andrei
df7f0abc2c Backed out 1 changesets (bug 1450813) for failing browser_page_change_print_original.js CLOSED TREE
Backed out changeset ee4e2bfffe18 (bug 1450813)
2018-07-02 22:38:18 +03:00
Brian Grinstead
4ec2ed9eea Bug 1450813 - Create print preview toolbar as customized built-in Custom Element;r=mconley,timdream
MozReview-Commit-ID: Ermed741SRs
2018-07-02 10:28:29 -07:00
Mark Banner
4d7f6f4623 Bug 1446325 - Stop inserting the default smart bookmarks into new profiles. r=mak,lina
MozReview-Commit-ID: AGQaw1rgukO

Differential Revision: https://phabricator.services.mozilla.com/D1831
2018-07-02 16:25:09 +00:00
Alessio Placitelli
58a9c703ac Bug 1472627 - Enable the deferred error handling for event parsing. r=janerik,chutten
While ParseError was used throughout the codebase, errors were detected
but not reported due to the missing |atexit| handler. This also makes
string checking only run when strict checks are enabled.

Differential Revision: https://phabricator.services.mozilla.com/D1910
2018-07-03 13:12:43 +00:00
Shane Caraveo
ff732ce6c2 Bug 1470516 - remove or fix localized values in securityInfo, r=rpl
MozReview-Commit-ID: 3xURSfbPTmS
2018-07-02 15:45:18 -03:00
Jan-Erik Rediger
0f10479fe5 Bug 1472228 - Copy event data to be accessible by user content. r=Dexter
Previously accessing the "canUpload" attribute in user code was not
possible, as it was blocked due to security constraints.
By explicitely copying it, the object is accessible in user code and
HybridContentTelemetry correctly reads the attribute.

Unfortunately the tests in
tests/browser/browser_HybridContentTelemetry.js don't have this issue,
as apparently their content process runs with higher privileges.

This change was tested locally to work as expected.

MozReview-Commit-ID: HbNH4wEyOA

Differential Revision: https://phabricator.services.mozilla.com/D1879
2018-07-02 07:44:50 +00:00
Bogdan Tara
ca0483692f Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-01 00:55:44 +03:00
Bogdan Tara
cf130284d8 Merge inbound to mozilla-central. a=merge 2018-07-01 00:51:17 +03:00
Andreea Pavel
16e969ea82 No bug - fix merge conflict mistake r=Aryx on a CLOSED TREE 2018-06-30 13:57:50 +03:00
Andreea Pavel
fe013701c6 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-06-30 13:10:01 +03:00
Andreea Pavel
13cb87df58 Merge mozilla-inbound to mozilla-central. a=merge 2018-06-30 12:49:32 +03:00
Andrew Osmond
c5e259392a Bug 1472145 - Part 2. Add telemetry to track how frequently WebP images are used. r=tnikkel data-r=chutten
This patch adds three telemetry scalars to track how WebP is used. All
of these scalars are updated when we do the MIME type confirmation for
an imgRequest when the first data comes in. We know at this point we
decided to load the given content, so there should be minimal false
positives for data the browser loaded but never displayed.

The first two scalars are merely whether or not WebP was observed. One
is for probes, which are tiny WebP images suggested by the Google WebP
FAQ to probe for different aspects of WebP support (lossy, animated,
etc). We want to count this separately as actual WebP content that the
website wishes us to display. Probes will give a measure of how many
users visit websites that probe for WebP support, and content will give
a measure of how many websites don't care and just give us WebP images
regardless.

The third scalar is intended to give a relative measure of how many WebP
images we are being served relative to all other image types. We expect
the ratio to be small, but it would be good to confirm this from the
data.
2018-06-29 20:30:08 -04:00