diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2012-11-09 18:03:02 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2012-11-09 18:03:02 +0000 |
commit | 2810fe764d0074c5e32a889aabdae96ffd282978 (patch) | |
tree | 403900a5b608395664428db612dcfdc8bdf407c3 /test/js/dom-location.html | |
parent | 413248d0fc33d3615db618628e79837f22a6bb6e (diff) | |
download | netsurf-2810fe764d0074c5e32a889aabdae96ffd282978.tar.gz netsurf-2810fe764d0074c5e32a889aabdae96ffd282978.tar.bz2 |
make javascript tests acessible from index and tidy them up a little
Diffstat (limited to 'test/js/dom-location.html')
-rw-r--r-- | test/js/dom-location.html | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/test/js/dom-location.html b/test/js/dom-location.html deleted file mode 100644 index bbd78d80b..000000000 --- a/test/js/dom-location.html +++ /dev/null @@ -1,13 +0,0 @@ -<html> -<head> -<title>Assign window.lately</title> -<link rel="stylesheet" type="text/css" href="tst.css"> -</head> -<body> -<h1>Assign window.lately</h1> -<p>location: <script>document.write(location);</script> -<p>location.protocol: <script>document.write(location.protocol);</script> -<p>equivalence <script>document.write(location.protocol === 'http:');</script> -<p>assignement<script>window.lately = (location.protocol === 'http:');</script> -</body> -</html> |