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

Side by Side Diff: third_party/webdriver/test_data/Page.aspx.cs

Issue 424363004: Update third_party/webdriver/pylib to r18456 and delete test_data (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: "python" -> "pylib" Created 6 years, 4 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
OLDNEW
(Empty)
1 using System;
2 using System.Threading;
3
4 public partial class Page : System.Web.UI.Page
5 {
6 protected void Page_Load(object sender, EventArgs e)
7 {
8 Response.ContentType = "text/html";
9
10 int lastIndex = Request.PathInfo.LastIndexOf("/");
11 string pageNumber = (lastIndex == -1 ? "Unknown" : Request.PathInfo.Subs tring(lastIndex + 1));
12 if (!string.IsNullOrEmpty(Request.QueryString["pageNumber"]))
13 {
14 pageNumber = Request.QueryString["pageNumber"];
15 }
16 Response.Output.Write("<html><head><title>Page" + pageNumber + "</title> </head>");
17 Response.Output.Write("<body>Page number <span id=\"pageNumber\">");
18 Response.Output.Write(pageNumber);
19 //Response.Output.Write("<script>var s=''; for (var i in window) {s += i + ' -> ' + window[i] + '<p>';} document.write(s);</script>")'
20 Response.Output.Write("</span></body></html>");
21 }
22 }
OLDNEW
« no previous file with comments | « third_party/webdriver/test_data/Page.aspx ('k') | third_party/webdriver/test_data/Redirect.aspx » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698