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

Side by Side Diff: LayoutTests/fast/loader/hashchange-event-properties.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body> 3 <body>
4 <script src="../js/resources/js-test-pre.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 <div id="description"></div> 5 <div id="description"></div>
6 <pre id="console"></pre> 6 <pre id="console"></pre>
7 <script> 7 <script>
8 description('Tests that hashchange events have the expected newURL and oldURL pr operties.'); 8 description('Tests that hashchange events have the expected newURL and oldURL pr operties.');
9 9
10 function hashOf(url) 10 function hashOf(url)
11 { 11 {
12 var hashIndex = url.lastIndexOf('#'); 12 var hashIndex = url.lastIndexOf('#');
13 return hashIndex != -1 ? url.substring(hashIndex) : '[none]'; 13 return hashIndex != -1 ? url.substring(hashIndex) : '[none]';
14 } 14 }
(...skipping 25 matching lines...) Expand all
40 } 40 }
41 break; 41 break;
42 case '[none]': 42 case '[none]':
43 finishJSTest(); 43 finishJSTest();
44 break; 44 break;
45 } 45 }
46 }; 46 };
47 var jsTestIsAsync = true; 47 var jsTestIsAsync = true;
48 </script> 48 </script>
49 </html> 49 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698