Commit 0e72db8
authored
Introduce "is offline" algorithm and use it
This is needed for WebDriver BiDi emulated network offline and allows navigator.onLine to build upon the same primitive.
Tests: web-platform-tests/wpt#55300.
HTML PR: whatwg/html#11575.1 parent 4775fcb commit 0e72db8
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
415 | 426 | | |
416 | 427 | | |
417 | 428 | | |
| |||
6391 | 6402 | | |
6392 | 6403 | | |
6393 | 6404 | | |
| 6405 | + | |
| 6406 | + | |
| 6407 | + | |
6394 | 6408 | | |
6395 | 6409 | | |
6396 | 6410 | | |
| |||
0 commit comments