Skip to content

Releases: web-platform-tests/wpt

merge_pr_49915

06 Jan 10:07
Compare
Choose a tag to compare

Make HTMLEditor::ClearStyleAt stop forgetting removed line break

It does tricky if the styled element contains a padding line break.

First, it splits the inline containers at the point. E.g., if the DOM is
<b>abc []<br></b>, it's split as <b>abc </b><b><br></b>.

Next, it deletes the latter one if it has only a padding line break. Then,
previously, it didn't forget the disconnected <br>, but D231655 made it
forget [1].

However, the method needs to insert a padding line break temporarily, i.e.,
It needs to make it as <b>abc </b><br>, because WhiteSpaceVisibilityKeeper
will treat the collapsible white-space as an invisible trailing white-space
of the block. Therefore, it does it only when it removes a padding line break
[2].

Therefore, this patch makes it forget the deleted padding line break.

  1. https://searchfox.org/mozilla-central/rev/94c62970ba2f9c40efd5a4f83a538595425820d9/editor/libeditor/HTMLStyleEditor.cpp#2465-2467
  2. https://searchfox.org/mozilla-central/rev/94c62970ba2f9c40efd5a4f83a538595425820d9/editor/libeditor/HTMLStyleEditor.cpp#2499-2502,2512-2514

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

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1940014
gecko-commit: dd8b1488a379ee395592f636d084cf81117f3b4c
gecko-reviewers: m_kato

merge_pr_49910

06 Jan 07:12
Compare
Choose a tag to compare

Remove commented out tests from GlobalEventHandlers-onclick.html and minor tweaks.

See w3c/trusted-types#571 (comment)

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

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1939893
gecko-commit: e058dd4b64b841edcbd3e5b5dfefd4f8a0ee96af
gecko-reviewers: smaug

merge_pr_49909

06 Jan 07:29
Compare
Choose a tag to compare

Fix some assertions for trusted type sink tests.

These assertions were added in
#46089

They intend to check the value of the passed sink name to the callbacks
of the default policy, based on the passed trusted type name. However,
the corresponding switch statements are no-op because they actually
expect trusted type (objects) rather than trusted type names (strings).

For default-policy-callback-arguments.html we just remove the
switch statement, since the sink name is already tested just above.
We fix the switch for the other files, renaming the argument to
trustedTypeName to make more explicit it is a string and adding a
default branch to catch any unknown type name.

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

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1939866
gecko-commit: 41077ac9b8c4ace9e7acf885d957a4b8e3bf465c
gecko-reviewers: zsun

merge_pr_49911

04 Jan 06:48
Compare
Choose a tag to compare

Fix test title

Signed-off-by: Simon Wülker [email protected]

merge_pr_49872

04 Jan 00:56
Compare
Choose a tag to compare

Fix input-text-datalist-removal.html on android

This test fails on android due to one screenshot rendering the
caret/cursor in the input, and the other not. By adding
caret-color:transparent to both, neither of them will ever render the
caret, which makes it pass on android.

Fixed: 386250158
Change-Id: I8b707838e0b5519ef8c8483f80fffcf3a433dcc4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6127279
Reviewed-by: David Baron [email protected]
Commit-Queue: Joey Arhar [email protected]
Cr-Commit-Position: refs/heads/main@{#1401999}

merge_pr_49908

03 Jan 23:31
Compare
Choose a tag to compare

IDB: remove relaxed durability from some WPT.

These tests used relaxed durability to speed up test runs. Now that all
major browsers use relaxed durability by default, this just adds cruft.

Bug: none
Change-Id: I22ee2e2918ad9f33faa74e49dc6c66b08ce3aa72
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6138848
Auto-Submit: Evan Stade [email protected]
Reviewed-by: Nathan Memmott [email protected]
Commit-Queue: Nathan Memmott [email protected]
Cr-Commit-Position: refs/heads/main@{#1401967}

merge_pr_49907

03 Jan 18:54
Compare
Choose a tag to compare

Reapply "IDB: direct reads for blobs"

This relands commit 60632268eadd3051d4ec88d62292b160682f8a56.

Difference to original: added support for AsDataPipeGetter and
extended blob-contenttype.any.js WPT to cover this case.

Original change's description:

IDB: direct reads for blobs

For the standard case of a page reading IDB data from the blob store,
don't go through the blob registry on the i/o thread and instead
connect the IDB bucket thread directly to the renderer.

In some other (rarer) cases the blob registry is still used. This
is accomplished by additionally registering a blob with
BlobStorageContext using the same UUID, which is necessary for:

  • WriteBlobToFile(), which does lookup by UUID
  • loading data for a blob:// URL, i.e. mojom::Blob::Load, which is
    thunked through to the registry blob because implementation is non-
    trivial

Bug: 373684390
Change-Id: I9235f23303e4e6a05bf12a8acff32a5fb4e2a565
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6113789
Commit-Queue: Evan Stade [email protected]
Reviewed-by: Steve Becker [email protected]
Cr-Commit-Position: refs/heads/main@{#1400627}

Bug: 373684390
Change-Id: Ie555cf4b583b862d306c43e3e4be76e957ea6c5a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6138579
Reviewed-by: Steve Becker [email protected]
Commit-Queue: Evan Stade [email protected]
Cr-Commit-Position: refs/heads/main@{#1401872}

merge_pr_49906

03 Jan 18:02
504ab4f
Compare
Choose a tag to compare

WebKit export: [css-animations] Fix serialization and parsing of animation-name strings (#49906)

https://bugs.webkit.org/show_bug.cgi?id=285347

merge_pr_49903

03 Jan 15:44
8699957
Compare
Choose a tag to compare

WebKit export: align-content doesn't move atomic inlines (images, form controls) that are direct children (#49903)

https://bugs.webkit.org/show_bug.cgi?id=267360

Co-authored-by: Elika Etemad [email protected]

merge_pr_49902

03 Jan 16:32
Compare
Choose a tag to compare

WebKit export: Convert new scrollbar-gutter-root* tests from LayoutTests to wpts

https://bugs.webkit.org/show_bug.cgi?id=278568