Debian Codegraph @

closure-library/closure/goog/net/iframeio_test_dom.html

raw
1 <!--
2 Copyright 2017 The Closure Library Authors. All Rights Reserved.
3
4 Use of this source code is governed by the Apache License, Version 2.0.
5 See the COPYING file for details.
6 -->
7 <style>
8 html, body {
9 width: 100%;
10 height: 100%;
11 overflow:hidden;
12 }
13
14 #log {
15 position: absolute;
16 top: 0px;
17 width: 50%;
18 right: 0%;
19 height: 100%;
20 overflow: auto;
21 }
22
23 p, input {
24 font-family: verdana, helvetica, arial, sans-serif;
25 font-size: small;
26 margin: 0px;
27 }
28
29 input {
30 font-family: verdana, helvetica, arial, sans-serif;
31 font-size: x-small;
32 }
33
34 i {
35 font-size: 85%;
36 }
37 </style>
38 <p>
39 <b>
40 IframeIo manual tests:
41 </b>
42 <br>
43 <br>
44 <i>
45 All operations should have no effect on history.
46 </i>
47 <br>
48 <br>
49 <i>
50 These tests require the ClosureTestServer
51 <br>
52 to be running with the IframeIoTestServlet.
53 </br>
54 </i>
55 <br>
56 <br/>
57 </br>
58 </br>
59 </br>
60 </br>
61 </br>
62 </p>
63 <p>
64 <a href="javascript:simpleGet()">
65 Simple GET
66 </a>
67 <br>
68 <a href="javascript:simplePost()">
69 Simple POST
70 </a>
71 <br>
72 <a href="javascript:jsonEcho('GET')">
73 JSON echo (get)
74 </a>
75 <br>
76 <a href="javascript:jsonEcho('POST')">
77 JSON echo (post)
78 </a>
79 <br>
80 <a href="javascript:abort()">
81 Test abort
82 </a>
83 </br>
84 </br>
85 </br>
86 </br>
87 </p>
88 <form action="/iframeio/upload" enctype="multipart/form-data" id="uploadform" method="POST">
89 <p>
90 <a href="javascript:sendFromForm()">
91 Upload
92 </a>
93 <input name="userfile" type="file">
94 (big files should fail)
95 </input>
96 </p>
97 </form>
98 <p>
99 <a href="javascript:incremental()">
100 Incremental results
101 </a>
102 <br>
103 <a href="javascript:redirect1()">
104 Redirect (google.com)
105 </a>
106 <br>
107 <a href="javascript:redirect2()">
108 Redirect (/iframeio/ping)
109 </a>
110 <br>
111 <a href="javascript:localUrl1()">
112 Local request (Win path)
113 </a>
114 <br>
115 <a href="javascript:localUrl2()">
116 Local request (Linux path)
117 </a>
118 <br>
119 <a href="javascript:badUrl()">
120 Out of domain request
121 </a>
122 <br>
123 <a href="javascript:getServerTime(false)">
124 Test cache
125 </a>
126 (Date should stay the same for subsequent tests)
127 <br>
128 <a href="javascript:getServerTime(true)">
129 Test no-cache
130 </a>
131 <br>
132 <a href="javascript:errorGse404()">
133 GSE 404 Error
134 </a>
135 <br>
136 <a href="javascript:errorGfe()">
137 Simulated GFE Error
138 </a>
139 <br>
140 <a href="javascript:errorGmail()">
141 Simulated Gmail Server Error
142 </a>
143 <br>
144 <br>
145 </br>
146 </br>
147 </br>
148 </br>
149 </br>
150 </br>
151 </br>
152 </br>
153 </br>
154 </br>
155 </br>
156 </br>
157 </p>
158 <form action="/iframeio/jsonecho" id="testfrm" method="POST">
159 <p>
160 <b>
161 Comprehensive Form Post Test:
162 </b>
163 <br>
164 <input name="textinput" type="text" value="Default">
165 Text Input
166 <br>
167 Text Area
168 <br>
169 <textarea name="textarea">Default</textarea>
170 <br>
171 <input checked="checked" name="checkbox1" type="checkbox">
172 Checkbox, default on
173 <br>
174 <input name="checkbox2" type="checkbox">
175 Checkbox, default off
176 <br>
177 Radio:
178 <input checked="checked" name="radio" type="radio" value="Default">
179 Default,
180 <input name="radio" type="radio" value="Foo">
181 Foo,
182 <input name="radio" type="radio" value="Bar">
183 Bar
184 <br>
185 <select name="select">
186 <option>
187 One
188 </option>
189 <option>
190 Two
191 </option>
192 <option selected="selected">
193 Three (Default)
194 </option>
195 <option>
196 Four
197 </option>
198 <option>
199 Five
200 </option>
201 </select>
202 <br>
203 <select name="selectmultiple">
204 <option>
205 One
206 </option>
207 <option selected="selected">
208 Two (Default checked)
209 </option>
210 <option selected="selected">
211 Three (Default checked)
212 </option>
213 <option>
214 Four
215 </option>
216 </select>
217 <a href="javascript:postForm()">
218 Submit this form
219 </a>
220 </br>
221 </br>
222 </input>
223 </input>
224 </input>
225 </br>
226 </input>
227 </br>
228 </input>
229 </br>
230 </br>
231 </br>
232 </input>
233 </br>
234 </p>
235 </form>
236 <p>
237 <br>
238 <br>
239 TODO(pupius):
240 <br>
241 - Local timeout
242 </br>
243 </br>
244 </br>
245 </p>
246 <div id="log">
247 </div>