Apparently, <script>
tags are not loaded in a
deterministic order on IE and Webkit-based browsers.
This page tests this by loading 100 <script>
tags,
adding each as a child of document.documentElement
.
Each <script>
tag points
to scriptdeterminism.php?num=NNN
where each value of
NNN
is a number from 1 to 100.
Each request should load a small amount of JavaScript that pushes
its NNN
value onto a global RESULTS
array.
A timeout is scheduled 10 seconds in the future to assert whether
all 100 values have been loaded, in order.