Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / as-object / history-navigation.html
blobc04c90b5aa581dd2c0f8e3809336411dfb8508a0
1 <!DOCTYPE html>
2 <body onload="runTest()">
3 <iframe id="testframe" src="resources/left-right.html" width="100%" height="300px" frameborder="0"></iframe>
4 <script>
5 if (window.testRunner)
6 testRunner.waitUntilDone();
8 function runTest() {
9 if (sessionStorage.didNav) {
10 delete sessionStorage.didNav;
11 if (window.testRunner)
12 testRunner.notifyDone();
13 } else {
14 // Navigate a timeout to make sure we generate a history entry that we
15 // can go back to.
16 setTimeout(function() {location.href = 'data:text/html,<script>history.back();</' + 'script>';}, 0);
17 sessionStorage.didNav = true;
20 </script>
21 </body>