Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: fdb2c927fc43b71ccfb39e21ff28311d7a66370e https://github.com/WebKit/WebKit/commit/fdb2c927fc43b71ccfb39e21ff28311d7a66370e Author: Ryosuke Niwa <rn...@webkit.org> Date: 2023-05-11 (Thu, 11 May 2023)
Changed paths: M Source/WebCore/dom/Document.cpp M Source/WebCore/page/LocalFrameViewLayoutContext.cpp Log Message: ----------- Updating layout should not execute arbitrary scripts https://bugs.webkit.org/show_bug.cgi?id=256296 Reviewed by Simon Fraser. Deploy ScriptDisallowedScope for the entirety of Document::updateLayout and LocalFrameViewLayoutContext::performLayout. * Source/WebCore/dom/Document.cpp: (WebCore::isSafeToUpdateLayout): Deleted. (WebCore::Document::updateLayout): * Source/WebCore/page/LocalFrameViewLayoutContext.cpp: (WebCore::LocalFrameViewLayoutContext::performLayout): Canonical link: https://commits.webkit.org/263983@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes