# Nested doc.write Test

This test checks how the browser treats document.write calls that are nested.

1. a script for one.js is written via document.write()
2. when one.js loads it asks for two.js to be written via document.write()
3. one.js then immediately accesses something defined in two.js

The expectation is that the access to the variable defined by two.js in one.js will fail.

Check the console for output