Commit Graph

15898 Commits

Author SHA1 Message Date
Erica Wright
ebeb369ef4 Bug 1551675 - remove the Standard category pref and depend on default values to compute standard settings. r=johannh
The standard category pref is gone.
When the default values change the standard category will change it's expectations to match.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 22:05:47 +00:00
Jeff Gilbert
7c1b76c6a8 Bug 1526027 - Remove webgl.bypass-shader-validation. r=lsalzman
Also remove extra plumbing from WebGLShaderValidator, moved directly
into WebGLShader.

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

--HG--
extra : moz-landing-system : lando
2019-05-17 02:36:57 +00:00
Jonas Allmann
50275c5d2b Bug 1549326 - Remove simpletest.js from eval()-whitelist, r=ckerschb
Amend several test files for triggering eval() assertion through simpletest.js

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

--HG--
extra : moz-landing-system : lando
2019-05-16 13:44:36 +00:00
Andreas Pehrson
b9873fa23e Bug 1551855 - Add a dedicated pref for enabling GraphRunner. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D31262

--HG--
extra : moz-landing-system : lando
2019-05-16 06:10:54 +00:00
Botond Ballo
f638ab1178 Bug 1552040 - Make layout.scroll.root-frame-containers a regular (not override) pref. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D31350

--HG--
extra : moz-landing-system : lando
2019-05-16 01:07:41 +00:00
Kyle Machulis
5da8925162 Bug 1551993 - Pref frameloader rebuilding off; r=nika
Pref off frameloader rebuilding until regressions from bug 1542415 are fixed.

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

--HG--
extra : moz-landing-system : lando
2019-05-15 20:34:23 +00:00
dlee
20ab57f9ae Bug 1542744 - P2. Improve performance of MakePrefixSet by using different algorithm according to the number of prefixes. r=gcp
The goal of this patch is to reduce the number of memory reallocation during
|MakePrefixSet|[1].

Here is the number of nsTArray memory reallocation occur during |MakePrefixSet|
(test in my local platform):
googpub-phish-proto: 58k times
goog-malware-proto: 9k times
goog-unwanted-proto: 25k times
goog-badbinurl-proto: 6k times

This patch improves the performance by:
1. For tables whose prefixes are less than 128*1024(malware, unwanted,
badinurl).

Store prefixes directly without dividing allocation into smaller chunks.
Because the maximum size to store all the prefixes in a single array for
these tables will be less than 512k, we can avoid Bug 1046038.

This simplifies the internal prefixset data structure generation and total
memory usage is also saved:
goog-malware-proto  : 437K -> 163k
goog-unwanted-proto : 658k -> 446k
goog-badbinurl-proto: 320k -> 110k

The single largest allocated continuous memory size is:
goog-malware-proto  : 86k -> 163k
goog-unwanted-proto : 86k -> 446k
goog-badbinurl-proto: 77k -> 110k

A further improvement can be done for this part is for tables with fewer
prefixes, we can use an one-dimension delta array to reduce the size of a
single continuous memory allocation.

2. For tables with more prefixes:

According to experiment, when prefixes are more than 400k
the delta arrays have very high chance that are full, in the case of
phishing table, we can estimate the capacity accurately before
applying delta algorithm.

The shortcoming of this part is when prefixes are between 130k~400k,
the capacity estimation is not accurate.

[1] https://searchfox.org/mozilla-central/rev/b2015fdd464f598d645342614593d4ebda922d95/toolkit/components/url-classifier/nsUrlClassifierPrefixSet.cpp#99

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

--HG--
extra : moz-landing-system : lando
2019-05-15 11:17:43 +00:00
Andrea Marchesini
4e58d1f5a3 Bug 1551826 - Use StaticPrefs for network.cookie.staleThreshold in nsCookie, r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D31218

--HG--
extra : moz-landing-system : lando
2019-05-15 13:33:47 +00:00
Andrea Marchesini
289365e128 Bug 1551821 - Get rid of pref network.cookie.same-site.enabled, r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D31217

--HG--
extra : moz-landing-system : lando
2019-05-15 13:33:45 +00:00
shindli
905ea2ceef Backed out 3 changesets (bug 1542744) for causing perma mochitest failures in /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/StaticPrefList CLOSED TREE
Backed out changeset f94b6f3a7fff (bug 1542744)
Backed out changeset c51b622bb1fe (bug 1542744)
Backed out changeset aedbe6cdd06f (bug 1542744)
2019-05-15 01:41:06 +03:00
Brindusan Cristian
82c0f498ee Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-05-15 00:52:00 +03:00
Kyle Machulis
6c8ad68e8a Bug 1540839 - Add pref for preserving browsing contexts; r=nika
Still having lots of issues with tests failing, but need to get this
landed for various reasons. Followup to pref on at Bug 1550571.

Differential Revision: https://phabricator.services.mozilla.com/D30563
2019-05-14 10:51:09 -07:00
dlee
8370cfe1bf Bug 1542744 - P2. Improve performance of MakePrefixSet by using different algorithm according to the number of prefixes. r=gcp
The goal of this patch is to reduce the number of memory reallocation during
|MakePrefixSet|[1].

Here is the number of nsTArray memory reallocation occur during |MakePrefixSet|
(test in my local platform):
googpub-phish-proto: 58k times
goog-malware-proto: 9k times
goog-unwanted-proto: 25k times
goog-badbinurl-proto: 6k times

This patch improves the performance by:
1. For tables whose prefixes are less than 128*1024(malware, unwanted,
badinurl).

Store prefixes directly without dividing allocation into smaller chunks.
Because the maximum size to store all the prefixes in a single array for
these tables will be less than 512k, we can avoid Bug 1046038.

This simplifies the internal prefixset data structure generation and total
memory usage is also saved:
goog-malware-proto  : 437K -> 163k
goog-unwanted-proto : 658k -> 446k
goog-badbinurl-proto: 320k -> 110k

The single largest allocated continuous memory size is:
goog-malware-proto  : 86k -> 163k
goog-unwanted-proto : 86k -> 446k
goog-badbinurl-proto: 77k -> 110k

A further improvement can be done for this part is for tables with fewer
prefixes, we can use an one-dimension delta array to reduce the size of a
single continuous memory allocation.

2. For tables with more prefixes:

According to experiment, when prefixes are more than 400k
the delta arrays have very high chance that are full, in the case of
phishing table, we can estimate the capacity accurately before
applying delta algorithm.

The shortcoming of this part is when prefixes are between 130k~400k,
the capacity estimation is not accurate.

[1] https://searchfox.org/mozilla-central/rev/b2015fdd464f598d645342614593d4ebda922d95/toolkit/components/url-classifier/nsUrlClassifierPrefixSet.cpp#99

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

--HG--
extra : moz-landing-system : lando
2019-05-14 21:05:41 +00:00
Mathieu Leplatre
64e548abb4 Bug 1549730 - Add guardrails for Remote Settings preferences r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D31043

--HG--
extra : moz-landing-system : lando
2019-05-14 20:45:03 +00:00
Mark Striemer
f71d78cf3c Bug 1532726 - Open add-on prefs in tab about:addons HTML r=flod,rpl
Differential Revision: https://phabricator.services.mozilla.com/D29786

--HG--
extra : moz-landing-system : lando
2019-05-13 19:04:06 +00:00
Jonathan Kew
c5d721dff7 Bug 1550532 - Avoid auto-hyphenating capitalized words, except for German. r=emilio,mats
This affects a number of our existing reftests, so we'll need to update those
to not expect auto-hyphenation of a sentence-initial (capitalized) word.

(Hyphenation behavior is not sufficiently well-specified for this to be tested
at the WPT level, so we just use Gecko-specific reftests.)

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

--HG--
extra : moz-landing-system : lando
2019-05-13 16:35:44 +00:00
Daniel Varga
bfc993c71e Merge mozilla-inbound to mozilla-central. a=merge 2019-05-11 00:48:13 +03:00
Narcis Beleuzu
e2ae6c94d9 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-05-10 05:58:35 +03:00
Andrew Osmond
672a591e29 Bug 1550504 - Add pref to allow slow frames logging, disabled by default. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D30508
2019-05-09 16:46:37 -04:00
Jean-Yves Avenard
e0f0e16680 Bug 1548795 - P2. Remove dom.performance.enable_scheduler_timing preference. r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D30467

--HG--
extra : moz-landing-system : lando
2019-05-09 23:12:12 +00:00
Jean-Yves Avenard
92822b915d Bug 1548795 - P1. Don't use StaticPrefs in GPU process. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D29984

--HG--
extra : moz-landing-system : lando
2019-05-09 23:12:12 +00:00
Michal Novotny
242a096333 Bug 1546975 - Cache SSL resumption tokens in necko, r=mayhemer
SSLTokensCache is a simple memory only storage for resumption tokens which are get and set using API for external TLS session caches in NSS.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 22:04:43 +00:00
Brindusan Cristian
ba4f64421f Backed out changeset 7fa8e33635fc (bug 1534012) for wpt failures at promise-rejection-events.html. CLOSED TREE 2019-05-10 01:10:40 +03:00
Sean Feng
87884c39a6 Bug 1534012 - Use a low priority ThrottledEventQueue for postMessages during page load r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D27386

--HG--
extra : moz-landing-system : lando
2019-05-09 14:43:40 +00:00
Brindusan Cristian
7f7d7f6a70 Backed out changeset e925cef1cadf (bug 1549326) for mochitest assertion failures at nsContentSecurityManager.cpp:205. CLOSED TREE 2019-05-09 21:05:40 +03:00
Jonas Allmann
4b72fd9bba Bug 1549326 - Remove simpletest.js from eval()-whitelist, r=ckerschb
Amend several test files for triggering eval() assertion through simpletest.js

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

--HG--
extra : moz-landing-system : lando
2019-05-09 16:02:49 +00:00
Matthew Noorenberghe
fa0e344c7b Bug 1550669 - Add a second row to autocomplete items for logins that shows origins. r=jaws
Based on a patch by Jared Wein <jwein@mozilla.com>

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

--HG--
extra : moz-landing-system : lando
2019-05-10 17:58:10 +00:00
Jonas Allmann
a6cd76af0c Bug 1549356 - Remove setup from eval()-whitelist, r=ckerschb
Flip pref in test_basic_form_autocomplete.html to allow eval() temporarily.

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

--HG--
extra : moz-landing-system : lando
2019-05-07 08:23:11 +00:00
Oana Pop Rus
c1f22ae4da Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-05-09 06:42:25 +03:00
Oana Pop Rus
b9da45f63c Merge inbound to mozilla-central. a=merge 2019-05-09 06:34:15 +03:00
Cameron McCormack
f5b7d1380b Bug 866102 - Implement -webkit-line-clamp. r=mats,emilio,dholbert
Differential Revision: https://phabricator.services.mozilla.com/D20115

--HG--
extra : moz-landing-system : lando
2019-05-09 02:32:30 +00:00
Dragana Damjanovic
28355093cb Bug 1531344 - Be strict about incorrect chunked encoding. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D28811

--HG--
extra : moz-landing-system : lando
2019-05-08 19:29:16 +00:00
Gijs Kruitbosch
20b94dcde5 Bug 1549833, r=valentin
Differential Revision: https://phabricator.services.mozilla.com//D30285

--HG--
extra : rebase_source : dcd2ecd154c5423143f449f52411eda32c61a972
2019-05-07 23:23:30 +01:00
Mike Conley
f6abfd1e36 Bug 1550157 - Set a pref if the user profile is using a userChrome.css or userContent.css file. r=emilio
This is in preparation to disable (but not remove) support for these customizations
by default. We want to avoid scanning for these files on start-up, but also don't want
to make our users jump through a pref-flipping hoop to get their customizations back.

So we'll detect those files and flip the pref for this release. For the next release,
we'll not load those files unless the pref is flipped.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 20:50:57 +00:00
Olli Pettay
d7f810a9c5 Bug 1548540, reduce how often performance counters are sent to the parent process, r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D30397

--HG--
extra : moz-landing-system : lando
2019-05-08 19:11:59 +00:00
Tim Nguyen
787a0c4d91 Bug 1548769 - Remove WebExtensions icons theming support. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D29802

--HG--
extra : moz-landing-system : lando
2019-05-08 20:28:24 +00:00
Andreea Pavel
ecb0fb992d Backed out changeset e8dbcc5c516f (bug 1548769) test_ext_manifest_themes.js on a CLOSED TREE
--HG--
extra : rebase_source : d708e0664844be8ee974347da4bbd92850c74225
2019-05-08 23:10:44 +03:00
Tim Nguyen
97c0372069 Bug 1548769 - Remove WebExtensions icons theming support. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D29802

--HG--
extra : moz-landing-system : lando
2019-05-08 18:31:29 +00:00
Andrea Marchesini
c97597a819 Bug 1457503 - Removal of http-equiv cookies. draft, r=jkt
Differential Revision: https://phabricator.services.mozilla.com/D29841

--HG--
extra : moz-landing-system : lando
2019-05-08 13:50:45 +00:00
Michael Froman
684ae6d496 Bug 1536126 - don't enable RDD process on platforms without sandboxing. r=drno
Landing for Jan Beich (jbeich@FreeBSD.org).

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

--HG--
extra : moz-landing-system : lando
2019-05-07 20:34:13 +00:00
Bogdan Tara
be70e99ad1 Backed out changeset 723587a2ae49 (bug 1531344) for netwerk/test/unit/test_* failures CLOSED TREE 2019-05-08 00:04:32 +03:00
Dragana Damjanovic
463cf81c74 Bug 1531344 - Be strict about incorrect chunked encoding. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D28811

--HG--
extra : moz-landing-system : lando
2019-05-07 17:57:33 +00:00
Johann Hofmann
d7bf464018 Bug 1549761 - Require user interaction for push notification permission prompts (with post-prompting) in Beta. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D30219

--HG--
extra : moz-landing-system : lando
2019-05-07 17:15:18 +00:00
Chris Pearce
d905b6207b Bug 1540573 - P4. Use larger MediaCache sizes when on cellular connection. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D26233

--HG--
extra : moz-landing-system : lando
2019-05-06 23:38:02 +00:00
Luca Greco
8ea36b7e78 Bug 1543377 - Add the abuse reporting WebComponents. r=mstriemer,flod,mixedpuppy,robwu
Depends on D27938 and D27547

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

--HG--
extra : moz-landing-system : lando
2019-05-06 18:45:01 +00:00
Luca Greco
c5e820dd3d Bug 1543377 - Add abuse report submission helpers. r=janerik,aswan
This patch contains a new jsm file which provides some helpers to be used for the
abuse report submission in the UI components related to abuse reporting,
and a new xpcshell test that unit test these helpers.

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

--HG--
extra : moz-landing-system : lando
2019-05-06 18:45:01 +00:00
Paul Bone
cc7e371160 Bug 1532838 - Set minimum nursery size to 256KB r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D29816

--HG--
extra : moz-landing-system : lando
2019-05-06 03:16:06 +00:00
Paul Bone
d3857d4888 Bug 1532838 - Add a pref for the minimum nursery size r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D29815

--HG--
extra : moz-landing-system : lando
2019-05-06 03:14:22 +00:00
Mihai Alexandru Michis
e329bc4d67 Merge mozilla central to mozilla inbound on a CLOSED TREE 2019-05-04 01:00:29 +03:00
Andreea Pavel
e2388edd9f Backed out 7 changesets (bug 1540573) for causing bug 1548441
Backed out changeset dd882b8cd73e (bug 1540573)
Backed out changeset b10d2cae45f2 (bug 1540573)
Backed out changeset 270a8917377f (bug 1540573)
Backed out changeset 3db059b34e40 (bug 1540573)
Backed out changeset fe196b2dfc62 (bug 1540573)
Backed out changeset 1bde5042e507 (bug 1540573)
Backed out changeset 4ff116b9d729 (bug 1540573)
2019-05-03 20:35:27 +03:00