Progressbar fix.
This commit is contained in:
1 parent
6754c8ef6c
commit
9205e7280a
10 files changed
+266
-3
No files matched your search
@@ -0,0 +1,19 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<meta charset="utf-8">
|
||||
<title>Cthulhu Browser Probe</title>
|
||||
<label>Probe start <input autofocus></label>
|
||||
<button id="update">Update progress</button>
|
||||
<label for="native">Native progress</label>
|
||||
<progress id="native" max="100" value="0"></progress>
|
||||
<div id="aria" role="progressbar" aria-label="ARIA progress"
|
||||
aria-valuemin="0" aria-valuemax="100" aria-valuenow="10"></div>
|
||||
<span id="shader">Processing Vulkan shaders (0%)</span>
|
||||
<script>
|
||||
document.getElementById('update').addEventListener('click', () => {
|
||||
document.getElementById('native').value = 20;
|
||||
document.getElementById('aria').setAttribute('aria-valuenow', '30');
|
||||
document.getElementById('shader').textContent = 'Processing Vulkan shaders (37%)';
|
||||
});
|
||||
</script>
|
||||
</html>
|
||||
@@ -10,6 +10,7 @@ import time
|
||||
|
||||
|
||||
BROWSER_PROOFS = {
|
||||
"progress": ("./internal/app", "^TestNativeBrowserProgress$", 30, 35, "browser-progress.html"),
|
||||
"fragments": ("./internal/review", "^TestNativeBrowserFragmentLines$", 30, 35, "browser-fragments.html"),
|
||||
"positions": ("./internal/atspi", "^TestNativeBrowserSetPositions$", 25, 30, "browser-positions.html"),
|
||||
"tabs": ("./internal/app", "^TestNativeBrowserTabs$", 30, 35),
|
||||
|
||||
Reference in new issue
Block a user