Bug 309558
| Summary: | Add crash test for bug 308359 | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Frédéric Wang Nélar <fred.wang> |
| Component: | New Bugs | Assignee: | Frédéric Wang Nélar <fred.wang> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | ntim, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 308359 | ||
| Bug Blocks: | |||
Frédéric Wang Nélar
This was crashing on main before https://commits.webkit.org/308356@main landed:
<!DOCTYPE html>
<style>
select { flex-direction: column; }
button { float: left; }
</style>
<select id="select"></select>
<script>
window.testRunner?.dumpAsText();
window.testRunner?.waitUntilDone();
select.appendChild(document.createElement("button"));
document.body.scrollLeft;
select.options.add(document.createElement("option"));
document.body.scrollLeft;
document.body.innerHTML = "PASS if no crashes.";
window.testRunner?.notifyDone();
</script>
Initially I tried fixing it via https://github.com/WebKit/WebKit/pull/59501 ; but that's no longer necessary.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Frédéric Wang Nélar
Pull request: https://github.com/WebKit/WebKit/pull/60259
EWS
Committed 309046@main (733945bf30e9): <https://commits.webkit.org/309046@main>
Reviewed commits have been landed. Closing PR #60259 and removing active labels.
Ryan Haddad
rdar://172261674
Radar WebKit Bug Importer
<rdar://problem/172409551>