Bug 316222
| Summary: | [Site Isolation] iframe memory monitor test fails | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Anthony Tarbinian <a.tarbinian> |
| Component: | WebKit Process Model | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | nham, webkit-bug-importer |
| Priority: | P1 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Anthony Tarbinian
This bug targets http/tests/iframe-memory-monitor/media-video-autoplay-in-frames.html or any tests which use window.internals.lowerAllFrameMemoryMonitorLimits();
This is a similar bug to https://bugs.webkit.org/show_bug.cgi?id=315664 which affected network resource loading limits, whereas this one is for memory usage limits.
In LocalFrame::showMemoryMonitorError, the misbehaving iframe is attempted to be unloaded via setting the srcdoc attribute on the iframe's ownerElement (Frame::m_ownerElement). With site isolation, the owner element can be in a different process which leaves m_ownerElement as null.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/178647828>
Anthony Tarbinian
Pull request: https://github.com/WebKit/WebKit/pull/66391
EWS
Committed 314646@main (a69e1109cc6b): <https://commits.webkit.org/314646@main>
Reviewed commits have been landed. Closing PR #66391 and removing active labels.