0
0
mirror of https://github.com/rkd77/elinks.git synced 2025-09-21 19:46:23 -04:00

[refactor] test/ecmascript -> test/js

This commit is contained in:
Witold Filipczyk
2024-09-24 21:43:10 +02:00
parent da93f8f374
commit 3ab04479fe
199 changed files with 4 additions and 4 deletions

15
test/js/inlinescript.html Normal file
View File

@@ -0,0 +1,15 @@
<script>
<!-- hahaha
function foo() { document.title += 'hahahaha'; }
//-->
</script>
<script type="text/javascript">
function nice_href() { return 'elinks.or.cz'; }
document.title = document.url + ' xyzzy ';
</script>
<script type="text/perl">
document.title += ' ERROR ERROR ';
</script>
<body onLoad=foo()>
<p><a href="javascript:nice_href(0);">Quee</a></p>
</body>