Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove url change for about:srcdoc document.write()
This CL removes the ability for either srcdoc iframes to change another frame's url via document.write. That ability has been shown to allow a mainframe to acquire a srcdoc url, which causes problems in the codebase. This CL also adds a test to make sure the document.write doesn't give a srcdoc url to a mainframe, and modifies an existing test to cover the about:blank url-writing case. Bug: 1478463 Change-Id: I85895c1e16df6734c9e351ea798fd1800e0a4df7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4856149 Reviewed-by: Dominic Farolino <[email protected]> Commit-Queue: James Maclean <[email protected]> Reviewed-by: Charlie Reis <[email protected]> Cr-Commit-Position: refs/heads/main@{#1205943}
- Loading branch information