[web] new service worker loading mechanism (#75535)

This commit is contained in:
Yegor
2021-02-11 09:16:21 -08:00
committed by GitHub
parent 78ce11d7e3
commit e7953b3be4
9 changed files with 493 additions and 142 deletions

View File

@@ -196,6 +196,10 @@ class Chrome {
return data;
}
Future<void> reloadPage({bool ignoreCache = false}) async {
await _debugConnection.page.reload(ignoreCache: ignoreCache);
}
/// Stops the Chrome process.
void stop() {
_isStopped = true;