Commit Graph

3369 Commits

Author SHA1 Message Date
Ting-Yu Lin
afef0bf612 Bug 1485063 Part 4 - Move preferences used in AccessibleCaretManager to StaticPrefList.h. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D5474

--HG--
extra : moz-landing-system : lando
2018-09-10 22:38:41 +00:00
Ting-Yu Lin
b91559ddb2 Bug 1485063 Part 3 - Move preferences which enable AccessibleCaret to StaticPrefList.h. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D5472

--HG--
extra : moz-landing-system : lando
2018-09-10 22:24:21 +00:00
Ting-Yu Lin
1ff0aabd92 Bug 1485063 Part 2 - Move preferences used in AccessibleCaretEventHub to StaticPrefList.h. r=mats
"layers.async-pan-zoom.enabled" has been enabled for all platforms for a
long time. I reword the comment to avoid confusion.

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

--HG--
extra : moz-landing-system : lando
2018-09-10 22:22:24 +00:00
Ting-Yu Lin
b1effb9c51 Bug 1485063 Part 1 - Move preferences used in AccessibleCaret to StaticPrefsList.h r=mats
Differential Revision: https://phabricator.services.mozilla.com/D5470

--HG--
extra : moz-landing-system : lando
2018-09-10 22:20:06 +00:00
Ting-Yu Lin
513be2f9d5 Bug 1408841 - Remove preference "layout.css.filters.enabled". r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D5467

--HG--
extra : moz-landing-system : lando
2018-09-10 22:45:20 +00:00
Andreea Pavel
2b539c7b7e Merge autoland to mozilla-central. a=merge 2018-09-11 00:58:48 +03:00
Andrea Marchesini
774bf5cc26 Bug 1489844 - Port DOMPrefs to StaticPrefs - part 27 - dom.worker.canceling.timeoutMilliseconds, r=ehsan 2018-09-10 20:36:18 +02:00
Andrea Marchesini
7f5b4be48c Bug 1489844 - Port DOMPrefs to StaticPrefs - part 26 - browser_dom_window_dump_enabled, r=ehsan 2018-09-10 20:36:18 +02:00
Andrea Marchesini
53323036ee Bug 1489844 - Port DOMPrefs to StaticPrefs - part 23 - dom.script_loader.binast_encoding.enabled, r=ehsan 2018-09-10 20:36:17 +02:00
Andrea Marchesini
194f006ba9 Bug 1489844 - Port DOMPrefs to StaticPrefs - part 22 - dom.indexedDB.storageOption.enabled, r=ehsan 2018-09-10 20:36:17 +02:00
Andrea Marchesini
a08ebce8d8 Bug 1489844 - Port DOMPrefs to StaticPrefs - part 21 - dom.enable_performance_observer, r=ehsan 2018-09-10 20:36:17 +02:00
Andrea Marchesini
841dd1282e Bug 1489844 - Port DOMPrefs to StaticPrefs - part 20 - devtools.enabled, r=ehsan 2018-09-10 20:36:17 +02:00
Andrea Marchesini
7de64f2060 Bug 1489844 - Port DOMPrefs to StaticPrefs - part 19 - privacy.resistFingerprinting.autoDeclineNoUserInputCanvasPrompts, r=ehsan 2018-09-10 20:36:17 +02:00
Andrea Marchesini
f7d3352ce2 Bug 1489844 - Port DOMPrefs to StaticPrefs - part 18 - privacy.resistFingerprinting, r=ehsan 2018-09-10 20:36:17 +02:00
Andrea Marchesini
fda9223d0e Bug 1489844 - Port DOMPrefs to StaticPrefs - part 17 - dom.fetchObserver.enabled, r=ehsan 2018-09-10 20:36:17 +02:00
Andrea Marchesini
82b6a8da30 Bug 1489844 - Port DOMPrefs to StaticPrefs - part 16 - dom.netinfo.enabled, r=ehsan 2018-09-10 20:36:17 +02:00
Andrea Marchesini
c47168b4b7 Bug 1489844 - Port DOMPrefs to StaticPrefs - part 15 - dom.webkitBlink.dirPicker.enabled, r=ehsan 2018-09-10 20:36:16 +02:00
Andrea Marchesini
7a7da121dc Bug 1489844 - Port DOMPrefs to StaticPrefs - part 14 - gfx.offscreencanvas.enabled, r=ehsan 2018-09-10 20:36:16 +02:00
Andrea Marchesini
54cc64fa25 Bug 1489844 - Port DOMPrefs to StaticPrefs - part 13 - dom.streams.enabled, r=ehsan 2018-09-10 20:36:16 +02:00
Andrea Marchesini
50429ea3ae Bug 1489844 - Port DOMPrefs to StaticPrefs - part 12 - dom.push.enabled, r=ehsan 2018-09-10 20:36:16 +02:00
Andrea Marchesini
eb04a59fb8 Bug 1489844 - Port DOMPrefs to StaticPrefs - part 11 - dom.promise_rejection_events.enabled, r=ehsan 2018-09-10 20:36:16 +02:00
Andrea Marchesini
deaf03b28e Bug 1489844 - Port DOMPrefs to StaticPrefs - part 10 - dom.storageManager.enabled, r=ehsan 2018-09-10 20:36:16 +02:00
Andrea Marchesini
7cef10ddb5 Bug 1489844 - Port DOMPrefs to StaticPrefs - part 9 - dom.serviceWorkers.testing.enabled, r=ehsan 2018-09-10 20:36:16 +02:00
Andrea Marchesini
70d8e635cf Bug 1489844 - Port DOMPrefs to StaticPrefs - part 8 - dom.serviceWorkers.enabled, r=ehsan 2018-09-10 20:36:15 +02:00
Andrea Marchesini
ddda8d451e Bug 1489844 - Port DOMPrefs to StaticPrefs - part 7 - dom.webnotifications.requireinteraction.enabled, r=ehsan 2018-09-10 20:36:15 +02:00
Andrea Marchesini
e3c7a44eb3 Bug 1489844 - Port DOMPrefs to StaticPrefs - part 6 - dom.webnotifications.serviceworker.enabled, r=ehsan 2018-09-10 20:36:15 +02:00
Andrea Marchesini
857ed47a4a Bug 1489844 - Port DOMPrefs to StaticPrefs - part 5 - dom.webnotifications.enabled, r=ehsan 2018-09-10 20:36:15 +02:00
Andrea Marchesini
74d358af13 Bug 1489844 - Port DOMPrefs to StaticPrefs - part 4 - dom.performance.enable_user_timing_logging, r=ehsan 2018-09-10 20:36:15 +02:00
Andrea Marchesini
8288bddafb Bug 1489844 - Port DOMPrefs to StaticPrefs - part 3 - dom.caches.testing.enabled, r=ehsan 2018-09-10 20:36:15 +02:00
Andrea Marchesini
d26d5425d9 Bug 1489844 - Port DOMPrefs to StaticPrefs - part 2 - dom.caches.enabled, r=ehsan 2018-09-10 20:36:15 +02:00
Andrea Marchesini
84efbc6ccd Bug 1489844 - Port DOMPrefs to StaticPrefs - part 1 - canvas_imagebitmap_extensions_enabled, r=ehsan 2018-09-10 20:36:14 +02:00
Robert Helmer
7d4c15f217 Bug 1465251 - use PrioEncoder to encode Telemetry values for pilot project r=kmag
Use PrioEncoder to encode a few already-included histograms, so we can compare results on the Telemetry server side.

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

--HG--
extra : moz-landing-system : lando
2018-09-09 00:23:52 +00:00
Francois Marier
1a9a0f0817 Bug 1489590 - Teach the URL classifier about the FastBlock lists. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D5297

--HG--
extra : moz-landing-system : lando
2018-09-07 20:31:18 +00:00
Martin Stransky
eec457b056 Bug 1408360 - Make toplevel window transparent under mozilla.widget.titlebar-theme-round-corners pref, r=jhorak
Some Gtk+ themes use non-rectangular toplevel windows. To fully support
such themes we need to make toplevel window transparent with ARGB visual.
It may cause performance issue so let's put it under a preference
and allow distros to enable it per default theme.

Depends on D4664

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

--HG--
extra : moz-landing-system : lando
2018-09-06 11:52:46 +00:00
Andrea Marchesini
9290eb7909 Bug 1488165 - Remove security.csp.enable_violation_events pref, r=dveditz 2018-09-06 09:05:10 +02:00
Xidorn Quan
9bee3c7fdc Bug 1486325 - Enable webkit-prefixed unknown pseudo-element by default. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D5010

--HG--
extra : moz-landing-system : lando
2018-09-05 11:44:57 +00:00
Boris Chiou
8e384ca9b3 Bug 1487838 - Add a pref for |clip-path:path()|. r=xidorn
Add a preference, layout.css.clip-path-path.enabled, for |clip-path:path()|.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 04:50:33 +00:00
Miko Mynttinen
4938049810 Bug 1413546 - Fix e10s logic in nsLayoutUtils::AreRetainedDisplayListsEnabled() and set layout.display-list.retain.chrome to true r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D2953

--HG--
extra : moz-landing-system : lando
2018-09-04 14:53:18 +00:00
Kershaw Chang
766fce11a1 Bug 1357676 - Implement batch eviction r=jdm
1. Add network.cookie.QuotaPerHost, which has the default value 150.
2. When the cookies exceed more than 180, evict cookies to 150.
3. The concept of eviction is to sort all cookies by whether the cookie is expired and the cookie's last access time. Then, evict cookies by the given count.
4. Details of evict algorithm:
   4.1 Create a priority queue and push all cookies in it.
   4.2 Use custom comparator to compare the cookie by expiry and last access.
   4.3 Pop 30(180 - 150) cookies from the queue and append them to an output array.

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

--HG--
extra : moz-landing-system : lando
2018-09-03 14:49:58 +00:00
Ting-Yu Lin
6f4a25f896 Bug 1347048 - Remove AccessibleCaret's selection bar support. r=mats
This UI feature was used by B2G only.

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

--HG--
extra : moz-landing-system : lando
2018-08-31 13:51:51 +00:00
Ehsan Akhgari
414b60a6ca Bug 1487178 - Ensure that the Firefox configuration is up to date for the Content Blocking project; r=johannh 2018-08-31 10:20:17 +02:00
Xidorn Quan
63a8649721 Bug 1486297 - Add a pref for Pointer Lock API so that user can disable it. r=smaug!
Differential Revision: https://phabricator.services.mozilla.com/D4637

--HG--
extra : moz-landing-system : lando
2018-08-30 22:55:31 +00:00
Masayuki Nakano
be86e183fd Bug 1486370 - Change nsAutoCopyListener to a static class r=smaug
nsAutoCopyListener is a singleton class but refcountable and a selection
listener.  nsFrameSelection adds it to only normal Selection when it's on
macOS or it's enabled by the pref.  Additionally, it's always first selection
listener since it's added immediately after Selection instance is created.

So, we can make it a static class, and normal Selection instance should have
a bool to decide whether it should notify nsAutoCopyListener of its changes.
Then, we can save the cost of grabbing it with local RefPtr and the virtual
call.

Additionally, this patch renames nsAutoCopyListener to mozilla::AutoCopyListener
and optimizes constructor of nsFrameSelection (using bool var cache to retrieve
the pref, avoid retrieving the pref on macOS).

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

--HG--
rename : layout/generic/nsAutoCopyListener.h => layout/generic/AutoCopyListener.h
extra : moz-landing-system : lando
2018-08-30 07:36:23 +00:00
Ciure Andrei
d716a04e20 Merge inbound to mozilla-central. a=merge 2018-08-29 00:58:21 +03:00
Ting-Yu Lin
2c847c1eb9 Bug 1485495 - Move column-span preference to StaticPrefList.h. r=dholbert
We can access the bool pref in C++ by writing

  if (StaticPrefs::layout_css_column_span_enabled()) {
     // do something
  }

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

--HG--
extra : moz-landing-system : lando
2018-08-27 18:38:58 +00:00
Xidorn Quan
7e1e060971 Bug 1424106 - Accept unknown webkit pseudo-element. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D4186

--HG--
extra : source : 9537cee04b53aa60d3f40a1b9d05ab8f739a92f8
2018-08-24 22:17:37 +10:00
Patrick Walton
b8b76ab4fe Bug 1485538 - Expose WebRender's "show overdraw" debug mode behind a pref. r=jrmuizel 2018-08-10 20:17:01 -07:00
Emilio Cobos Álvarez
7f1f4ab7f0 Bug 1425700 - Hook the use counters into StyleSheet parsing. r=heycam
Still not hooked into telemetry, I talked with :janerik and :gfritzsche about
that, but test incoming!

This intentionally doesn't handle CSSOM and such for now, will file followups
for those, though should be trivial.

I want to unify / clean up how we do the use counters and the error reporting
stuff for CSSOM, since the current function call still shows up in profiles,
but that should be a follow-up.

Differential Revision: https://phabricator.services.mozilla.com/D3828
2018-08-28 15:58:19 +02:00
Ehsan Akhgari
1022d7475b Bug 1485839 - Remove the obsolete privacy.restrict3rdpartystorage.ui.enabled pref; r=nika 2018-08-28 08:29:33 -04:00
Ehsan Akhgari
2d62042b5c Bug 1486092 - Part 1: Move the browser.contentblocking.enabled pref to StaticPrefs; r=baku 2018-08-27 09:22:01 -04:00