Bug 303958
| Summary: | Layout milestone notifications should be dispatched asynchronously | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | jlee53 |
| Component: | WebKit Misc. | Assignee: | jlee53 |
| Status: | REOPENED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 304460 | ||
| Bug Blocks: | |||
jlee53
Javascript execution should not happen during in the process of updating the layout. When a layout milestone notification fires, the layout may not be completed but client callbacks to layout milestone notifications can trigger Javascript execution. This results in javascript execution failing (and consequently crashing) to run in the middle of the layout process because it is correctly not permitted to do so. We delay firing layout milestone notifications by dispatching them asychronously in order to prevent this.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
jlee53
<rdar://problem/153254633>
jlee53
Pull request: https://github.com/WebKit/WebKit/pull/55213
jlee53
Pull request: https://github.com/WebKit/WebKit/pull/55502
EWS
Committed 304572@main (bf24e9a12c17): <https://commits.webkit.org/304572@main>
Reviewed commits have been landed. Closing PR #55213 and removing active labels.
Chris Dumez
Reopened Bugzilla.
304572@main caused a 17% PLT regression, tracking revert in https://bugs.webkit.org/show_bug.cgi?id=304460.