// Browser games that actually work offline — test harness. // // For each game: open it once online in a fresh Chrome profile and give it time // to install any offline support; reload once so a service worker can take // control; then cut the network and reload. Record what loads online and // offline, whether the game appears offline, whether it can be installed, and // every outside request made while online. The HTTP cache is cleared before // the offline reload (see below). Nothing is clicked except // itch.io's own "Run game" button (see pressPlay). // // node offline-test.cjs games.tsv out/ [settleSeconds=20] // // games.tsv: labelurl[...] per line; # comments allowed. candidates.tsv // works too: its header is skipped, and so is any row whose fifth column is not OK. // Writes out/