diff options
author | Andreas Kling <kling@serenityos.org> | 2020-06-17 17:28:18 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-06-17 20:09:44 +0200 |
commit | de12cf6821679c900ced1c8164741bfefbde97b0 (patch) | |
tree | 990d7f303ee79c33881881b0e8c210e22b5848d2 /Base/home/anon/www/qsa.html | |
parent | 4720635aabc06e3ad24bae8a3b08afe6bdb00ae7 (diff) | |
download | serenity-de12cf6821679c900ced1c8164741bfefbde97b0.zip |
Base: Move all the HTML test content into /res/html/misc
Diffstat (limited to 'Base/home/anon/www/qsa.html')
-rw-r--r-- | Base/home/anon/www/qsa.html | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/Base/home/anon/www/qsa.html b/Base/home/anon/www/qsa.html deleted file mode 100644 index e51ab92674..0000000000 --- a/Base/home/anon/www/qsa.html +++ /dev/null @@ -1,29 +0,0 @@ -<!DOCTYPE html> -<html> -<head> -</head> -<body> -<div id="foo1" class="foo"></div> -<code> -<div id="foo2" class="foo"></div> -<div id="foo3" class="foo"></div> -</code> -<pre id="out"></pre> -<script> -var elements = document.querySelectorAll("code .foo"); - -try { - if (elements.length !== 2) - throw 1; - if (elements[0].id !== "foo2") - throw 3; - if (elements[1].id !== "foo3") - throw 4; - document.getElementById('out').innerHTML = "Success!"; -} catch (e) { - document.getElementById('out').innerHTML = "Error number " + e; -} - -</script> -</body> -</html> |