| testRunner.waitUntilDone(); |
| testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1); |
| var testDiv = document.getElementById("puffin"); |
| testDiv.addEventListener("scroll", function(event) { |
| location.href = 'data:text/html,<script>alert("Going back.");history.back();</' + 'script>'; |
| window.addEventListener("pageshow", function(event) { |
| document.getElementById("tree").innerText = window.internals.elementRenderTreeAsText(document.getElementById("puffin")); |
| window.addEventListener("load", function() { |