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

Unified Diff: chrome/test/data/session_history/frames.html

Issue 10820043: Convert speech and session history browser_tests to run under content_browsertests. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/session_history/frames.html
===================================================================
--- chrome/test/data/session_history/frames.html (revision 148625)
+++ chrome/test/data/session_history/frames.html (working copy)
@@ -1,45 +0,0 @@
-<html>
-<head>
-<title>bot1</title>
-<script>
-// --- Convenience functions for testing.
-function setTitle() {
- var fbot = document.getElementById("fbot");
- document.title = fbot.contentDocument.title;
-}
-// Simulate the user clicking a link.
-function clickLink(name) {
- var ftop = document.getElementById("ftop");
- var node = ftop.contentDocument.getElementById(name);
- var evt = document.createEvent("MouseEvents");
- evt.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0,
- false, false, false, false, 0, null);
- node.dispatchEvent(evt);
-}
-// Simulate the user filling a form value.
-function fillForm(name, value) {
- var fbot = document.getElementById("fbot");
- var node = fbot.contentDocument.getElementById(name);
- node.value = value;
-}
-// Simulate the user clicking on the submit button.
-function submitForm(name) {
- var fbot = document.getElementById("fbot");
- var node = fbot.contentDocument.getElementById(name);
- node.click();
-}
-function init() {
- var fbot = document.getElementById("fbot");
- // This will set our title to the bottom frame, so we can test that
- // we actually navigated.
- fbot.onload = setTitle;
-}
-</script>
-</head>
-
-<frameset onLoad="init()" rows="20%,80%" name="main">
- <frame src="top.html" id="ftop" name="top">
- <frame src="bot1.html" id="fbot" name="bottom">
-</frameset>
-
-</html>
« no previous file with comments | « chrome/test/data/session_history/fragment.html ('k') | chrome/test/data/session_history/location_redirect.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698