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

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: 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 // Disable page cache.
8 onunload = function() {};
Nate Chapin 2014/04/02 23:31:17 This shouldn't be necessary, as blink doesn't have
tkent 2014/04/03 00:26:36 Done.
9
10 function runTest() {
11 if (sessionStorage.didNav) {
12 delete sessionStorage.didNav;
13 if (window.testRunner)
14 testRunner.notifyDone();
15 } else {
16 // Navigate a timeout to make sure we generate a history entry that we
17 // can go back to.
18 setTimeout(function() {location.href = 'data:text/html,<script>history.b ack();</' + 'script>';}, 0);
19 sessionStorage.didNav = true;
20 }
21 }
22 </script>
23 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698