Граф коммитов

15601 Коммитов

Автор SHA1 Сообщение Дата
Randell Jesup e213c06fe8 Bug 1270059: Defer setTimeout/Intervals()s in content during pageload r=smaug
They will run off the new DeferredTimers idle queue if idle time is available
2019-01-26 12:18:06 -05:00
Ciure Andrei 849dbde8e4 Backed out 2 changesets (bug 1507286, bug 1497146) for causing multiple crashes in nsFocusManager::GetRedirectedFocus a=backout
Backed out changeset 0509a9edc58a (bug 1507286)
Backed out changeset 21ad3aeb636f (bug 1497146)
2019-01-26 15:09:03 +02:00
Ehsan Akhgari 7426dccfc0 Bug 1522596 - Remove nsIIPCSerializableURI and move its only member to nsIURI; r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D17531

--HG--
extra : moz-landing-system : lando
2019-01-25 13:32:36 +00:00
Alphan Chen 288d9d4baa Bug 1507286 - Convert content-sessionStore.jsm to C++ r=mikedeboer,nika
Test Plani: browser/components/sessionstore/test/

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

--HG--
extra : moz-landing-system : lando
2019-01-25 13:14:28 +00:00
Narcis Beleuzu dcd0b9d50a Merge inbound to mozilla-central. a=merge 2019-01-25 06:28:32 +02:00
Eugen Sawin 750397ffaf Bug 1517641 - [2.0] Rename blocklist names to use a three-part naming scheme. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D17523

--HG--
extra : moz-landing-system : lando
2019-01-24 20:04:02 +00:00
Dimi Lee 49bd46a659 Bug 1521493 - Add fingerprinting and cryptomining tables to SafeBrowsing update list. r=baku
The fingerprinting and cryptomining feature enable preferences are already default ON in Nightly
- "privacy.trackingprotection.fingerprinting.enabled"
- "privacy.trackingprotection.cryptomining.enabled"

Since sharvar server didn't support clients to download the new list that time, we didn't add the tables to SafeBrowsing update list.

This patch adds the fingerprinting and cryptomining tables to SafeBrowsing table update preferences because we can download the new list from shavar server now.

    After landing this patch, fingerprinting and cryptoming should work in Nightly.

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

--HG--
extra : moz-landing-system : lando
2019-01-24 08:27:38 +00:00
Oana Pop Rus 028136ace2 Merge inbound to mozilla-central. a=merge 2019-01-24 18:50:45 +02:00
vinoth cc6d429241 Bug 1512949 - Remove eval from tests and flip assertion flag r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D14054

--HG--
extra : moz-landing-system : lando
2019-01-24 09:06:07 +00:00
Ciure Andrei c035ee7d3a Merge inbound to mozilla-central. a=merge 2019-01-24 05:44:33 +02:00
Andrea Marchesini 0ae3238ccd Bug 1522181 - multiple external protocol URL blocker behind pref, r=smaug 2019-01-24 06:31:41 +01:00
Sebastian Hengst 725402f21f Merge mozilla-central to autoland. CLOSED TREE 2019-01-29 02:05:49 +02:00
Shane Caraveo 050ca2e7d4 Bug 1511636: update incognito support to use pref and permissions r=rpl,aswan,kmag
This changes the policy to use the pref and permissions rather than a boolean flag.  Using permissions gets us proper settings on startup without introducing any new overhead.  Going this way flips our tests around so rather than testing an override to turn off private browsing support, we test overrides to enable private browsing support.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:10:47 +00:00
Timothy Guan-tin Chien c013639646 Bug 1507895 - Part V, Remove dom.ua_widget.enabled pref r=smaug
With all the dependency removed this pref can be safely removed.

Depends on D17574

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:33:25 +00:00
Andrea Marchesini e563896a47 Bug 1515665 - StorageAccess::ePartitionedOrDeny must be used only for trackers, rehsan 2019-01-23 19:19:19 +01:00
Kris Maglione e930b89c34 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

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

--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Nathan Froyd a9fb00a2f6 Bug 1485216 - remove Scheduler and related code from xpcom/threads; r=mccr8
Quantum DOM is no longer a priority, and the extra code it introduces to
several places block useful refactorings.
2019-01-22 20:16:56 -05:00
Harry Twyford 70df5bbf20 Bug 1313429 - Add Touch Bar functionality to Firefox r=spohl,mikedeboer,flod
Adds Touch Bar functionality to Firefox across eight commits.

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

--HG--
extra : moz-landing-system : lando
2019-01-22 17:13:33 +00:00
Olli Pettay 25158c7ea2 Bug 1521334, make parser to flush its tree operation queue sooner, r=hsivonen 2019-01-21 16:03:03 +02:00
Ryan Hunt 58a87fc778 Bug 1515946 - Let scroll anchoring ride the trains on everything except Fennec. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D17086

--HG--
extra : moz-landing-system : lando
2019-01-21 01:58:34 +00:00
Emilio Cobos Álvarez c16bf47250 Bug 1521399 - Remove layout.css.overflow.moz-scrollbars.enabled. r=mats
We've been shipping it for a few releases already, see bug 1481125.

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

--HG--
extra : moz-landing-system : lando
2019-01-21 01:35:00 +00:00
Noemi Erli 7290d8e693 Merge inbound to mozilla-central. a=merge 2019-01-19 23:54:33 +02:00
Cosmin Sabou 0b9307f8ce Merge mozilla-central to mozilla-inbound. a=merge 2019-01-19 12:13:25 +02:00
Cosmin Sabou 7ccc9d8b0b Merge mozilla-inbound to mozilla-central. a=merge 2019-01-19 11:57:49 +02:00
David Major c80009663b No bug - add a comment explaining why zlib's sources can't be unified. DONTBUILD 2019-01-18 22:03:40 -05:00
David Major d8d830c2dd Bug 1520647: Add a comment explaining why fdlibm sources can't be unified. DONTBUILD 2019-01-18 21:28:18 -05:00
Jonathan Kew 46e04cf9d3 Bug 1517937 - Move JhengHei to the end of zh-TW sans-serif font prefs on late-beta/release so that previous default of PMingLiu will take precedence for now. r=m_kato 2019-01-18 18:16:42 +00:00
Cosmin Sabou 12149d8542 Merge mozilla-central to autoland. a=merge 2019-01-19 12:10:17 +02:00
Michael Froman ec0289efb3 Bug 1521181 - Pref on RDD/AV1 for OSX. r=drno
Differential Revision: https://phabricator.services.mozilla.com/D17025

--HG--
extra : moz-landing-system : lando
2019-01-18 20:59:23 +00:00
Luca Greco 220c6752d7 Bug 1488825 - Enable ExtensionStorageIDB backend on all channels. r=aswan
This patch enables the WebExtensions "browser.storage.local" IndexedDB backend
on non-Nightly channels.

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

--HG--
extra : moz-landing-system : lando
2019-01-16 23:47:44 +00:00
Margareta Eliza Balazs 0ba2ee586d Backed out changeset 92c56dcf69b8 (bug 1512949) for mochitest failures setup | Login to delete is defined: login0 - false == true - got false, expected true (operator ==) CLOSED TREE 2019-01-18 14:19:05 +02:00
vinoth 5d09ad138e Bug 1512949 - Remove eval from tests and flip assertion flag r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D14054

--HG--
extra : moz-landing-system : lando
2019-01-15 13:11:19 +00:00
Andrea Marchesini 89a0cf9c7e Bug 1514547 - Timing token to allow external protocol URLs are blocked in iframes without user-interaction, r=smaug 2019-01-24 20:05:03 +01:00
Michal Novotny fcbc8b9cd2 Bug 1455723 - Firefox59 does not properly honor cache size set in autoconfig files, r=mayhemer
We keep old cache code in the tree only because of offline cache. We no longer allow using old disk or memory cache. This patch removes all preferences manipulation from old cache code that isn't used by offline cache. It removes also some related code (e.g. everything smart size related, unused defines etc.), but the goal wasn't to remove all unused code from the old cache.
2019-01-14 06:47:00 +02:00
Martin Stransky 59a8114e76 Bug 1521012 - [Linux/GNOME] Use X shape mask to draw transparent corners when we draw to titlebar, r=lsalzman
To support rounded corners of Gtk+ titlebar themes (Adwaita, Radiance..) in GNOME we need to use X shape mask
as fully transparent toplevel window causes various issues (like Bug 1516224).

We draw mShell as transparent and mContainer as non-transparent with shape mask applied. The shape mask
is generated only when titlebar rendering is enabled and it's generated from GtkHeaderBar Widget
to match the exact look.

We use existing mTransparencyBitmap for the shape mask where mTransparencyBitmapForTitlebar controls
whether it's a general shape mask or our specialised shape for titlebar only.

This is already enabled for GNOME environment by default. So there's a new preference
widget.default-hidden-titlebar added to easily disable it if any issue appears
during testing.

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

--HG--
extra : moz-landing-system : lando
2019-01-23 12:36:25 +00:00
Ehsan Akhgari e5e885ae31 Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
# ignore-this-changeset

--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Ehsan Akhgari 06c3d29113 Bug 1521000 - Part 1: Reformat the tree to ensure everything is formatted correctly with clang-format r=sylvestre
Summary: # ignore-this-changeset

Reviewers: sylvestre

Reviewed By: sylvestre

Subscribers: reviewbot, emilio, jandem, bbouvier, karlt, jya

Bug #: 1521000

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

--HG--
extra : histedit_source : 4add583bfa729ccc1aef934629ed45ff095189b0
2019-01-18 10:12:56 +01:00
Eugen Sawin 462e1ab742 Bug 1517641 - [1.0] Add experimental ad-blocking category to the Tracking Protection API.
Differential Revision: https://phabricator.services.mozilla.com/D16700
2019-01-18 00:58:19 +01:00
Tooru Fujisawa 5387becfb9 Bug 1519302 - Add pref to restrict BinAST feature to specific hosts. r=baku
To reduce the attack surface in early test for BinAST, add a preference to
restrict the hosts that Firefox accepts BinAST file from.
The preference is turned on by default (BinAST itself is turned off by
default for now), and the list contains hosts which is going to be used in
early test.
For hosts not listed in the list, Firefox doesn't send BinAST MIME-Type in
Accept field, and doesn't handle BinAST file in case the server returns
BinAST file.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 03:22:39 +00:00
Bobby Holley e12967b520 Bug 1520275 - Add primitive debug display. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D16593
2019-01-16 15:25:25 -08:00
Dragana Damjanovic fc155bc720 Bug 1513059 - Use the minimal XPCOM for the socket process.r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D15024

--HG--
extra : moz-landing-system : lando
2019-01-16 23:05:11 +00:00
Glenn Watson 5192d3c194 Bug 1518405 - Turn on picture caching in webrender. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D16740

--HG--
extra : moz-landing-system : lando
2019-01-16 21:28:53 +00:00
Alastor Wu e5bba6b8f2 Bug 1520088 - part5 - add pref to control whether blacklist can override the default setting. r=cpearce
Differential Revision: https://phabricator.services.mozilla.com/D16640

--HG--
extra : moz-landing-system : lando
2019-01-16 03:57:11 +00:00
Cosmin Sabou c5393102ee Backed out changeset 0b1911ea8b8b (bug 1520275) for qr wrench bustages. CLOSED TREE 2019-01-16 21:22:29 +02:00
Bobby Holley 7635435179 Bug 1520275 - Add primitive debug display. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D16593
2019-01-16 10:55:11 -08:00
Andreea Pavel a71daaa45c Backed out changeset 8c88a33dc39f (bug 1519302) for failing _mozilla/binast/domain-restrict-excluded.https.html on a CLOSED TREE 2019-01-16 19:34:18 +02:00
Tooru Fujisawa 57d8853e72 Bug 1519302 - Add pref to restrict BinAST feature to specific hosts. r=baku
To reduce the attack surface in early test for BinAST, add a preference to
restrict the hosts that Firefox accepts BinAST file from.
The preference is turned on by default (BinAST itself is turned off by
default for now), and the list contains hosts which is going to be used in
early test.
For hosts not listed in the list, Firefox doesn't send BinAST MIME-Type in
Accept field, and doesn't handle BinAST file in case the server returns
BinAST file.

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

--HG--
extra : moz-landing-system : lando
2019-01-16 13:12:00 +00:00
Junior Hsu 0575720a12 Bug 1514065 - resume the bp-suspension if the divsersion starts r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D14361

--HG--
extra : moz-landing-system : lando
2019-01-16 00:57:11 +00:00
Daniel Varga 55006aaaec Merge mozilla-inbound to mozilla-central. a=merge 2019-01-16 06:49:11 +02:00
dlee cb7ce369ed Bug 1513490 - Support update cryptomining and fingerprinting list in SafeBrowsing. r=gcp
Add the fingerprinting and cryptomining tables to the SafeBrowsing
update list.
Leave the preference of blacklist/whitelist tables empty until the
shavar server is ready.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 19:29:49 +00:00
alwu 8632d7588c Bug 1506290 - part1 : implement 'document.autoplayPolicy'. r=baku,cpearce
`document.autoplayPolicy` returns a enum string that can change overtime based on user session activity:

- “allowed” if autoplay is currently allowed.
- “allowed-muted” if muted video autoplay is currently allowed.
- “disallowed” is autoplay is not current allowed.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 00:13:34 +00:00
Daosheng Mu d6ce4d5c42 Bug 1516554 - Enable VR process in Nightly Windows. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D15434

--HG--
extra : moz-landing-system : lando
2019-01-14 17:51:41 +00:00
Dimi Lee dcc7462a9b Bug 1519660 - Remove flash info bar from SafeBrowsing list. r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D16397

--HG--
extra : moz-landing-system : lando
2019-01-14 15:47:23 +00:00
Valentin Gosu 1403ae7440 Bug 1519711 - Make nsIURI::SchemeIs return false when passed null scheme r=qdot
Differential Revision: https://phabricator.services.mozilla.com/D16409

--HG--
extra : moz-landing-system : lando
2019-01-13 18:05:39 +00:00
Kershaw Chang 0b336d5545 Bug 1513057 - P1: Start the new socket process basics (prefs, full xpcom init, logging, no sandboxing) r=mayhemer,dragana
Differential Revision: https://phabricator.services.mozilla.com/D14148

--HG--
extra : moz-landing-system : lando
2019-01-11 18:57:23 +00:00
Kyle Machulis 32abb9ff27 Bug 1518956 - Make C++ infallible/simplified versions of nsIURI::SchemeIs; r=valentin
SchemeIs only throws exceptions on null arguments now. Assert
arguments, as they should never be null anyways, and create an
infallible C++ version.

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

--HG--
extra : moz-landing-system : lando
2019-01-11 08:09:33 +00:00
Eric Rahm 0b31c53d94 Bug 1520227 - Increase content process count to 8. r=felipe
--HG--
extra : rebase_source : a458ac7b537b8ac77929abbb23ff0903ae55990c
2019-01-15 09:32:29 -08:00
Lars T Hansen d66fb136aa Bug 1508561 - Disentangle support for reftypes and gc. r=jseward
This does the following:

- It introduces a controlling ifdef ENABLE_WASM_REFTYPES that enables
  exactly those features that are in the reftypes proposal, excluding
  those in the gc proposal.  Any remaining features (namely, ref.eq,
  (ref T) types, struct types) are still under ENABLE_WASM_GC control.
  ENABLE_WASM_GC requires ENABLE_WASM_REFTYPES and this is checked.

- It introduces a new TestingFunctions predicate, wasmReftypesEnabled,
  that distinguishes reftype-proposal support from gc-proposal
  support.  We keep wasmGcEnabled to test for gc-proposal support.

- It segregates test cases so that gc-proposal relevant tests are in
  their own files, and tests relevant to the reftypes-proposal are now
  guarded by wasmReftypesEnabled.

- It renames the predicate HasGcSupport() as HasReftypesSupport(),
  since that is what the predicate tests for.

- It has a drive-by fix for the DEBUG-only function wasm::Classify()
  to properly put ref.null and ref.is_null under ifdef control.

Reftypes will soon be enabled unconditionally in Nightly (once we can
trace pointers from Ion frames) while gc-types will remain conditional
until Ion supports all the new instructions for struct types.  Therefore:

- The command line switch and about:config option are still called
  --wasm-gc and j.o.wasm_gc, respectively, which is fine since they will
  fairly soon control only gc-proposal features.

- Internal names still use "Gc" rather than "Reftypes", eg,
  HasGcTypes, wasmGc_, and so on.  This is most appropriate since it
  reduces the scope of the patch and these names will pertain mainly
  to the gc feature in the future.

--HG--
extra : rebase_source : 51cf3bfe67da594e89195472e4ce1ccfa36c146d
2018-12-18 17:26:32 +01:00
Matt Woodrow 7adb490485 Backed out changeset 95324d36ded5 (Bug 1518405) for causing performance regressions. 2019-01-11 18:59:46 +13:00
Daniel Varga 1b2c69a5c1 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-01-11 06:23:02 +02:00
Coroiu Cristina 1468575650 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2019-01-10 23:45:07 +02:00
Bogdan Tara 6d78d1e2c9 Backed out 15 changesets (bug 1305957) for ASAN failures CLOSED TREE
Backed out changeset 4d5eb85d3155 (bug 1305957)
Backed out changeset 51c86d025ecb (bug 1305957)
Backed out changeset d8eef8f3e396 (bug 1305957)
Backed out changeset 950bf6ad1ef2 (bug 1305957)
Backed out changeset b4cb2cbebdb6 (bug 1305957)
Backed out changeset bfca5019a9cc (bug 1305957)
Backed out changeset e76b842c7b7f (bug 1305957)
Backed out changeset d9445a5f3458 (bug 1305957)
Backed out changeset d9052f7b34d9 (bug 1305957)
Backed out changeset e7124fecb721 (bug 1305957)
Backed out changeset bdb766faa867 (bug 1305957)
Backed out changeset 3033401ef320 (bug 1305957)
Backed out changeset 6b96050386f6 (bug 1305957)
Backed out changeset c66c00f73296 (bug 1305957)
Backed out changeset 6bd0bdab93cb (bug 1305957)
2019-01-10 18:49:22 +02:00
Doug Thayer 6dae89e2f0 Bug 1441308 - Add pref to disable texture cache clear r=bholley
To facilitate testing of document splitting before it is preffed on,
I'm adding a pref to disable clearing the texture cache, since this
will currently crash the browser with doc splitting on.

Depends on D13840

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

--HG--
extra : moz-landing-system : lando
2019-01-10 16:59:47 +00:00
Andrea Marchesini 157fe381ee Bug 1519101 - Disable fingerprinting and cryptomining features by default, r=dimi 2019-01-10 17:18:20 +01:00
shindli 10e6aab606 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-09 23:47:58 +02:00
shindli 20a70f9169 Merge autoland to mozilla-central. a=merge 2019-01-09 23:40:48 +02:00
Bob Owen cb4c868305 Bug 1515826: Disable RDD process and AV1 on Windows arm64. r=jya 2019-01-09 17:40:33 +00:00
Kartikaya Gupta fc2572cd68 Bug 1518405 - Turn on picture caching in webrender. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D16060

--HG--
extra : moz-landing-system : lando
2019-01-09 16:39:06 +00:00
Dão Gottwald eda54e25bf Bug 1512493 - Make switching tabs by scrolling pref-controlled and off by default. r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D16021

--HG--
extra : moz-landing-system : lando
2019-01-09 14:38:42 +00:00
Andrea Marchesini 5752cef527 Bug 1417463 - Default accept header should follow the fetch spec, r=mayhemer
For navigation: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
For images: image/png,image/svg+xml,image/*;q=0.8,*/*;q=0.5
for style: text/css,*/*;q=0.1
Anything else: */*
2019-01-08 23:36:16 +01:00
alwu edbf43dd41 Bug 1513039 - part10 : remove nsIAutoplay.PROMPT r=daleharvey,cpearce
Depends on D14334

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

--HG--
extra : moz-landing-system : lando
2019-01-07 18:41:03 +00:00
Ryan Hunt deae3f5bc6 Bug 1305957 part 13 - Highlight scroll anchor when 'layout.scroll-anchoring.highlight' is enabled. r=mattwoodrow
This commit adds a debug pref that will highlight the frames that are marked as
anchor nodes. This is helpful to debug anchor selection.

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

--HG--
extra : rebase_source : 4b782de348454ad5660366814d4fe290ff2be152
extra : source : d8eef8f3e396d3a6f82607f53fc280316f184e86
2018-11-27 15:40:57 -06:00
Ryan Hunt e54839acce Bug 1305957 part 13 - Highlight scroll anchor when 'layout.scroll-anchoring.highlight' is enabled. r=mattwoodrow
This commit adds a debug pref that will highlight the frames that are marked as
anchor nodes. This is helpful to debug anchor selection.

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

--HG--
extra : rebase_source : 61109b3d967f0e4f8e5a260a71fecc01ebf22c73
extra : histedit_source : d2275fdb4edc3d7f6b006c8c7ab24fca1223998d
2018-11-27 15:40:57 -06:00
Ryan Hunt b6d009810b Bug 1305957 part 1 - Add 'layout.scroll-anchoring.enabled' preference behind nightly flag. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D13263

--HG--
extra : rebase_source : b397ecfeba6c4d4da7efe24cc3c6a229fc542b39
extra : source : 6bd0bdab93cb653f984195f55a833a1925f7b2b0
2018-11-27 15:43:26 -06:00
Ryan Hunt 9761005f99 Bug 1305957 part 1 - Add 'layout.scroll-anchoring.enabled' preference behind nightly flag. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D13263

--HG--
extra : rebase_source : cc33b22252dae023a904ea7dd26117e1d70a92dc
extra : histedit_source : f4fad5a2180bad4af9e42470bd9b0a51d8c5bdab
2018-11-27 15:43:26 -06:00
Masayuki Nakano ed2040ac16 Bug 1447239 - Implement InputEvent.inputType r=smaug
This patch implements InputType.inputType which is declared by Input Events.
The attribute has already been implemented by Chrome and Safari.  Chrome
implements Input Events Level 1, but Safari implements Input Events Level 2.
 Difference between them is only whether it supports "insertFromComposition",
"deleteByComposition" and "deleteCompositionText".  This patch makes the
level switchable with pref and takes Level 1 by default because Level 2 is
still unstable around event order with composition events.

For reducing string copy cost at dispatching "input" event, this patch
makes EditorInternalInputEvent store valid input-type as enum class,
EditorInputType and resolves it to string value when
dom::InputEvent::GetInputType() is called.  Note that the reason why
this patch names the enum class as EditorInputType is, there is InputType
enum class already for avoiding conflict the name, this appends "Editor"
prefix because "input" and "beforeinput" events are fired only when an
editor has focus.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 10:10:57 +00:00
shindli f63d10362d Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-05 06:13:47 +02:00
Nick Alexander fb666a21fe Bug 1517878 - Make dom.vr.{openvr,occulus}.enabled=false on Android. r=kip
These prefs are irrelevant on Android, so let's keep them constant
across architectures.

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

--HG--
extra : moz-landing-system : lando
2019-01-05 01:17:57 +00:00
Brindusan Cristian 590d6223c2 Backed out changeset 87219897a280 (bug 1516554) for reftest failures on draw_rect.html and wpt assertion failures. 2019-01-04 22:29:51 +02:00
Daosheng Mu 6fccd31719 Bug 1516554 - Enable VR process in Nightly Windows. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D15434

--HG--
extra : moz-landing-system : lando
2018-12-28 22:11:18 +00:00
Hiroyuki Ikezoe 88483b9261 Bug 1517682 - Drop layout.css.background-blend-mode.enabled pref. r=heycam
It was enabled by default in bug 970600.

Depends on D15707

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

--HG--
extra : moz-landing-system : lando
2019-01-04 07:21:32 +00:00
Hiroyuki Ikezoe 1415d28adf Bug 1517682 - Drop layout.css.scroll-behavior.property-enabled pref. r=heycam
It was enabled by default in bug 1041833 (for desktops) and
bug 1087562 (for Fennect).

Depends on D15706

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

--HG--
extra : moz-landing-system : lando
2019-01-04 07:21:53 +00:00
Hiroyuki Ikezoe 602a0bb6c3 Bug 1517682 - Drop layout.css.mix-blend-mode.enabled pref. r=heycam
It was enabled by default in bug 952643.

Depends on D15705

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

--HG--
extra : moz-landing-system : lando
2019-01-04 07:22:13 +00:00
Hiroyuki Ikezoe bed5a404f1 Bug 1517682 - Drop layout.css.isolation.enabled pref. r=heycam
It was enabled by default in bug 1091885.

Depends on D15704

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

--HG--
extra : moz-landing-system : lando
2019-01-04 07:22:27 +00:00
Hiroyuki Ikezoe 9bdfa0cf64 Bug 1517682 - Drop layout.css.image-orientation.enabled pref. r=heycam
It was enabled by default in bug 825771.

Depends on D15703

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

--HG--
extra : moz-landing-system : lando
2019-01-04 07:22:52 +00:00
Hiroyuki Ikezoe 6aaa816a8a Bug 1517682 - Drop layout.css.color-adjust.enabled pref. r=heycam
It was enabled by default in bug 1209273.

Depends on D15702

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

--HG--
extra : moz-landing-system : lando
2019-01-04 07:23:38 +00:00
Hiroyuki Ikezoe f2d516f849 Bug 1517682 - Drop layout.css.box-decoration-break.enabled pref. r=heycam
It was enabled by default in bug 1006326.

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

--HG--
extra : moz-landing-system : lando
2019-01-04 07:23:07 +00:00
Cosmin Sabou 3b1edf526b Merge mozilla-central to mozilla-inbound.
--HG--
rename : toolkit/modules/Task.jsm => toolkit/modules/tests/modules/Task.jsm
extra : rebase_source : 52141f691cc72d4a80c7c5d4d35aad67a51b660d
2019-01-04 18:38:34 +02:00
Andrea Marchesini e34612e16e Bug 1514202 - Port flash url-classifier to nsIUrlClassifierFeature - part 1 - Flash feature, r=dimi, r=edgar, r=valentin 2019-01-04 14:45:42 +01:00
Jon Coppeard ce265eb48d Bug 1342012 - Initial browser support for dynamic import from module scripts r=smaug 2018-12-06 16:52:15 -05:00
Jan Varga 182e21efeb Bug 1516241 - Disable LSNG pref on Nightly; r=gsvelto 2018-12-24 14:42:42 +01:00
Coroiu Cristina 52c4a6e3ad Merge inbound to mozilla-central a=merge 2018-12-22 06:12:53 +02:00
Andrea Marchesini 301d9591cd Bug 1515693 - Check allow-storage-access-by-user-activation sandbox flag only if StorageAccess API is enabled, r=ehsan 2018-12-22 00:38:37 +01:00
Alastor Wu 862fdf36a9 Bug 1511235 - part3 : ensure video is visible before starting test r=jya,baku
Add testing function to know whether video is visible or not.

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

--HG--
extra : moz-landing-system : lando
2018-12-21 06:40:10 +00:00
Jan Varga 2c3d7e1bb6 Bug 1510410 - Enable Next Generation Local Storage Implementation on Nightly; r=asuth 2018-12-21 11:54:53 +01:00
Daosheng Mu 9339d8ab5f Bug 1513022 - Only show dom.vr.process.enabled pref in Windows. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D15216

--HG--
extra : moz-landing-system : lando
2018-12-21 21:43:29 +00:00
Bobby Holley 2ec2bac2eb Bug 1515521 - Support the gpu-cache debugger in Firefox. r=kvark
Depends on D15044

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

--HG--
extra : moz-landing-system : lando
2018-12-21 21:12:40 +00:00
Luke Wagner dc93733616 Bug 1507939 - Baldr: add javascript.options.wasm_verbose (r=lth)
--HG--
extra : rebase_source : 7405ee0bcc6a12fe8bbe797919a6e76d01d3c172
2018-12-20 20:51:11 -06:00
Matthew Noorenberghe 91692c277f Bug 1515048 - Disable the Payment Request UI and tests by default on Nightly. r=jaws,baku
Differential Revision: https://phabricator.services.mozilla.com/D14885

--HG--
extra : moz-landing-system : lando
2018-12-20 15:08:47 +00:00
Botond Ballo 86c10463b4 Bug 1514823 - Remove support for apz.allow_checkerboarding=false. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D14818

--HG--
extra : moz-landing-system : lando
2018-12-18 00:38:33 +00:00
Bogdan Tara b13992b643 Backed out changeset 82ca028b0524 (bug 1503984) for StaticPrefList failures CLOSED TREE 2018-12-18 22:06:19 +02:00
Dragana Damjanovic 2ebce46fd8 Bug 1415625 - Use Telemetry::CanRecordPreReleaseData instead of toolkit.telemetry.enabled. Remove network.allow-experiments because it is not used. r=michal
Differential Revision: https://phabricator.services.mozilla.com/D12745

--HG--
extra : moz-landing-system : lando
2018-12-18 17:19:29 +00:00
Felipe Gomes 72585dea54 Bug 1503984 - Add a pref to block chrome code from accessing content subframes. r=nika
The pref dom.chrome_frame_access.enabled will default to true. When false, it will block various methods that chrome code can use to traverse subframes. The initial list is:
  iframe.contentWindow
  iframe.contentDocument
  window.top
  window.parent
  window.opener
  window.frames[i]
  window.frames.length
  MessageEvent.source

More blocks are likely to be added in the future.

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

--HG--
extra : moz-landing-system : lando
2018-12-18 18:53:24 +00:00
Andrea Marchesini 975c1db894 Bug 1512047 - Deprecate AddSearchProvider, r=mkaply 2018-12-18 08:56:19 +01:00
arthur.iakab f1762a3667 Merge mozilla-central to mozilla-inbound 2018-12-18 07:36:08 +02:00
Daosheng Mu 460045ce38 Bug 1496615 - Part 3: Enable OpenVR action input in Nightly. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D14634

--HG--
extra : moz-landing-system : lando
2018-12-17 20:41:17 +00:00
Cameron McCormack e8db2c5f88 Bug 1194856 - Remove UA style sheet load crash report annotations r=gsvelto,dbaron
This backs out the main patch landed earlier in bug 1194856 and the
patch from bug 1225004.

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

--HG--
extra : moz-landing-system : lando
2018-12-15 00:02:56 +00:00
Andrea Marchesini 9cc643f6d3 Bug 1513895 - Unify PopupBlocker algorithm in 1 single file, r=smaug 2018-12-16 10:21:16 +01:00
Andrea Marchesini b6a922c797 Bug 1514133 - Port Login-Reputation classification to nsIUrlClassifierFeature, r=dimi 2018-12-15 09:54:02 +01:00
Gijs Kruitbosch 5ff84b28d4 Bug 1503339 - try using a lower frame rate for low-end devices r=kats,mconley
Differential Revision: https://phabricator.services.mozilla.com/D13260

--HG--
extra : moz-landing-system : lando
2018-12-14 20:16:16 +00:00
Razvan Maries a4361b904b Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-12-14 18:32:07 +02:00
vinoth 7a5f2bb9db Bug 1508282 - Temporary whitelist of files to skip Eval Assertion r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D13520

--HG--
extra : moz-landing-system : lando
2018-12-14 13:21:41 +00:00
Andrea Marchesini cdd5a7b12c Bug 1511436 - Cleanup URL-Classifier code - part 0 - use of StaticPrefs, r=dimi 2018-12-14 12:40:16 +01:00
Junior Hsu 45e7f94fce Bug 1513135 - disable flow control of HTTP e10s back pressure r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D14500

--HG--
extra : moz-landing-system : lando
2018-12-13 23:41:33 +00:00
Bogdan Tara b6a18773a4 Merge inbound to mozilla-central. a=merge 2018-12-14 00:42:20 +02:00
Daniel Holbert 8385bd4d32 Bug 1288640 followup: fix typo in comment. (no review, comment-only, DONTBUILD) 2018-12-13 09:53:25 -08:00
Daniel Holbert fae5834855 Bug 1510369 part 3: Add about:config pref 'layout.dynamic-reflow-roots.enabled' (enabled by default). r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D13133

--HG--
extra : moz-landing-system : lando
2018-12-13 17:47:11 +00:00
Michael Froman af24f346f5 Bug 1452146 - flip av1 and rdd on for Win. r=drno
Differential Revision: https://phabricator.services.mozilla.com/D13482

--HG--
extra : moz-landing-system : lando
2018-12-06 15:39:23 +00:00
Henri Sivonen 69ad08c987 Bug 1071816 - Support loading unlabeled/BOMless UTF-8 text/html and text/plain files from file: URLs. r=emk. 2018-12-11 10:36:46 +02:00
Daniel Holbert b7eb50f8ed backout 5d2f9b45ad97 and 54649cf34d98 (bug 1337655), to reenable -moz prefixed CSS gradient syntax on Nightly.
(Backing out due to webcompat fallout.)

--HG--
extra : rebase_source : 677626d413b8c6c385b12f0872cadd052780930d
2018-12-07 13:43:59 -05:00
Jeff Muizelaar 9d405dded3 Bug 1510725 - Add a pref to enable picture caching in WebRender. r=kats 2018-12-07 11:37:58 -05:00
Cosmin Sabou 69f9d5002c Merge mozilla-inbound to mozilla-central. a=merge 2018-12-05 12:19:43 +02:00
Daniel Holbert 6576ec2eb1 Bug 1337655 followup: Only turn off moz-prefixed gradients on Nightly for now, since some sites still use them. rs=emilio
In particular, Zimbra apparently still relies on moz-prefixed gradients for
Firefox users, so let's avoid breaking Zimbra for beta users.  I'm working on
getting Zimbra fixed so that this can eventually ride the trains, though,
barring other bustage that can't be addressed via outreach...
2018-12-04 14:45:24 -05:00
Noemi Erli c9261f8a58 Backed out changeset b3c8a3a052ea (bug 1452146) for mochitest automation.py failures 2018-12-03 05:13:57 +02:00
Nils Ohlmeier [:drno] 31d3bd0b33 Bug 1452146 - flip av1 and rdd on for OSX and Win. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D13638

--HG--
extra : moz-landing-system : lando
2018-12-02 15:23:37 +00:00
Valentin Gosu 8064b923c9 Bug 1502025 - Use captive portal endpoints for connectivity checks r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D13334

--HG--
extra : moz-landing-system : lando
2018-12-02 23:29:27 +00:00
Andrea Marchesini 3c4c56299f Bug 1508310 - Implement Report-to header support - part 12 - Cleanup out-of-date endpoints, r=smaug 2018-12-01 21:26:10 +01:00
Andrea Marchesini 78215d1b44 Bug 1508310 - Implement Report-to header support - part 11 - Limit the number of reports, r=smaug 2018-12-01 21:26:10 +01:00
Andrea Marchesini 4dc7691243 Bug 1508310 - Implement Report-to header support - part 5 - Report delivering, r=smaug 2018-12-01 21:26:09 +01:00
Andrea Marchesini 2d4f513ae0 Bug 1508310 - Implement Report-to header support - part 1 - Header parser, r=smaug 2018-12-01 21:26:08 +01:00
Robert Strong 954bce564e Bug 1514532 - followup comment format fix. r=me 2018-12-17 11:43:11 -08:00
Robert Strong 6468b181f7 Bug 1514532 - the modules/libmar directory isn't clang formatted and there are a few deprecation warnings in app update code. r=mhowell
Added defines to mar_extract.c, mar_read.c, bsdiff.c so they use the ISO C and C++ conformant name.
Ran clang format on bspatch.cpp and the files under modules/libmar except for nss_secutil.c and nss_secutil.h since they are copies of nss code.
2018-12-17 11:17:21 -08:00
Gurzau Raul 1fa0976e15 Backed out 2 changesets (bug 1498310) for failing at browser_address_edit.js on a CLOSED TREE
Backed out changeset c82069518e24 (bug 1498310)
Backed out changeset 07ddae62b812 (bug 1498310)
2018-12-17 18:05:03 +02:00
Eden Chuang 4f622b5882 bug 1498310 - Setting nsIPaymentRequest.completeStatus when Updating timeout or no event handler. r=baku
1. Set nsIPaymentRequest.completeStatus as 'updating' when calling
       nsIPaymentRequestService::Change*. After event handling done, set
       nsIPaymentRequest.completeStatus as '' and call
       nsIPaymentUIService::UpdatePayment()
    2. When the page handles PaymentRequestUpdateEvent or the Promise of
       PaymentRequest::Show() over the dom.payments.response.timeout, set
       nsIPaymentRequest.completeStatus as 'timeout' and call
       PaymentUIService::UpdatePayment() automatically
    3. Set nsIPaymentRequest.completeStatus as 'nohandler' when dispatching
       PaymentRequestUpdateEvent and no event handler for it.
    4. Set the initial valud of dom.payments.response.timeout to 20000 ms.

--HG--
extra : rebase_source : 7fe64a05bf7d20726c95aadd6e85bc14cb26bd3f
2018-12-05 15:01:52 -05:00
Dennis Schubert d849d67a61 Bug 1511600 - Disable WebCompat Reporter in some tests. a=testonly
Differential Revision: https://phabricator.services.mozilla.com/D13739

--HG--
extra : moz-landing-system : lando
2018-12-04 19:29:42 +00:00
Andrea Marchesini 10799b6b03 Bug 1513300 - Implement Cryptomining URL-Classifier, r=dimi 2019-01-09 12:16:04 +01:00
Andrea Marchesini 0c34bd1c34 Bug 1513298 - Fingerprinting url-classifier feature, r=dimi 2019-01-09 12:16:04 +01:00
Noemi Erli ac42324894 Backed out changeset 76f3be6b25e1 (bug 1513298) for ES lint failure in test_fingerprinting.html CLOSED TREE 2019-01-09 12:15:44 +02:00
Andrea Marchesini f10ced4f9d Bug 1513298 - Fingerprinting url-classifier feature, r=dimi 2019-01-08 23:05:41 +01:00
Coroiu Cristina 3564dfde3b Merge inbound to mozila-central a=merge 2018-12-01 07:46:00 +02:00
shindli eefe251a54 Backed out 4 changesets (bug 1502025) for X failures in netwerk/test/unit/test_network_connectivity_service.js CLOSED TREE
Backed out changeset bf4254adcdfe (bug 1502025)
Backed out changeset 731cbca9930d (bug 1502025)
Backed out changeset 9bfdb64bf81e (bug 1502025)
Backed out changeset 99eed75874f1 (bug 1502025)
2018-12-01 01:14:34 +02:00
Dennis Schubert 1c9dcf0d0c Bug 1488929 - Roll out Report Site Issue button to all Beta users. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D13532

--HG--
extra : moz-landing-system : lando
2018-11-30 17:33:23 +00:00
Valentin Gosu 0e209b80b8 Bug 1502025 - Use captive portal endpoints for connectivity checks r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D13334

--HG--
extra : moz-landing-system : lando
2018-11-30 17:25:33 +00:00
Jason Orendorff 388017b68a Bug 1505122 - Enable ReadableStream for beta and release. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D12187

--HG--
extra : moz-landing-system : lando
2018-11-30 16:31:47 +00:00
Sylvestre Ledru 265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Razvan Maries 77d87d9972 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-11-30 05:13:14 +02:00
Andreea Pavel 6581f03445 Backed out changeset 2e6cbbc4c53e (bug 1452146) for causing leaks on a CLOSED TREE 2018-11-30 04:16:52 +02:00
Michael Froman b2f0b22f79 Bug 1452146 - flip av1 and rdd on for OSX and Win. r=drno
Differential Revision: https://phabricator.services.mozilla.com/D13482

--HG--
extra : moz-landing-system : lando
2018-11-30 00:46:17 +00:00
Razvan Maries d696b8eb57 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-11-29 23:46:52 +02:00
Jan Varga 9aeecaa75e Bug 1286798 - Part 54: Disable LSNG by default; r=asuth 2018-11-29 21:50:07 +01:00
Daniel Holbert 6ea2cab4ee Bug 1337655 part 2: Turn off moz-prefixed CSS gradient functions for nightly. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D13298

--HG--
extra : moz-landing-system : lando
2018-11-29 18:27:30 +00:00
Ehsan Akhgari 490e611801 Bug 1508472 - Part 5: Fifth batch of comment fix-ups in preparation for the tree reformat r=sylvestre
This is a best effort attempt at ensuring that the adverse impact of
reformatting the entire tree over the comments would be minimal. I've used a
combination of strategies including disabling of formatting, some manual
formatting and some changes to formatting to work around some clang-format
limitations.

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

--HG--
extra : moz-landing-system : lando
2018-11-29 10:30:46 +00:00
Coroiu Cristina e92b0f1d7f Merge inbound to mozilla-central a=merge 2018-11-29 06:27:40 +02:00
Coroiu Cristina 47323ec73b Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-11-28 23:56:03 +02:00
Sylvestre Ledru ef05004811 Bug 1503537 - Get rid of the pdfium & mortar code r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D10352

--HG--
extra : moz-landing-system : lando
2018-11-28 19:31:21 +00:00
Narcis Beleuzu fbd301ecde Merge mozilla-central to inbound. CLOSED TREE 2018-11-28 12:02:34 +02:00
Andrea Marchesini a1c0511754 Bug 1503681 - rel=noopener implicit for target=_blank in anchor and area elements when no rel attribute is set, r=nika
In case anchor and area elements have target=_blank and no rel=opener/noopener,
this patch makes so that rel=noopener is implied. This feature is behind pref
'dom_targetBlankNoOpener_enabled'.

See: https://github.com/whatwg/html/issues/4078
2018-11-28 08:22:05 +01:00
Brindusan Cristian 025923e8bc Backed out 3 changesets (bug 1503681) for geckoview failures on org.mozilla.geckoview.test.GeckoSessionTestRuleTest.waitForChromeJS. CLOSED TREE
Backed out changeset 211c7dfdc408 (bug 1503681)
Backed out changeset 076cc5bece1d (bug 1503681)
Backed out changeset 7a19fe6be68c (bug 1503681)
2018-11-28 11:10:48 +02:00
Andrea Marchesini bed80e41e2 Bug 1503681 - rel=noopener implicit for target=_blank in anchor and area elements when no rel attribute is set, r=nika
In case anchor and area elements have target=_blank and no rel=opener/noopener,
this patch makes so that rel=noopener is implied. This feature is behind pref
'dom_targetBlankNoOpener_enabled'.

See: https://github.com/whatwg/html/issues/4078
2018-11-28 08:22:05 +01:00
Cosmin Sabou 20c5475d6d Merge mozilla-central to autoland. 2018-11-28 06:11:15 +02:00
Cosmin Sabou e1e8f2ea69 Merge mozilla-inbound to mozilla-central. a=merge 2018-11-28 06:08:19 +02:00
Hiroyuki Ikezoe 22056382c0 Bug 1504065 - Run background-color animations on the compositor. r=birtles
Changes for nsIDOMWindowUtils.getOMTAValue is in the next commit with come test
cases.

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

--HG--
extra : moz-landing-system : lando
2018-11-28 00:58:46 +00:00
Dragana Damjanovic cbd1f5a920 Bug 1510307 - Fix the comment next to esni pref. r=JuniorHsu
Differential Revision: https://phabricator.services.mozilla.com/D13083

--HG--
extra : moz-landing-system : lando
2018-11-27 17:09:58 +00:00
Timothy Guan-tin Chien c5dd96d375 Bug 1507894 - Enable UA Widget in beta/release r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D13014

--HG--
extra : moz-landing-system : lando
2018-11-27 21:00:07 +00:00
June Wilde 3dba77a779 Bug 1468556 - Protect against overlapping files in libmar; r=mhowell
Disallows files from referencing the same bytes in the content blocks of a MAR
file by storing a list of structs containing a file's byte offsets and lengths.
A list was chosen since the cap of 256 files wouldn't produce considerable
overhead when extracting/reading/searching/etc through the archive.

Removing the ability for a MAR file to reference the same content block
repeatedly seems like a better solution than what was suggested in the BLRG
report. (limiting the number of files or checking for overly large
decompressed files)

Allows us to prohibit this type of file bomb while only losing an attribute
of the MAR file format that wasn't being leveraged. The fix is applied in
mar_enum_items and mar_find_item so that the manifest the updater uses is
equally safeguarded as the mar host tool.

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

--HG--
extra : moz-landing-system : lando
2018-11-26 17:25:24 +00:00
Ehsan Akhgari b0af8bcf40 Bug 1509555 - Part 2: Remove the core fastblock code r=valentin
Depends on D12828

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

--HG--
extra : moz-landing-system : lando
2018-11-26 11:37:01 +00:00
Alex Chronopoulos 5dab77d453 Bug 1493400 - Implement platform decoder for dav1d. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D12164

--HG--
extra : moz-landing-system : lando
2018-11-27 14:18:58 +00:00
Masayuki Nakano 7bd2c26c2c Bug 1288640 - Make TextComposition not dispatch eCompositionChange events (DOM "text" event) in the default group of web content r=smaug
The usage of our specific "text" event is enough low (0.0003%).  So, let's
stop dispatching the event in the default group of web content.  Once we
release this new behavior, we can get rid of dispatching the event even in
chrome.  Then, we can optimize the event order for new specs.

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

--HG--
extra : moz-landing-system : lando
2018-11-27 13:26:51 +00:00
Masayuki Nakano 7d5d120fcc Bug 1510081 - Remove docs.google.com from "dom.keyboardevent.keypress.hack.use_legacy_keycode_and_charcode" r=smaug
It seems that Google Docs have already been fixed their bugs of mirroring
keyCode and charCode values of our keypress events.  Therefore, we should
remove docs.google.com from the blacklist and collect new feedback from
Nightly testers.

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

--HG--
extra : moz-landing-system : lando
2018-11-27 13:10:31 +00:00
Andreea Pavel f97b59258b Backed out 2 changesets (bug 1504065) for failing Win reftest at child-in-animating-element-display-none.html on a CLOSED TREE
Backed out changeset 129188370231 (bug 1504065)
Backed out changeset 359e81b35cfb (bug 1504065)
2018-11-27 15:33:29 +02:00
Hiroyuki Ikezoe 212fa4884a Bug 1504065 - Run background-color animations on the compositor. r=birtles
Changes for nsIDOMWindowUtils.getOMTAValue is in the next commit with come test
cases.

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

--HG--
extra : moz-landing-system : lando
2018-11-27 09:26:51 +00:00
Jeff Gilbert 13e2d73059 Bug 1492580 - Repair CONTEXT_LOST handling. r=lsalzman
Simplify error handling in GLContext.
Modernize context loss handling in GLContext.
Remove various unused parts.
Fix WebGLContext's context loss/restoration.

MozReview-Commit-ID: Lu2hi5HnP8x

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

--HG--
extra : moz-landing-system : lando
2018-11-27 04:23:19 +00:00
Paul Adenot 4bd715f176 Bug 1509842 - Re-enable AGC by default. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D12898

--HG--
extra : moz-landing-system : lando
2018-11-26 13:51:27 +00:00
Valentin Gosu 5f1a383a19 Bug 1502097 - (Part 1) Move pref network.IDN.blacklist_chars to separate hardcoded file IDNCharacterBlocklist.inc r=jfkthame,dragana
* Moves the value of the pref and also the fallback definition in nsTextToSubURI.cpp to a separate file.
* The file has better formatting, so we may follow its history more easily. Each range of consecutive values is defined on a separate line.
* Renames `blacklist` to `blocklist` for pref and variable names (for this individual pref. network.IDN.whitelist.* needs to be handled in a separate bug)
* Changes nsIDNService::mIDNBlocklist from being an nsString to sorted nsTArray<char16> and uses mozilla::BinarySearch() to check for characters.

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

--HG--
extra : moz-landing-system : lando
2018-11-23 22:40:29 +00:00
Jean-Yves Avenard bad6f32e01 Bug 1508677 - Use playback's VP8/VP9 decoder for webrtc call on Nightly. r=padenot
On some Windows systems and many Android, those are hardware accelerated resulting is much lower CPU usage during calls.

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

--HG--
extra : moz-landing-system : lando
2018-11-22 17:47:41 +00:00
Jean-Yves Avenard e9ab7f5485 Bug 1505284 - P4. Split preferences to enable WebRTC with MediaDataDecoder. r=padenot
So that we can disable just the H264 decoders while allowing VP8 or VP9.

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

--HG--
extra : moz-landing-system : lando
2018-11-22 16:31:16 +00:00
Jean-Yves Avenard fd0f0a5484 Bug 1505284 - P2. Use system's h264 decoder for webrtc call. r=padenot
All H264 system's decoders now handle low latency mode and are typically hardware accelerated.

We disable it for now on Android due to bug 1509316

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

--HG--
extra : moz-landing-system : lando
2018-11-22 16:30:44 +00:00
Ryan Hunt e0cafe6faa Bug 1507356 - Allow APZ relative scroll offset updates to ride the trains. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D12544

--HG--
extra : moz-landing-system : lando
2018-11-21 17:40:18 +00:00
Mike Conley 29879177ba Bug 1499465 - Don't collect KillHard crashes on Beta or Release. r=jld,gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D10968

--HG--
extra : moz-landing-system : lando
2018-11-20 21:34:36 +00:00
arthur.iakab a5b0a4bc98 Merge mozilla-central to inbound 2018-11-20 18:49:12 +02:00
arthur.iakab 75ec5b5525 Merge inbound to mozilla-central a=merge 2018-11-20 18:47:30 +02:00
Andrew Osmond e18584c788 Bug 1507691 - Add image/webp to default HTTP Accept header. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D12136
2018-11-20 06:42:04 -05:00
Masayuki Nakano 289a5bff70 Bug 1508503 - Remove medium.com from "dom.keyboardevent.keypress.hack.dispatch_non_printable_keys" r=smaug
Bug 1483553 was fixed by the developers of medium.com so that we can remove
medium.com from the blacklist which prevents strict keypress dispatching on
specific websites.

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

--HG--
extra : moz-landing-system : lando
2018-11-20 12:58:58 +00:00
Andrew Osmond 229f450427 Bug 1508393 - Enable animated images producing full frames by default. r=tnikkel
Also, fix a minor bug where when we discard an animated image that is a
full frame animated image, we need to reset
AnimationState::mCompositedFrameInvalid to false, just like we do for
animated images blended by FrameAnimator. This is because it is used as
part of our state checking in FrameAnimator::GetCompositedFrame before
we are willing to yield frame data.

Differential Revision: https://phabricator.services.mozilla.com/D12362
2018-11-19 21:05:54 -05:00
Jan Varga 03fc857fab Bug 1286798 - Part 46: Add a pref for database shadowing; r=asuth 2018-11-29 21:49:43 +01:00
Jan Varga 3177670987 Bug 1286798 - Part 42: Implement snapshot reusing; r=asuth
This improves performance by keeping snapshots around for some time if there are no changes done by other processes. If a snapshot is not destroyed immediately after getting into the stable state then there's a chance that it won't have to be synchronously created again when a new opeartion is requested.
2018-11-29 21:49:31 +01:00
Jan Varga 1d777b512b Bug 1286798 - Part 40: Increase initial snapshot prefill to 16KB; r=asuth
The number has been set by running tp6 tests on all platforms.
2018-11-29 21:49:24 +01:00
Jan Varga d87888fe25 Bug 1286798 - Part 31: Support for lazy loading of items; r=asuth,mrbkap,mccr8
There's now an upper limit for snapshot prefilling. The value is configurable and is currently set to 4096 bytes.
Snapshots can operate in multiple modes depending on if all items have been loaded or all keys have been received. This should provide the best performance for each specific state.
This patch also adds support for creating explicit snapshots which can be used for testing.
2018-11-29 21:48:54 +01:00
Jan Varga 60831f2e38 Bug 1286798 - Part 3: New basic (memory only) implementation of LocalStorage; r=asuth,mccr8
The implementation is based on a cache (datastore) living in the parent process and sync IPC calls initiated from content processes.
IPC communication is done using per principal/origin database actors which connect to the datastore.
The synchronous blocking of the main thread is done by creating a nested event target and spinning the event loop.
2018-11-29 21:47:20 +01:00
Andrea Marchesini cf3f5b09a7 Bug 1510580 - Remove browser.fixup.hide_user_pass pref, r=valentin 2018-11-28 18:05:55 +01:00
Andrea Marchesini 256980ac39 Bug 1507769 - User-interaction required before granting storage access for some 3rd party trackers, r=ehsan 2018-11-19 23:56:04 +01:00
Razvan Maries 3b217cc771 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-11-20 00:36:35 +02:00
June Wilde 337c696973 Bug 1468542 - Restrict acceptable bounds for i in nss_secutil; r=rstrong
Summary:
Adds some missing braces on if structures
Adds a check for i being larger or equal to nb

Reviewers: rstrong

Reviewed By: rstrong

Bug #: 1468542

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

--HG--
extra : rebase_source : 51a99f5376ed8877162e82b6c15f147df81981f8
2018-11-19 20:57:50 +02:00
Tarek Ziadé 139a810511 Bug 1508257 - Remove io.activity.intervalMilliseconds - r=valentin
This preference is not used. Let's get rid of it.

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

--HG--
extra : moz-landing-system : lando
2018-11-19 14:52:26 +00:00
Valentin Gosu c54ae4d096 Bug 1507157 - Set network.disable.ipc.security to true r=kershaw
This pref is left over from B2G days. It is currently disabled for firefox
desktop, but not for Android. This didn't affect us until now because we
always ran Android tests in non-e10s mode.

The pref ought to be removed in bug 1306801.

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

--HG--
extra : moz-landing-system : lando
2018-11-19 15:41:57 +00:00
Bogdan Tara 647b9eb109 Merge inbound to mozilla-central. a=merge 2018-11-16 11:47:51 +02:00
Csoregi Natalia c9b70719c8 Merge mozilla-central to autoland. CLOSED TREE 2018-11-16 00:19:45 +02:00
Brian Hackett 50984dfb8d Bug 1505935 Part 3 - Add pref allowing system scripts to be exposed to the debugger, r=lsmyth.
--HG--
extra : rebase_source : f72f744032efe8bb9fcc71b73b2a7955c597fbb0
2018-11-10 15:27:54 -10:00
Ryan VanderMeulen 0bc02096ab Bug 1507525 - Update brotli to 1.0.7. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D12051

--HG--
extra : moz-landing-system : lando
2018-11-15 20:31:53 +00:00
Andrea Marchesini ed66410ca1 Bug 1507144 - Enable reporting API by default in nightly only, r=smaug 2018-11-15 11:15:58 +01:00
arthur.iakab c0b26c4076 Merge inbound to mozilla-central a=merge 2018-11-15 11:54:15 +02:00
Timothy Guan-tin Chien af2973ef61 Bug 1503019 - Part II, Remove dom.webcomponents.customelements.enabled pref r=smaug
This patch removes the following functions:

* nsContentUtils::IsCustomElementsEnabled()
* CustomElementRegistry::IsCustomElementEnabled(JSContext* aCx, JSObject* aObject)
* CustomElementRegistry::IsCustomElementEnabled(nsIDocument* aDoc)

and all references of the pref.

Depends on D11183

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

--HG--
extra : moz-landing-system : lando
2018-11-15 06:52:01 +00:00
Timothy Guan-tin Chien 2b5881e46b Bug 1503019 - Part I, Remove dom.webcomponents.shadowdom.enabled r=smaug
This patch removes the dom.webcomponents.shadowdom.enabled pref and all its
references, including the following functions:

* nsContentUtils::IsShadowDOMEnabled()
* nsIDocument::IsShadowDOMEnabled()
* nsDocument::IsShadowDOMEnabled(JSContext* aCx, JSObject* aGlobal)
* nsDocument::IsShadowDOMEnabled(const nsINode* aNode)
* nsTextNode::IsShadowDOMEnabled(JSContext* aCx, JSObject* aObject)

This function is renamed and updated to nsDocument::IsCallerChromeOrAddon():

* nsDocument::IsShadowDOMEnabledAndCallerIsChromeOrAddon(JSContext* aCx, JSObject* aObject)

I didn't change the tests that load Shadow DOM tests in an iframe, in the interest of keeping hg annotation history.

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

--HG--
extra : moz-landing-system : lando
2018-11-15 06:51:07 +00:00
Andrea Marchesini c0950f9d8a Bug 1480544 - Allow Console API to log messages on stdout, r=bgrins
This patch introduces 2 new prefs:
- devtools.console.stdout.chrome: if true, console API writes on stdout when
                                  used by chrome code
- devtools.console.stdout.content: console API write on stdout when used by
                                   content code.
2018-11-15 21:47:58 +01:00
Andreea Pavel d51566f085 Backed out 2 changesets (bug 1503019) for failing crashtests at dom/base/crashtests/1505811.html on a CLOSED TREE
Backed out changeset 06b12fd41ff1 (bug 1503019)
Backed out changeset 7b845eac9dd7 (bug 1503019)
2018-11-15 01:52:30 +02:00
Andreea Pavel 9cabbb0b47 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-11-15 00:35:07 +02:00
Razvan Maries 6c55ab0f9e Merge mozilla-inbound to mozilla-central a=merge 2018-11-15 00:16:46 +02:00
Michael Froman c40a180440 Bug 1471535 - pt5 - Add prefs media.rdd-process.enabled and media.rdd-process.startup_timeout_ms. r=jya
Depends on D8486

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

--HG--
extra : moz-landing-system : lando
2018-11-14 18:05:41 +00:00
Gabriele Svelto 6e6968af84 Bug 1498942 - Don't attempt to take minidumps of hung content processes when shutting down r=Ehsan
This patch also takes the timeout for killing a content process back to its
original value and removes a related but long unused field.

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

--HG--
extra : moz-landing-system : lando
2018-11-13 15:34:49 +00:00
Diego Pino Garcia 84e713c49f Bug 1501102 - Move hard-coded 'supportedRegions' array to a pref to allow developers outside US/CA to test PaymentRequest. r=baku,MattN
--HG--
extra : rebase_source : 1661ff1d2b0ea9276a3a32953c94cedd5694fed8
2018-11-14 00:59:00 +02:00
Timothy Guan-tin Chien c69315234b Bug 1503019 - Part II, Remove dom.webcomponents.customelements.enabled pref r=smaug
This patch removes the following functions:

* nsContentUtils::IsCustomElementsEnabled()
* CustomElementRegistry::IsCustomElementEnabled(JSContext* aCx, JSObject* aObject)
* CustomElementRegistry::IsCustomElementEnabled(nsIDocument* aDoc)

and all references of the pref.

Depends on D11183

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

--HG--
extra : moz-landing-system : lando
2018-11-14 19:37:42 +00:00
Timothy Guan-tin Chien c0cc4f74e7 Bug 1503019 - Part I, Remove dom.webcomponents.shadowdom.enabled r=smaug
This patch removes the dom.webcomponents.shadowdom.enabled pref and all its
references, including the following functions:

* nsContentUtils::IsShadowDOMEnabled()
* nsIDocument::IsShadowDOMEnabled()
* nsDocument::IsShadowDOMEnabled(JSContext* aCx, JSObject* aGlobal)
* nsDocument::IsShadowDOMEnabled(const nsINode* aNode)
* nsTextNode::IsShadowDOMEnabled(JSContext* aCx, JSObject* aObject)

This function is renamed and updated to nsDocument::IsCallerChromeOrAddon():

* nsDocument::IsShadowDOMEnabledAndCallerIsChromeOrAddon(JSContext* aCx, JSObject* aObject)

I didn't change the tests that load Shadow DOM tests in an iframe, in the interest of keeping hg annotation history.

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

--HG--
extra : moz-landing-system : lando
2018-11-14 19:34:52 +00:00
Bogdan Tara fc8134a16a Backed out 12 changesets (bug 1471535) for VideoDecoderChild failures CLOSED TREE
Backed out changeset 3d8a11458d79 (bug 1471535)
Backed out changeset 2176010bc1fe (bug 1471535)
Backed out changeset dfb4d3462b22 (bug 1471535)
Backed out changeset ea6b73ded74d (bug 1471535)
Backed out changeset 404d760a9e82 (bug 1471535)
Backed out changeset 28ae4b6fab68 (bug 1471535)
Backed out changeset af91e1f04c2d (bug 1471535)
Backed out changeset d39fef4334b3 (bug 1471535)
Backed out changeset a038821cd8ae (bug 1471535)
Backed out changeset 5dcc74a938c6 (bug 1471535)
Backed out changeset 53aff7e699b4 (bug 1471535)
Backed out changeset f3f6abc052f0 (bug 1471535)

--HG--
rename : dom/media/ipc/GpuDecoderModule.cpp => dom/media/ipc/RemoteVideoDecoder.cpp
rename : dom/media/ipc/GpuDecoderModule.h => dom/media/ipc/RemoteVideoDecoder.h
2018-11-13 23:31:56 +02:00
Michael Froman aebef80fa3 Bug 1471535 - pt5 - Add prefs media.rdd-process.enabled and media.rdd-process.startup_timeout_ms. r=jya
Depends on D8486

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

--HG--
extra : moz-landing-system : lando
2018-11-13 17:35:01 +00:00
Noemi Erli 6e9e399066 Merge inbound to mozilla-central. a=merge 2018-11-13 18:27:16 +02:00
Andy Wingo 1471c70fb7 Bug 1506542 - Add run-time flag to enable bigint support r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D11613

--HG--
extra : moz-landing-system : lando
2018-11-13 09:11:06 +00:00
Andrea Marchesini 375ae1c863 Bug 1505212 - Partitioned localStorage for 3rd party tracker pages, r=ehsan, r=asuth
LocalStorage needs to be exposed in every context except for sandboxes and
NullPrincipals (data: URLs, for instance). But we need to keep data
separate in some scenarios: private-browsing and trackers.
In private-browsing, LocalStorage keeps data in memory, and it shares
StorageEvents just with other origins in the same private-browsing
environment.
For Trackers, we expose a partitioned LocalStorage, which doesn't share
data with other contexts, and it's just in memory. Partitioned localStorage
is available only for trackers listed in the
privacy.restrict3rdpartystorage.partitionedHosts pref. See
nsContentUtils::IsURIInPrefList to know the syntax for the pref value.
2018-11-13 09:51:14 +01:00
Nicholas Hurley a4d48c1eb9 Bug 1505867 - Add pref for hpack table dumps. r=bagder
Now that h2 is pretty well stable, and we're fairly confident in our hpack table implementation, it's worth hiding this logging without some extra hoops, as it's just a lot of noise in logs.

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

--HG--
extra : moz-landing-system : lando
2018-11-09 07:23:17 +00:00
Erica Wright c327ca9308 Bug 1495583 - Add a button to restore the default value for network.trr.uri preference. r=flod,jaws
This adds a button to the preferences UI to restore the default value for network.trr.uri preference.

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

--HG--
extra : moz-landing-system : lando
2018-11-09 03:44:03 +00:00
Ciure Andrei 97ae4101ac Backed out 4 changesets (bug 1507769, bug 1505571) for browser_storageAccessWithHeuristics.js failures CLOSED TREE
Backed out changeset 401763b97e54 (bug 1507769)
Backed out changeset 838dfe679fdd (bug 1505571)
Backed out changeset 88af3329ee16 (bug 1505571)
Backed out changeset be17a8b7aefa (bug 1505571)
2018-11-19 22:06:24 +02:00
Andrea Marchesini 7fd5fc4b5c Bug 1507769 - User-interaction required before granting storage access for some 3rd party trackers, r=ehsan
We want to introduce a new pref to block trackers that try to workaround our
heuristic. The pref is called:
privacy.restrict3rdpartystorage.userInteractionRequiredForHosts
2018-11-19 19:16:25 +01:00
Bobby Holley 8c07acd58f Bug 1507333 - Clear evicted cache entries when using the debug display. r=gw,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D11959
2018-11-19 09:16:09 -08:00
Tooru Fujisawa 7983faeb5d Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
Benjamin Bouvier a7f1d173a0 Bug 1511383: Update vim modelines after clang-format; r=sylvestre
- modify line wrap up to 80 chars; (tw=80)
- modify size of tab to 2 chars everywhere; (sts=2, sw=2)

--HG--
extra : rebase_source : 7eedce0311b340c9a5a1265dc42d3121cc0f32a0
extra : amend_source : 9cb4ffdd5005f5c4c14172390dd00b04b2066cd7
2018-11-30 16:39:55 +01:00
Masayuki Nakano 6d2981f662 Bug 1496288 - part 2: Stop dispatching non-printable "keypress" events, set keyCode or charCode value to the other value when it's zero, start to dispatch "keydown" and "keyup" events during composition, and enable window.event by default r=smaug
First one is for bug 968056.  UI Events declares that "keypress" events should
be dispatched only when a key press produces one or more characters (and also
discussing about Enter key press for backward compatibility).  Therefore, we
should stop dispatching "keypress" events for non-printable keys (like arrow keys,
Ctrl + A, etc) in the default group on content for conforming to UI Events, but
keep dispatching them in chrome and in the system group on content.

Next one is for bug 1479964.  No spec declares that what value should be set
to keyCode and charCode value of "keypress" events because declaring that would
break existing web apps which handle them with UA string.  However, some web
apps assume that if window.event is available, keyCode value of "keypress" event
is set to a Unicode code point of inputting character.  We set only charCode
to it, but the other browsers sets both keyCode and charCode to a Unicode
code point of inputting character.  Therefore, we need to follow the other
browsers' behavior for this because changing value from zero to non-zero is
safer than non-zero to non-zero or zero.

And also next one is for bug 354358.  UI Events declares that "keydown" and
"keyup" events represent physical key state and should be fired even during
composition.  As far as the reported issues, this behavior is expected mainly
by Korean web developers and some web apps depend on the behavior.  Therefore,
we need to start to dispatch them during composition.

Finally, for bug 218415, we should enable window.event.  This is declared by
the Living DOM Standard.  A lot of web apps depend on window.event and the
last blocker, bug 1479964 was fixed so that it is the time to enable this.

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

--HG--
extra : moz-landing-system : lando
2018-11-29 15:18:17 +00:00
Masayuki Nakano af36a869b3 Bug 1496288 - part 1: Make blacklist prefs for keypress event behavior changes ride the train r=smaug
Basically, we shouldn't have blacklist to disable web API.  However, the
keypress event behavior changes are not standardized things.  Therefore,
if some web developers realize that they need to change their apps when
it's too late for them, Firefox users need to use another browser for
such web apps for several weeks or more, and such things may make the users
switch their default browser.  For avoiding such worst scenario, we should
take the blacklists and if we get such compatibility reports, we should
add the domains into the blacklist even in release channel.

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

--HG--
extra : moz-landing-system : lando
2018-11-29 15:04:18 +00:00
Masayuki Nakano 10ebee9df7 Bug 1510111 - Remove www.rememberthemilk.com from the blacklist of keyCode/charCode mirroring of keypress events r=smaug
Remember The Milk have upgraded their Google Closure Library and the bug has
gone now.  Let's remove www.rememberthemilk.com from the blacklist.

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

--HG--
extra : moz-landing-system : lando
2018-11-29 21:32:27 +00:00
Randell Jesup 3a05a3fb0f Bug 1298381: Implement TimeToFirstContentfulPaint behind a pref r=mattwoodrow,smaug 2018-10-18 16:16:45 -04:00
Andrea Marchesini 5e3dc65e1b Bug 1507230 - dom.security.featurePolicy.webidl.enabled pref controls the exposing of document.policy and HTMLIFrameElement.policy attributes, r=ckerschb 2018-11-14 23:58:52 +01:00
Andrea Marchesini 3c9a4a719c Bug 1507230 - dom.security.featurePolicy.header.enabled pref controls the using of FeaturePolicy header, r=ckerschb 2018-11-14 23:58:35 +01:00
Razvan Maries 4d174cdd7d Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-11-15 00:37:56 +02:00
Ciure Andrei 0e8da4cf69 Backed out changeset 91659baa6ddb (bug 1298381) for nsDisplayList.h perma failures CLOSED TREE 2018-11-14 23:48:31 +02:00
Randell Jesup a37d80eed4 Bug 1298381: Implement TimeToFirstContentfulPaint behind a pref r=mattwoodrow,smaug 2018-10-18 16:16:45 -04:00
Andrea Marchesini 33c61a5c80 Bug 1492036 - Reporting API - part 6 - FeaturePolicy, r=smaug 2018-11-14 20:02:33 +01:00
Andrea Marchesini e4c7d00316 Bug 1492036 - Reporting API - part 5 - tests, r=smaug 2018-11-14 20:02:33 +01:00
Andrea Marchesini 5a9c35f647 Bug 1492036 - Reporting API - part 1 - WebIDL, r=smaug 2018-11-14 20:02:32 +01:00
Cosmin Sabou 1b7e778d69 Merge mozilla-central to mozilla-inbound. 2018-11-28 00:04:55 +02:00
Lee Salzman 84189c4dd8 Bug 1120371 - remove obsolete drawCustomFocusRing from Canvas2D. r=jrmuizel, r=bholley 2018-11-27 15:57:54 -05:00
Andrew Osmond 42011a0e9a Bug 1503653 - Part 2. Enable WebP by default. r=tnikkel
Bug 1249474 suggested that we add image/webp to the front of the Accept
header for images, to indicate to servers that we actually support WebP.

Differential Revision: https://phabricator.services.mozilla.com/D8120
2018-11-15 06:54:48 -05:00
Gurzau Raul ff7bbb9936 Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : dom/media/ipc/RemoteVideoDecoder.cpp => dom/media/ipc/GpuDecoderModule.cpp
rename : dom/media/ipc/RemoteVideoDecoder.h => dom/media/ipc/GpuDecoderModule.h
extra : rebase_source : 0503e2d45fffafb1e8dd1ddcd2115af2778a5c66
2018-11-09 07:46:56 +02:00
Emilio Cobos Álvarez 56f2b4fded Bug 1505786 - Implement overflow-wrap: anywhere. r=xidorn,jfkthame
Per https://github.com/w3c/csswg-drafts/issues/2682

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

--HG--
extra : moz-landing-system : lando
2018-11-08 22:39:34 +00:00
Gurzau Raul bbba357bf9 Backed out changeset f1e6ccbef48d (bug 1501102) for linux leakcheck failures on a CLOSED TREE 2018-11-09 02:02:15 +02:00
Diego Pino Garcia f65e9d610d Bug 1501102 - Move hard-coded 'supportedRegions' array to a pref to allow developers outside US/CA to test PaymentRequest. r=baku 2018-11-08 04:42:00 +02:00
Marco Bonardo a929c4971c Bug 1502392 - Remove support for browser.urlbar.autocomplete.enabled. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D11245

--HG--
extra : moz-landing-system : lando
2018-11-08 09:59:27 +00:00
Johann Hofmann e3f85c94d2 Bug 685828 - Limit displaying blocked popups in the front-end. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D11167

--HG--
extra : moz-landing-system : lando
2018-11-07 21:11:41 +00:00
Jason Orendorff 8a5616d1e2 Bug 1389628 - Part 2: Enable Streams API by default. r=baku,tcampbell
Depends on D8705

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

--HG--
extra : moz-landing-system : lando
2018-11-07 17:02:02 +00:00
Jonathan Kingston cc306e171c Bug 1498526 - add in user pref to prevent loading implied triggeringPrincipal loads for dev and nightly builds. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D8546

--HG--
extra : moz-landing-system : lando
2018-11-07 14:42:27 +00:00
Csoregi Natalia 0f3ea39692 Merge mozilla-central to autoland. CLOSED TREE 2018-11-07 11:56:06 +02:00
Csoregi Natalia 6e0e603f48 Merge inbound to mozilla-central. a=merge 2018-11-07 11:52:57 +02:00
Masayuki Nakano 2d19d947df Bug 1502795 - Set keyCode or charCode of keypress event whose value is zero to the other's non-zero value by default again unless dispatched on known broken web apps r=smaug
This patch re-enables the new behavior of bug 1479964, to set keyCode or
charCode of keypress event whose value is zero to the other's non-zero value.

However, some web apps are still broken with the new behavior.  Therefore,
this patch adds a blacklist to keep using our legacy behavior in some specific
web apps.

Note that Google Docs, Gmail and Remember The Milk are reported as broken.
However, I don't see any broken shortcut with Gmail.  Therefore, this patch
adds only Google Docs and Remeber The Milk into the blacklist.

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

--HG--
extra : moz-landing-system : lando
2018-11-07 06:39:10 +00:00