Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Side by Side Diff: LayoutTests/svg/as-object/history-navigation.html

Issue 218693003: Generate FrameTree::uniqueName with a URL attribute value. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove unload handler Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <body onload="runTest()">
3 <iframe id="testframe" src="resources/left-right.html" width="100%" height="300p x" frameborder="0"></iframe>
4 <script>
5 if (window.testRunner)
6 testRunner.waitUntilDone();
7
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.b ack();</' + 'script>';}, 0);
17 sessionStorage.didNav = true;
18 }
19 }
20 </script>
21 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698