mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
78d5106dd9
* feat(chromium): roll Chromium to r665405 This roll includes: - https://crrev.com/665226 - DevTools: make interception respect cross-process frame boundaries This fixes page loading with dynamic OOPIFs - test is added. Fix #4442 * fix lint
11 lines
345 B
HTML
11 lines
345 B
HTML
<script>
|
|
window.addEventListener('DOMContentLoaded', () => {
|
|
const iframe = document.createElement('iframe');
|
|
const url = new URL(location.href);
|
|
url.hostname = url.hostname === 'localhost' ? '127.0.0.1' : 'localhost';
|
|
url.pathname = '/grid.html';
|
|
iframe.src = url.toString();
|
|
document.body.appendChild(iframe);
|
|
}, false);
|
|
</script>
|