Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / loader / frame-location-change-not-added-to-history.html
blob35a28ef9660dc66d608acb73f9e7e2615e138960
1 <head>
2 <script>
3 // Test that the very first navigation made on a newly created IFRAME does not
4 // create another session history entry, even if the IFRAME is already attached
5 // to the document and the page has fully loaded.
6 function runTest() {
7 var f = document.createElement("iframe");
8 document.body.appendChild(f);
10 f.contentWindow.location = "data:,hello";
12 f.onload = function() {
13 document.body.innerText = "history.length = " + history.length;
14 if (window.testRunner)
15 testRunner.notifyDone();
19 onunload = function() {
20 // Disable page cache
23 onload = function() {
24 if (window.testRunner) {
25 testRunner.dumpAsText();
26 testRunner.dumpBackForwardList();
27 testRunner.clearBackForwardList();
28 testRunner.waitUntilDone();
30 setTimeout(runTest, 0);
32 </script>
33 </head>
34 <body></body>