Commit 857ba4fd authored by tristan's avatar tristan
Browse files

Reviewed by Anders Carlsson.

        
        <rdar://problem/5350019> REGRESSION: Pages on milliyet.com are added to Back list when visited, causing Back button to just reload

        * http/tests/navigation/lockedhistory-iframe-expected.txt: Added.
        * http/tests/navigation/lockedhistory-iframe.html: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24664 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent ef173ccb
2007-07-26 Tristan O'Tierney <tristan@apple.com>
Reviewed by Anders Carlsson.
<rdar://problem/5350019> REGRESSION: Pages on milliyet.com are added to Back list when visited, causing Back button to just reload
* http/tests/navigation/lockedhistory-iframe-expected.txt: Added.
* http/tests/navigation/lockedhistory-iframe.html: Added.
2007-07-26 Kevin McCullough <kmccullough@apple.com>
 
Reviewed by Sam.
This test verifies that setting the iframe.src through javascript to # does not add a history item. If the test passes you'll see only one history item.
============== Back Forward List ==============
curr-> http://127.0.0.1:8000/navigation/lockedhistory-iframe.html **nav target**
about:blank (in frame "<!--framePath //<!--frame0-->-->")
===============================================
<html>
<head>
<script src="resources/document-location.js"></script>
<script type="text/javascript">
layoutTestController.dumpBackForwardList();
layoutTestController.dumpAsText();
var myFrame;
function myCallbackFunction() {
myFrame.src = '#';
}
</script>
</head>
<body>
<p>This test verifies that setting the iframe.src through javascript to # does not add a history item. If the test passes you'll see only one history item.</p>
<script type="text/javascript">
myFrame = document.createElement("iframe");
myFrame.src = "javascript:document.write('<script type=text/javascript>window.parent.myCallbackFunction();<\/script>');";
document.body.appendChild(myFrame);
</script>
</body>
</html>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment