Revert "Remove all non-DocumentLoader uses of LocalDOMWindow::InstallNewDocument"
This reverts commit 46c7d082. Reason for revert: https://bugs.chromium.org/p/chromium/issues/detail?id=1090597#c4 Original change's description: > 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} TBR=dcheng@chromium.org,haraken@chromium.org,japhet@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 1029822 Change-Id: I58b897f7bb5327765c86f907a5179bb76fcccf34 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2229104Reviewed-by:Nate Chapin <japhet@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Commit-Queue: Nate Chapin <japhet@chromium.org> Cr-Commit-Position: refs/heads/master@{#774775}
Showing
Please register or sign in to comment