commit | 12e78f45eeac375a24cee330622524ed37ac0a04 | [log] [tgz] |
---|---|---|
author | Andrey Lushnikov <lushnikov@chromium.org> | Wed Jun 05 19:05:48 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jun 05 19:05:48 2019 |
tree | 596c6d91726be6d54aa9ddc287bda9a1d81c28c6 | |
parent | 36ad739166d68d09140114d2f86adfdcdae74d12 [diff] |
DevTools: do not re-create DOMWrapperWorlds on same-process navigation DevTools protocol exposes a few protocol methods to create isolated worlds: - `Page.addScriptToEvaluateOnNewDocument` - `Page.createIsolatedWorld` Whenever a same-process navigation happens, these worlds are not desotryed - so instead of re-creating the worlds per se, we should re-create just WindowProxies. This was reported as https://github.com/GoogleChrome/puppeteer/issues/4449 R=caseq Change-Id: I1056f64324a8c4f3c7a9f4a1f443b39a3b48cd29 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1634416 Reviewed-by: Andrey Kosyakov <caseq@chromium.org> Reviewed-by: Yuki Shiino <yukishiino@chromium.org> Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Commit-Queue: Andrey Lushnikov <lushnikov@chromium.org> Cr-Commit-Position: refs/heads/master@{#666392}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .