Bug 295810
| Summary: | [ macOS Debug ] fast/dynamic/disappearing-content-on-size-change-crash.html is a constant timeout, extend() requires a Range to be added to the Selection | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Bryan Medina <bmedina2> |
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | bfulgham, csaavedra, simon.fraser, webkit-bot-watchers-bugzilla, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Bryan Medina
fast/dynamic/disappearing-content-on-size-change-crash.html
is a constant timeout on all of macOS Debug
HISTORY:
https://results.webkit.org/?suite=layout-tests&test=fast%2Fdynamic%2Fdisappearing-content-on-size-change-crash.html
TEXT DIFF:
--- /Volumes/Data/worker/Apple-Sequoia-Debug-AppleSilicon-WK1-Tests/build/layout-test-results/fast/dynamic/disappearing-content-on-size-change-crash-expected.txt
+++ /Volumes/Data/worker/Apple-Sequoia-Debug-AppleSilicon-WK1-Tests/build/layout-test-results/fast/dynamic/disappearing-content-on-size-change-crash-actual.txt
@@ -1,2 +1,3 @@
-
-This test passes if it doesn't crash.
+CONSOLE MESSAGE: Unhandled Promise Rejection: InvalidStateError: extend() requires a Range to be added to the Selection
+FAIL: Timed out waiting for notifyDone to be called
+testRunner?.dumpAsText(); testRunner?.waitUntilDone(); (async () => { const styleSheet = document.styleSheets[0]; styleSheet.disabled = true; styleSheet.insertRule(`:where(*) { display: table-cell; }`); const audio = document.createElement('audio'); document.documentElement.append(audio); audio.controls = true; audio.focus({ preventScroll: true }); await new Promise((resolve) => setTimeout(resolve)); styleSheet.insertRule(`audio { content: linear-gradient(red, blue rem(562pt, 7.86dvmin)) }`, styleSheet.length); document.execCommand('SelectAll'); styleSheet.disabled = false; getSelection().extend(document.documentElement); document.designMode = 'on'; document.execCommand('FontSize', false, '6'); // The following is just to reduce noise in the output. await new Promise(resolve => requestAnimationFrame(resolve)); styleSheet.disabled = true; testRunner?.notifyDone(); })(); This test passes if it doesn't crash.
TEXT DIFF URL:
https://build.webkit.org/results/Apple-Sequoia-Debug-AppleSilicon-WK1-Tests/297277@main%20(2633)/fast/dynamic/disappearing-content-on-size-change-crash-diff.txt
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/155644577>
Bryan Medina
I was able to reproduce the timeout at macOS Sequoia on apple silicon Debug ToT running as follows:
run-webkit-tests fast/dynamic/disappearing-content-on-size-change-crash.html --iterations=10 -f -1
Bryan Medina
It looks like this test has been constantly timing out since it has been introduced.
EWS
Test gardening commit 297284@main (6506544ee403): <https://commits.webkit.org/297284@main>
Reviewed commits have been landed. Closing PR #47915 and removing active labels.
Claudio Saavedra
This is also timing out on Debug glib platforms so I am moving the expectation to the main TestExpectation file.