2008-11-04 Anders Carlsson <andersca@apple.com>
[webkit/qt.git] / LayoutTests / fast / dom / documenturi-assigned-junk-implies-baseuri-null.html
blob93c4ef7c37a4749c01fbfd395f19c0d5b9b3186e
1 <html>
2 <body>
3 <pre>
4 <script>
5 if (window.layoutTestController)
6 layoutTestController.dumpAsText();
8 document.documentURI = 'junk';
9 document.writeln('Now that document.documentURI is junk, document.baseURI should be null');
10 document.writeln('document.baseURI = ' + document.baseURI);
11 </script>
12 </pre>
13 </body>
14 </html>