| 1 |
<!doctype html> |
| 2 |
<html lang="en-us"> |
| 3 |
<head> |
| 4 |
<meta charset="utf-8"> |
| 5 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 6 |
<link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon"> |
| 7 |
<link rel="stylesheet" href="../../../common/emscripten.css"/> |
| 8 |
<link rel="stylesheet" href="../../../common/testing.css"/> |
| 9 |
<title>sqlite3 tester: OpfsSAHPool Pausing</title> |
| 10 |
<style></style> |
| 11 |
</head> |
| 12 |
<body><h1 id='color-target'></h1> |
| 13 |
|
| 14 |
<p> |
| 15 |
This page provides a <em>very basic</em> demonstration of |
| 16 |
"pausing" and "unpausing" the OPFS SAHPool VFS such that |
| 17 |
multiple pages or workers can use it by coordinating which |
| 18 |
handler may have it open at any given time. |
| 19 |
</p> |
| 20 |
<div class='input-wrapper'> |
| 21 |
<input type='checkbox' id='cb-log-reverse'> |
| 22 |
<label for='cb-log-reverse'>Reverse log order?</label> |
| 23 |
</div> |
| 24 |
<div id='test-output'></div> |
| 25 |
<script>(function(){ |
| 26 |
document.querySelector('h1').innerHTML = |
| 27 |
document.querySelector('title').innerHTML; |
| 28 |
})();</script> |
| 29 |
<script src="sahpool-pausing.js"></script> |
| 30 |
</body> |
| 31 |
</html> |