Commit Graph

759578 Commits

Author SHA1 Message Date
Nihanth Subramanya
8c6be94e72 Bug 1714393 - Update source docs to mention static-dumps/ directory for initial data. r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D116884
2021-06-07 09:18:54 +00:00
Jonathan Kew
6a05d546ac Bug 1711479 - Adjust css-values/ex-unit-001 test to avoid dependency on locally-installed font lookup. r=emilio
The test here used a face with `src: local(Arial);`, while the reference file used `font-family: Arial, sans-serif`;
but these may not reliably result in the same behavior. The `@font-face` rule looks up a specific *face*,
and if that face is not found, the test will fall back to the browser's default font; but the reference might
get a *different* result if, for example, a fontconfig alias/substitution rule is present that maps Arial to
a different sans-serif than the browser's default.

So instead of trying to use a local font lookup to provide the metrics contrast with Ahem, this patch specifically
loads a second font resource (in both the testcase and reference) to provide consistent behavior.

Differential Revision: https://phabricator.services.mozilla.com/D116452
2021-06-07 08:58:14 +00:00
Jonathan Kew
4855e68dd1 Bug 1711479 - Remove metadata annotations for Linux-specific WPT failures that are fixed by more accurate 'ex' computation. r=emilio
We have a couple of tests that fail on tryserver on certain platforms (though they pass for me locally),
apparently because the glyph measurements used to support the various glyph-related metrics may be
affected by resolution and/or hinting settings. So these are annotated as fuzzy for now.

If we undertake a reimplementation of font metrics to better harmonize behavior across platforms
(a longstanding wish!), perhaps we'll be able to eliminate these discrepancies.

Differential Revision: https://phabricator.services.mozilla.com/D116282
2021-06-07 08:58:13 +00:00
Jonathan Kew
2dec705339 Bug 1711479 - Add the extended (two-value) font-size-adjust syntax to various WPT tests. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D116280
2021-06-07 08:58:13 +00:00
Jonathan Kew
ddbc4e9bed Bug 1711479 - Support various metrics (not only ex-height) as the basis for font-size-adjust calculations in the gfx font implementations. r=layout-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D115211
2021-06-07 08:58:12 +00:00
Jonathan Kew
57c18282b4 Bug 1711479 - Implement CSS support for the optional adjustment-basis metric keywords for the font-size-adjust property (enabled on Nightly only for now). r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D115596
2021-06-07 08:58:12 +00:00
Alexandre Poirot
d89225f30d Bug 1714508 - [devtools] Use DOCUMENT_EVENT will-navigate in debugger. r=nchevobbe,bomsy
Clearing debugger state from onTargetAvaible should be fine,
as soon as we do it immediately.
But doing it from DOCUMENT_EVENT will-navigate may help
if we get some debugger related resources while the target is still attaching on the client.
It should better ensure that state is cleared at the right time, the earliest right time.

Differential Revision: https://phabricator.services.mozilla.com/D116810
2021-06-07 08:52:16 +00:00
Alexandre Poirot
d513570bae Bug 1714508 - [devtools] Call Debugger connect action only once. r=nchevobbe,bomsy
`connect` and `willNavigate` actions are redundant, except for the isWebExtension argument.
And calling `connect` late, after a few async code make us reset redux state way too late.
Some sources/breakpoints could be processed before and we end up having confusing state.

Differential Revision: https://phabricator.services.mozilla.com/D116809
2021-06-07 08:52:16 +00:00
Dragana Damjanovic
eb3ec2f4ca Bug 1713580 - Enable the cubic congestion control for HTTP/3 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D116366
2021-06-07 08:48:02 +00:00
Julian Seward
3db9c9786a Bug 1712078 - Stop Ion's LICM pass from hoisting computations out of low-probability paths. r=jandem.
Ion has an LICM pass on MIR.  It contains adequate checks to ensure that
hoisting MIR nodes maintains correctness.  But it is almost completely
indiscriminate when it comes to the question of which nodes are profitable to
hoist.  It will hoist any (valid-to-hoist) node, with the sole exception of
constants that are used by non-invariant nodes.  In particular, it will hoist
nodes from arbitrarily low-probability paths within the loop body.  This is
believed to be the cause of the factor-of-3 perf regression shown in bug
1708381.

This patch:

* Disables LICM for any loop with more than 100 blocks in the body or that
  contains an MTableSwitch instruction with more than 25 successors.  Either
  of these guards individually fixes the original 1708381.

* Adds comments explaining the rationale for the above two thresholds, plus a
  tiny amount of profiling data that suggests they are reasonable values.

* Fixes some indentation and wording in the debug printing, so as to make it
  easier to read.

The perf effect on most wasm inputs is somewhere between nonexistent and very
small.  The above limits are pretty generous and, at least for wasm, most
loops are fairly small and so will still qualify for LICMing.  For the
Embenchen wasm perf suite, the geomeans for instruction count, data reads and
data writes, in JIT-generated code, fall by 0.10%, 0.19% and 0.13%
respectively.

Differential Revision: https://phabricator.services.mozilla.com/D116582
2021-06-07 08:44:50 +00:00
Ashray
a333c97bd5 Bug 1711845 - Fix empty params text in request side panel. r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D116490
2021-06-07 08:27:30 +00:00
Valentin Gosu
aa5e042347 Bug 1682240 - Kill ntlm_auth process instead of waiting for it to complete r=necko-reviewers,kershaw
This avoids hangs when the process might be unresponsive.

Differential Revision: https://phabricator.services.mozilla.com/D116715
2021-06-07 07:15:37 +00:00
Noemi Erli
fc0f717bfc Backed out changeset 917f3b2fd556 (bug 1709838) for causing multiple failures CLOSED TREE 2021-06-07 10:39:21 +03:00
Masayuki Nakano
740f16dc58 Bug 1540037 - part 44: Move the inserting dropped items part of TextEditor::OnDrop() to the new virtual method r=m_kato
This patch makes the previously created handler method to virtual (derived from
`EditorBase`), and makes `TextEditor` override it.

Depends on D116801

Differential Revision: https://phabricator.services.mozilla.com/D116802
2021-06-07 06:20:25 +00:00
Christoph Kerschbaumer
0c310a7b81 Bug 1709838: Enable HTTPS-First Mode in PBM Mode in Nightly r=arthuredelstein
Differential Revision: https://phabricator.services.mozilla.com/D114500
2021-06-07 05:40:59 +00:00
Makoto Kato
19830e553c Bug 1711626 - Don't set InputType.TYPE_TEXT_FLAG_CAP_SENTENCES for some types. r=geckoview-reviewers,agi
Actually, we set auto-capitalize flag if current `<input>` element isn't text
due to bug 871884.

Most 3rd party keyboard ignores this flag if it is password. But Samsung's
default keyboard uses this flag even if this is password.

So we shouldn't set auto-capitalize flag if `<input>` element is password.

Also, we also set this on `type=email` and `type=url`. But when I check Chrome
behaviour, they don't set this flag on these types. So I would like not to set
this flag to these types too.

Differential Revision: https://phabricator.services.mozilla.com/D115677
2021-06-07 04:34:28 +00:00
Masayuki Nakano
fdcc651230 Bug 1540037 - part 43: Move inserting dropped items part on HTMLEditor to HTMLEditor r=m_kato
`TextEditor::OnDrop()` handles both cases, in `TextEditor` and in `HTMLEditor`
because the common part is too complicated to duplicate.  However, most
different part is inserting the dropped items part.  So, let's make them
into a virtual method.

In this patch, creating a method only in `HTMLEditor` and moves the part
into it.

Depends on D116569

Differential Revision: https://phabricator.services.mozilla.com/D116801
2021-06-07 04:18:08 +00:00
Makoto Kato
c8a63999d9 Bug 1713354 - Destroy previous text transactions when Gecko requests to synchronize all text. r=geckoview-reviewers,agi
https://accounts.firefox.com runs the following script.

```
input.addEventListener("keyup", () => {
  // Update <datalist>

  temporaryElement.focus();
  input.focus();
}
```

Since `input.focus()` is called, `GeckoViewSupport` sends current value of
focused `<input>` element to `GeckoEditable`, but we don't cancel previous
text transaction unfortunately. Then it may cause unexpected behaviours such
as reported issue.

So we should dispose previous text transaction when getting new focus.

Also it is difficult to write unit test for this. Because,
- Mochitest cannot test this since this issue is native IME behaviour.
- No way to create this timing on geckoview-junit.

Differential Revision: https://phabricator.services.mozilla.com/D116681
2021-06-07 03:53:37 +00:00
Kartikaya Gupta
9020180bb9 Bug 1714884 - Have the Rollup method take a strongly-typed int point. r=emilio
Depends on D116948

Differential Revision: https://phabricator.services.mozilla.com/D116949
2021-06-07 01:01:10 +00:00
Kartikaya Gupta
a568fde33e Bug 1714884 - Remove unused function. r=jrmuizel
Depends on D116947

Differential Revision: https://phabricator.services.mozilla.com/D116948
2021-06-07 01:01:09 +00:00
Kartikaya Gupta
ce72d968ba Bug 1714884 - Replace custom IME Rect struct with LayoutDeviceIntRect. r=masayuki
Depends on D116946

Differential Revision: https://phabricator.services.mozilla.com/D116947
2021-06-07 01:01:09 +00:00
Kartikaya Gupta
0597e15653 Bug 1714884 - Replace custom IME Point struct with LayoutDeviceIntPoint. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D116946
2021-06-07 01:01:08 +00:00
Glenn Watson
520da01b0c Bug 1714897 - Fix glxtest EGL code path on amdgpu r=rmader
Differential Revision: https://phabricator.services.mozilla.com/D116957
2021-06-06 23:44:40 +00:00
Andreea Pavel
25514cab4e Bug 1594274 - disable browser_tabopen.js on mac r=jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D116954
2021-06-06 23:44:21 +00:00
David Parks
78bd808d59 Bug 1682030 - Remove OSX flash sandbox. r=haik
Removes the Flash sandbox descriptor as part of removing all NPAPI plugin support.

Differential Revision: https://phabricator.services.mozilla.com/D108097
2021-06-06 23:26:26 +00:00
Butkovits Atila
9a67025305 Backed out changeset 1a6ee358d131 (bug 1714457) for causing failures at redefine-attr-mapping.html. CLOSED TREE 2021-06-07 00:31:38 +03:00
Jonathan Kew
489fe85732 Bug 1689379 - Try to reduce the chance of an apparent shutdown hang by bailing out of potentially-expensive font-list calls if the app is shutting down. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D116740
2021-06-06 21:24:44 +00:00
Jonathan Kew
2f1aa020c3 Bug 1714282 - Handle bitmap font sizes in the shared font list on Linux. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D116874
2021-06-06 20:30:14 +00:00
Sylvestre Ledru
72f885fa29 Bug 1714434 - Doc/contribution: Refresh the list of projects and update the wording r=gsvelto DONTBUILD
Depends on D116821

Differential Revision: https://phabricator.services.mozilla.com/D116822
2021-06-06 14:36:53 +00:00
Sylvestre Ledru
4fabcce989 Bug 1714434 - Doc/contribution: remove trailing whitespaces r=gsvelto DONTBUILD
Depends on D116820

Differential Revision: https://phabricator.services.mozilla.com/D116821
2021-06-06 14:36:52 +00:00
Sylvestre Ledru
abaad00ab4 Bug 1714434 - Doc/contribution: Rename the file about Mozilla contributions r=gsvelto DONTBUILD
and set up a redirect

Differential Revision: https://phabricator.services.mozilla.com/D116820
2021-06-06 14:36:52 +00:00
Narcis Beleuzu
11da6949ee Backed out 2 changesets (bug 1713787) for wpt failures on declarations-trim-whitespace.html . CLOSED TREE
Backed out changeset 1ddacb243ae6 (bug 1713787)
Backed out changeset 2dc1eff1effd (bug 1713787)
2021-06-06 17:16:55 +03:00
Rob Wu
cf84cfbfbb Bug 1706391 - Enable blocklist tests on Android r=Gijs
xpcshell tests can be run on Android since bug 1567341 was fixed, so
enable them to ensure that we have test coverage on Android.

`_TEST_FILE` contains file names in remote xpcshell tests (Android),
so `_TEST_NAME` had to be used instead.

`ok` had to be replaced with `Assert.ok` because `ok` is only available
later, after the import of `AddonTestUtils.jsm`.

Unrelated gfx tests are still failing, filed follow-up as bug 1714673.

Differential Revision: https://phabricator.services.mozilla.com/D116419
2021-06-06 13:30:10 +00:00
Emilio Cobos Álvarez
3b7b6c1d1a Bug 1713787 - Fix test_variable_serialization_computed.html
MANUAL PUSH: Orange fix CLOSED TREE
2021-06-06 15:24:09 +02:00
Xidorn Quan
ecf0830a40 Bug 1714457 - Make predefined symbolic counter styles not overridable. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D116938
2021-06-06 12:55:07 +00:00
Emilio Cobos Álvarez
e3a7c5102a Bug 1713787 - Fix whitespace handling inside CSS variables. r=xidorn
As per w3c/csswg-drafts#881 and w3c/csswg-drafts#774.

Differential Revision: https://phabricator.services.mozilla.com/D116459
2021-06-06 12:10:28 +00:00
Emilio Cobos Álvarez
53804f0e05 Bug 1714631 - Move an NS_ASSERTION to the right place so it doesn't fire incorrectly.
MANUAL PUSH: Orange fix on a CLOSED TREE.
2021-06-06 12:32:27 +02:00
Emilio Cobos Álvarez
a2c035d932 Bug 1714631 - Fix test_placeholder_restrictions.html
MANUAL PUSH: Orange fix on a CLOSED TREE
2021-06-06 11:55:44 +02:00
Emilio Cobos Álvarez
3530449855 Bug 1714631 - Make input placeholder line-height declaration important, to match other engines. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D116907
2021-06-06 08:49:29 +00:00
Timothy Nikkel
546c57749e Bug 1710034. Choose a double tap rect for replaced elements that are not too tall that includes their full height, not just their width. r=emilio
We always attempt to zoom to the width of the element we double tap on, cutting off the top/bottom of the element if necessary. For elements that contain text that are relatively quite tall this is good. But for things like images which are not really that tall, but just happen to have a taller aspect ratio then the viewport it is not ideal.

Differential Revision: https://phabricator.services.mozilla.com/D114582
2021-06-06 04:11:29 +00:00
Alexandru Michis
c1ec9ecbbc Bug 1713158 - Disable more devtools tests on OS X 10.15 for causing jobs to permafail. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D116928
2021-06-05 17:00:45 +00:00
Joel Maher
4ab9d560dd Bug 1714588 - move remaining tests from R7 to R8. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D116851
2021-06-05 12:44:11 +00:00
Alexandru Michis
f2f6bad653 Backed out changeset 7fa771d9f62d (bug 1695472) for causing bc failures in browser_bug1620341.js (Bug 1714691) 2021-06-05 11:03:34 +03:00
june wilde
abbada0553 Bug 1714686 - Disable libjxl updates; r=saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D116908
2021-06-04 23:38:29 +00:00
Brindusan Cristian
acba349677 Backed out changeset 03a717a6815e (bug 1714351) for causing bc failures in browser_all_files_referenced.js. CLOSED TREE 2021-06-05 03:18:11 +03:00
Gijs Kruitbosch
5c12bfddc9 Bug 1710237 - do not show .tab-icon-overlay for PiP anymore, r=jaws
This fixes two issues: the overlay 'steals' clicks when displayed for PiP for pinned tabs,
and for unpinned tabs hovering the (invisible) overlay on the icon alters the status text
display (to 'mute tab') - but clicking does not have the effect described by the status text.

Differential Revision: https://phabricator.services.mozilla.com/D115500
2021-06-04 22:55:19 +00:00
Michelle Goossens
25ebda4edf Bug 1714351 - Remove and reconcile -moz-proton-doorhangers media queries r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D116910
2021-06-04 22:39:50 +00:00
Agi Sferro
65b64cb3e0 Bug 1709640 - Rename android-api-16 to android-arm. r=marionette-reviewers,firefox-build-system-reviewers,nalexander,whimboo,aklotz,releng-reviewers,mhentges,glandium,mtabara
We don't offer API splits any more, and with the separation of GeckoView with
the rest of the front-end it's increasingly unlikely that we will in the
future.

This change makes it so that the build name doesn't contain the API version so
that we can update it without breaking all the automation that relies on the
build name.

Differential Revision: https://phabricator.services.mozilla.com/D114369
2021-06-04 22:31:14 +00:00
Nick Alexander
dfa9a29716 Bug 1713393 - Remove version number from DisplayName in Firefox uninstall data on Windows. r=agashlin
The goal is to make it easier for admins to have a generic way to
locate Firefox for uninstall, without needing to know the target
version to uninstall.  The version in the `DisplayName` is extraneous:
it's in the `DisplayVersion` field, and users can see it when you
click on it in "Add/Remove Programs".  Automated consumers may prefer
to read the `Comments` field of the Firefox uninstall data instead,
which remains identical to the `DisplayName` before this change.

Differential Revision: https://phabricator.services.mozilla.com/D116648
2021-06-04 22:03:42 +00:00
Scott
38ea934bb8 Bug 1691762 - Save to Pocket button panels to fluent r=gvn,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D113133
2021-06-04 22:00:53 +00:00