Remove all non-DocumentLoader uses of LocalDOMWindow::InstallNewDocument
LocalFrame::ForceSynchronousDocumentInstall and a few unit tests manually replace the Document of a LocalDOMWindow. They can be switched to go through the static-response navigation commit path relatively easily. This establishes the rule that only DocumentLoader is allowed to create a LocalDOMWindow or replace its Document. Bug: 1029822 Change-Id: I84b37f35be5387556999f9bc24f7ba5fa74b4ff8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2222776 Commit-Queue: Nate Chapin <japhet@chromium.org> Reviewed-by:Kentaro Hara <haraken@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#773720}
Showing
Please register or sign in to comment