This test suite was made to check how well
extsrc.js plays with asynchronous `document.write`.
Turns out, it plays rather nicely in simple cases, but fails in more complex scenarios. These are some of the cons:
1) Slightly obtrusive (wraps `document.write` output with double )
2) Messes up markup (due to wrapping) in cases like:
a)
some text
b)
3) Doesn't work with nested scripts:
a) Either inline:
')
b) Or external:
')
4) Does not preserve execution order (when mixed with inline scripts):
// 1, not 2