netsurf/test/js/index.html
Michael Drake 4b0ebae56a Add a couple of general JS tests.
The primes one prints its execution time:

  NetSurf without -v: 1300ish
             with -v: 5000ish
      Firefox 38.5.0:  300ish
2016-01-23 10:32:26 +00:00

108 lines
3.5 KiB
HTML

<html>
<head>
<title>JavaScript Tests</title>
<link rel="stylesheet" type="text/css" href="tst.css">
</head>
<body>
<h1>JavaScript Tests</h1>
<h2>General</h2>
<ul>
<li><a href="js-fractal.html">Fractal</a></li>
<li><a href="js-primes.html">Primes</a></li>
</ul>
<h2>Core</h2>
<ul>
<li><a href="core.recursion.html">Infinite Recursion</a></li>
<li><a href="core.infinite.html">Infinite loop</a></li>
</ul>
<h2>Document write</h2>
<ul>
<li><a href="inline-doc-write-simple.html">Simple document write</a></li>
<li><a href="noscript-inline-doc-write.html">Script within inline script document write with noscript alternative</a></li>
<li><a href="inline-doc-write.html">Script within inline script</a></li>
<li><a href="sync-script.html">External syncronous script</a></li>
<li><a href="sync-script-err.html">External syncronous script with missing js file</a></li>
<li><a href="sync-script-css.html">External syncronous script (with css)</a></li>
<li><a href="inline-innerhtml.html">Inline script innerHtml test</a></li>
</ul>
<h2>Window</h2>
<ul>
<li><a href="window.lately.html">lately</a></li>
<li><a href="window-enumerate.html">enumerate</a></li>
</ul>
<h2>Location</h2>
<ul>
<li><a href="location-enumerate.html">Enumerate members</a></li>
<li><a href="location-assign.html">assign</a> should navigate to enumeration with page in history</li>
<li><a href="location-replace.html">replace</a> should navigate to enumeration without page in history.</li>
<li><a href="location-href.html">href</a> should navigate to enumeration with page in history</li>
<li><a href="location-putforwards.html">href</a> should navigate to enumeration using putforwards on location</li>
</ul>
<h2>Navigator</h2>
<ul>
<li><a href="navigator-enumerate.html">Enumerate members</a></li>
</ul>
<h2>DOM tests</h2>
<h3>Reference method tests</h3>
<ul>
<li><a href="dom-element-firstElementChild.html">firstElementChild</a></li>
<li><a href="dom-element-lastElementChild.html">lastElementChild</a></li>
<li><a href="dom-element-next_prev_ElementSibling.html">previousElementSibling nextElementSibling</a></li>
<li><a href="dom-element-childElementCount.html">childElementCount</a></li>
<li><a href="doc-dom2.html">getElementById</a></li>
<li><a href="dom-getElementsByTagName.html">getElementsByTagName</a></li>
<li><a href="dom-element-reflection.html">reflection</a></li>
</ul>
<h3>Enumeration tests</h3>
<ul>
<li><a href="dom-node-enumerate.html">Node element interface</a></li>
<li><a href="dom-body-enumerate.html">Body element interface</a></li>
<li><a href="dom-document-enumerate.html">Document interface</a></li>
</ul>
<h3>DOM node tests</h3>
<ul>
<li><a href="dom-node-nodetype.html">Node::nodeType support</a></li>
<li><a href="dom-node-parentNode.html">Node::parentNode support</a></li>
</ul>
<h3>Document element specific</h3>
<ul>
<li><a href="dom-doc-cookie.html">Cookie dispaly (only from server)</a></li>
<li><a href="dom-doc-location.html">location</a></li>
</ul>
<h2>Dom events</h2>
<ul>
<li><a href="event-onload.html">window.onload</a></li>
<li><a href="event-onloadfrombody.html">body.onload</a></li>
<li><a href="event-onclick.html">button.onclick</a></li>
</ul>
<h2>Errors</h2>
<ul>
<li><a href="parameter-error.html">Missing parameters</a></li>
</ul>
<h2>Assorted</h2>
<ul>
<li><a href="assorted-log-doc-write.html">console.log and document.write</a></li>
<li><a href="wikipedia-lcm.html">Example from wikipedia</a></li>
<li><a href="verify-instanceofness.html">Check instanceof behaviour</a></li>
</ul>
</body>
</html>