Commit Graph

15143 Commits

Author SHA1 Message Date
Andrea Marchesini
cc92dd7e56 Bug 675574 - Allow just 1 window.open() per event, r=smaug 2018-11-06 23:35:31 +01:00
Sebastian Hengst
87914795ce Backed out changeset 196dcfd11ce3 (bug 1468544) for landing twice 2018-11-06 20:46:50 +02:00
June Wilde
1a34e16a7c Bug 1468544 - Replace mar_hash_name with CityHash algorithm; r=rstrong
Summary:
Make CityHash64, CityHash64WithSeed, and CityHash64WithSeeds usable from C code
Remove unnecessary includes from mar_read.c as well
Add DisableStlWrapping to mar tool's moz.build to fix linkage break when
building in Windows with MSVC

Reviewers: rstrong

Reviewed By: rstrong

Bug #: 1468544

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

--HG--
extra : rebase_source : a1b9e44f391bea63253d8bf036f53d071660a37b
extra : amend_source : d4d0e6024957c3faece2af608526f0ffa5b2119d
2018-11-06 20:35:32 +02:00
Gurzau Raul
1da9ef02c4 Merge inbound to mozilla-central. a=merge
--HG--
rename : testing/web-platform/tests/content-security-policy/navigate-to/form-action/form-action-blocks-navigate-to-allows.html => testing/web-platform/tests/content-security-policy/navigate-to/form-action/form-action-blocks-navigate-to-allows.sub.html
rename : testing/web-platform/tests/content-security-policy/navigate-to/spv-only-sent-to-initiator.html => testing/web-platform/tests/content-security-policy/navigate-to/spv-only-sent-to-initiator.sub.html
2018-11-06 11:57:49 +02:00
June Wilde
cc0933a625 Bug 1468539 - Limit libmar from reading more than a single Additional_Section. r=mhowell
Only a single type of additional block has ever been defined for the MAR
archive format and only a single block of that type is needed per file.
Limiting ourselves to reading only that until we define more seems
sensible.

Move additionalBlockSize check before first fread
Add MAXADDITIONALBLOCKSIZE as a constant for checking block sizes

Differential Revision: https://phabricator.services.mozilla.com/D10797
2018-11-05 21:29:42 -05:00
sotaro
3b545f56f3 Bug 1500017 - Use triple buffer with DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL SwapChain r=mattwoodrow 2018-11-05 18:58:37 +09:00
Matt Woodrow
394f747fb0 Bug 1503730 - Add visual indicator for when WebRender frames record a CONTENT_FRAME_TIME of >200. r=sotaro
MozReview-Commit-ID: KdRf3WClD6M

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

--HG--
extra : moz-landing-system : lando
2018-11-04 20:35:36 +00:00
Boris Zbarsky
a0f19a1a33 Bug 1503070 part 4. Remove getScreenshot() method from BrowserElement. r=ehsan 2018-11-01 17:37:41 -04:00
Sebastian Hengst
4e8b420d03 Backed out changeset 30dec3c6ac99 (bug 1468544) for breaking at least MSVC build. CLOSED TREE 2018-11-01 20:31:40 +02:00
June Wilde
629576bc4a Bug 1468544 - Replace mar_hash_name with CityHash algorithm; r=rstrong
Summary:
Makes CityHash64, CityHash64WithSeed, and CityHash64WithSeeds usable from C code
Removes unnecessary includes from mar_read.c as well

Reviewers: rstrong

Reviewed By: rstrong

Subscribers: ulfr, dveditz, tjr, mhowell, jmathies, rstrong, jewilde

Tags: #secure-revision, #bmo-toolkit-core-security

Bug #: 1468544

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

--HG--
extra : rebase_source : 4e3f97e07e7a17c454d22b80aa37752e31328224
extra : amend_source : d455610bb6c247401134b0a29070c3b48a0f01c4
2018-11-01 19:43:55 +02:00
James Willcox
c52752cf9e Bug 1502053 - Parse default prefs from MOZ_DEFAULT_PREFS env var r=njn
This will be used by GeckoView to set initial pref values that would
normally come from prefs.js or similar on desktop and Fennec.

Differential Revision: https://phabricator.services.mozilla.com/D9820
2018-11-01 09:53:31 -05:00
Ting-Yu Lin
f1ae18f596 Bug 1504387 - Remove preference "layout.css.shape-outside.enabled". r=bradwerth,xidorn
shape-outside, shape-margin, shape-image-threshold have been shipped in Firefox
62. We can remove the preference.

The change in devtools/shared/css/generated/properties-db.js is generated by
"./mach devtools-css-db"

The actual shape-image CORS mode tests in file_shape_outside_CORS.html are
moved into test_shape_outside_CORS.html because we don't need the <iframe>
trick to enable the feature.

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

--HG--
extra : moz-landing-system : lando
2018-11-05 15:27:36 +00:00
Jason Laster
cb8ece4c3f Bug 1503703 - Style progress overlay. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D10425
2018-11-01 05:21:28 -04:00
Brindusan Cristian
c0b91fe1ee Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-31 23:45:55 +02:00
Brindusan Cristian
3d5e6205ca Merge inbound to mozilla-central. a=merge 2018-10-31 23:41:40 +02:00
Andrew Osmond
4c9b7d3ad8 Bug 1294490 - Part 3. Implement WebP decoder. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D8116
2018-10-31 15:01:08 -04:00
Florian Quèze
97a292d889 Bug 1502440 - Hide browser internals in about:performance for beta and release users, r=felipe. 2018-10-31 19:10:51 +01:00
Andrea Marchesini
71b39f6750 Bug 1503551 - Make window.external.AddSearchProvider a dummy function, r=smaug 2018-10-31 18:30:18 +01:00
Ryan VanderMeulen
d782a06f0e Backed out changeset dbc6b9a20ca0 (bug 1503354) because it was already landed on autoland. 2018-10-31 10:47:16 -04:00
Honza Bambas
a77760d411 Bug 1503354 - Disable background HTTP response throttling for causing visible regressions, r=dragana 2018-10-31 02:13:00 +02:00
Andreas Pehrson
16f6336ae3 Bug 1502313 - Remove concurrent audio input device limit. r=padenot
The limit only applied within a child process.

However, within a child process we already share cubeb stream when requesting
the same device multiple times, and disallow capturing from more than one device
at a time.

This limit no longer has any effect.

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

--HG--
extra : moz-landing-system : lando
2018-10-31 14:22:23 +00:00
Honza Bambas
cf5528ffe5 Bug 1503354 - Disable background HTTP response throttling for causing visible regressions. r=dragana 2018-10-31 02:13:00 -04:00
Dragana Damjanovic
ce4ed62178 Bug 1503573 - Disable TFO all together. r=bagder
Differential Revision: https://phabricator.services.mozilla.com/D10365

--HG--
extra : moz-landing-system : lando
2018-10-31 14:20:35 +00:00
Ciure Andrei
499182b91a Merge inbound to mozilla-central. a=merge 2018-10-31 00:06:53 +02:00
Ehsan Akhgari
5fef8e924c Bug 1501978 - Part 1: Stop honouring the browser.contentblocking.enabled pref in Gecko r=baku
Differential Revision: https://phabricator.services.mozilla.com/D10074

--HG--
extra : moz-landing-system : lando
2018-10-30 14:30:15 +00:00
Yu Yin
15192e483d Bug 1503077 - Disable spectre mitigations by default on mips(64). r=jandem
--HG--
extra : rebase_source : 36de146a39304ad998020f068432cf4e7d9b909c
2018-10-30 02:45:00 +02:00
Gurzau Raul
8f82fd493f Merge inbound to mozilla-central. a=merge 2018-10-30 00:00:56 +02:00
Valentin Gosu
3753105b42 Bug 1460537 - Connectivity Service - Add DNSv4 and DNSv6 checks r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D7844

--HG--
extra : moz-landing-system : lando
2018-10-29 11:22:40 +00:00
Emilio Cobos Álvarez
9f8636dee7 Bug 1500885 - Remove tests and other similar bits. r=mats
Also remove specified-value-only keywords, since those are handled
only in Rust code and C++ doesn't need to know about them.

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

--HG--
extra : moz-landing-system : lando
2018-10-24 20:32:16 +00:00
Boris Chiou
3015824e8d Bug 1496619 - part 7: Implement steps(jump-*) functions r=birtles
1. Add a new preference, layout.css.step-position-jump.enabled, for
   step(_, jump-*) timing functions.
2. We still keep JumpEnd and End tags, even though there is no difference
   between them. Therefore, we could disable the preference if needed.
3. Update the calculation of StepTiming to match the algorithm in the spec.
4. For servo, we implement the correct step function algorithm except
   for the handling of before_flag. This could be fixed later.

Depends on D9313

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

--HG--
extra : moz-landing-system : lando
2018-10-26 18:03:37 +00:00
Boris Chiou
adff31eff9 Bug 1496619 - Part 1: Drop frames() timing function r=birtles
frames() timing function was removed from the spec, so we drop it.
Besides, some devtool tests are removed because they use frame(). I will
add them back by using new step function later.

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

--HG--
extra : moz-landing-system : lando
2018-10-26 18:03:24 +00:00
Coroiu Cristina
feba378b98 Backed out 2 changesets (bug 1460537) for xpcshell failures at netwerk/test/unit/test_network_connectivity_service.js on a CLOSED TREE
Backed out changeset ae2b0a2cd8a7 (bug 1460537)
Backed out changeset bd3f7151c697 (bug 1460537)
2018-10-25 20:16:10 +03:00
Ehsan Akhgari
7f23c73c8a Bug 1501286 - Part 5: Remove the browser.contentblocking.ui.enabled pref r=johannh
Depends on D9522

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

--HG--
extra : moz-landing-system : lando
2018-10-25 16:46:34 +00:00
Valentin Gosu
23793b33e1 Bug 1460537 - Connectivity Service - Add DNSv4 and DNSv6 checks r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D7844

--HG--
extra : moz-landing-system : lando
2018-10-25 15:48:51 +00:00
Dorel Luca
9529a31c66 Backed out 5 changesets (bug 1501286) for browser-chrome failures in browser/components/uitour/test/browser_trackingProtection.js
Backed out changeset cac0d4aa79d1 (bug 1501286)
Backed out changeset 578d395f555e (bug 1501286)
Backed out changeset d9940451c373 (bug 1501286)
Backed out changeset ca6c3139bdd2 (bug 1501286)
Backed out changeset 93d6f4d54f78 (bug 1501286)

--HG--
extra : rebase_source : 04083c456cd0df6243861cf53e5c39c08888c5ad
2018-10-25 17:52:59 +03:00
Ehsan Akhgari
7b693072e1 Bug 1501286 - Part 5: Remove the browser.contentblocking.ui.enabled pref r=johannh
Depends on D9522

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

--HG--
extra : moz-landing-system : lando
2018-10-25 13:35:26 +00:00
Csoregi Natalia
9fbc76ace6 Merge inbound to mozilla-central. a=merge 2018-10-25 07:45:08 +03:00
Ehsan Akhgari
d7bcabf70a Bug 1501657 - Move early betas to use the strict list for the default cookie restrictions r=francois
Differential Revision: https://phabricator.services.mozilla.com/D9657

--HG--
extra : moz-landing-system : lando
2018-10-24 18:52:04 +00:00
Mark Banner
a26105ff45 Bug 1501662 - Add more .eslintrc.js files for test directories (dom, modules, netwerk and parser). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D9661

--HG--
extra : moz-landing-system : lando
2018-10-24 19:11:17 +00:00
arthur.iakab
0d669cb499 Merge inbound to mozilla-central a=merge 2018-10-24 07:15:44 +03:00
Ehsan Akhgari
97e91dde8e Bug 1501461 - Use the strict list for default cookie restrictions in Nightly r=francois
Differential Revision: https://phabricator.services.mozilla.com/D9594

--HG--
extra : moz-landing-system : lando
2018-10-23 23:02:18 +00:00
Alex Gaynor
c60557350c Bug 1497937 - fixed a deprecation warning due to including an older header; r=rstrong
Differential Revision: https://phabricator.services.mozilla.com/D8561

--HG--
extra : moz-landing-system : lando
2018-10-23 16:47:30 +00:00
Andrew Osmond
0f2cb305c1 Bug 1465619 - Part 11. Add support for recycling animated image frames. r=tnikkel
This is what we have been working towards in all of the previous parts
in the series. This subclasses AnimationFrameDiscardingQueue to save the
discarded frames for recycling by the decoder, if the frame is marked as
supporting recycling.

Differential Revision: https://phabricator.services.mozilla.com/D7516
2018-10-22 13:40:35 -04:00
Kershaw Chang
638174ac87 Bug 1430039 - Proxy release some member on main thread r=valentin
The reason of the crash is that the load group is released on non main thread. To fix the crash, simply use |NS_ReleaseOnMainThreadSystemGroup| to release the load group.
Note that this patch also proxy release other members on main thread just for safe.

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

--HG--
extra : moz-landing-system : lando
2018-10-19 14:46:21 +00:00
Johann Hofmann
e60786d47f Bug 1500208 - Disable FastBlock, hide FastBlock UI everywhere. r=francois,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D9140

--HG--
extra : moz-landing-system : lando
2018-10-19 06:53:32 +00:00
Cosmin Sabou
9cb3e24150 Merge mozilla-inbound to mozilla-central. a=merge 2018-10-19 07:17:09 +03:00
Chris Pearce
00b47a070d Bug 1500251 - Add dummy pref with default value true, report via telemetry. r=mythmon
The Webrender Pref Experiment is reporting its pref via telemetry and that is
reporting a different value than what the Normandy experiments telemetry
indicates should be being seen.

In Bug 1499552 I added a pref and telemetry reporting in preparation for running
a dummy Pref Experiment to verify that prefs set are reported as set, but I
realised I missed a case; where there's an existing default pref set,
we're only covering the case where that default pref has value false. We're seeing
a ~25% failure rate in the pref reporting. So we should cover the other three cases
in the dummy Pref Experiment, just in case it's one of these four cases that
is failing.

So here I add another dummy pref with a default value of true, and I report that
via telemetry. I rename the pref I added yesterday to make things consistent.

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

--HG--
extra : moz-landing-system : lando
2018-10-18 22:02:52 +00:00
Mats Palmgren
10b87f1915 Bug 1494715 - Add a pref to disable antialiasing for Ahem only, r=jfkthame
Add a pref called gfx.font_ahem_antialias_none which disables
antialiasing for any font with the family name "Ahem". This is useful
for wpt reftests where antialaising of Ahem causes spurious failures.

Differential Revision: https://phabricator.services.mozilla.com/D7200
2018-10-18 15:54:29 +01:00
Thomas Wisniewski
3c40ce1478 Bug 1499136 - Disable dom.xhr.standard_content_type_normalization for now due to webcompat issues; r=hsivonen
Disable dom.xhr.standard_content_type_normalization for now due to webcompat issues

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

--HG--
extra : moz-landing-system : lando
2018-10-18 02:10:25 +00:00
Chris Pearce
778fa3defa Bug 1499552 - Add dummy pref and report via telemetry to verify telemetry pref reporting. r=mythmon data-review=francois
The Webrender Pref Experiment is reporting its pref via telemetry and that
is reporting a different value than what the Normandy experiments telemetry
indicates should be being seen.

So add reporting for two dummy prefs, one with a default value, and one
without. We intend to push out Normandy rules to report these prefs to
double-check that Normandy is working as expected.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 23:48:12 +00:00