eprint
afterprint
after calling print()
</pre>
<p>If no user dialog appears, either the above or the following should be
printed in the box marked as "Output":</p>
<pre>
before calling print()
after calling print()
</pre>
<p>The test passes if the above criteria are satisfied and "PASS" appears in a
table below this paragraph. The test fails otherwise.</p>

<button onclick="testBtn(this)">Click here!</button>
<h3>Output</h3>
<pre id=output></pre>

<script>
"use strict";
// This test is actually synchronous,