This adds a 'minimum' argument to the JS-API for the WebAssembly.Memory
and WebAssembly.Table objects. This parameter represents the minimum
size of the object which was specified by the 'initial' parameter. This
supports using either initial or minimum to specify the parameter.
This commit is part of the work to add type reflections to the
WebAssembly JS-API as specified in the js-types proposal.
Differential Revision: https://phabricator.services.mozilla.com/D85887
I would redirect Glean-sent pings instead of suppressing them, but network
errors seem to be causing unrelated failures in
toolkit/mozapps/extensions/test/browser/browser_html_discover_view_clientid.js
Differential Revision: https://phabricator.services.mozilla.com/D88980
This utilises the fact that we can now specify the manifest
independently of the metadata path, which wasn't possible before. We
need to edit the default (i.e. Firefox) configuration to update the
metadata path (only) to point at something product-specific so we
don't end up using fx metadata for everything.
Differential Revision: https://phabricator.services.mozilla.com/D89461
TimedPromise logs a warning if the timeout exceeded and not error
should be raised. Given that Sleep always runs into that condition
a lot of inappropriate log entries are made that also causes
confusion for our users when commands (especially actions) don't
work as expected.
Differential Revision: https://phabricator.services.mozilla.com/D89354
TimedPromise logs a warning if the timeout exceeded and not error
should be raised. Given that Sleep always runs into that condition
a lot of inappropriate log entries are made that also causes
confusion for our users when commands (especially actions) don't
work as expected.
Differential Revision: https://phabricator.services.mozilla.com/D89354
Automatic update from web-platform-tests
File API: make manual IDL test use idl_test
--
wpt-commits: ffca9d1f7193365c79a1274b81eac97864fec872
wpt-pr: 25353
Automatic update from web-platform-tests
Fix CSP source list intersection for CSPEE in blink
As explained in https://github.com/w3c/webappsec-cspee/pull/18,
Content-Security-Policy: Embedded Enforcement source list intersection
algorithm sometimes computes a wrong intersection of two lists of
source expressions.
Additionally, blink CSPEE source intersection algorithm was computing
a wrong intersection for http://*.com and http://*.example.com.
We fix those problems and add a unit test and WP tests.
Change-Id: Ie7b85d8c7e978af6b5e87141d257c66e5556be95
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2385458
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Commit-Queue: Antonio Sartori <antoniosartori@chromium.org>
Cr-Commit-Position: refs/heads/master@{#803799}
--
wpt-commits: 953dd708a465fc3f89a6c74812cc18b62bbfc724
wpt-pr: 25322
Automatic update from web-platform-tests
Idle Detection: use idl_test more (#25352)
Also move the IDL file to /interfaces/.
--
wpt-commits: 13ac6246600671e8fa54c4b083c350b1d8aa5eee
wpt-pr: 25352
Automatic update from web-platform-tests
More accurate layout shift tracking for texts
Previously when a text shifted, we assumed the whole area below the
text in the containing block shifted, which might report too big
shifted area, e.g. if the text shift was just in one line.
Now pass the logical height of the shifted text and calculate the
shifted area for the text only. Shifts of other texts below are
checked separately.
Bug: 1121405
Change-Id: I029c5dfcf6d0537a9be4f8c33cac9d63bd4b4f1d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2386842
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#803755}
--
wpt-commits: b715a02c61e2af6a66c42c7db837fad8682acdc5
wpt-pr: 25311
Automatic update from web-platform-tests
FontAccess: Require User Activation only when showing permission prompt
Following feedback from partners, requiring UA each time
navigator.fonts.query() is invoked is cumbersome for UX.
This change ensures that User Activation is checked before showing a
permission prompt, but isn't checked if the permission status is
either granted or denied.
Bug: 1043306
Change-Id: I37a848feaf7c02e881bb4a63f53594a3636a9f96
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2388982
Commit-Queue: Olivier Yiptong <oyiptong@chromium.org>
Reviewed-by: Joshua Bell <jsbell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#803729}
--
wpt-commits: 5b45e1ee6f423f9c4a017b274bec9fafa0141778
wpt-pr: 25344
Automatic update from web-platform-tests
FontAccess: ChromeOS and Linux platform implementation
This change implements font enumeration for ChromeOS and Linux platforms.
Both platforms make use of fontconfig for enumeration.
Font Data Access is already supported by a previous change adding
@font-face src local matching.
Bug: 1043306
Change-Id: I4a04f94e488e481d2d444469b225178f44f907fb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2388103
Commit-Queue: Olivier Yiptong <oyiptong@chromium.org>
Reviewed-by: Joshua Bell <jsbell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#803715}
--
wpt-commits: 793c39e8200da1ec954488af9f69704567665831
wpt-pr: 25339
Automatic update from web-platform-tests
ContentVisibility: Make the lifecycle tasks run only on full lifecycle.
This patch changes the behavior of willstart- an didfinish- lifecycle
callbacks, as well as when the start of lifecycle tasks are run.
Previously, they would run on any call to the lifecycle update.
However, the intent of this is to document when the main frame
lifecycle runs (ie to PaintClean).
R=szager@chromium.org, chrishtr@chromium.org
Fixed: 1121965
Change-Id: I83bfa7142ca3fc9a94adbd0e5dfbe0245da3c9be
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2386222
Reviewed-by: Stefan Zager <szager@chromium.org>
Commit-Queue: vmpstr <vmpstr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#803637}
--
wpt-commits: 17f8f001c7643155b38725ff8f3a827dec798a86
wpt-pr: 25303
Automatic update from web-platform-tests
A column-spanning legend isn't part of the flow thread.
The containing block of a spanner is always the multicol container
itself.
Bug: 1123710, 1123792
Change-Id: I3486e6ad2484396548f8682c842a6fb8a731e058
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2386799
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#803609}
--
wpt-commits: 43847c61ef7d3cf326d63439eb2df286bd1463c0
wpt-pr: 25335
Automatic update from web-platform-tests
[layout] Make an OOF table-layout:fixed not report an infinite max-size
Previously tables ignored the given fixed-inline-size. However due to
a fix for grid/flex:
a0b54e201c
they started respecting them.
The uncovered a bug in the NG out-of-flow calculation, (given that these
set a fixed-inline-size on children).
An OOF table with "table-layout: fixed", and a %-width will force its
max-content size to infinity, consuming all available space.
This patch only performs this adjustment if the table *isn't* OOF.
Bug: 1123475
Change-Id: I8784eb3ce4294132f6e6b7cb95ad71464c2380f8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2388266
Reviewed-by: Aleks Totic <atotic@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#803639}
--
wpt-commits: f135c6d792d0d5a50a8bf948f2eaf19a96d48787
wpt-pr: 25341
Automatic update from web-platform-tests
[Web Payment] Very long instrumentId string test.
This patch adds a test for JSON serialization of a very long string
being passed into PaymentRequest API.
Bug: 1110324, 1115091
Change-Id: Ia6690b2f41ff99190afed4431854515b167056b2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2348411
Commit-Queue: Rouslan Solomakhin <rouslan@chromium.org>
Reviewed-by: Nick Burris <nburris@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#797165}
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2359155
Cr-Commit-Position: refs/heads/master@{#803617}
--
wpt-commits: a7831be8db72dd936070f2c221a7f9f3c5a0c73b
wpt-pr: 25338
There is a race condition in the "WebDriver:SwitchToWindow" command
that would throw an UnknownError instead of NoSuchWindowError when
the window gets closed at the same time as the command gets called.
Differential Revision: https://phabricator.services.mozilla.com/D89377
Restrict to "loadable" URLs. Also exclude blob URLs.
Edgar,
This includes Marcos' fix. Apparently I can push revisions without commandeering it, so the last few are mine alone. What appears to have happened is that the fix bounced due to Windows builders not being configured to support sharing (I ran these locally and they pass). Including these as expected failures on Windows seems to work (I ran this on try, and missed a test, as you can see from history).
Try run here: https://treeherder.mozilla.org/#/jobs?repo=try&revision=3ebecf71d5732d4dc0438f4d7b714f94b881353a (I since added wss to the expected failures).
Differential Revision: https://phabricator.services.mozilla.com/D88371
CLOSED TREE
Backed out changeset d3d67293f115 (bug 1623413)
Backed out changeset 75ed1b8a5c67 (bug 1623413)
Backed out changeset 0eef32d6a454 (bug 1623413)
The browserId is stable across navigations, but the browsing context
itself might not be if we are not preserving the BC across navigations.
It might seem like this change would mean that we'd start getting notified
about events for subframes, but the old code was passing in the BC of the
top level frame anyways, so that's not a change in behavior.
Differential Revision: https://phabricator.services.mozilla.com/D89179
The manifest file hasn't actually done anything since XPT definitions were
moved to the libxul binary, and now just generates warnings in local builes.
Differential Revision: https://phabricator.services.mozilla.com/D89197
Pipenv is heavy weight and overkill for the purposes it is being used. We'd like to remove it from the tree and |mach python-test| was one of the last remanining use cases.
Remove the `--python` command-line argument as a result. Users who wish to run unit tests with Python 2 can do `MACH_PY2=1 ./mach python-test ...` or `python2 ./mach python-test ...`.
Also update a few unit tests that would break otherwise in the presence of this change.
There were a couple lines in the `setup.py` for `mozlog` that were problematic for tests and was resulting in errors due to the `mozlog` plugin being loaded by `pytest` more than once. We just delete those lines and bump up the major version number of the package to fix it.
Differential Revision: https://phabricator.services.mozilla.com/D88296
Automatic update from web-platform-tests
COOP: add reporting to redirects
This CL allows reporting browsing context group switches triggered by
redirects and updates the reports sent in this case to the latest
version of the spec PR (https://github.com/whatwg/html/pull/5518). Since
the status of COOP was becoming hard to track, I moved it to its own
class for better encapsulation.
Bug: 1059303
Change-Id: Ifafb23073301bd05cd9ce83fdb0b748c28e8a51f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2352880
Commit-Queue: Camille Lamy <clamy@chromium.org>
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799863}
--
wpt-commits: 677c57c0e8816b0892cc3ae1c2772189b1bdcf65
wpt-pr: 25072
Automatic update from web-platform-tests
[Sheriff] Revert "[Perfect Negotiation] Surface session descriptions at the right time."
This reverts commit 3bc91ccc927f8eb887a84a1e59f34c88518ce2ab.
Reason for revert: Failure of WebKit Linux ASAN build, and that's the suspect for root cause. See https://ci.chromium.org/p/chromium/builders/ci/WebKit%20Linux%20ASAN/17329
Original change's description:
> [Perfect Negotiation] Surface session descriptions at the right time.
>
> This fixes another timing related issue that blocks Perfect Negotiation.
>
> Before this CL, current/pending local/remote description attributes do
> blocking-invokes on the webrtc thread, fetching the most up-to-date
> states. This can prematurely expose the result of "in-parallel"
> operations that have not surfaced yet, such as:
> - setLocalDescription
> - setRemoteDescription
> - addIceCandidate
>
> This CL fixes that by copying the SDP states when any of these
> operations complete on the WebRTC thread and carry them over in the
> PostTask to the main thread. Here, we store these snapshots in
> "internal slots" (variables living on the main thread). With this CL,
> reading SDP attributes from RTCPeerConnection is non-blocking and
> spec-compliant.
>
> WPT test coverage added for the exact timing of SLD/SRD and other test
> expectations are updated. addIceCandidate updating the SDP is already
> covered by old WPTs.
>
> Bug: chromium:1110347
> Change-Id: Id41ec354465525c6cedf631fe2209fe097148f60
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2323359
> Commit-Queue: Henrik Boström <hbos@chromium.org>
> Reviewed-by: Harald Alvestrand <hta@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#801798}
TBR=hta@chromium.org,hbos@chromium.org
Change-Id: I4af12fd1430773ea3d134cfc37b9c5e736f20ed0
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: chromium:1110347
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2377715
Reviewed-by: Amr Aboelkher <amraboelkher@google.com>
Commit-Queue: Amr Aboelkher <amraboelkher@google.com>
Cr-Commit-Position: refs/heads/master@{#801822}
--
wpt-commits: dc1106492705bb07a14a066eab757981159cb7b9
wpt-pr: 25248
Automatic update from web-platform-tests
Fix test flake in animation-state-changes-positive-playback-rate.html
The flake is caused by limited precision of timeline times. When
comparing times with >=, the boundary time needs to factor in error
tolerance.
The virtual/threaded-no-composited-antialiasing variant of this test
had a recent flake score of 954.
Bug: 623434
Change-Id: I44b41da1326849da4b3dec30cea76be6673e0b17
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2368500
Reviewed-by: Xida Chen <xidachen@chromium.org>
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#801013}
--
wpt-commits: ec11bcffbb38f6b10c500f13edeaa5844339f66b
wpt-pr: 25182
Automatic update from web-platform-tests
[Perfect Negotiation] Surface session descriptions at the right time.
This fixes another timing related issue that blocks Perfect Negotiation.
Before this CL, current/pending local/remote description attributes do
blocking-invokes on the webrtc thread, fetching the most up-to-date
states. This can prematurely expose the result of "in-parallel"
operations that have not surfaced yet, such as:
- setLocalDescription
- setRemoteDescription
- addIceCandidate
This CL fixes that by copying the SDP states when any of these
operations complete on the WebRTC thread and carry them over in the
PostTask to the main thread. Here, we store these snapshots in
"internal slots" (variables living on the main thread). With this CL,
reading SDP attributes from RTCPeerConnection is non-blocking and
spec-compliant.
WPT test coverage added for the exact timing of SLD/SRD and other test
expectations are updated. addIceCandidate updating the SDP is already
covered by old WPTs.
Bug: chromium:1110347
Change-Id: Id41ec354465525c6cedf631fe2209fe097148f60
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2323359
Commit-Queue: Henrik Boström <hbos@chromium.org>
Reviewed-by: Harald Alvestrand <hta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#801798}
--
wpt-commits: 0d794eb31a9920dd63065a1c4de2d14132b986f5
wpt-pr: 24800
Automatic update from web-platform-tests
[html] Test sequence of navigation failure checks
This test is in support of this patch to HTML: https://github.com/whatwg/html/pull/5859
--
wpt-commits: 63c8be26e528d19e77819bbb6c9ad7aab5ea5abe
wpt-pr: 25215
Automatic update from web-platform-tests
Never re-use the layout result from the fieldset contents wrapper.
On the layout object side, all children of a fieldset are wrapped inside
an anonymous fieldset contents block. We'll detect during layout which
of the legend children (if any) will become the rendered legend. Unlike
all other in-flow children of a fieldset element, whose containing block
is the wrapper, the containing block of the rendered legend is the
fieldset layout object itself (not the wrapper child), so if we change /
remove the rendered legend, the wrapper won't be marked for layout.
Bug: 1119400
Change-Id: I5b898af8c7b7e3687def6a2333d43a8ba6af09b1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2374526
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#801772}
--
wpt-commits: 6b6a74e478f36b8039d448d8f44f86033dabefa3
wpt-pr: 25227