addressable 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1094 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>RSpec results</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Expires" content="-1" />
11
+ <meta http-equiv="Pragma" content="no-cache" />
12
+ <script type="text/javascript">
13
+ function moveProgressBar(percentDone) {
14
+ document.getElementById("header").style.width = percentDone +"%";
15
+ }
16
+ function makeRed(element_id) {
17
+ document.getElementById(element_id).style.background = '#C40D0D';
18
+ }
19
+ </script>
20
+ <style type="text/css">
21
+ body {
22
+ margin: 0; padding: 0;
23
+ background: #fff;
24
+ }
25
+
26
+ #header {
27
+ background: #65C400; color: #fff;
28
+ }
29
+
30
+ h1 {
31
+ margin: 0 0 10px;
32
+ padding: 10px;
33
+ font: bold 18px "Lucida Grande", Helvetica, sans-serif;
34
+ }
35
+
36
+ #summary {
37
+ margin: 0; padding: 5px 10px;
38
+ font: bold 10px "Lucida Grande", Helvetica, sans-serif;
39
+ text-align: right;
40
+ position: absolute;
41
+ top: 0px;
42
+ right: 0px;
43
+ }
44
+
45
+ #summary p {
46
+ margin: 0 0 2px;
47
+ }
48
+
49
+ #summary #totals {
50
+ font-size: 14px;
51
+ }
52
+
53
+ .context {
54
+ margin: 0 10px 5px;
55
+ background: #fff;
56
+ }
57
+
58
+ dl {
59
+ margin: 0; padding: 0 0 5px;
60
+ font: normal 11px "Lucida Grande", Helvetica, sans-serif;
61
+ }
62
+
63
+ dt {
64
+ padding: 3px;
65
+ background: #65C400;
66
+ color: #fff;
67
+ font-weight: bold;
68
+ }
69
+
70
+ dd {
71
+ margin: 5px 0 5px 5px;
72
+ padding: 3px 3px 3px 18px;
73
+ }
74
+
75
+ dd.spec.passed {
76
+ border-left: 5px solid #65C400;
77
+ border-bottom: 1px solid #65C400;
78
+ background: #DBFFB4; color: #3D7700;
79
+ }
80
+
81
+ dd.spec.failed {
82
+ border-left: 5px solid #C20000;
83
+ border-bottom: 1px solid #C20000;
84
+ color: #C20000; background: #FFFBD3;
85
+ }
86
+
87
+ div.backtrace {
88
+ color: #000;
89
+ font-size: 12px;
90
+ }
91
+
92
+ a {
93
+ color: #BE5C00;
94
+ }
95
+ </style>
96
+ </head>
97
+ <body>
98
+
99
+ <div id="header">
100
+ <h1>RSpec Results</h1>
101
+
102
+ <div id="summary">
103
+ <p id="duration">&nbsp;</p>
104
+ <p id="totals">&nbsp;</p>
105
+ </div>
106
+ </div>
107
+
108
+ <div id="results">
109
+ <div class="context">
110
+ <dl>
111
+ <dt id="context_1">A completely nil URI</dt>
112
+ <script type="text/javascript">moveProgressBar('0.2');</script>
113
+ <dd class="spec passed"><span class="passed_spec_name">should raise an error</span></dd>
114
+ </dl>
115
+ </div>
116
+ <div class="context">
117
+ <dl>
118
+ <dt id="context_2">A URI with a non-numeric port number</dt>
119
+ <script type="text/javascript">moveProgressBar('0.5');</script>
120
+ <dd class="spec passed"><span class="passed_spec_name">should raise an error</span></dd>
121
+ </dl>
122
+ </div>
123
+ <div class="context">
124
+ <dl>
125
+ <dt id="context_3">A URI with a scheme but no hierarchical segment</dt>
126
+ <script type="text/javascript">moveProgressBar('0.8');</script>
127
+ <dd class="spec passed"><span class="passed_spec_name">should raise an error</span></dd>
128
+ </dl>
129
+ </div>
130
+ <div class="context">
131
+ <dl>
132
+ <dt id="context_4">A constructed URI</dt>
133
+ <script type="text/javascript">moveProgressBar('1.1');</script>
134
+ <dd class="spec passed"><span class="passed_spec_name">should be equal to the equivalent parsed URI</span></dd>
135
+ </dl>
136
+ </div>
137
+ <div class="context">
138
+ <dl>
139
+ <dt id="context_5">ftp://ftp.is.co.za/rfc/rfc1808.txt</dt>
140
+ <script type="text/javascript">moveProgressBar('1.4');</script>
141
+ <dd class="spec passed"><span class="passed_spec_name">should use the 'ftp' scheme</span></dd>
142
+ <script type="text/javascript">moveProgressBar('1.7');</script>
143
+ <dd class="spec passed"><span class="passed_spec_name">should be considered to be ip-based</span></dd>
144
+ <script type="text/javascript">moveProgressBar('2.0');</script>
145
+ <dd class="spec passed"><span class="passed_spec_name">should have a host of 'ftp.is.co.za'</span></dd>
146
+ <script type="text/javascript">moveProgressBar('2.3');</script>
147
+ <dd class="spec passed"><span class="passed_spec_name">should have a path of '/rfc/rfc1808.txt'</span></dd>
148
+ <script type="text/javascript">moveProgressBar('2.6');</script>
149
+ <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
150
+ </dl>
151
+ </div>
152
+ <div class="context">
153
+ <dl>
154
+ <dt id="context_6">http://www.ietf.org/rfc/rfc2396.txt</dt>
155
+ <script type="text/javascript">moveProgressBar('2.9');</script>
156
+ <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
157
+ <script type="text/javascript">moveProgressBar('3.2');</script>
158
+ <dd class="spec passed"><span class="passed_spec_name">should be considered to be ip-based</span></dd>
159
+ <script type="text/javascript">moveProgressBar('3.5');</script>
160
+ <dd class="spec passed"><span class="passed_spec_name">should have a host of 'www.ietf.org'</span></dd>
161
+ <script type="text/javascript">moveProgressBar('3.8');</script>
162
+ <dd class="spec passed"><span class="passed_spec_name">should have a path of '/rfc/rfc2396.txt'</span></dd>
163
+ <script type="text/javascript">moveProgressBar('4.1');</script>
164
+ <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
165
+ </dl>
166
+ </div>
167
+ <div class="context">
168
+ <dl>
169
+ <dt id="context_7">ldap://[2001:db8::7]/c=GB?objectClass?one</dt>
170
+ <script type="text/javascript">moveProgressBar('4.4');</script>
171
+ <dd class="spec passed"><span class="passed_spec_name">should use the 'ldap' scheme</span></dd>
172
+ <script type="text/javascript">moveProgressBar('4.7');</script>
173
+ <dd class="spec passed"><span class="passed_spec_name">should be considered to be ip-based</span></dd>
174
+ <script type="text/javascript">moveProgressBar('5.0');</script>
175
+ <dd class="spec passed"><span class="passed_spec_name">should have a host of '[2001:db8::7]'</span></dd>
176
+ <script type="text/javascript">moveProgressBar('5.3');</script>
177
+ <dd class="spec passed"><span class="passed_spec_name">should have a path of '/c=GB'</span></dd>
178
+ <script type="text/javascript">moveProgressBar('5.6');</script>
179
+ <dd class="spec passed"><span class="passed_spec_name">should have a query of 'objectClass?one'</span></dd>
180
+ <script type="text/javascript">moveProgressBar('5.9');</script>
181
+ <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
182
+ </dl>
183
+ </div>
184
+ <div class="context">
185
+ <dl>
186
+ <dt id="context_8">mailto:John.Doe@example.com</dt>
187
+ <script type="text/javascript">moveProgressBar('6.2');</script>
188
+ <dd class="spec passed"><span class="passed_spec_name">should use the 'mailto' scheme</span></dd>
189
+ <script type="text/javascript">moveProgressBar('6.5');</script>
190
+ <dd class="spec passed"><span class="passed_spec_name">should not be considered to be ip-based</span></dd>
191
+ <script type="text/javascript">moveProgressBar('6.8');</script>
192
+ <dd class="spec passed"><span class="passed_spec_name">should have a path of 'John.Doe@example.com'</span></dd>
193
+ <script type="text/javascript">moveProgressBar('7.1');</script>
194
+ <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
195
+ </dl>
196
+ </div>
197
+ <div class="context">
198
+ <dl>
199
+ <dt id="context_9">news:comp.infosystems.www.servers.unix</dt>
200
+ <script type="text/javascript">moveProgressBar('7.3');</script>
201
+ <dd class="spec passed"><span class="passed_spec_name">should use the 'news' scheme</span></dd>
202
+ <script type="text/javascript">moveProgressBar('7.6');</script>
203
+ <dd class="spec passed"><span class="passed_spec_name">should not be considered to be ip-based</span></dd>
204
+ <script type="text/javascript">moveProgressBar('7.9');</script>
205
+ <dd class="spec passed"><span class="passed_spec_name">should have a path of 'comp.infosystems.www.servers.unix'</span></dd>
206
+ <script type="text/javascript">moveProgressBar('8.2');</script>
207
+ <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
208
+ </dl>
209
+ </div>
210
+ <div class="context">
211
+ <dl>
212
+ <dt id="context_10">tel:+1-816-555-1212</dt>
213
+ <script type="text/javascript">moveProgressBar('8.5');</script>
214
+ <dd class="spec passed"><span class="passed_spec_name">should use the 'tel' scheme</span></dd>
215
+ <script type="text/javascript">moveProgressBar('8.8');</script>
216
+ <dd class="spec passed"><span class="passed_spec_name">should not be considered to be ip-based</span></dd>
217
+ <script type="text/javascript">moveProgressBar('9.1');</script>
218
+ <dd class="spec passed"><span class="passed_spec_name">should have a path of '+1-816-555-1212'</span></dd>
219
+ <script type="text/javascript">moveProgressBar('9.4');</script>
220
+ <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
221
+ </dl>
222
+ </div>
223
+ <div class="context">
224
+ <dl>
225
+ <dt id="context_11">telnet://192.0.2.16:80/</dt>
226
+ <script type="text/javascript">moveProgressBar('9.7');</script>
227
+ <dd class="spec passed"><span class="passed_spec_name">should use the 'telnet' scheme</span></dd>
228
+ <script type="text/javascript">moveProgressBar('10.0');</script>
229
+ <dd class="spec passed"><span class="passed_spec_name">should have a host of '192.0.2.16'</span></dd>
230
+ <script type="text/javascript">moveProgressBar('10.3');</script>
231
+ <dd class="spec passed"><span class="passed_spec_name">should have a port of '80'</span></dd>
232
+ <script type="text/javascript">moveProgressBar('10.6');</script>
233
+ <dd class="spec passed"><span class="passed_spec_name">should be considered to be ip-based</span></dd>
234
+ <script type="text/javascript">moveProgressBar('10.9');</script>
235
+ <dd class="spec passed"><span class="passed_spec_name">should have a path of '/'</span></dd>
236
+ <script type="text/javascript">moveProgressBar('11.2');</script>
237
+ <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
238
+ </dl>
239
+ </div>
240
+ <div class="context">
241
+ <dl>
242
+ <dt id="context_12">urn:oasis:names:specification:docbook:dtd:xml:4.1.2</dt>
243
+ <script type="text/javascript">moveProgressBar('11.5');</script>
244
+ <dd class="spec passed"><span class="passed_spec_name">should use the 'urn' scheme</span></dd>
245
+ <script type="text/javascript">moveProgressBar('11.8');</script>
246
+ <dd class="spec passed"><span class="passed_spec_name">should not be considered to be ip-based</span></dd>
247
+ <script type="text/javascript">moveProgressBar('12.1');</script>
248
+ <dd class="spec passed"><span class="passed_spec_name">should have a path of 'oasis:names:specification:docbook:dtd:xml:4.1.2'</span></dd>
249
+ <script type="text/javascript">moveProgressBar('12.4');</script>
250
+ <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
251
+ </dl>
252
+ </div>
253
+ <div class="context">
254
+ <dl>
255
+ <dt id="context_13">http://example.com</dt>
256
+ <script type="text/javascript">moveProgressBar('12.7');</script>
257
+ <dd class="spec passed"><span class="passed_spec_name">when inspected, should have the correct URI</span></dd>
258
+ <script type="text/javascript">moveProgressBar('13.0');</script>
259
+ <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
260
+ <script type="text/javascript">moveProgressBar('13.3');</script>
261
+ <dd class="spec passed"><span class="passed_spec_name">should be considered to be ip-based</span></dd>
262
+ <script type="text/javascript">moveProgressBar('13.6');</script>
263
+ <dd class="spec passed"><span class="passed_spec_name">should have an authority segment of 'example.com'</span></dd>
264
+ <script type="text/javascript">moveProgressBar('13.9');</script>
265
+ <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
266
+ <script type="text/javascript">moveProgressBar('14.2');</script>
267
+ <dd class="spec passed"><span class="passed_spec_name">should be considered ip-based</span></dd>
268
+ <script type="text/javascript">moveProgressBar('14.4');</script>
269
+ <dd class="spec passed"><span class="passed_spec_name">should have no username</span></dd>
270
+ <script type="text/javascript">moveProgressBar('14.7');</script>
271
+ <dd class="spec passed"><span class="passed_spec_name">should have no password</span></dd>
272
+ <script type="text/javascript">moveProgressBar('15.0');</script>
273
+ <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
274
+ <script type="text/javascript">moveProgressBar('15.3');</script>
275
+ <dd class="spec passed"><span class="passed_spec_name">should not have a specified port</span></dd>
276
+ <script type="text/javascript">moveProgressBar('15.6');</script>
277
+ <dd class="spec passed"><span class="passed_spec_name">should have an empty path</span></dd>
278
+ <script type="text/javascript">moveProgressBar('15.9');</script>
279
+ <dd class="spec passed"><span class="passed_spec_name">should have no query string</span></dd>
280
+ <script type="text/javascript">moveProgressBar('16.2');</script>
281
+ <dd class="spec passed"><span class="passed_spec_name">should have no fragment</span></dd>
282
+ <script type="text/javascript">moveProgressBar('16.5');</script>
283
+ <dd class="spec passed"><span class="passed_spec_name">should be considered absolute</span></dd>
284
+ <script type="text/javascript">moveProgressBar('16.8');</script>
285
+ <dd class="spec passed"><span class="passed_spec_name">should not be considered relative</span></dd>
286
+ <script type="text/javascript">moveProgressBar('17.1');</script>
287
+ <dd class="spec passed"><span class="passed_spec_name">should not be exactly equal to 42</span></dd>
288
+ <script type="text/javascript">moveProgressBar('17.4');</script>
289
+ <dd class="spec passed"><span class="passed_spec_name">should not be equal to 42</span></dd>
290
+ <script type="text/javascript">moveProgressBar('17.7');</script>
291
+ <dd class="spec passed"><span class="passed_spec_name">should not be roughly equal to 42</span></dd>
292
+ <script type="text/javascript">moveProgressBar('18.0');</script>
293
+ <dd class="spec passed"><span class="passed_spec_name">should be exactly equal to http://example.com</span></dd>
294
+ <script type="text/javascript">moveProgressBar('18.3');</script>
295
+ <dd class="spec passed"><span class="passed_spec_name">should be roughly equal to http://example.com/</span></dd>
296
+ <script type="text/javascript">moveProgressBar('18.6');</script>
297
+ <dd class="spec passed"><span class="passed_spec_name">should be roughly equal to the string 'http://example.com/'</span></dd>
298
+ <script type="text/javascript">moveProgressBar('18.9');</script>
299
+ <dd class="spec passed"><span class="passed_spec_name">should not be roughly equal to the string 'http://example.com:bogus/'</span></dd>
300
+ <script type="text/javascript">moveProgressBar('19.2');</script>
301
+ <dd class="spec passed"><span class="passed_spec_name">should result in itself when merged with itself</span></dd>
302
+ <script type="text/javascript">moveProgressBar('19.5');</script>
303
+ <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://example.com/</span></dd>
304
+ <script type="text/javascript">moveProgressBar('19.8');</script>
305
+ <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://example.com:/</span></dd>
306
+ <script type="text/javascript">moveProgressBar('20.1');</script>
307
+ <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://example.com:80/</span></dd>
308
+ <script type="text/javascript">moveProgressBar('20.4');</script>
309
+ <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://EXAMPLE.COM/</span></dd>
310
+ <script type="text/javascript">moveProgressBar('20.7');</script>
311
+ <dd class="spec passed"><span class="passed_spec_name">should have a route of '/path/' to 'http://example.com/path/'</span></dd>
312
+ <script type="text/javascript">moveProgressBar('21.0');</script>
313
+ <dd class="spec passed"><span class="passed_spec_name">should have a route of '/' from 'http://example.com/path/'</span></dd>
314
+ <script type="text/javascript">moveProgressBar('21.3');</script>
315
+ <dd class="spec passed"><span class="passed_spec_name">should have a route of '#' to 'http://example.com/'</span></dd>
316
+ <script type="text/javascript">moveProgressBar('21.5');</script>
317
+ <dd class="spec passed"><span class="passed_spec_name">should have a route of 'http://elsewhere.com/' to 'http://elsewhere.com/'</span></dd>
318
+ <script type="text/javascript">moveProgressBar('21.8');</script>
319
+ <dd class="spec passed"><span class="passed_spec_name">should have the correct username after assignment</span></dd>
320
+ <script type="text/javascript">moveProgressBar('22.1');</script>
321
+ <dd class="spec passed"><span class="passed_spec_name">should have the correct password after assignment</span></dd>
322
+ <script type="text/javascript">moveProgressBar('22.4');</script>
323
+ <dd class="spec passed"><span class="passed_spec_name">should have the correct user/pass after repeated assignment</span></dd>
324
+ <script type="text/javascript">moveProgressBar('22.7');</script>
325
+ <dd class="spec passed"><span class="passed_spec_name">should have the correct user/pass after userinfo assignment</span></dd>
326
+ <script type="text/javascript">moveProgressBar('23.0');</script>
327
+ <dd class="spec passed"><span class="passed_spec_name">should correctly convert to a hash</span></dd>
328
+ </dl>
329
+ </div>
330
+ <div class="context">
331
+ <dl>
332
+ <dt id="context_14">http://example.com/</dt>
333
+ <script type="text/javascript">moveProgressBar('23.3');</script>
334
+ <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://example.com</span></dd>
335
+ <script type="text/javascript">moveProgressBar('23.6');</script>
336
+ <dd class="spec passed"><span class="passed_spec_name">should be equivalent to HTTP://example.com/</span></dd>
337
+ <script type="text/javascript">moveProgressBar('23.9');</script>
338
+ <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://example.com:/</span></dd>
339
+ <script type="text/javascript">moveProgressBar('24.2');</script>
340
+ <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://example.com:80/</span></dd>
341
+ <script type="text/javascript">moveProgressBar('24.5');</script>
342
+ <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://Example.com/</span></dd>
343
+ <script type="text/javascript">moveProgressBar('24.8');</script>
344
+ <dd class="spec passed"><span class="passed_spec_name">should have the correct username after assignment</span></dd>
345
+ <script type="text/javascript">moveProgressBar('25.1');</script>
346
+ <dd class="spec passed"><span class="passed_spec_name">should have the correct password after assignment</span></dd>
347
+ <script type="text/javascript">moveProgressBar('25.4');</script>
348
+ <dd class="spec passed"><span class="passed_spec_name">should correctly convert to a hash</span></dd>
349
+ </dl>
350
+ </div>
351
+ <div class="context">
352
+ <dl>
353
+ <dt id="context_15">http://example.com/~smith/</dt>
354
+ <script type="text/javascript">moveProgressBar('25.7');</script>
355
+ <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://example.com/%7Esmith/</span></dd>
356
+ <script type="text/javascript">moveProgressBar('26.0');</script>
357
+ <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://example.com/%7esmith/</span></dd>
358
+ </dl>
359
+ </div>
360
+ <div class="context">
361
+ <dl>
362
+ <dt id="context_16">http://example.com/%C3%87</dt>
363
+ <script type="text/javascript">moveProgressBar('26.3');</script>
364
+ <dd class="spec passed"><span class="passed_spec_name">should be equivalent to 'http://example.com/C%CC%A7'</span></dd>
365
+ <script type="text/javascript">moveProgressBar('26.6');</script>
366
+ <dd class="spec passed"><span class="passed_spec_name">should not change if encoded with the normalizing algorithm</span></dd>
367
+ <script type="text/javascript">moveProgressBar('26.9');</script>
368
+ <dd class="spec passed"><span class="passed_spec_name">if percent encoded should be 'http://example.com/C%25CC%25A7'</span></dd>
369
+ </dl>
370
+ </div>
371
+ <div class="context">
372
+ <dl>
373
+ <dt id="context_17">http://example.com/?q=string</dt>
374
+ <script type="text/javascript">moveProgressBar('27.2');</script>
375
+ <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
376
+ <script type="text/javascript">moveProgressBar('27.5');</script>
377
+ <dd class="spec passed"><span class="passed_spec_name">should have an authority segment of 'example.com'</span></dd>
378
+ <script type="text/javascript">moveProgressBar('27.8');</script>
379
+ <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
380
+ <script type="text/javascript">moveProgressBar('28.1');</script>
381
+ <dd class="spec passed"><span class="passed_spec_name">should have no username</span></dd>
382
+ <script type="text/javascript">moveProgressBar('28.4');</script>
383
+ <dd class="spec passed"><span class="passed_spec_name">should have no password</span></dd>
384
+ <script type="text/javascript">moveProgressBar('28.6');</script>
385
+ <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
386
+ <script type="text/javascript">moveProgressBar('28.9');</script>
387
+ <dd class="spec passed"><span class="passed_spec_name">should have a path of '/'</span></dd>
388
+ <script type="text/javascript">moveProgressBar('29.2');</script>
389
+ <dd class="spec passed"><span class="passed_spec_name">should have a query string of 'q=string'</span></dd>
390
+ <script type="text/javascript">moveProgressBar('29.5');</script>
391
+ <dd class="spec passed"><span class="passed_spec_name">should have no fragment</span></dd>
392
+ <script type="text/javascript">moveProgressBar('29.8');</script>
393
+ <dd class="spec passed"><span class="passed_spec_name">should be considered absolute</span></dd>
394
+ <script type="text/javascript">moveProgressBar('30.1');</script>
395
+ <dd class="spec passed"><span class="passed_spec_name">should not be considered relative</span></dd>
396
+ <script type="text/javascript">moveProgressBar('30.4');</script>
397
+ <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
398
+ </dl>
399
+ </div>
400
+ <div class="context">
401
+ <dl>
402
+ <dt id="context_18">http://example.com:80/</dt>
403
+ <script type="text/javascript">moveProgressBar('30.7');</script>
404
+ <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
405
+ <script type="text/javascript">moveProgressBar('31.0');</script>
406
+ <dd class="spec passed"><span class="passed_spec_name">should have an authority segment of 'example.com:80'</span></dd>
407
+ <script type="text/javascript">moveProgressBar('31.3');</script>
408
+ <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
409
+ <script type="text/javascript">moveProgressBar('31.6');</script>
410
+ <dd class="spec passed"><span class="passed_spec_name">should have no username</span></dd>
411
+ <script type="text/javascript">moveProgressBar('31.9');</script>
412
+ <dd class="spec passed"><span class="passed_spec_name">should have no password</span></dd>
413
+ <script type="text/javascript">moveProgressBar('32.2');</script>
414
+ <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
415
+ <script type="text/javascript">moveProgressBar('32.5');</script>
416
+ <dd class="spec passed"><span class="passed_spec_name">should have a path of '/'</span></dd>
417
+ <script type="text/javascript">moveProgressBar('32.8');</script>
418
+ <dd class="spec passed"><span class="passed_spec_name">should have no query string</span></dd>
419
+ <script type="text/javascript">moveProgressBar('33.1');</script>
420
+ <dd class="spec passed"><span class="passed_spec_name">should have no fragment</span></dd>
421
+ <script type="text/javascript">moveProgressBar('33.4');</script>
422
+ <dd class="spec passed"><span class="passed_spec_name">should be considered absolute</span></dd>
423
+ <script type="text/javascript">moveProgressBar('33.7');</script>
424
+ <dd class="spec passed"><span class="passed_spec_name">should not be considered relative</span></dd>
425
+ <script type="text/javascript">moveProgressBar('34.0');</script>
426
+ <dd class="spec passed"><span class="passed_spec_name">should be exactly equal to http://example.com:80/</span></dd>
427
+ <script type="text/javascript">moveProgressBar('34.3');</script>
428
+ <dd class="spec passed"><span class="passed_spec_name">should be roughly equal to http://example.com/</span></dd>
429
+ <script type="text/javascript">moveProgressBar('34.6');</script>
430
+ <dd class="spec passed"><span class="passed_spec_name">should be roughly equal to the string 'http://example.com/'</span></dd>
431
+ <script type="text/javascript">moveProgressBar('34.9');</script>
432
+ <dd class="spec passed"><span class="passed_spec_name">should not be roughly equal to the string 'http://example.com:bogus/'</span></dd>
433
+ <script type="text/javascript">moveProgressBar('35.2');</script>
434
+ <dd class="spec passed"><span class="passed_spec_name">should result in itself when merged with itself</span></dd>
435
+ <script type="text/javascript">moveProgressBar('35.5');</script>
436
+ <dd class="spec passed"><span class="passed_spec_name">should be equal to http://example.com/</span></dd>
437
+ <script type="text/javascript">moveProgressBar('35.7');</script>
438
+ <dd class="spec passed"><span class="passed_spec_name">should be equal to http://example.com:/</span></dd>
439
+ <script type="text/javascript">moveProgressBar('36.0');</script>
440
+ <dd class="spec passed"><span class="passed_spec_name">should be equal to http://example.com:80/</span></dd>
441
+ <script type="text/javascript">moveProgressBar('36.3');</script>
442
+ <dd class="spec passed"><span class="passed_spec_name">should be equal to http://EXAMPLE.COM/</span></dd>
443
+ </dl>
444
+ </div>
445
+ <div class="context">
446
+ <dl>
447
+ <dt id="context_19">relative/path/to/resource</dt>
448
+ <script type="text/javascript">moveProgressBar('36.6');</script>
449
+ <dd class="spec passed"><span class="passed_spec_name">should not have a scheme</span></dd>
450
+ <script type="text/javascript">moveProgressBar('36.9');</script>
451
+ <dd class="spec passed"><span class="passed_spec_name">should not be considered ip-based</span></dd>
452
+ <script type="text/javascript">moveProgressBar('37.2');</script>
453
+ <dd class="spec passed"><span class="passed_spec_name">should not have an authority segment</span></dd>
454
+ <script type="text/javascript">moveProgressBar('37.5');</script>
455
+ <dd class="spec passed"><span class="passed_spec_name">should not have a host</span></dd>
456
+ <script type="text/javascript">moveProgressBar('37.8');</script>
457
+ <dd class="spec passed"><span class="passed_spec_name">should have no username</span></dd>
458
+ <script type="text/javascript">moveProgressBar('38.1');</script>
459
+ <dd class="spec passed"><span class="passed_spec_name">should have no password</span></dd>
460
+ <script type="text/javascript">moveProgressBar('38.4');</script>
461
+ <dd class="spec passed"><span class="passed_spec_name">should not have a port</span></dd>
462
+ <script type="text/javascript">moveProgressBar('38.7');</script>
463
+ <dd class="spec passed"><span class="passed_spec_name">should have a path of 'relative/path/to/resource'</span></dd>
464
+ <script type="text/javascript">moveProgressBar('39.0');</script>
465
+ <dd class="spec passed"><span class="passed_spec_name">should have no query string</span></dd>
466
+ <script type="text/javascript">moveProgressBar('39.3');</script>
467
+ <dd class="spec passed"><span class="passed_spec_name">should have no fragment</span></dd>
468
+ <script type="text/javascript">moveProgressBar('39.6');</script>
469
+ <dd class="spec passed"><span class="passed_spec_name">should not be considered absolute</span></dd>
470
+ <script type="text/javascript">moveProgressBar('39.9');</script>
471
+ <dd class="spec passed"><span class="passed_spec_name">should be considered relative</span></dd>
472
+ <script type="text/javascript">moveProgressBar('40.2');</script>
473
+ <dd class="spec passed"><span class="passed_spec_name">should raise an error if routing is attempted</span></dd>
474
+ </dl>
475
+ </div>
476
+ <div class="context">
477
+ <dl>
478
+ <dt id="context_20">http://example.com/file.txt</dt>
479
+ <script type="text/javascript">moveProgressBar('40.5');</script>
480
+ <dd class="spec passed"><span class="passed_spec_name">should have a scheme of 'http'</span></dd>
481
+ <script type="text/javascript">moveProgressBar('40.8');</script>
482
+ <dd class="spec passed"><span class="passed_spec_name">should have an authority segment of 'example.com'</span></dd>
483
+ <script type="text/javascript">moveProgressBar('41.1');</script>
484
+ <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
485
+ <script type="text/javascript">moveProgressBar('41.4');</script>
486
+ <dd class="spec passed"><span class="passed_spec_name">should have no username</span></dd>
487
+ <script type="text/javascript">moveProgressBar('41.7');</script>
488
+ <dd class="spec passed"><span class="passed_spec_name">should have no password</span></dd>
489
+ <script type="text/javascript">moveProgressBar('42.0');</script>
490
+ <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
491
+ <script type="text/javascript">moveProgressBar('42.3');</script>
492
+ <dd class="spec passed"><span class="passed_spec_name">should have a path of '/file.txt'</span></dd>
493
+ <script type="text/javascript">moveProgressBar('42.6');</script>
494
+ <dd class="spec passed"><span class="passed_spec_name">should have an extname of '.txt'</span></dd>
495
+ <script type="text/javascript">moveProgressBar('42.8');</script>
496
+ <dd class="spec passed"><span class="passed_spec_name">should have no query string</span></dd>
497
+ <script type="text/javascript">moveProgressBar('43.1');</script>
498
+ <dd class="spec passed"><span class="passed_spec_name">should have no fragment</span></dd>
499
+ </dl>
500
+ </div>
501
+ <div class="context">
502
+ <dl>
503
+ <dt id="context_21">http://example.com/file.txt;x=y</dt>
504
+ <script type="text/javascript">moveProgressBar('43.4');</script>
505
+ <dd class="spec passed"><span class="passed_spec_name">should have a scheme of 'http'</span></dd>
506
+ <script type="text/javascript">moveProgressBar('43.7');</script>
507
+ <dd class="spec passed"><span class="passed_spec_name">should have a scheme of 'http'</span></dd>
508
+ <script type="text/javascript">moveProgressBar('44.0');</script>
509
+ <dd class="spec passed"><span class="passed_spec_name">should have an authority segment of 'example.com'</span></dd>
510
+ <script type="text/javascript">moveProgressBar('44.3');</script>
511
+ <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
512
+ <script type="text/javascript">moveProgressBar('44.6');</script>
513
+ <dd class="spec passed"><span class="passed_spec_name">should have no username</span></dd>
514
+ <script type="text/javascript">moveProgressBar('44.9');</script>
515
+ <dd class="spec passed"><span class="passed_spec_name">should have no password</span></dd>
516
+ <script type="text/javascript">moveProgressBar('45.2');</script>
517
+ <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
518
+ <script type="text/javascript">moveProgressBar('45.5');</script>
519
+ <dd class="spec passed"><span class="passed_spec_name">should have a path of '/file.txt;x=y'</span></dd>
520
+ <script type="text/javascript">moveProgressBar('45.8');</script>
521
+ <dd class="spec passed"><span class="passed_spec_name">should have an extname of '.txt'</span></dd>
522
+ <script type="text/javascript">moveProgressBar('46.1');</script>
523
+ <dd class="spec passed"><span class="passed_spec_name">should have no query string</span></dd>
524
+ <script type="text/javascript">moveProgressBar('46.4');</script>
525
+ <dd class="spec passed"><span class="passed_spec_name">should have no fragment</span></dd>
526
+ <script type="text/javascript">moveProgressBar('46.7');</script>
527
+ <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
528
+ </dl>
529
+ </div>
530
+ <div class="context">
531
+ <dl>
532
+ <dt id="context_22">mailto:user@example.com</dt>
533
+ <script type="text/javascript">moveProgressBar('47.0');</script>
534
+ <dd class="spec passed"><span class="passed_spec_name">should have a scheme of 'mailto'</span></dd>
535
+ <script type="text/javascript">moveProgressBar('47.3');</script>
536
+ <dd class="spec passed"><span class="passed_spec_name">should not be considered to be ip-based</span></dd>
537
+ <script type="text/javascript">moveProgressBar('47.6');</script>
538
+ <dd class="spec passed"><span class="passed_spec_name">should have a path of 'user@example.com'</span></dd>
539
+ <script type="text/javascript">moveProgressBar('47.9');</script>
540
+ <dd class="spec passed"><span class="passed_spec_name">should have no user</span></dd>
541
+ <script type="text/javascript">moveProgressBar('48.2');</script>
542
+ <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
543
+ </dl>
544
+ </div>
545
+ <div class="context">
546
+ <dl>
547
+ <dt id="context_23">tag:example.com,2006-08-18:/path/to/something</dt>
548
+ <script type="text/javascript">moveProgressBar('48.5');</script>
549
+ <dd class="spec passed"><span class="passed_spec_name">should have a scheme of 'tag'</span></dd>
550
+ <script type="text/javascript">moveProgressBar('48.8');</script>
551
+ <dd class="spec passed"><span class="passed_spec_name">should be considered to be ip-based</span></dd>
552
+ <script type="text/javascript">moveProgressBar('49.1');</script>
553
+ <dd class="spec passed"><span class="passed_spec_name">should have a path of 'example.com,2006-08-18:/path/to/something'</span></dd>
554
+ <script type="text/javascript">moveProgressBar('49.4');</script>
555
+ <dd class="spec passed"><span class="passed_spec_name">should have no user</span></dd>
556
+ <script type="text/javascript">moveProgressBar('49.7');</script>
557
+ <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
558
+ </dl>
559
+ </div>
560
+ <div class="context">
561
+ <dl>
562
+ <dt id="context_24">http://example.com/x;y/</dt>
563
+ <script type="text/javascript">moveProgressBar('50.0');</script>
564
+ <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
565
+ </dl>
566
+ </div>
567
+ <div class="context">
568
+ <dl>
569
+ <dt id="context_25">http://example.com/?x=1&y=2</dt>
570
+ <script type="text/javascript">moveProgressBar('50.2');</script>
571
+ <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
572
+ </dl>
573
+ </div>
574
+ <div class="context">
575
+ <dl>
576
+ <dt id="context_26">view-source:http://example.com/</dt>
577
+ <script type="text/javascript">moveProgressBar('50.5');</script>
578
+ <dd class="spec passed"><span class="passed_spec_name">should have a scheme of 'view-source'</span></dd>
579
+ <script type="text/javascript">moveProgressBar('50.8');</script>
580
+ <dd class="spec passed"><span class="passed_spec_name">should have a path of 'http://example.com/'</span></dd>
581
+ <script type="text/javascript">moveProgressBar('51.1');</script>
582
+ <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
583
+ </dl>
584
+ </div>
585
+ <div class="context">
586
+ <dl>
587
+ <dt id="context_27">http://user:pass@example.com/path/to/resource?query=x#fragment</dt>
588
+ <script type="text/javascript">moveProgressBar('51.4');</script>
589
+ <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
590
+ <script type="text/javascript">moveProgressBar('51.7');</script>
591
+ <dd class="spec passed"><span class="passed_spec_name">should have an authority segment of 'user:pass@example.com'</span></dd>
592
+ <script type="text/javascript">moveProgressBar('52.0');</script>
593
+ <dd class="spec passed"><span class="passed_spec_name">should have a username of 'user'</span></dd>
594
+ <script type="text/javascript">moveProgressBar('52.3');</script>
595
+ <dd class="spec passed"><span class="passed_spec_name">should have a password of 'pass'</span></dd>
596
+ <script type="text/javascript">moveProgressBar('52.6');</script>
597
+ <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
598
+ <script type="text/javascript">moveProgressBar('52.9');</script>
599
+ <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
600
+ <script type="text/javascript">moveProgressBar('53.2');</script>
601
+ <dd class="spec passed"><span class="passed_spec_name">should have a path of '/path/to/resource'</span></dd>
602
+ <script type="text/javascript">moveProgressBar('53.5');</script>
603
+ <dd class="spec passed"><span class="passed_spec_name">should have a query string of 'query=x'</span></dd>
604
+ <script type="text/javascript">moveProgressBar('53.8');</script>
605
+ <dd class="spec passed"><span class="passed_spec_name">should have a fragment of 'fragment'</span></dd>
606
+ <script type="text/javascript">moveProgressBar('54.1');</script>
607
+ <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
608
+ <script type="text/javascript">moveProgressBar('54.4');</script>
609
+ <dd class="spec passed"><span class="passed_spec_name">should have a route of '/path/' to 'http://user:pass@example.com/path/'</span></dd>
610
+ <script type="text/javascript">moveProgressBar('54.7');</script>
611
+ <dd class="spec passed"><span class="passed_spec_name">should have a route of '/path/to/resource?query=x#fragment' from 'http://user:pass@example.com/path/'</span></dd>
612
+ <script type="text/javascript">moveProgressBar('55.0');</script>
613
+ <dd class="spec passed"><span class="passed_spec_name">should have a route of '?query=x#fragment' from 'http://user:pass@example.com/path/to/resource'</span></dd>
614
+ <script type="text/javascript">moveProgressBar('55.3');</script>
615
+ <dd class="spec passed"><span class="passed_spec_name">should have a route of '#fragment' from 'http://user:pass@example.com/path/to/resource?query=x'</span></dd>
616
+ <script type="text/javascript">moveProgressBar('55.6');</script>
617
+ <dd class="spec passed"><span class="passed_spec_name">should have a route of '#fragment' from 'http://user:pass@example.com/path/to/resource?query=x#fragment'</span></dd>
618
+ <script type="text/javascript">moveProgressBar('55.9');</script>
619
+ <dd class="spec passed"><span class="passed_spec_name">should have a route of 'http://elsewhere.com/' to 'http://elsewhere.com/'</span></dd>
620
+ <script type="text/javascript">moveProgressBar('56.2');</script>
621
+ <dd class="spec passed"><span class="passed_spec_name">should have the correct scheme after assignment</span></dd>
622
+ <script type="text/javascript">moveProgressBar('56.5');</script>
623
+ <dd class="spec passed"><span class="passed_spec_name">should have the correct authority segment after assignment</span></dd>
624
+ <script type="text/javascript">moveProgressBar('56.8');</script>
625
+ <dd class="spec passed"><span class="passed_spec_name">should have the correct userinfo segment after assignment</span></dd>
626
+ <script type="text/javascript">moveProgressBar('57.1');</script>
627
+ <dd class="spec passed"><span class="passed_spec_name">should have the correct username after assignment</span></dd>
628
+ <script type="text/javascript">moveProgressBar('57.3');</script>
629
+ <dd class="spec passed"><span class="passed_spec_name">should have the correct password after assignment</span></dd>
630
+ <script type="text/javascript">moveProgressBar('57.6');</script>
631
+ <dd class="spec passed"><span class="passed_spec_name">should have the correct host after assignment</span></dd>
632
+ <script type="text/javascript">moveProgressBar('57.9');</script>
633
+ <dd class="spec passed"><span class="passed_spec_name">should have the correct port after assignment</span></dd>
634
+ <script type="text/javascript">moveProgressBar('58.2');</script>
635
+ <dd class="spec passed"><span class="passed_spec_name">should have the correct path after assignment</span></dd>
636
+ <script type="text/javascript">moveProgressBar('58.5');</script>
637
+ <dd class="spec passed"><span class="passed_spec_name">should have the correct query string after assignment</span></dd>
638
+ <script type="text/javascript">moveProgressBar('58.8');</script>
639
+ <dd class="spec passed"><span class="passed_spec_name">should have the correct fragment after assignment</span></dd>
640
+ </dl>
641
+ </div>
642
+ <div class="context">
643
+ <dl>
644
+ <dt id="context_28">http://user@example.com</dt>
645
+ <script type="text/javascript">moveProgressBar('59.1');</script>
646
+ <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
647
+ <script type="text/javascript">moveProgressBar('59.4');</script>
648
+ <dd class="spec passed"><span class="passed_spec_name">should have a username of 'user'</span></dd>
649
+ <script type="text/javascript">moveProgressBar('59.7');</script>
650
+ <dd class="spec passed"><span class="passed_spec_name">should have no password</span></dd>
651
+ <script type="text/javascript">moveProgressBar('60.0');</script>
652
+ <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
653
+ <script type="text/javascript">moveProgressBar('60.3');</script>
654
+ <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
655
+ <script type="text/javascript">moveProgressBar('60.6');</script>
656
+ <dd class="spec passed"><span class="passed_spec_name">should have the correct username after assignment</span></dd>
657
+ <script type="text/javascript">moveProgressBar('60.9');</script>
658
+ <dd class="spec passed"><span class="passed_spec_name">should have the correct password after assignment</span></dd>
659
+ <script type="text/javascript">moveProgressBar('61.2');</script>
660
+ <dd class="spec passed"><span class="passed_spec_name">should have the correct userinfo segment after assignment</span></dd>
661
+ <script type="text/javascript">moveProgressBar('61.5');</script>
662
+ <dd class="spec passed"><span class="passed_spec_name">should have the correct userinfo segment after nil assignment</span></dd>
663
+ <script type="text/javascript">moveProgressBar('61.8');</script>
664
+ <dd class="spec passed"><span class="passed_spec_name">should have the correct authority segment after assignment</span></dd>
665
+ <script type="text/javascript">moveProgressBar('62.1');</script>
666
+ <dd class="spec passed"><span class="passed_spec_name">should raise an error after nil assignment of authority segment</span></dd>
667
+ </dl>
668
+ </div>
669
+ <div class="context">
670
+ <dl>
671
+ <dt id="context_29">http://user:@example.com</dt>
672
+ <script type="text/javascript">moveProgressBar('62.4');</script>
673
+ <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
674
+ <script type="text/javascript">moveProgressBar('62.7');</script>
675
+ <dd class="spec passed"><span class="passed_spec_name">should have a username of 'user'</span></dd>
676
+ <script type="text/javascript">moveProgressBar('63.0');</script>
677
+ <dd class="spec passed"><span class="passed_spec_name">should have a password of ''</span></dd>
678
+ <script type="text/javascript">moveProgressBar('63.3');</script>
679
+ <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
680
+ <script type="text/javascript">moveProgressBar('63.6');</script>
681
+ <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
682
+ <script type="text/javascript">moveProgressBar('63.9');</script>
683
+ <dd class="spec passed"><span class="passed_spec_name">should have the correct username after assignment</span></dd>
684
+ <script type="text/javascript">moveProgressBar('64.2');</script>
685
+ <dd class="spec passed"><span class="passed_spec_name">should have the correct password after assignment</span></dd>
686
+ <script type="text/javascript">moveProgressBar('64.4');</script>
687
+ <dd class="spec passed"><span class="passed_spec_name">should have the correct authority segment after assignment</span></dd>
688
+ </dl>
689
+ </div>
690
+ <div class="context">
691
+ <dl>
692
+ <dt id="context_30">http://:pass@example.com</dt>
693
+ <script type="text/javascript">moveProgressBar('64.7');</script>
694
+ <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
695
+ <script type="text/javascript">moveProgressBar('65.0');</script>
696
+ <dd class="spec passed"><span class="passed_spec_name">should have a username of ''</span></dd>
697
+ <script type="text/javascript">moveProgressBar('65.3');</script>
698
+ <dd class="spec passed"><span class="passed_spec_name">should have a password of 'pass'</span></dd>
699
+ <script type="text/javascript">moveProgressBar('65.6');</script>
700
+ <dd class="spec passed"><span class="passed_spec_name">should have a userinfo of ':pass'</span></dd>
701
+ <script type="text/javascript">moveProgressBar('65.9');</script>
702
+ <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
703
+ <script type="text/javascript">moveProgressBar('66.2');</script>
704
+ <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
705
+ <script type="text/javascript">moveProgressBar('66.5');</script>
706
+ <dd class="spec passed"><span class="passed_spec_name">should have the correct username after assignment</span></dd>
707
+ <script type="text/javascript">moveProgressBar('66.8');</script>
708
+ <dd class="spec passed"><span class="passed_spec_name">should have the correct password after assignment</span></dd>
709
+ <script type="text/javascript">moveProgressBar('67.1');</script>
710
+ <dd class="spec passed"><span class="passed_spec_name">should have the correct authority segment after assignment</span></dd>
711
+ </dl>
712
+ </div>
713
+ <div class="context">
714
+ <dl>
715
+ <dt id="context_31">http://:@example.com</dt>
716
+ <script type="text/javascript">moveProgressBar('67.4');</script>
717
+ <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
718
+ <script type="text/javascript">moveProgressBar('67.7');</script>
719
+ <dd class="spec passed"><span class="passed_spec_name">should have a username of ''</span></dd>
720
+ <script type="text/javascript">moveProgressBar('68.0');</script>
721
+ <dd class="spec passed"><span class="passed_spec_name">should have a password of ''</span></dd>
722
+ <script type="text/javascript">moveProgressBar('68.3');</script>
723
+ <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
724
+ <script type="text/javascript">moveProgressBar('68.6');</script>
725
+ <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
726
+ <script type="text/javascript">moveProgressBar('68.9');</script>
727
+ <dd class="spec passed"><span class="passed_spec_name">should have the correct username after assignment</span></dd>
728
+ <script type="text/javascript">moveProgressBar('69.2');</script>
729
+ <dd class="spec passed"><span class="passed_spec_name">should have the correct password after assignment</span></dd>
730
+ <script type="text/javascript">moveProgressBar('69.5');</script>
731
+ <dd class="spec passed"><span class="passed_spec_name">should have the correct authority segment after assignment</span></dd>
732
+ </dl>
733
+ </div>
734
+ <div class="context">
735
+ <dl>
736
+ <dt id="context_32">#example</dt>
737
+ <script type="text/javascript">moveProgressBar('69.8');</script>
738
+ <dd class="spec passed"><span class="passed_spec_name">should be considered relative</span></dd>
739
+ <script type="text/javascript">moveProgressBar('70.1');</script>
740
+ <dd class="spec passed"><span class="passed_spec_name">should have a host of nil</span></dd>
741
+ <script type="text/javascript">moveProgressBar('70.4');</script>
742
+ <dd class="spec passed"><span class="passed_spec_name">should have a path of ''</span></dd>
743
+ <script type="text/javascript">moveProgressBar('70.7');</script>
744
+ <dd class="spec passed"><span class="passed_spec_name">should have a query string of nil</span></dd>
745
+ <script type="text/javascript">moveProgressBar('71.0');</script>
746
+ <dd class="spec passed"><span class="passed_spec_name">should have a fragment of 'example'</span></dd>
747
+ </dl>
748
+ </div>
749
+ <div class="context">
750
+ <dl>
751
+ <dt id="context_33">The network-path reference //example.com/</dt>
752
+ <script type="text/javascript">moveProgressBar('71.3');</script>
753
+ <dd class="spec passed"><span class="passed_spec_name">should be considered relative</span></dd>
754
+ <script type="text/javascript">moveProgressBar('71.5');</script>
755
+ <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
756
+ <script type="text/javascript">moveProgressBar('71.8');</script>
757
+ <dd class="spec passed"><span class="passed_spec_name">should have a path of '/'</span></dd>
758
+ </dl>
759
+ </div>
760
+ <div class="context">
761
+ <dl>
762
+ <dt id="context_34">feed://http://example.com/</dt>
763
+ <script type="text/javascript">moveProgressBar('72.1');</script>
764
+ <dd class="spec passed"><span class="passed_spec_name">should have a path of 'http://example.com/'</span></dd>
765
+ <script type="text/javascript">moveProgressBar('72.4');</script>
766
+ <dd class="spec passed"><span class="passed_spec_name">should normalize to 'http://example.com/'</span></dd>
767
+ </dl>
768
+ </div>
769
+ <div class="context">
770
+ <dl>
771
+ <dt id="context_35">feed:http://example.com/</dt>
772
+ <script type="text/javascript">moveProgressBar('72.7');</script>
773
+ <dd class="spec passed"><span class="passed_spec_name">should have a path of 'http://example.com/'</span></dd>
774
+ <script type="text/javascript">moveProgressBar('73.0');</script>
775
+ <dd class="spec passed"><span class="passed_spec_name">should normalize to 'http://example.com/'</span></dd>
776
+ </dl>
777
+ </div>
778
+ <div class="context">
779
+ <dl>
780
+ <dt id="context_36">example://a/b/c/%7Bfoo%7D</dt>
781
+ <script type="text/javascript">moveProgressBar('73.3');</script>
782
+ <dd class="spec passed"><span class="passed_spec_name">should be equivalent to eXAMPLE://a/./b/../b/%63/%7bfoo%7d</span></dd>
783
+ </dl>
784
+ </div>
785
+ <div class="context">
786
+ <dl>
787
+ <dt id="context_37">http://example.com/indirect/path/./to/../resource/</dt>
788
+ <script type="text/javascript">moveProgressBar('73.6');</script>
789
+ <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
790
+ <script type="text/javascript">moveProgressBar('73.9');</script>
791
+ <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
792
+ <script type="text/javascript">moveProgressBar('74.2');</script>
793
+ <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
794
+ <script type="text/javascript">moveProgressBar('74.5');</script>
795
+ <dd class="spec passed"><span class="passed_spec_name">should have a path of '/indirect/path/./to/../resource/'</span></dd>
796
+ <script type="text/javascript">moveProgressBar('74.8');</script>
797
+ <dd class="spec passed"><span class="passed_spec_name">should have a normalized path of '/indirect/path/resource/'</span></dd>
798
+ </dl>
799
+ </div>
800
+ <div class="context">
801
+ <dl>
802
+ <dt id="context_38">A base uri of http://a/b/c/d;p?q</dt>
803
+ <script type="text/javascript">moveProgressBar('75.1');</script>
804
+ <dd class="spec passed"><span class="passed_spec_name">when joined with 'g:h' should resolve to g:h</span></dd>
805
+ <script type="text/javascript">moveProgressBar('75.4');</script>
806
+ <dd class="spec passed"><span class="passed_spec_name">when joined with 'g' should resolve to http://a/b/c/g</span></dd>
807
+ <script type="text/javascript">moveProgressBar('75.7');</script>
808
+ <dd class="spec passed"><span class="passed_spec_name">when joined with './g' should resolve to http://a/b/c/g</span></dd>
809
+ <script type="text/javascript">moveProgressBar('76.0');</script>
810
+ <dd class="spec passed"><span class="passed_spec_name">when joined with 'g/' should resolve to http://a/b/c/g/</span></dd>
811
+ <script type="text/javascript">moveProgressBar('76.3');</script>
812
+ <dd class="spec passed"><span class="passed_spec_name">when joined with '/g' should resolve to http://a/g</span></dd>
813
+ <script type="text/javascript">moveProgressBar('76.6');</script>
814
+ <dd class="spec passed"><span class="passed_spec_name">when joined with '//g' should resolve to http://g</span></dd>
815
+ <script type="text/javascript">moveProgressBar('76.9');</script>
816
+ <dd class="spec passed"><span class="passed_spec_name">when joined with '?y' should resolve to http://a/b/c/d;p?y</span></dd>
817
+ <script type="text/javascript">moveProgressBar('77.2');</script>
818
+ <dd class="spec passed"><span class="passed_spec_name">when joined with 'g?y' should resolve to http://a/b/c/g?y</span></dd>
819
+ <script type="text/javascript">moveProgressBar('77.5');</script>
820
+ <dd class="spec passed"><span class="passed_spec_name">when joined with '#s' should resolve to http://a/b/c/d;p?q#s</span></dd>
821
+ <script type="text/javascript">moveProgressBar('77.8');</script>
822
+ <dd class="spec passed"><span class="passed_spec_name">when joined with 'g#s' should resolve to http://a/b/c/g#s</span></dd>
823
+ <script type="text/javascript">moveProgressBar('78.1');</script>
824
+ <dd class="spec passed"><span class="passed_spec_name">when joined with 'g?y#s' should resolve to http://a/b/c/g?y#s</span></dd>
825
+ <script type="text/javascript">moveProgressBar('78.4');</script>
826
+ <dd class="spec passed"><span class="passed_spec_name">when joined with ';x' should resolve to http://a/b/c/;x</span></dd>
827
+ <script type="text/javascript">moveProgressBar('78.6');</script>
828
+ <dd class="spec passed"><span class="passed_spec_name">when joined with 'g;x' should resolve to http://a/b/c/g;x</span></dd>
829
+ <script type="text/javascript">moveProgressBar('78.9');</script>
830
+ <dd class="spec passed"><span class="passed_spec_name">when joined with 'g;x?y#s' should resolve to http://a/b/c/g;x?y#s</span></dd>
831
+ <script type="text/javascript">moveProgressBar('79.2');</script>
832
+ <dd class="spec passed"><span class="passed_spec_name">when joined with '' should resolve to http://a/b/c/d;p?q</span></dd>
833
+ <script type="text/javascript">moveProgressBar('79.5');</script>
834
+ <dd class="spec passed"><span class="passed_spec_name">when joined with '.' should resolve to http://a/b/c/</span></dd>
835
+ <script type="text/javascript">moveProgressBar('79.8');</script>
836
+ <dd class="spec passed"><span class="passed_spec_name">when joined with './' should resolve to http://a/b/c/</span></dd>
837
+ <script type="text/javascript">moveProgressBar('80.1');</script>
838
+ <dd class="spec passed"><span class="passed_spec_name">when joined with '..' should resolve to http://a/b/</span></dd>
839
+ <script type="text/javascript">moveProgressBar('80.4');</script>
840
+ <dd class="spec passed"><span class="passed_spec_name">when joined with '../' should resolve to http://a/b/</span></dd>
841
+ <script type="text/javascript">moveProgressBar('80.7');</script>
842
+ <dd class="spec passed"><span class="passed_spec_name">when joined with '../g' should resolve to http://a/b/g</span></dd>
843
+ <script type="text/javascript">moveProgressBar('81.0');</script>
844
+ <dd class="spec passed"><span class="passed_spec_name">when joined with '../..' should resolve to http://a/</span></dd>
845
+ <script type="text/javascript">moveProgressBar('81.3');</script>
846
+ <dd class="spec passed"><span class="passed_spec_name">when joined with '../../' should resolve to http://a/</span></dd>
847
+ <script type="text/javascript">moveProgressBar('81.6');</script>
848
+ <dd class="spec passed"><span class="passed_spec_name">when joined with '../../g' should resolve to http://a/g</span></dd>
849
+ <script type="text/javascript">moveProgressBar('81.9');</script>
850
+ <dd class="spec passed"><span class="passed_spec_name">when joined with '../../../g' should resolve to http://a/g</span></dd>
851
+ <script type="text/javascript">moveProgressBar('82.2');</script>
852
+ <dd class="spec passed"><span class="passed_spec_name">when joined with '../.././../g' should resolve to http://a/g</span></dd>
853
+ <script type="text/javascript">moveProgressBar('82.5');</script>
854
+ <dd class="spec passed"><span class="passed_spec_name">when joined with '../../../../g' should resolve to http://a/g</span></dd>
855
+ <script type="text/javascript">moveProgressBar('82.8');</script>
856
+ <dd class="spec passed"><span class="passed_spec_name">when joined with '/./g' should resolve to http://a/g</span></dd>
857
+ <script type="text/javascript">moveProgressBar('83.1');</script>
858
+ <dd class="spec passed"><span class="passed_spec_name">when joined with '/../g' should resolve to http://a/g</span></dd>
859
+ <script type="text/javascript">moveProgressBar('83.4');</script>
860
+ <dd class="spec passed"><span class="passed_spec_name">when joined with 'g.' should resolve to http://a/b/c/g.</span></dd>
861
+ <script type="text/javascript">moveProgressBar('83.7');</script>
862
+ <dd class="spec passed"><span class="passed_spec_name">when joined with '.g' should resolve to http://a/b/c/.g</span></dd>
863
+ <script type="text/javascript">moveProgressBar('84.0');</script>
864
+ <dd class="spec passed"><span class="passed_spec_name">when joined with 'g..' should resolve to http://a/b/c/g..</span></dd>
865
+ <script type="text/javascript">moveProgressBar('84.3');</script>
866
+ <dd class="spec passed"><span class="passed_spec_name">when joined with '..g' should resolve to http://a/b/c/..g</span></dd>
867
+ <script type="text/javascript">moveProgressBar('84.6');</script>
868
+ <dd class="spec passed"><span class="passed_spec_name">when joined with './../g' should resolve to http://a/b/g</span></dd>
869
+ <script type="text/javascript">moveProgressBar('84.9');</script>
870
+ <dd class="spec passed"><span class="passed_spec_name">when joined with './g/.' should resolve to http://a/b/c/g/</span></dd>
871
+ <script type="text/javascript">moveProgressBar('85.2');</script>
872
+ <dd class="spec passed"><span class="passed_spec_name">when joined with 'g/./h' should resolve to http://a/b/c/g/h</span></dd>
873
+ <script type="text/javascript">moveProgressBar('85.5');</script>
874
+ <dd class="spec passed"><span class="passed_spec_name">when joined with 'g/../h' should resolve to http://a/b/c/h</span></dd>
875
+ <script type="text/javascript">moveProgressBar('85.7');</script>
876
+ <dd class="spec passed"><span class="passed_spec_name">when joined with 'g;x=1/./y' should resolve to http://a/b/c/g;x=1/y</span></dd>
877
+ <script type="text/javascript">moveProgressBar('86.0');</script>
878
+ <dd class="spec passed"><span class="passed_spec_name">when joined with 'g;x=1/../y' should resolve to http://a/b/c/y</span></dd>
879
+ <script type="text/javascript">moveProgressBar('86.3');</script>
880
+ <dd class="spec passed"><span class="passed_spec_name">when joined with 'g?y/./x' should resolve to http://a/b/c/g?y/./x</span></dd>
881
+ <script type="text/javascript">moveProgressBar('86.6');</script>
882
+ <dd class="spec passed"><span class="passed_spec_name">when joined with 'g?y/../x' should resolve to http://a/b/c/g?y/../x</span></dd>
883
+ <script type="text/javascript">moveProgressBar('86.9');</script>
884
+ <dd class="spec passed"><span class="passed_spec_name">when joined with 'g#s/./x' should resolve to http://a/b/c/g#s/./x</span></dd>
885
+ <script type="text/javascript">moveProgressBar('87.2');</script>
886
+ <dd class="spec passed"><span class="passed_spec_name">when joined with 'g#s/../x' should resolve to http://a/b/c/g#s/../x</span></dd>
887
+ <script type="text/javascript">moveProgressBar('87.5');</script>
888
+ <dd class="spec passed"><span class="passed_spec_name">when joined with 'http:g' should resolve to http:g</span></dd>
889
+ <script type="text/javascript">moveProgressBar('87.8');</script>
890
+ <dd class="spec passed"><span class="passed_spec_name">when joined with '//example.com/' should resolve to http://example.com/</span></dd>
891
+ </dl>
892
+ </div>
893
+ <div class="context">
894
+ <dl>
895
+ <dt id="context_39">http://www.詹姆斯.com/</dt>
896
+ <script type="text/javascript">moveProgressBar('88.1');</script>
897
+ <dd class="spec passed"><span class="passed_spec_name">should be equivalent to 'http://www.xn--8ws00zhy3a.com/'</span></dd>
898
+ <script type="text/javascript">moveProgressBar('88.4');</script>
899
+ <dd class="spec passed"><span class="passed_spec_name">should not have domain name encoded during normalization</span></dd>
900
+ </dl>
901
+ </div>
902
+ <div class="context">
903
+ <dl>
904
+ <dt id="context_40">http://www.詹姆斯.com/ some spaces /</dt>
905
+ <script type="text/javascript">moveProgressBar('88.7');</script>
906
+ <dd class="spec passed"><span class="passed_spec_name">should be equivalent to 'http://www.xn--8ws00zhy3a.com/%20some%20spaces%20/'</span></dd>
907
+ <script type="text/javascript">moveProgressBar('89.0');</script>
908
+ <dd class="spec passed"><span class="passed_spec_name">should not have domain name encoded during normalization</span></dd>
909
+ </dl>
910
+ </div>
911
+ <div class="context">
912
+ <dl>
913
+ <dt id="context_41">http://www.xn--8ws00zhy3a.com/</dt>
914
+ <script type="text/javascript">moveProgressBar('89.3');</script>
915
+ <dd class="spec passed"><span class="passed_spec_name">should be displayed as http://www.詹姆斯.com/</span></dd>
916
+ </dl>
917
+ </div>
918
+ <div class="context">
919
+ <dl>
920
+ <dt id="context_42">http://www.詹姆斯.com/atomtests/iri/詹.html</dt>
921
+ <script type="text/javascript">moveProgressBar('89.6');</script>
922
+ <dd class="spec passed"><span class="passed_spec_name">should normalize to http://www.xn--8ws00zhy3a.com/atomtests/iri/%E8%A9%B9.html</span></dd>
923
+ </dl>
924
+ </div>
925
+ <div class="context">
926
+ <dl>
927
+ <dt id="context_43">Unavailable libidn bindings</dt>
928
+ <script type="text/javascript">moveProgressBar('89.9');</script>
929
+ <dd class="spec passed"><span class="passed_spec_name">should cause the URI::IDNA module to raise an exception when an operation is attempted</span></dd>
930
+ <script type="text/javascript">moveProgressBar('90.2');</script>
931
+ <dd class="spec passed"><span class="passed_spec_name">should not cause normalization routines to error out</span></dd>
932
+ <script type="text/javascript">moveProgressBar('90.5');</script>
933
+ <dd class="spec passed"><span class="passed_spec_name">should not cause display uri routines to error out</span></dd>
934
+ </dl>
935
+ </div>
936
+ <div class="context">
937
+ <dl>
938
+ <dt id="context_44">The URI::IDNA module with rubygems and idn missing</dt>
939
+ <script type="text/javascript">moveProgressBar('90.8');</script>
940
+ <dd class="spec passed"><span class="passed_spec_name">should not raise an exception while checking if libidn is available</span></dd>
941
+ <script type="text/javascript">moveProgressBar('91.1');</script>
942
+ <dd class="spec passed"><span class="passed_spec_name">should not cause normalization routines to error out</span></dd>
943
+ <script type="text/javascript">moveProgressBar('91.4');</script>
944
+ <dd class="spec passed"><span class="passed_spec_name">should not cause display uri routines to error out</span></dd>
945
+ </dl>
946
+ </div>
947
+ <div class="context">
948
+ <dl>
949
+ <dt id="context_45">http://under_score.example.com/</dt>
950
+ <script type="text/javascript">moveProgressBar('91.7');</script>
951
+ <dd class="spec passed"><span class="passed_spec_name">should not cause an error</span></dd>
952
+ </dl>
953
+ </div>
954
+ <div class="context">
955
+ <dl>
956
+ <dt id="context_46">./this:that</dt>
957
+ <script type="text/javascript">moveProgressBar('92.0');</script>
958
+ <dd class="spec passed"><span class="passed_spec_name">should be considered relative</span></dd>
959
+ <script type="text/javascript">moveProgressBar('92.3');</script>
960
+ <dd class="spec passed"><span class="passed_spec_name">should have no scheme</span></dd>
961
+ </dl>
962
+ </div>
963
+ <div class="context">
964
+ <dl>
965
+ <dt id="context_47">this:that</dt>
966
+ <script type="text/javascript">moveProgressBar('92.6');</script>
967
+ <dd class="spec passed"><span class="passed_spec_name">should be considered absolute</span></dd>
968
+ <script type="text/javascript">moveProgressBar('92.8');</script>
969
+ <dd class="spec passed"><span class="passed_spec_name">should have a scheme of 'this'</span></dd>
970
+ </dl>
971
+ </div>
972
+ <div class="context">
973
+ <dl>
974
+ <dt id="context_48">A large body of arbitrary text</dt>
975
+ <script type="text/javascript">moveProgressBar('93.1');</script>
976
+ <dd class="spec passed"><span class="passed_spec_name">should have all obvious URIs extractable from it</span></dd>
977
+ </dl>
978
+ </div>
979
+ <div class="context">
980
+ <dl>
981
+ <dt id="context_49">Arbitrary text containing invalid URIs</dt>
982
+ <script type="text/javascript">moveProgressBar('93.4');</script>
983
+ <dd class="spec passed"><span class="passed_spec_name">should ignore invalid URIs when extracting</span></dd>
984
+ </dl>
985
+ </div>
986
+ <div class="context">
987
+ <dl>
988
+ <dt id="context_50">A relative path</dt>
989
+ <script type="text/javascript">moveProgressBar('93.7');</script>
990
+ <dd class="spec passed"><span class="passed_spec_name">should convert to 'relative/path/to/something'</span></dd>
991
+ </dl>
992
+ </div>
993
+ <div class="context">
994
+ <dl>
995
+ <dt id="context_51">The root directory</dt>
996
+ <script type="text/javascript">moveProgressBar('94.0');</script>
997
+ <dd class="spec passed"><span class="passed_spec_name">should convert to 'file:///'</span></dd>
998
+ </dl>
999
+ </div>
1000
+ <div class="context">
1001
+ <dl>
1002
+ <dt id="context_52">A unix-style path</dt>
1003
+ <script type="text/javascript">moveProgressBar('94.3');</script>
1004
+ <dd class="spec passed"><span class="passed_spec_name">should convert to 'file:///home/user/'</span></dd>
1005
+ </dl>
1006
+ </div>
1007
+ <div class="context">
1008
+ <dl>
1009
+ <dt id="context_53">A windows-style path</dt>
1010
+ <script type="text/javascript">moveProgressBar('94.6');</script>
1011
+ <dd class="spec passed"><span class="passed_spec_name">should convert to 'file:///c:/windows/My%20Documents%20100%20/foo.txt'</span></dd>
1012
+ </dl>
1013
+ </div>
1014
+ <div class="context">
1015
+ <dl>
1016
+ <dt id="context_54">A windows-style file protocol URI with backslashes</dt>
1017
+ <script type="text/javascript">moveProgressBar('94.9');</script>
1018
+ <dd class="spec passed"><span class="passed_spec_name">should convert to 'file:///c:/windows/My%20Documents%20100%20/foo.txt'</span></dd>
1019
+ </dl>
1020
+ </div>
1021
+ <div class="context">
1022
+ <dl>
1023
+ <dt id="context_55">A windows-style file protocol URI with pipe</dt>
1024
+ <script type="text/javascript">moveProgressBar('95.2');</script>
1025
+ <dd class="spec passed"><span class="passed_spec_name">should convert to 'file:///c:/windows/My%20Documents%20100%20/foo.txt'</span></dd>
1026
+ </dl>
1027
+ </div>
1028
+ <div class="context">
1029
+ <dl>
1030
+ <dt id="context_56">A windows-style file protocol URI</dt>
1031
+ <script type="text/javascript">moveProgressBar('95.5');</script>
1032
+ <dd class="spec passed"><span class="passed_spec_name">should convert to 'file:///c:/windows/My%20Documents%20100%20/foo.txt'</span></dd>
1033
+ </dl>
1034
+ </div>
1035
+ <div class="context">
1036
+ <dl>
1037
+ <dt id="context_57">An http protocol URI</dt>
1038
+ <script type="text/javascript">moveProgressBar('95.8');</script>
1039
+ <dd class="spec passed"><span class="passed_spec_name">should not be converted at all</span></dd>
1040
+ </dl>
1041
+ </div>
1042
+ <div class="context">
1043
+ <dl>
1044
+ <dt id="context_58">The template pattern 'http://example.com/search/{query}/' when processed with the ExampleProcessor</dt>
1045
+ <script type="text/javascript">moveProgressBar('96.1');</script>
1046
+ <dd class="spec passed"><span class="passed_spec_name">should expand to 'http://example.com/search/an+example+search+query/' with a mapping of {&quot;query&quot; =&gt; &quot;an example search query&quot;} </span></dd>
1047
+ <script type="text/javascript">moveProgressBar('96.4');</script>
1048
+ <dd class="spec passed"><span class="passed_spec_name">should raise an error with a mapping of {&quot;query&quot; =&gt; &quot;invalid!&quot;}</span></dd>
1049
+ </dl>
1050
+ </div>
1051
+ <div class="context">
1052
+ <dl>
1053
+ <dt id="context_59">The mapping supplied in Section 3.3.1 of the URI Template draft</dt>
1054
+ <script type="text/javascript">moveProgressBar('96.7');</script>
1055
+ <dd class="spec passed"><span class="passed_spec_name">when used to expand 'http://example.org/page1#{a}' should result in 'http://example.org/page1#fred'</span></dd>
1056
+ <script type="text/javascript">moveProgressBar('97.0');</script>
1057
+ <dd class="spec passed"><span class="passed_spec_name">when used to expand 'http://example.org/{a}/{b}/' should result in 'http://example.org/fred/barney/'</span></dd>
1058
+ <script type="text/javascript">moveProgressBar('97.3');</script>
1059
+ <dd class="spec passed"><span class="passed_spec_name">when used to expand 'http://example.org/{a}{b}/' should result in 'http://example.org/fredbarney/'</span></dd>
1060
+ <script type="text/javascript">moveProgressBar('97.6');</script>
1061
+ <dd class="spec passed"><span class="passed_spec_name">when used to expand 'http://example.com/order/{c}/{c}/{c}/' should result in 'http://example.com/order/cheeseburger/cheeseburger/cheeseburger/'</span></dd>
1062
+ <script type="text/javascript">moveProgressBar('97.9');</script>
1063
+ <dd class="spec passed"><span class="passed_spec_name">when used to expand 'http://example.org/{d}' should result in 'http://example.org/one%20two%20three'</span></dd>
1064
+ <script type="text/javascript">moveProgressBar('98.2');</script>
1065
+ <dd class="spec passed"><span class="passed_spec_name">when used to expand 'http://example.org/{e}' should result in 'http://example.org/20%25%20tricky'</span></dd>
1066
+ <script type="text/javascript">moveProgressBar('98.5');</script>
1067
+ <dd class="spec passed"><span class="passed_spec_name">when used to expand 'http://example.com/{f}/' should result in 'http://example.com//'</span></dd>
1068
+ <script type="text/javascript">moveProgressBar('98.8');</script>
1069
+ <dd class="spec passed"><span class="passed_spec_name">when used to expand '{scheme}://{20}.example.org?date={wilma}&amp;option={a}' should result in 'https://this-is-spinal-tap.example.org?date=&amp;option=fred'</span></dd>
1070
+ <script type="text/javascript">moveProgressBar('99.1');</script>
1071
+ <dd class="spec passed"><span class="passed_spec_name">when used to expand 'http://example.org?{p}' should result in 'http://example.org?quote=to+be+or+not+to+be'</span></dd>
1072
+ <script type="text/javascript">moveProgressBar('99.4');</script>
1073
+ <dd class="spec passed"><span class="passed_spec_name">when used to expand 'http://example.com/{q}' should result in 'http://example.com/hullo#world'</span></dd>
1074
+ </dl>
1075
+ </div>
1076
+ <div class="context">
1077
+ <dl>
1078
+ <dt id="context_60">A mapping that contains a template-var within a value</dt>
1079
+ <script type="text/javascript">moveProgressBar('99.7');</script>
1080
+ <dd class="spec passed"><span class="passed_spec_name">when used to expand 'http://example.com/{a}/{b}/' should result in 'http://example.com/%7Bb%7D/barney/'</span></dd>
1081
+ </dl>
1082
+ </div>
1083
+ <div class="context">
1084
+ <dl>
1085
+ <dt id="context_61">A mapping that contains values that are already percent-encoded</dt>
1086
+ <script type="text/javascript">moveProgressBar('100.0');</script>
1087
+ <dd class="spec passed"><span class="passed_spec_name">when used to expand 'http://example.com/{a}/' should result in 'http://example.com/%257Bb%257D/'</span></dd>
1088
+ </dl>
1089
+ </div>
1090
+ <script type="text/javascript">document.getElementById('duration').innerHTML = "Finished in <strong>3.35439 seconds</strong>";</script>
1091
+ <script type="text/javascript">document.getElementById('totals').innerHTML = "338 specifications, 0 failures";</script>
1092
+ </div>
1093
+ </body>
1094
+ </html>