mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 14:11:50 +03:00
5cfd6d9fe9
Previously, such requests were skipped because they never receive `Fetch.requestPaused` as there was no real network. Also cleanup some redundant tests and move them from chromium-only file. Fixes #23424.
5 lines
200 B
HTML
5 lines
200 B
HTML
<script>
|
|
window.registrationPromise = navigator.serviceWorker.register('sw.js');
|
|
window.activationPromise = new Promise(resolve => navigator.serviceWorker.oncontrollerchange = resolve);
|
|
</script>
|