Commit Graph

611288 Commits

Author SHA1 Message Date
Nicholas Hurley
dd1853e164 Bug 1483294 - Always advertise h2 if TLS 1.3 is being offered. r=dragana
Previously (under TLS 1.2), we would avoid advertising h2 support if the
spec-mandatory suite was disabled. That suite is only required for TLS
1.2, though. We would like to offer h2 in more cases, so only check for
the mandatory suite if someone has turned off TLS 1.3.

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

--HG--
extra : moz-landing-system : lando
2018-08-27 18:56:44 +00:00
Mark Banner
5dae2f12c6 Bug 1486757 - Check that pageInfo is also valid in waitForAnnotation in downloads's head.js to avoid intermittents. r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D4442

--HG--
extra : moz-landing-system : lando
2018-08-28 13:54:34 +00:00
Jan Keromnes
595e7789c3 Bug 1486410 - Bug 1466427 - Enable new clang-tidy 7.0 checks. r=andi
Differential Revision: https://phabricator.services.mozilla.com/D4210

--HG--
extra : moz-landing-system : lando
2018-08-27 17:56:03 +00:00
Rob Wu
618a64cb28 Bug 1465388 - Resume about:blank parser upon unblocking the document r=hsivonen
When `document.blockParsing()` is called, the nsIParser is suspended
until the document is unblocked. For about:blank documents, this is a
nsParser.

When a document is unblocked, nsParser::ContinueInterruptedParsingAsync
is invoked, which delegates its implementation to nsIContentSink, which
is a nsHTMLContentSink for about:blank documents. Due to a missing
implementation of nsHTMLContentSink::ContinueInterruptedParsingAsync,
the parser was never resumed, causing bug 1465388 and bug 1407501.

This patch fixes the problem, by implementing the required method (and
using a load blocker to ensure that the (about:blank) document does not
finish before the parser finishes).

This patch is tested through extension tests: Currently document_start
stylesheets always activate the parser blocker, and document_start
scripts trigger the parser blocker when the script has not been
preloaded yet (e.g. at the first run).
Before this patch, the test failed due to the assertion failure as
reported in the linked bugs. After this patch, the tests pass.

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

--HG--
extra : moz-landing-system : lando
2018-08-28 05:28:21 +00:00
Tim Nguyen
1345af50dd Bug 1464714 - Make disabled .subviewbutton use --panel-disabled-color. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D4396

--HG--
extra : moz-landing-system : lando
2018-08-28 08:45:38 +00:00
Henri Sivonen
e262584728 Bug 1485342 - Avoid isdigit() and isxdigit() in URL classifier. r=francois
MozReview-Commit-ID: IvadP10PFEZ

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

--HG--
extra : moz-landing-system : lando
2018-08-27 15:55:13 +00:00
Jonathan Kingston
49299af1f0 Bug 1486157 - Change language provider attribution to use openWebLinkIn. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D4273

--HG--
extra : moz-landing-system : lando
2018-08-27 13:27:39 +00:00
Raynald Mirville
27f61415a8 Bug 1476552 - GeckoSession::WebResponseInfo Kotlin annotations and static r=sebastian
MozReview-Commit-ID: 1HWEStKaGVl

Bug 1476552 part 1 - Add @NonNull/@Nullable annotations to GeckoSession::WebResponseInfo for Kotlin interoperability

Bug 1476552 part 2 - Make GeckoSession::WebResponseInfo static

MozReview-Commit-ID: 4ce92G7i2nz

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

--HG--
extra : moz-landing-system : lando
2018-08-28 13:02:23 +00:00
Nicolas Chevobbe
adae89f267 Bug 1486446 - Remove Console Launchpad support; r=bgrins.
It's broken and unmaintained for a long time now,
the Console Team does not use it and has no plan doing so.

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

--HG--
extra : moz-landing-system : lando
2018-08-27 16:31:58 +00:00
Gurzau Raul
123404288d Backed out changeset 0192efea1b66 (bug 1486137) for failing at netwerk/test/unit/test_trr.js on a CLOSED TREE 2018-08-28 16:29:25 +03:00
Margareta Eliza Balazs
350c943d93 Backed out changeset 9dc25841ff4f (bug 1486480) for causing Assertion failure: extendedSlots, at /builds/worker/workspace/build/src/dom/base/FragmentOrElement.cpp CLOSED TREE 2018-08-28 15:33:55 +03:00
Ting-Yu Lin
9fbf0f764c Bug 1485495 - Use AutoRestore to restore aState.mAdditionalStateBits. r=dholbert
Depends On D4020

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

--HG--
extra : moz-landing-system : lando
2018-08-27 18:38:58 +00:00
Boris Chiou
4a1bf6f650 Bug 1485433 - Parse byte slice in PathParser. r=emilio
We only care about ascii char for svg path, so we could parse the string
as byte slice.

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

--HG--
extra : moz-landing-system : lando
2018-08-27 18:14:49 +00:00
Ting-Yu Lin
2c847c1eb9 Bug 1485495 - Move column-span preference to StaticPrefList.h. r=dholbert
We can access the bool pref in C++ by writing

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

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

--HG--
extra : moz-landing-system : lando
2018-08-27 18:38:58 +00:00
Adam Gashlin
5c127a69e4 Bug 1486423: Remove expiring telemetry.os_shutting_down probe r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D4357

--HG--
extra : moz-landing-system : lando
2018-08-27 18:42:28 +00:00
Boris Zbarsky
bd5c20d12e Bug 1486480. Add memory reporting for custom element data. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D4350

--HG--
extra : moz-landing-system : lando
2018-08-27 19:20:53 +00:00
Daniel Stenberg
ec82b55b39 bug 1486137 - TRR: fix the FAMILY field in the ECS code r=mcmanus
... since AF_INET wouldn't actually use IPv4!

MozReview-Commit-ID: FCf7psawENI

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

--HG--
extra : moz-landing-system : lando
2018-08-27 16:03:30 +00:00
Tim Nguyen
7f86cca5ea Bug 1485017 - Make sidebar properties apply to synced tabs sidebar. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D4284

--HG--
extra : moz-landing-system : lando
2018-08-27 14:50:35 +00:00
Emilio Cobos Álvarez
5a5b1a138e Bug 1459065 - Clip filter effects at the stacking context level. r=mstange
Much like mask images. This is the easy fix, for now.

We need to override the ASR clips with Nothing() because we don't really want
children of this display item to get the parent filter applied. It's not only
redundant, but also may be incorrect if the mask image is not opaque for example
(maybe WR should prevent that?).

This was caught by layout/reftests/w3c-css/submitted/masking/mask-opacity-1a.html

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

--HG--
extra : moz-landing-system : lando
2018-08-27 19:23:34 +00:00
Bianca Danforth
16d89ecabc Bug 1457226 - Revert Savant Shield study commits; r=rhelmer
The Savant pref flip Shield study was ended on 08-20-18 (https://bugzilla.mozilla.org/show_bug.cgi?id=1457226#c28), so this patch removes all temporary study code from Firefox.

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

--HG--
extra : moz-landing-system : lando
2018-08-27 18:17:43 +00:00
Matthew Noorenberghe
fe373d9322 Bug 1486413 - Revert 'xul|textbox[focused]' rule accidentally added in Bug 1486413. r=jaws
It was accidentally copied from the previous ruleset for the -moz-ui-invalid rules but I meant to invesigate whether -moz-ui-invalid applied to <xul:textbox> before landing.

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

--HG--
extra : moz-landing-system : lando
2018-08-27 19:02:34 +00:00
Joel Maher
af81c03a10 Bug 1392106 - random-if more test cases for windows 7 letter rendering failures. r=RyanVM
random-if statements for the last 2 days worth of annotated failures

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

--HG--
extra : moz-landing-system : lando
2018-08-27 18:38:37 +00:00
Narcis Beleuzu
eec002c6df Backed out changeset df602a252b66 (bug 1485946) for Linting failure. CLOSED TREE 2018-08-27 21:41:38 +03:00
Robert Helmer
70e2c73f5a bug 1485946 - skip building libprio on MSVC r=froydnj
libprio does not currently build with MSVC (since it only supports
C90 as a compiler), this is being worked on upstream at https://github.com/mozilla/libprio/issues/17

As we are almost certainly not going to ship Firefox build with MSVC anymore,
let's disable this to get it working on this Tier-2 platform.

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

--HG--
extra : moz-landing-system : lando
2018-08-27 15:39:46 +00:00
Nicolas Chevobbe
0d7183224a Bug 1485990 - Display 1-item-only autocomplete popup if autocompletion text can't be displayed; r=bgrins.
If the autocomplete only returns 1 item, we usually close the
popup and show the autocompletion text.
But in some cases the autocompletion text can't be shown (e.g.
there's some text after the cursor). So we end up showing
nothing for the user, which is not ideal.
In such case, this patch ensures we do show the popup so the
user can autocomplete and save some keystrokes.

Depends on D4061

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

--HG--
extra : moz-landing-system : lando
2018-08-27 16:25:57 +00:00
Nicolas Chevobbe
f9b5460bf2 Bug 672733 - Make autocomplete search case insensitive; r=Honza.
This patch adds a smarter heuristic for autocompletion results:
if the input first letter is lowercased, then we'll filter
matching properties case insensitively. But if the user starts
with an uppercase, we assume they know the property they want
and thus respect the casing.
For example: `win` will return both `window` and `Window`, but
`Win` will return `Window` only.
Due to this behavior, we change the order of the autocomplete
results so lowercased property are displayed before the uppercased
one.
If we take are example again, it's likely that if a user type `win`,
they want `window`, but the alphabetical order would return `Window`
first which would annoy user.

Now, since we return results that does not match exactly the user
input, we need to modify the frontend.

Usually, we only show the autocompletion popup if there are
at least 2 matching items, since 1 matching item will still
be displayed using the autocompletion text. But now, since the
input might not match, we want to still display the popup if
there is one matching item, but starts differentely than what
the user entered.
For example, the user typed `window.addeve`, which matches
`addEventListener`. The completion text will make it looks like
it will be completed to `window.addeventListener`, which would
be undefined. So showing the popup with the actual matching
property might avoid some confusion for the user.

A test was added to make sure the frontend works as expected.
Some test cases were added in the server test to make sure
the actor returns expected results. Other tests needed some
adjustement because of the insensitive case matches and the
new order of results.

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

--HG--
extra : moz-landing-system : lando
2018-08-27 16:08:56 +00:00
Razvan Caliman
975d7098fd Bug 1486011 - Refactor auto-increment behaviour on sliders in font editor. r=gl
- increase delay before auto-increment starts and between iterations.
- ensure auto-increment happens only when *dragging and holding* the slider thumb.
- ensure auto-increment works consistently when switching from number input directly to slider.

Depends on D4225

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

--HG--
extra : moz-landing-system : lando
2018-08-27 16:58:44 +00:00
ffxbld
4ff4d6af9a No Bug, taskcluster/docker/funsize-update-generator pipfile-update. r=bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D4320

--HG--
extra : moz-landing-system : lando
2018-08-27 16:49:15 +00:00
Bryce Van Dyk
b965d1aa0e Bug 1486502 - Add widevine CDM headers to third party paths, clang-format ignore. r=sylvestre
We wish to keep the widevine headers in the same formatting as upstream to
ease comparison and as we do not modify these files. This patch adds the
existing headers, as well as another we anticipate pulling down for our next
bump (content_decryption_module_proxy.h) to the ignored paths. These files are
ignored individually rather than the whole directory they're in, as we also
have Mozilla code in that dir.

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

--HG--
extra : moz-landing-system : lando
2018-08-27 16:25:54 +00:00
Cosmin Sabou
1f05c39e5d Merge mozilla-central to autoland. a=merge 2018-08-27 18:59:16 +03:00
Cosmin Sabou
55da592d85 Backed out 4 changesets (bug 956376) for causing a spike of failures in bug 1438778. a=backout
Backed out changeset 9cb7826b8f28 (bug 956376)
Backed out changeset 37f94ae472d6 (bug 956376)
Backed out changeset d96d56907ce0 (bug 956376)
Backed out changeset ee0b4798b061 (bug 956376)
2018-08-27 18:52:57 +03:00
Cosmin Sabou
5d011e88d1 Merge mozilla-inbound to mozilla-central. a=merge 2018-08-27 18:51:27 +03:00
Xidorn Quan
47b25bfcca Bug 1486329 - Fix some clang-cl warnings in accessible. r=eeejay
Specifically this fixes pessimizing-move warnings and some others.

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

--HG--
extra : moz-landing-system : lando
2018-08-27 15:49:01 +00:00
ahillier
1991678183 Bug 1471391 - Create initial CFR doorhanger r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D4266

--HG--
extra : moz-landing-system : lando
2018-08-27 15:53:18 +00:00
Emilio Cobos Álvarez
8918ef8375 Bug 1486399 - Teach the layout debugger about relative URIs. r=mats
It always bites me when I want to load a standalone test-case in there.

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

--HG--
extra : moz-landing-system : lando
2018-08-27 15:35:56 +00:00
Cosmin Sabou
2cbfcdeacb Backed out changeset be4fd8ee7afd (bug 1483985) for causing build bustages on LookupCache. CLOSED TREE 2018-08-27 18:26:41 +03:00
yulia
e259742bdf Bug 1483173 - introduce screenshot actor; r=ochameau
This patch introduces a screenshot actor, which allows the screenshot functionality to be
shared across tools, and also implements it for the toolbox itself

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

--HG--
rename : devtools/server/actors/webconsole/screenshot.js => devtools/shared/screenshot/capture.js
rename : devtools/shared/webconsole/screenshot-helper.js => devtools/shared/screenshot/save.js
extra : moz-landing-system : lando
2018-08-27 15:14:10 +00:00
Imanol Fernandez
ccf5df3d8e Bug 1474847 - Fix GeckoSurfaceTexture not correctly removed from container when released: r=snorp,rbarker
When entering and exiting immersive mode multiple time (~30) the WebGL context can be lost. This is caused because GeckoSurfaceTexture things there are more than 200 textures created.

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

--HG--
extra : moz-landing-system : lando
2018-08-27 15:15:21 +00:00
Alex Gaynor
cb45cd7b82 Bug 1483985 - use std::move to avoid a copy in a few places that clang recommends; r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D3543

--HG--
extra : moz-landing-system : lando
2018-08-27 15:06:58 +00:00
Jan-Erik Rediger
b86463d4c7 Bug 1477213 - Remove now-empty shallow sizes. r=gfritzsche
Depends On D2928

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

--HG--
extra : moz-landing-system : lando
2018-08-27 14:26:51 +00:00
Jan-Erik Rediger
d42b22c11a Bug 1477213 - Replace Name->ID map with pre-generated hash table. r=kmag,gfritzsche
By using a hash table based on a perfect hash function, generated at build time,
we can avoid dynamic memory allocation for every process at start.

Depends on D2927

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

--HG--
extra : moz-landing-system : lando
2018-08-27 14:25:30 +00:00
Jan-Erik Rediger
e71a066abf Bug 1477213 - Replace cpp_guard with operating_systems for compile-time OS check. r=gfritzsche
`cpp_guard` was only used for operating system checks.
We can check this value in our Python build scripts and exclude histograms that shouldn't be included for the target OS.

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

--HG--
extra : moz-landing-system : lando
2018-08-27 14:23:34 +00:00
Daniel Stenberg
ef67442423 bug 1485515 - range check the network.trr.mode pref on read r=valentin
MozReview-Commit-ID: 8OdeXYQEzQJ

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

--HG--
extra : moz-landing-system : lando
2018-08-27 13:13:12 +00:00
Jean-Yves Avenard
95343883e7 Bug 1486080 - Always allocate memory to pass extradata. r=padenot
Despite wording of the documentation to the contrary, we can't provide a static pointer to an immutable object.
Apparently, it's always been that way.

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

--HG--
extra : moz-landing-system : lando
2018-08-27 13:22:26 +00:00
Nathan Froyd
57b9c2ac11 Bug 1486056 - don't compile SkJumper_generated_win.S on aarch64 windows; r=lsalzman
Compiling a blob of x86 machine code is not going to end well.
2018-08-27 09:12:15 -04:00
Nathan Froyd
ac6614c34b Bug 1486064 - don't cargo-cult AudioDeviceInfo.h in GraphDriver.cpp; r=padenot
When WebRTC is disabled, we get complaints about undefined AudioDeviceInfo.
2018-08-27 09:11:41 -04:00
Cosmin Sabou
35af1c2893 Bug 1483325 - Disable browser/components/extensions/test/browser/test-oop-extensions/browser_ext_sidebarAction.js on all debug tests. r=jmaher 2018-08-27 15:36:53 +03:00
yulia
5b894e11fe Bug 1482052 - add talos test with many files for the debugger; r=ochameau
We do not have a test case in talos that has many files to be loaded on start. This change adds 100
files, each around 1000 lines long.

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

--HG--
extra : moz-landing-system : lando
2018-08-27 12:32:29 +00:00
ffxbld
73e4fdc8f6 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D4325

--HG--
extra : moz-landing-system : lando
2018-08-27 12:53:01 +00:00
Ashley Hauck
4cf62bfab3 Bug 1486584 - Update test262 sort-tonumber.js. r=jorendorff 2018-08-27 13:24:00 +03:00