Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / documenturi-readonly.html
blob0df8b68d2a524bcd75713ad3616a85375f67400b
1 <!doctype html>
2 <html>
3 <head>
4 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
8 var oldValue = document.documentURI;
9 document.documentURI = 'http://fail.example.com/';
10 if (document.documentURI === 'http://fail.example.com/')
11 alert("FAIL: document.documentURI should be read only.");
12 else if (document.documentURI === oldValue)
13 alert("PASS: document.documentURI is read only.");
14 else
15 alert("FAIL: document.documentURI is weird: " + document.documentURI);
16 </script>
17 </head>
18 <body>
19 <p>
20 This test ensures that document.documentURI is a readonly attribute.
21 It passes if a "PASS" alert is displayed.
22 </p>
23 </body>
24 </html>