Closed Bug 1738829 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 31446 - Fix DCHECK in editor FindString command

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
96 Branch
Tracking Status
firefox96 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 31446 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/31446
Details from upstream follow.

Joey Arhar <jarhar@chromium.org> wrote:

Fix DCHECK in editor FindString command

This bug and fix is very similar to crbug.com/1251072. I made the same
fix as that bug, I didn't know that there was another place in editing
that could run Editor::FindString like window.find() does for the
mentioned bug.

I verified that this change fixes the clusterfuzz test case, and I also
added a similar test case to the one I added in crbug.com/1251072.

Fixed: 1264507
Change-Id: I24067700444d9a0ea79211c4324845d453fc9d89
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3253512
Reviewed-by: vmpstr \<vmpstr@chromium.org>
Commit-Queue: Joey Arhar \<jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#937186}

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

PASS: 1

Safari

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4e5376cb08c1 [wpt PR 31446] - Fix DCHECK in editor FindString command, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
You need to log in before you can comment on or make changes to this bug.