Commit Graph

15418 Commits

Author SHA1 Message Date
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