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

714091 Коммитов

Автор SHA1 Сообщение Дата
Farooq AR 65668ef1a7 Bug 1636421 - Rename MessagesPanel to MessagesView. r=Honza,bomsy
Differential Revision: https://phabricator.services.mozilla.com/D80335
2020-06-19 16:07:41 +00:00
Jonathan Kew 515e87f0e9 Bug 1533462 - Enable the cross-process shared font list by default on Nightly builds. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D79963
2020-06-18 22:07:44 +00:00
Jonathan Kew a2fdc0423f Bug 1533462 - Disable gfx.font_loader.delay for transition mochitests to avoid potential jank during timing-dependent tests. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D80297
2020-06-21 09:15:33 +00:00
Jonathan Kew 3a6bfefb64 Bug 1533462 - Suppress spurious valgrind errors due to fontconfig's internal caching trickery. r=njn
Differential Revision: https://phabricator.services.mozilla.com/D80169
2020-06-22 08:32:39 +00:00
Mathieu Leplatre 07af99c7f1 Bug 1639284 - Store records, timestamp and metadata in one IndexedDB transaction r=Gijs,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D78246
2020-06-22 08:21:40 +00:00
Simon Giesecke 21e6b1735a Bug 1645450 - Use ForwardIterator::Remove in dom/debugger. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D79516
2020-06-18 23:08:18 +00:00
Tim Huang afadc99944 Bug 1643607 - Fix the timeout issue of the test browser_aboutCertError.js in Fission. r=johannh
The timeout happens when we get an old element of the 'errorCode'
element in the test code. In this patch, we fix this issue by getting
the element every time we check the condition of the 'errorCode'
condition.

Differential Revision: https://phabricator.services.mozilla.com/D80214
2020-06-22 07:08:22 +00:00
Zhao Jiazhong 9fb11c8f34 Bug 1639153 - [MIPS] Fix a recent refactoring to wasm::Frame on mips. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D80410
2020-06-22 07:15:52 +00:00
Andrea Marchesini 7e08e07666 Bug 1646933 - DelayedStartInputStream::AsyncWait is wrongly implemented, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D80342
2020-06-21 20:53:54 +00:00
Henrik Skupin c8d948863f Bug 1637640 - [remote] Update Puppeteer expectation data. r=remote-protocol-reviewers,maja_zf
Depends on D79452

Differential Revision: https://phabricator.services.mozilla.com/D79453
2020-06-22 06:16:11 +00:00
Henrik Skupin a1c4dfc684 Bug 1637640 - [remote] Enable page load events for frames. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D79452
2020-06-22 04:51:46 +00:00
Henrik Skupin 221b0c6839 Bug 1644695 - [remote] Return the frameId of the frame when DOM.describeNode is called with a frame element. r=remote-protocol-reviewers,maja_zf
Depends on D79450

Differential Revision: https://phabricator.services.mozilla.com/D79451
2020-06-15 15:22:56 +00:00
Henrik Skupin 02f1323cb3 Bug 1636373 - [remote] Only emit Runtime.executionContextsCleared event for top-level execution contexts. r=remote-protocol-reviewers,maja_zf
This also fixes a hang in Puppeteer's DOMWorld.js when resolving
the current executionContext promise. With the extra event all
the Puppeteer internal contexts for the tab target have been destroyed.

Differential Revision: https://phabricator.services.mozilla.com/D79450
2020-06-16 20:49:03 +00:00
Csoregi Natalia 3d39d3b7dd Backed out changeset 0f0e045d2928 (bug 1647043) for multiple formautofill failures. CLOSED TREE 2020-06-22 09:11:13 +03:00
Zibi Braniecki 93a7d88e2d Bug 1647043 - Add support for IIN detection based on Credit Card Number. r=abr
Differential Revision: https://phabricator.services.mozilla.com/D80370
2020-06-22 04:14:23 +00:00
Masayuki Nakano c1be8ae82a Bug 1646296 - part 5: Make the last `else` block in the loops of `WSRunScanner::InitializeRange*()` handled before the text node case r=m_kato
Similar to the previous patch, this patch moves the last `else` block of
the loops in `WSRunScanner::InitializeRangeStart()` and
`WSRunScanner::InitializeRangeEnd()` to before the text node handling case.
This makes that clearer that the loops are continued only when text node
has no text or only white-spaces.

Depends on D79969

Differential Revision: https://phabricator.services.mozilla.com/D79970
2020-06-22 02:40:41 +00:00
Masayuki Nakano 7666461289 Bug 1646296 - part 4: Make the loops in `WSRunScanner::InitializeRange*()` handle topmost `else` block first r=m_kato
Their topmost `else` blocks mean there is no visible content before/after the
point.  In this case, the initialization is simpler.  So, they should be
handled first, and make the other blocks outdented.

Depends on D79966

Differential Revision: https://phabricator.services.mozilla.com/D79969
2020-06-22 02:11:30 +00:00
Denis Palmeiro c15f4faafe Bug 1646793 - Cancel all preload requests when the ScriptLoader is destroyed r=smaug
Cancel all preload requests when the ScriptLoader is destroyed.

Differential Revision: https://phabricator.services.mozilla.com/D80218
2020-06-22 02:12:56 +00:00
longsonr 6b4aba0696 Bug 1555948 - SVGSVGElement::BindToTree should use composed doc to get the animation controller r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D80390
2020-06-21 20:53:18 +00:00
Olli Pettay fab1af20c5 Bug 1646026 - Remove the overly strict assertion in EventSourceServiceNotifier::~EventSourceServiceNotifier,
Differential Revision: https://phabricator.services.mozilla.com/D79960
2020-06-19 15:36:36 +00:00
Razvan Maries c60adf564e Backed out 6 changesets (bug 1644271) for perma failures on browser_bug1170531.js.
Backed out changeset 9d4e746c732d (bug 1644271)
Backed out changeset 681a48643a84 (bug 1644271)
Backed out changeset 3cf3176c45d4 (bug 1644271)
Backed out changeset efaddcd67a33 (bug 1644271)
Backed out changeset 03aaac05c759 (bug 1644271)
Backed out changeset a780f5111efa (bug 1644271)
2020-06-21 23:44:04 +03:00
Martin Stransky 1e7a50774c Bug 1645704 [Wayland] Rename WaylandDMABufSurface to DMABufSurface at ffmpeg, r=jya
Prepare ffmpeg decoding module to X11 dmabuf implementation. In order to cover both X11 and Wayland backend do:

- Use DMABUFSurfaceImage instead of WaylandDMABUFSurfaceImage
- Use DMABufSurface instead of WaylandDMABufSurface
- Rename former DMABufSurface to DMABufSurfaceWrapper to state it actually wraps the DMABufSurface.
- Use DMABufSurfaceYUV instead of WaylandDMABufSurfaceNV12

Differential Revision: https://phabricator.services.mozilla.com/D79638
2020-06-21 13:59:09 +00:00
Martin Stransky 2b91832e28 Bug 1645704 [Wayland] Rename WaylandDMABufSurface to DMABufSurface at gxf, r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D79637
2020-06-21 13:59:17 +00:00
Martin Stransky 74141f6a50 Bug 1645704 [Wayland] Rename WaylandDMABufSurface to DMABufSurface at widget/gtk, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D79636
2020-06-21 13:59:24 +00:00
David Major 2a6bf134e0 Bug 1646407 - Fix a snprintf complaint in nsTimerImpl.cpp r=njn
We have a clang-plugin check that wants to prefer `SprintfLiteral` over `snprintf`, but for some reason this wasn't caught before clang-11. I _think_ it has to do with previous versions not being able to see that `buflen` was constant, but I'm not really sure.

Differential Revision: https://phabricator.services.mozilla.com/D80021
2020-06-21 13:12:30 +00:00
John Paul Adrian Glaubitz 1304678d83 Bug 1318905 - mfbt:tests: Define RETURN_INSTR for riscv64 in TestPoisonArea r=glandium
Define RETURN_INSTR for riscv64 in TestPoisonArea, i.e. the riscv64 assembly
opcodes for "ret ; ret".

Differential Revision: https://phabricator.services.mozilla.com/D78625
2020-06-18 07:11:09 +00:00
John Paul Adrian Glaubitz 857454d924 Bug 1318905 - js:jit: Enable AtomicOperations-feeling-lucky.h on riscv64 r=lth
This allows the build on riscv64 to use the atomic operations provided by GCC.

Differential Revision: https://phabricator.services.mozilla.com/D78624
2020-06-18 07:11:09 +00:00
John Paul Adrian Glaubitz 41f3e19379 Bug 1318905 - build: Add riscv64 as target architecture to mozbuild r=glandium
Adds the basic definitions for riscv64 to mozbuild, allowing to build Spidermonkey.

Differential Revision: https://phabricator.services.mozilla.com/D78623
2020-06-18 07:11:09 +00:00
Kartikaya Gupta f9ff83d078 Bug 1644271 - Enable setting the visual viewport size for VisualViewportOnly-type MVM instances. r=tnikkel
Depends on D80090

Differential Revision: https://phabricator.services.mozilla.com/D80091
2020-06-18 09:21:36 +00:00
Kartikaya Gupta 3cabfd00ab Bug 1644271 - Mark a couple of reftests fuzzy with WR. r=tnikkel
The top end of the scrollbar seems off by a subpixel amount. Some initial
investigation is documented in bug 1646527 and points to a WR internal bug.

Depends on D80089

Differential Revision: https://phabricator.services.mozilla.com/D80090
2020-06-18 09:20:53 +00:00
Kartikaya Gupta c2c799ab64 Bug 1644271 - Adjust assertion counts on some crashtests. r=tnikkel
I looked at the assertion stacks and checked that there were no new kinds of
assertions being triggered, just more of the same old assertions. Seems
reasonable that as the desktop behaviour moves closer to mobile (by turning
on visual viewport codepaths) the assertion count will also match that of
mobile.

Depends on D80088

Differential Revision: https://phabricator.services.mozilla.com/D80089
2020-06-20 11:13:27 +00:00
Kartikaya Gupta 5085f2206c Bug 1644271 - Block some codepaths that try to use a zero display size. r=tnikkel
This fixes a number of scroll-anchoring WPT tests that otherwise fail with the
final patch in this patchset. This patch also fixes a pre-existing failure on
Android, so we remove the corresponding failure annotation here.  The guard
being added already exists on some of the codepaths leading to this function,
and is used to short-circuit other bits of code. However, there are still some
codepaths that end up in this function with a zero display size, and it's better
to leave the visual viewport unset in the presShell than to set it to a zero
size.

Depends on D80086

Differential Revision: https://phabricator.services.mozilla.com/D80087
2020-06-18 11:20:55 +00:00
Kartikaya Gupta 2d3c0385a1 Bug 1644271 - Add some MOZ_LOG for scrollbar layout attempts. r=tnikkel
I found this useful while debugging. It might be overkill to land it.

Depends on D80085

Differential Revision: https://phabricator.services.mozilla.com/D80086
2020-06-17 22:40:28 +00:00
Kartikaya Gupta 565bdb8643 Bug 1644271 - Log the URI for each MVM created. r=tnikkel
There's a lot of documents that get created (about:blank and friends) and this
makes it easier to figure out which MVM we actually care about.

Differential Revision: https://phabricator.services.mozilla.com/D80085
2020-06-18 11:20:46 +00:00
Cosmin Sabou e17af78780 Bug 1640900 - Update expectation for change-layout-in-error.html. r=aryx DONTBUILD
DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D80382
2020-06-20 21:08:43 +00:00
David Major 7ace5d7599 Bug 1646176 - Fix clang-11 uninitialized warnings in test-prettyprinters.cpp r=jimb
Starting in clang-11 we'll get:
`error: variable 'i' is uninitialized when passed as a const reference argument here [-Werror,-Wuninitialized-const-reference]`

Differential Revision: https://phabricator.services.mozilla.com/D79906
2020-06-19 00:56:03 +00:00
Kagami Sascha Rosylight 3ad076e375 Bug 1646240 - Default to visual selection direction on non-Linux Nightly r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D79939
2020-06-20 20:53:59 +00:00
Jonathan Kew b2455bc1cd Bug 1646926 - Fix the sign of canvas TextMetrics.actualBoundingBoxLeft return value. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D80347
2020-06-20 15:45:24 +00:00
Tooru Fujisawa 74dfbb2d11 Bug 1647026 - Disallow Array.prototype.fill in eager evaluation. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D80373
2020-06-20 18:59:52 +00:00
Kartikaya Gupta 3cdcbca508 Bug 1646385 - Move SetVisualViewport goop from nsLayoutUtils to PresShell. r=tnikkel
There's no need to put this in nsLayoutUtils since it's so closely bound
to presShell anyway. So we move it from being a static nsLayoutUtils function
that takes a PresShell pointer, to being a method on the PresShell itself.

Two functional changes here:
1. Don't run the MaybeReflowForInflationScreenSizeChange code unless the
   visual viewport actually changes
2. Run the MaybeReflowForInflationScreenSizeChange if the visual viewport
   is reset.

These functional changes can be logically thought of as "group the font-
inflation reflow stuff together with the other visual-viewport-triggered
reflow stuff".

Depends on D80040

Differential Revision: https://phabricator.services.mozilla.com/D80041
2020-06-18 11:54:01 +00:00
Kartikaya Gupta 6540b81148 Bug 1646385 - Ensure we recompute the visual viewport size when the root scrollframe's scrollbars get added or removed. r=tnikkel
There are two parts here. One is the "backstop" in the scrollframe's
ReflowFinished callback, that recomputes the visual viewport size if layout
scrollbars are being used in the root scrollframe. This ensures that the
visual viewport gets resized properly after a reflow, possibly at the expense
of a second reflow to reposition fixed-pos items.

There is also an update to the visual viewport during the reflow itself, after
we have reflowed the in-flow contents (including the root scrollframe) but
before we reflow the fixed-pos items. This allows us to avoid the second reflow
by using the new visual viewport for positioning the fixed-pos items correctly.
This early reflow also skips marking things for a second reflow.

This patch fixes a problem described in bug 1644271 comment 2, among other
things. Specifically, it ensures that when the scrollbar properties (e.g.
maxpos, minpos) are computed, they are computed using an up-to-date visual
viewport size. The up-to-date visual viewport size correctly excludes the space
taken up by non-overlay scrollbars, which wasn't happening without this patch.

Depends on D80039

Differential Revision: https://phabricator.services.mozilla.com/D80040
2020-06-18 22:30:00 +00:00
Kartikaya Gupta 68e22e8674 Bug 1646374 - Ensure mLastPos is properly updated during scroll restoration. r=tnikkel
mLastPos is supposed to be updated by querying the visual viewport offset from
the presShell. However because of the way the visual viewport offset is updated,
this doesn't return a nonzero value until after APZ sends back a repaint request.
So this patch modifies the query to also check if there's any pending visual
viewport offset update being sent from the main thread, and use that. It also
modifies the scroll restoration code to request a properly clamped visual
scroll offset, so that the value stored as "pending" is not just the unclamped
restore destination.

Depends on D80038

Differential Revision: https://phabricator.services.mozilla.com/D80039
2020-06-18 11:06:17 +00:00
Kartikaya Gupta 2592c4b45f Bug 1646374 - Add a new log module for scroll restoration. r=tnikkel
Depends on D79885

Differential Revision: https://phabricator.services.mozilla.com/D80038
2020-06-17 23:56:31 +00:00
Sylvestre Ledru 503bdb7fd3 Bug 1623024 - mozlint/pylint - follow up: fix a syntax issue in the rst file
Differential Revision: https://phabricator.services.mozilla.com/D80375
2020-06-20 12:28:48 +00:00
Sylvestre Ledru c5d947b77f Bug 1646421 - flake8 followup, remove the noqa as it breaks the test
Instead, ignore this specific test for this file

Differential Revision: https://phabricator.services.mozilla.com/D80374
2020-06-20 12:21:27 +00:00
Sylvestre Ledru 46af48052b Bug 1646421 - flake8 Fix a bunch of actual errors r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D80078
2020-06-20 09:46:45 +00:00
Sylvestre Ledru 3ff66789b4 Bug 1646421 - Update to flake8 3.8.3 (requires toml now) r=linter-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D80076
2020-06-20 10:24:29 +00:00
Sylvestre Ledru 45c363c275 Bug 1646421 - mozlint/flake8 remove the force-removal of the exclude list r=linter-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D80075
2020-06-20 09:45:59 +00:00
Kartikaya Gupta e28e2f103c Bug 1645954 - Ensure we update both the content viewer and widget sizes before doing a reflow. r=tnikkel
The existing comment in BrowserChild::RecvUpdateDimensions may have been
accurate at some point in the past, but I'm seeing cases where setting
the content viewer size itself triggers a reflow. Since the widget size
hasn't been updated yet, the reflow uses some stale values and produces
incorrect outcomes. This patch ensures both the content viewer and widget
get their sizes updated first, and only then do we do the reflow.

Differential Revision: https://phabricator.services.mozilla.com/D79885
2020-06-20 11:25:22 +00:00
Timothy Nikkel 8349c27e4a Bug 1645954. Don't use a stale value of mScrollPort during scrollframe reflow while still determining the new value of mScrollPort. r=tnikkel
Also, adjust for scrollbars and resolution correctly.

Differential Revision: https://phabricator.services.mozilla.com/D79778
2020-06-18 09:25:02 +00:00