chiark / gitweb /
Reword the apology when web puzzles fail to load.
authorSimon Tatham <anakin@pobox.com>
Wed, 7 Apr 2021 06:16:01 +0000 (07:16 +0100)
committerSimon Tatham <anakin@pobox.com>
Wed, 7 Apr 2021 06:16:01 +0000 (07:16 +0100)
The old one was totally out of date (it mentioned typed arrays and a
specific set of browser versions against which the previous Emscripten
build had been tested).

Also, a couple of users in the last day or two have reported
mysterious failures of the WASM puzzles, which I haven't been able to
reproduce in the same version of the same browser. So something odd is
going on, and this seems like a good place to put suggestions about
what diagnostic information to send.

html/jspage.pl

index b409783f150b5b9008460e85db8e046732f3c81d..599295bc587fae62c1dc478bda02f57298a867fa 100755 (executable)
@@ -245,12 +245,18 @@ ${unfinishedpara}
 </div>
 </div>
 <div id="apology">
-Sorry, this Javascript puzzle doesn't seem to work in your web
-browser. Perhaps you have Javascript disabled, or perhaps your browser
-doesn't provide a feature that the puzzle code requires (such as
-<a href="https://developer.mozilla.org/en-US/docs/JavaScript/Typed_arrays">typed arrays</a>).
-These puzzles have been successfully run in Firefox 19, Chrome 26,
-Internet Explorer 10 and Safari 6.
+<p>Sorry, this WebAssembly puzzle doesn't seem to work in your web
+browser.</p>
+<p>Most modern browsers should support WASM, but if yours isn't
+working, please report the problem, including <strong>as much
+diagnostic information as you can find</strong>.</p>
+<p>In particular, try opening your browser's Javascript error console
+and then reloading this page, and tell me if it reports any error
+messages.</p>
+<p>Also, if your browser has a network diagnostic tab, try the same
+experiment, to make sure it is successfully loading both of the
+auxiliary files <code>${filename}.js</code> and
+<code>${filename}.wasm</code>.</p>
 </div>
 <hr>