Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 1829 lines (1034 sloc) 45.126 kB
7a7101a @assaf FIXED storage should use Map instead of object literal
authored
1 ## Version 4.1.0 2015-08-21
2
3 FIXED using properties instead of attributes whenever possible
4
5 FIXED storage should use Map instead of object literal
6
7 697 passing (23s)
8 12 pending
9
10
77961f9 @assaf FIXED Multipart submission breaks for simple values
authored
11 ## Version 4.0.13 2015-06-25
12
13 FIXED Multipart submission breaks for simple values
14
15 697 passing (24s)
16 12 pending
17
18
b3bd878 @assaf Work around some Babel.js bugs.
authored
19 ## Version 4.0.12 2015-06-23
20
21 Work around some Babel.js bugs.
22
23 697 passing (24s)
24 12 pending
25
26
bc20bf5 @assaf 4.0.11
authored
27 ## Version 4.0.11 2015-06-12
28
29 Upgraded to JSDOM 5.3.0.
30
31 697 passing (24s)
32 12 pending
33
34
9fb0d3f @assaf Upgraded to JSDOM 5.2.0 and tough-cookie 1.1.0
authored
35 ## Version 4.0.10 2015-04-29
36
37 Upgraded to JSDOM 5.2.0 and tough-cookie 1.1.0
38
39 694 passing (22s)
40 12 pending
41
42
a166fb7 @assaf FIXED assertion errors not propagating our of wait callback
authored
43 ## Version 4.0.9 2015-04-25
44
45 Upgraded to JSDOM 5.1.0
46
50ba2b3 @assaf Updated npm dependencies
authored
47 FIXED assertion errors not propagating out of wait callback
a166fb7 @assaf FIXED assertion errors not propagating our of wait callback
authored
48
49 694 passing (22s)
50 12 pending
51
52
6dfdd38 @assaf ADDED expose Browser.Request, Browser.Response and Browser.Headers
authored
53 ## Version 4.0.8 2015-04-19
005b472 @assaf Upgrade to JSDOM 5.0.1
authored
54
6dfdd38 @assaf ADDED expose Browser.Request, Browser.Response and Browser.Headers
authored
55 Upgraded to JSDOM 5.0.1
56
f81fb2d @assaf FIXED wording in CHANGELOG
authored
57 ADDED expose Browser.Request/Response/Headers
58
59 CHANGED use regexp instead of startsWith
6dfdd38 @assaf ADDED expose Browser.Request, Browser.Response and Browser.Headers
authored
60
61 694 passing (22s)
62 12 pending
005b472 @assaf Upgrade to JSDOM 5.0.1
authored
63
64
fc251c7 @assaf Version 4.0.7
authored
65 ## Version 4.0.7 2015-04-10
00c151b @assaf Updated to JSDOM 4.1
authored
66
67eb0f0 @assaf Removed dead code
authored
67 Version 4.0 requires io.js, see:
68 https://github.com/tmpvar/jsdom/blob/master/Changelog.md#400
15501ef @assaf Updated changelog
authored
69
70 ADDED preliminary support for the Fetch API (https://fetch.spec.whatwg.org/)
71
329fea0 @assaf CHANGED separated resources/pipeline/fetch
authored
72 ADDED you can use the `browser.fetch` to retrieve any resources, using the
73 cookies, pipeline and all other browser settings
74
00c151b @assaf Updated to JSDOM 4.1
authored
75 CHANGED upgraded to JSDOM 4.1
76
329fea0 @assaf CHANGED separated resources/pipeline/fetch
authored
77 CHANGED use `browser.status` instead of `browser.statusCode` (HTML APIs use
78 `status` and `statusText`)
15501ef @assaf Updated changelog
authored
79
329fea0 @assaf CHANGED separated resources/pipeline/fetch
authored
80 CHANGED `browser.resources` is now just an array of all resources requested when
81 processing the currently open window. Resources no longer shared by all
82 windows, and other features (pipeline configuration, fetch resources) moved
83 elsewhere.
15501ef @assaf Updated changelog
authored
84
329fea0 @assaf CHANGED separated resources/pipeline/fetch
authored
85 CHANGED separated pipeline from resources. Use `browser.pipeline.addHandler` to
86 add request/response handler to the browser instance, or `Pipeline.addHandler`
87 to add handler to all new instances.
15501ef @assaf Updated changelog
authored
88
329fea0 @assaf CHANGED separated resources/pipeline/fetch
authored
89 CHANGED pipeline API changed as well. Request handler called with browser
90 instance and Fetch `Request` object, can return null or a Fetch `Response`
91 object. Response handler called with browser instance, request and response
92 object, should return same or new response object. Handlers no longer using
93 callbacks, if you need asynchronous behavior, return a promise.
15501ef @assaf Updated changelog
authored
94
964efc0 @assaf FIXED added `navigator.appVersion` #885
authored
95 FIXED empty `cookie` and `referer` header no longer sent #881
96
97 FIXED added `navigator.appVersion` #885
15501ef @assaf Updated changelog
authored
98
81ac342 @assaf REMOVED `document.window`, use `document.defaultView` instead
authored
99 REMOVED `document.window`, use `document.defaultView` instead
100
97ce087 @assaf REMOVED browser.close
authored
101 REMOVED `browser.close` confusing method name, use `browser.window.close` if you
102 really need to close the window.
103
40deab5 @assaf Version 4.0.6
authored
104 694 passing (21s)
00c151b @assaf Updated to JSDOM 4.1
authored
105 12 pending
106
15501ef @assaf Updated changelog
authored
107
17a8f6e @assaf Version 3.1.1
authored
108 ## Version 3.1.1 2015-03-26
109
110 FIXED file URLs not resolving correctly #886 (Jeffrey Jagoda)
111
112
b3f7c3a @assaf Version 3.1.0
authored
113 ## Version 3.1.0 2015-03-15
114
115 3.1 is the first official release of Zombie 3.x. It is a major upgrade from
116 2.5, and as such has several breaking changes. Please check the list of changes
117 below to learn what has changed.
7858808 @assaf Dropped support for Node 0.10
authored
118
82b9da8 @assaf ADDED DOM URL class
authored
119 ADDED DOM URL class
120
121 ADDED XHR events emitted to browser
a79d1cd @assaf REMOVED browser.form, browser.htmlParser
authored
122
4abd686 @assaf ADDED wait() ends with error if Browser cannot load all resources on …
authored
123 ADDED wait() ends with error if Browser cannot load all resources on the page
124 (e.g. doesn't get to load scripts)
125
76b6163 @assaf Version 3.0.11
authored
126 ADDED submitting form using an image input will include coordinates #865 (Werner
127 Beroux)
128
a79d1cd @assaf REMOVED browser.form, browser.htmlParser
authored
129 REMOVED browser.fork no longer supported
130
131 REMOVED browser.htmlParser option no longer supported, always using default
132 browser (parser5)
133
67d226d @assaf The last of the coffee-script
authored
134 REMOVED Browser.visit(url, options) no longer changes instance options
135
34923bd @assaf REMOVED resources.mock/fail/delay, use Nock instead
authored
136 REMOVED resources.mock/fail/delay, use Nock instead
137
14a1a6b @assaf Updated README
authored
138 REMOVED protocol and bcat, no tests
139
6ecf397 @assaf REMOVED Browser.create
authored
140 REMOVED Browser.create
141
1e35488 @assaf REMOVED Browser.dns and Browser.ports, switching to different impleme…
authored
142 REMOVED Browser.dns and Browser.ports, switching to different implementation
143
a4297a4 @assaf CHANGED Browser.debug -> browser.debug (per instance)
authored
144 CHANGED Browser.debug -> browser.debug (per instance)
145
67d226d @assaf The last of the coffee-script
authored
146 CHANGED browser.referer -> browser.referrer
147
ad12d11 @assaf CHANGED Browser.default.<name> = <value> deprecated, use Browser.<nam…
authored
148 CHANGED Browser.default.<name> = <value> deprecated, use Browser.<name> = <value> instead
149
4abd686 @assaf ADDED wait() ends with error if Browser cannot load all resources on …
authored
150 CHANGED timeout event -> setTimeout, interval -> setInterval
151
4ce731b @assaf CHANGED removed onalert/onconfirm/onprompt, use browser.on('alert', f…
authored
152 CHANGED removed onalert/onconfirm/onprompt, use browser.on('alert', fn) etc
67d226d @assaf The last of the coffee-script
authored
153
a29c3f8 @assaf CHANGED credentials replaced with browser.on('authenticate', fn)
authored
154 CHANGED credentials replaced with browser.on('authenticate', fn)
155
b9c1644 @assaf CHANGED browser.wait() runs event loop so you can catch done/error ev…
authored
156 CHANGED browser.wait() runs event loop so you can catch done/error events
157
29c2ebb @assaf CHANGED event loop `done` event renamed to `idle`
authored
158 CHANGED event loop `done` event renamed to `idle`
159
89c8960 @assaf Updated npm dependencies
authored
160 CHANGED upgraded to JSDOM 3.1, added io.js and Node 0.12 support
29c2ebb @assaf CHANGED event loop `done` event renamed to `idle`
authored
161
7c0ff5d @assaf CHANGED all dump() methods now accept output stream or output to stdout
authored
162 CHANGED all dump() methods now accept output stream or output to stdout
163
85c79f1 @assaf Version 3.0.15
authored
164 CHANGED XHR errors no longer stop the event loop
8c6722a @assaf FIXED XHR errors no longer stop the event loop
authored
165
b3f7c3a @assaf Version 3.1.0
authored
166 If you are wondering what happened to 3.0, there were 16 test relases of 3.0
167 leading up to 3.1. Test releases are tagged as `next` instead of `latest`. NPM
168 defaults to showing and installing `latest versions, you have to explicitly
169 instruct it to `install` next versions.
170
85c79f1 @assaf Version 3.0.15
authored
171 688 passing (22s)
67d226d @assaf The last of the coffee-script
authored
172 12 pending
173
a79d1cd @assaf REMOVED browser.form, browser.htmlParser
authored
174
0c1d8c2 @assaf Updated changelog
authored
175 ## Version 2.5.1 2014-12-08
176
177 ADDED `waitForServer` to wait for a server-initiated event before running
178 `wait` method. Accepts the same arguments as `wait`.
179
180 Currently supports `EventSource` aka [Server-Sent
181 Events](http://dev.w3.org/html5/eventsource/).
182
8d7f789 @assaf CHANGED load is now asynchronous just like wait
authored
183 CHANGED `load` is now asynchronous just like `wait`. Use a callback or promise
184 before accessing the document.
185
0c1d8c2 @assaf Updated changelog
authored
186 703 passing (12s)
187 8 pending
188
189
c66a2ac @assaf Updated changelog
authored
190 ## Version 2.5.0 2014-12-01
3064d9a @assaf ADDED support for navigator.mimeTypes #784
authored
191
192 ADDED support for navigator.mimeTypes
193
c66a2ac @assaf Updated changelog
authored
194 CHANGED wait() returns a lazy promise
195
196 Prior to this change, calling `wait()` without a callback would return a
197 promise, which will resolve by running the event loop for completion, even if
198 you don't provide any callbacks.
199
200 This is not specifically a problem with `wait`, but with methods that end by
201 calling `wait`, like `clickLink` and `pressButton`.
202
203 After this change, `wait()` will do nothing, unless you either supply a
204 callback, or use the promise by means of calling `then/catch/done` on it.
205
206 You can achieve the old behavior by calling `browser.wait().done()`.
207
2c555e8 @assaf Merge branch 'lazy-promise'
authored
208 REMOVED Passing an options object to browser.visit is deprecated and will be
209 removed soon. Passing an options object to Browser.visit is still supported.
3064d9a @assaf ADDED support for navigator.mimeTypes #784
authored
210
1a8884d @assaf Updated to JSDOM 1.4.0
authored
211 UPGRADED to JSDOM 1.4.0
212
3e9217a @assaf Updated npm dependencies
authored
213 700 passing (12s)
b7d0023 @assaf CHANGED passing an option object to browser.visit is deprecated
authored
214 8 pending
3064d9a @assaf ADDED support for navigator.mimeTypes #784
authored
215
216
9f1d996 @assaf Version 2.4.0
authored
217 ## Version 2.4.0 2014-11-27
d83c901 @assaf FIXED eliminated endless spinning of the event loop
authored
218
219 FIXED eliminated endless spinning of the event loop
220
9f1d996 @assaf Version 2.4.0
authored
221 NOTE this may break your tests suite if you added an asynchronous event listener
222 in your Node code but forgot to wait() for the event to fire. For example:
223
224 https://github.com/assaf/zombie/commit/d83c901a07bd09cb9c583a57a0b4cd431bf71f8f#diff-cb54bacfa1b84057366b12e8b5c961d3L350
225
d83c901 @assaf FIXED eliminated endless spinning of the event loop
authored
226 695 passing (10s)
227 8 pending
228
229
4ba48b6 @assaf FIXED ReferenceError: id is not defined
authored
230 ## Version 2.3.2 2014-11-26
231
914c570 @assaf FIXED XHR status and response text in case of error #811
authored
232 FIXED XHR status and response text in case of error #811
233
fc27577 @assaf FIXED XHR events for abort and timeout
authored
234 FIXED XHR events for abort and timeout
235
4ba48b6 @assaf FIXED ReferenceError: id is not defined
authored
236 FIXED ReferenceError: id is not defined
237
914c570 @assaf FIXED XHR status and response text in case of error #811
authored
238 695 passing
4ba48b6 @assaf FIXED ReferenceError: id is not defined
authored
239 11 sec to complete
240
241
b3e2b62 @assaf ADDED XHR now supports progress events
authored
242 ## Version 2.3.1 2014-11-26
243
244 ADDED XHR now supports progress events
245
4ba48b6 @assaf FIXED ReferenceError: id is not defined
authored
246 691 passing
247 11 sec to complete
a9ca4c9 @assaf CHANGED use JSDOM dispatch and raise
authored
248
b3e2b62 @assaf ADDED XHR now supports progress events
authored
249
5f78312 @assaf Version 2.3.0
authored
250 ## Version 2.3.0 2014-11-25
7774570 @assaf FIXED request 2.48.0 leaks globals, reverting to 2.47.0
authored
251
e65029d @assaf ADDED requestAnimationFrame
authored
252 ADDED requestAnimationFrame
253
fa92aa0 @assaf FIXED don't process responses to aborted XHR requests
authored
254 FIXED don't process responses to aborted XHR requests
255
318ddfa @assaf UPDATED to JSDOM 1.3.1
authored
256 UPDATED to JSDOM 1.3.1
257
e65029d @assaf ADDED requestAnimationFrame
authored
258 688 passing
fa92aa0 @assaf FIXED don't process responses to aborted XHR requests
authored
259 11 sec to complete
318ddfa @assaf UPDATED to JSDOM 1.3.1
authored
260
261
262 ## Version 2.2.1 2014-11-14
263
7774570 @assaf FIXED request 2.48.0 leaks globals, reverting to 2.47.0
authored
264 FIXED request 2.48.0 leaks globals, reverting to 2.47.0
265
266 686 passing
267 11 sec to complete
268
269
769e284 @assaf FIXED Browser should show errors for resources that fail to load #794
authored
270 ## Version 2.2.0 2014-11-14
39e2211 @assaf ADDED window.location.origin #796
authored
271
272 ADDED window.location.origin #796
273
d40e8a7 @assaf Updated npm dependencies
authored
274 FIXED updated to JSDOM 1.2.1
275
9275c1d @assaf FIXED browser.evaluate({throws error}) should throw an error #790
authored
276 FIXED browser.evaluate({throws error}) should throw an error #790
277
d5f92bd @assaf FIXED changing location.hash should be synchronous #781
authored
278 FIXED changing location.hash should be synchronous #781
279
e5c6e22 @assaf FIXED DNS.lookup(null) should resolve to null IP #783
authored
280 FIXED DNS.lookup(null) should resolve to null IP #783
281
769e284 @assaf FIXED Browser should show errors for resources that fail to load #794
authored
282 FIXED Browser should show errors for resources that fail to load #794
283
563901d @assaf REMOVED no longer support cookie folding with comma #792
authored
284 REMOVED no longer support cookie folding with comma #792
285
769e284 @assaf FIXED Browser should show errors for resources that fail to load #794
authored
286 687 passing
287 11 sec to complete
d40e8a7 @assaf Updated npm dependencies
authored
288
39e2211 @assaf ADDED window.location.origin #796
authored
289
e1d0b2a @assaf FIXED pushState/replaceState should change history immediately #781
authored
290 ## Version 2.1.1 2014-10-23
291
292 FIXED pushState/replaceState should change history immediately #781
293
f25e66d @assaf Version 2.1.1
authored
294 682 passing
295 10 sec to complete
296
e1d0b2a @assaf FIXED pushState/replaceState should change history immediately #781
authored
297
3d7199c @assaf Version 2.1.0
authored
298 ## Version 2.1.0 2014-10-22
47428ea @assaf Simplified the code for matching links by text/URL
authored
299
9e4a3fa @assaf FIXED images seem to load twice #780
authored
300 ADDED browser.assert.link can use regular expression to match link URL #770
301
6abc4f8 @assaf ADDED window now has access to XPathResult and friends #762
authored
302 ADDED window now has access to XPathResult and friends #762
303
9e4a3fa @assaf FIXED images seem to load twice #780
authored
304 FIXED images seem to load twice #780
47428ea @assaf Simplified the code for matching links by text/URL
authored
305
3d7199c @assaf Version 2.1.0
authored
306 680 passing
307 10 sec to complete
47428ea @assaf Simplified the code for matching links by text/URL
authored
308
6abc4f8 @assaf ADDED window now has access to XPathResult and friends #762
authored
309
bf717be @assaf Version 2.0.8
authored
310 ## Version 2.0.8 2014-10-14
3217546 @assaf Version 2.0.7
authored
311
4c4ca4b @assaf FIXED console.debug fails when brower.silent = false [Fixes #766]
authored
312 FIXED bump to JSDOM 1.0.3 to fix cssstyle-browserify dependency
313
314 FIXED console.debug fails when brower.silent = false
315
bf717be @assaf Version 2.0.8
authored
316 671 passing
317 10 sec to complete
4c4ca4b @assaf FIXED console.debug fails when brower.silent = false [Fixes #766]
authored
318
319
320 ## Version 2.0.7 2014-10-13
321
3217546 @assaf Version 2.0.7
authored
322 FIXED csstyle bug: Cannot find module './properties'
323
324 671 passing
325 11 sec to complete
326
327
3feef66 @assaf CHANGED how we show/suppress console.log
authored
328 ## Version 2.0.6 2014-10-11
329
330 CHANGED Output from console.log() and friends goes to console unless
331 `browser.silent = true`. You can also set it globally with
332 `Browser.default.silent = true`. Console output always visible when debugging
333 (`DEBUG=zombie`).
334
44039b2 @assaf ADDED documentation for debugging using and
authored
335 ADDED documentation for debugging using `DEBUG=zombie` and `browser.silent`.
336
11e4f74 @assaf Fixed Google maps fixtures
authored
337 671 passing
338 11 sec to complete
339
3feef66 @assaf CHANGED how we show/suppress console.log
authored
340
c001a3a @assaf Updated to latests JSDOM
authored
341 ## Version 2.0.5 2014-10-10
342
343 **NOTE** This version introduces a bug from JSDOM, whereby resetting a form will
344 not reset `<select>` elements correctly
345
346 UPDATED to latest JSDOM
347
63ef2c3 @assaf FIXED Exceptions are being swallowed #761
authored
348 FIXED Exceptions are being swallowed #761
349
c001a3a @assaf Updated to latests JSDOM
authored
350 Minor other bug fixes
351
352 671 passing
8b7f4ba @assaf Version 2.0.5
authored
353 11 sec to complete
c001a3a @assaf Updated to latests JSDOM
authored
354
355
e9ee68f @assaf FIXED rowser.wait should return a promise when called without open wi…
authored
356 ## Version 2.0.4 2014-09-26
357
b5032d7 @assaf FIXED browser will sometimes run code asynchronously outside a wait
authored
358 FIXED browser will sometimes run code asynchronously outside a wait
359
360 FIXED browser.wait should return a promise when called without open window #755
361
362 FIXED complain when using event loop of destroyed browser
e9ee68f @assaf FIXED rowser.wait should return a promise when called without open wi…
authored
363
364 672 tests
365 12 sec to complete
366
367
5e44f8a @assaf FIXED window.cookies fails with error [Closes #610]
authored
368 ## Version 2.0.3 2014-09-25
369
8d03015 @assaf FIXED add raise method to xhr to catch errors in handlers #681
authored
370 FIXED window.cookies fails with error #610
5e44f8a @assaf FIXED window.cookies fails with error [Closes #610]
authored
371
cddcb34 @assaf FIXED HTMLImageElement._attrModified not passing callback to HTML.res…
authored
372 FIXED HTMLImageElement._attrModified not passing callback to
373 HTML.resourceLoader.load #624
374
9a5c706 @assaf Updated CHANGELOG
authored
375 FIXED Add raise method to xhr to catch errors in handlers #681
376
377 FIXED Chunked and gzipped content is not decompressed #707
378
379 672 tests
380 11 sec to complete
8d03015 @assaf FIXED add raise method to xhr to catch errors in handlers #681
authored
381
5e44f8a @assaf FIXED window.cookies fails with error [Closes #610]
authored
382
3664d40 @assaf FIXED don't reuse timer handlers
authored
383 ## Version 2.0.2 2014-09-25
384
4de7653 @assaf ADDED Only decode HTML documents, and support meta tag with charset
authored
385 ADDED Only decode HTML documents, and support meta tag with charset
386
387 CHANGED Switched from using encoding to iconv-lite
388
389 CHANGED Switched from using Q to Bluebird
3664d40 @assaf FIXED don't reuse timer handlers
authored
390
76f87dc @assaf Cleaned up more test cases
authored
391 671 tests
51fbff5 @assaf Cleaned up some promises code
authored
392 12 sec to complete
393
3664d40 @assaf FIXED don't reuse timer handlers
authored
394
f8a0543 @assaf FIXED DNS.lookup should use lookup, not resolve
authored
395 ## Version 2.0.1 2014-09-24
396
397 FIXED DNS.lookup should use lookup, not resolve
398
399
340be90 @assaf ADDED gulp tag includes changelog
authored
400 ## Version 2.0.0 2014-09-24
e05c3f6 @assaf Fixed lack of JavaScript source code: CoffeeScript moved to src,
authored
401
340be90 @assaf ADDED gulp tag includes changelog
authored
402 Much much has changed, and the documentation has not caught up. Here's a
403 partial and incomplete list.
8c7f409 @assaf When calling console.error, output goes to stderr.
authored
404
11e0a15 @assaf You can use browser.tabs to manage open tabs
authored
405 `browser.tabs` replaces `browser.windows`. Is now an array so you can access a
406 tab directly (e.g. `browser.tabs[0]`), and also switch tabs more easily (e.g.
407 `browser.tabs.current = 0`).
408
8c7f409 @assaf When calling console.error, output goes to stderr.
authored
409 `console.log`, `console.error` and friends now emit a `console` event from the
410 browser. First argument is the output type (e.g. "log"), second is the
411 formatted text.
412
413 `console.error` and `console.assert` output to standard error (unless silent).
414
7913434 @assaf browser.url returns URL of current document.
authored
415 `browser.url` returns the URL of the current document.
416
7f5f983 @assaf New browser has no open window
authored
417 New browser has no open window. You need to call `visit`, `open` or set
418 `location`.
419
edbd7b4 @assaf All resources should use fixed file URLs.
authored
420 Brand new implementation of browser history, fixes the "two URLs, one window"
421 issue.
422
0404e4f @assaf Browser.request/response replace lastRequest/lastResponse
authored
423 `browser.request` and `browser.response` return the request/response used for
424 the last top-most page load. All other resources available from
425 `browser.resources`. These replace `lastRequest` and `lastResponse`.
426
c827307 @assaf Browser should set focus to element with autofocus
authored
427 Added `browser.activeElement` (removed `browser.focus`) and support for
428 `autofocus` attribute.
429
604d7b6 @assaf Console, log and error events should be sent to Browser.events
authored
430 Browser is now an `EventEmitter` so you can hook into it and instrument it.
431
97f5c4f @assaf The `wait` method now takes two optional parameters: options that det…
authored
432 The `wait` method now takes two optional parameters: options that determine how
433 long to wait and a callback. Options include `duration`, `function` and
434 `element`, the later completing when the element is found in the document.
435
436 The `wait` method's wait function now receives two parameters: the active window
437 and how long the wait is for the next event (0 to Infinity).
438
439 The `visit` method now passes applicable options to `wait` (`duration`,
440 `function`, etc).
441
442 The `maxWait` option is now called `waitDuration` and `waitFor` is no longer
a30d03f @pscheit notice ms and seconds for maxWait and waitDuration
pscheit authored
443 supported. waitDuration should be provided in milliseconds (maxWait was provided in seconds)
97f5c4f @assaf The `wait` method now takes two optional parameters: options that det…
authored
444
1e31dca @assaf Introducing assertsions to make your life all the more easier, for ex…
authored
445 Introducing assertsions to make your life all the more easier, for example:
446
447 browser.element("h1")
448 browser.text("h1", "Header")
449 browser.elements("li", { atLeast: 5 })
450 browser.assert.url("http://example.com")
451
7f09294 @assaf Zombie should support gzip and deflate
authored
452 Added support for deflat and gzip responses.
453
454 New API for accessing resources, use `browser.resources`. Lots of goodies like
455 allowing you to retrieve resources directory (`resources.get`,
456 `resources.post`), define how resources are handled, emulate server failures
457 (`resources.fail`), delay responses (`resources.delay`), even mock responses
458 (`resources.mock`).
459
340be90 @assaf ADDED gulp tag includes changelog
authored
460 676 tests
461 12 sec to complete
59caefa @assaf EventSource test should not wait twice
authored
462
8c7f409 @assaf When calling console.error, output goes to stderr.
authored
463
9901ab9 @assaf Fixed another edge case
authored
464 ## Version 1.4.1 2012-08-22
465
466 Fixed another timer edge case.
467
468 550 tests
469 14.5 sec to complete
470
471
472 ## Version 1.4.0 2012-08-22
de24063 @assaf Updated dependencies, tested with Node 0.8.6
authored
473
3315924 @assaf Updated changelog
authored
474 Support for browser custom headers ():
475
476 browser.headers =
477 "Accept-Language": "da, en-gb"
478
00ddbe8 @assaf Fixed window.close and added browser.close
authored
479 `browser.fork()` now copies browser options (Jakub Kulhan).
480
481 Fixed `window.close()` to properly dispose of the context, and added
482 `browser.close()` to properly close all windows and cleanup. If you're running
483 into memory issues, use either method.
de24063 @assaf Updated dependencies, tested with Node 0.8.6
authored
484
a5d22f1 @assaf Updated changelog
authored
485 Share the same location instance between history stack entries (David Stendardi)
486
99e9023 @assaf Do not down-case file: URLs.
authored
487 Do not down-case file: URLs.
488
7d0ca6d @assaf Use perform to lock event loop during timeout.
authored
489 Implemented `Node.contains` (Dave Dopson).
490
491 Setting `element.style.width` now reflected in value of `element.clientWidth`
492 and `element.offsetWidth` (and same for height).
f250f73 @assaf Updated changelog
authored
493
7bc86df @assaf Testing with require.js 2.0.6
authored
494 Upgraded dependencies, tested with Node 0.8.6, jQuery 1.8.0, require.js 2.0.6.
3c506d7 @assaf Updated changelog
authored
495
8441d6f @assaf Fail if Contextify module not available.
authored
496 Fail if Contextify module not available.
497
7d0ca6d @assaf Use perform to lock event loop during timeout.
authored
498 Fixed edge case where timers may fire after `browser.wait` returns.
499
809a688 @assaf Make sure zero timeout event doesn't fire twice
authored
500 550 tests
d27f14f @assaf Lookup Contextify and Sizzle relative to JSDOM.
authored
501 14.5 sec to complete
de24063 @assaf Updated dependencies, tested with Node 0.8.6
authored
502
503
a1da60c @assaf Empty properties vs attributes.
authored
504 ## Version 1.3.1 2012-06-05
505
506 The `id`, `name` and `value` properties should be empty strings if the
507 corresponding attribute is not set.
508
509 537 tests
510 13.0 sec to complete
511
512
e8e8f35 @assaf Version 1.3.0
authored
513 ## Version 1.3.0 2012-06-05
1795831 @assaf browser.text no longer preserves white space.
authored
514
e8e8f35 @assaf Version 1.3.0
authored
515 Note that `browser.text` now trims and strips consecutive whitespace.
928c29d @assaf Fixed failing to create empty document on HTTP error.
authored
516
05c8e9a @assaf maxWait and timing sugar.
authored
517 Added maximum waiting period with the `maxWait` browser option, which defaults
518 to 5 seconds.
519
520 You can set `maxWait` and `wait` duration as number of milliseconds or textual
521 value like "5s", "1m", etc.
522
e8e8f35 @assaf Version 1.3.0
authored
523 Fixed `a.href` to not break when missing `href` attribute.
524
525 Fixed JS execution bug that messes with require.js.
526
527 Fixed failing to create empty document on HTTP error.
528
529 531 tests
530 12.8 sec to complete
531
1795831 @assaf browser.text no longer preserves white space.
authored
532
f9093d4 @assaf Version 1.2.0
authored
533 ## Version 1.2.0 2012-05-28
dd7ddc7 @assaf Set accept-encoding to "identity".
authored
534
f9093d4 @assaf Version 1.2.0
authored
535 Added `browser.load` for loading HTML instead of hitting a URL.
dd7ddc7 @assaf Set accept-encoding to "identity".
authored
536
5c44585 @assaf Allow browser.select to use the option text.
authored
537 Allow `browser.select` to use the option text.
538
f9093d4 @assaf Version 1.2.0
authored
539 Reload document when forking browser.
540
541 Set `accept-encoding` to "identity".
542
2251e7b @assaf [Closes #179] JSON.parse now respects Array.prototype.
authored
543 `JSON.parse` now respects `Array.prototype`.
544
b574601 @assaf [Closes #137] Implemented window.resizeBy/resizeTo.
authored
545 Implemented `window.resizeBy` and `window.resizeTo`.
546
6476744 @assaf [Closes #107] Reload document when forking browser.
authored
547 If DOM attribute is not set, `getAttribute` will return `null` just like any
548 browser (though the spec insists on empty string).
549
f9093d4 @assaf Version 1.2.0
authored
550 Fix all file loading (document and resources) to use same code path.
031f774 @assaf [Closes #235] De-facto getAttribute.
authored
551
f9093d4 @assaf Version 1.2.0
authored
552 531 tests
553 12.5 sec to complete
a4ca575 @assaf [Closes #314] Added browser.load.
authored
554
dd7ddc7 @assaf Set accept-encoding to "identity".
authored
555
ee4ab2f @assaf [Closes #345] Create DOM document after Web page has loaded.
authored
556 ## Version 1.1.7 2012-05-27
557
b80930a @assaf Version 1.1.7
authored
558 Create DOM document after Web page has loaded. If you want to set document
559 location and wait for document to load, so this:
560
561 browser.location = url;
562 browser.on("loaded", function() {
563 // Called after document has loaded
564 ...
565 })
ee4ab2f @assaf [Closes #345] Create DOM document after Web page has loaded.
authored
566
1d2e463 @assaf [#302] Remove 'Content Type' and 'Content Length' on redirect (re-fix…
authored
567 Remove 'Content Type' and 'Content Length' on redirect (re-fixed.)
568
b80930a @assaf Version 1.1.7
authored
569 513 tests
570 12.2 sec to complete
ee4ab2f @assaf [Closes #345] Create DOM document after Web page has loaded.
authored
571
572
61219fa @assaf Version 1.1.6
authored
573 ## Version 1.1.6 2012-05-26
e9e9c77 @assaf Tweak to in-line script processing to fix a problem no one reported.
authored
574
3a69400 @assaf Fire focus events when filling fields, selecting options, pressing bu…
authored
575 Fire `focus` and `blur` events when filling fields, selecting fields, pressing
576 button and switching windows.
3f60fcb @assaf Fire focus and blur events when switching windows.
authored
577
7a2ce28 @assaf Both focus and blur methods now work.
authored
578 Both `focus` and `blur` methods now work and you can get the `activeElement`.
579
fd663dc @assaf More tests cleaned with the promise of promises.
authored
580 Tweak to in-line script processing to fix a problem no one reported.
581
7a2ce28 @assaf Both focus and blur methods now work.
authored
582 513 tests
fd663dc @assaf More tests cleaned with the promise of promises.
authored
583 12.3 sec to complete
7a2ce28 @assaf Both focus and blur methods now work.
authored
584
e9e9c77 @assaf Tweak to in-line script processing to fix a problem no one reported.
authored
585
99f6e9e @assaf The wait function (and its derivatives) now return most recent error in
authored
586 ## Version 1.1.5 2012-05-24
587
588 The `wait` function (and its derivatives) now return most recent error in
589 callback.
590
591 To use promises and duration function, call `wait` with two arguments, second
592 one being `null`.
593
37f6b05 @assaf Workaround for the tricky getElementById("foo").querySelector("#foo .…
authored
594 Workaround for the tricky `getElementById("foo").querySelector("#foo .bar")`
595 behavior that JSDOM doesn't get quite right.
596
597 500 tests
598 12.3 sec to complete
99f6e9e @assaf The wait function (and its derivatives) now return most recent error in
authored
599
600
fe8913e @assaf Make sure wait callback doesn't get the wrong this.
authored
601 ## Version 1.1.4 2012-05-22
602
603 Make sure `wait` callback doesn't get the wrong `this`.
604
605 496 tests
606 11.5 sec to complete
607
608
ddc3a84 @assaf Updated changelog.
authored
609 ## Version 1.1.3 2012-05-22
6fb198e @assaf Added tests for promises.
authored
610
9598224 @assaf Fixed setting cookie on redirect to different domain.
authored
611 Fixed setting cookie on redirect to different domain.
612
11ba968 @assaf Fixed iframe doesn't retain value of src attribute.
authored
613 Fixed iframe doesn't retain value of src attribute.
614
ddc3a84 @assaf Updated changelog.
authored
615 Fixed window.close property not set (Jerome Gravel-Niquet).
616
f890e6f @assaf Added documentation on how to use promises.
authored
617 Added documentation and tests for promises.
6fb198e @assaf Added tests for promises.
authored
618
ddc3a84 @assaf Updated changelog.
authored
619 496 tests
620 11.9 sec to complete
6fb198e @assaf Added tests for promises.
authored
621
622
b8e65d9 @assaf Trim stack trace at call to contextify.run.
authored
623 ## Version 1.1.2 2012-05-16
624
625 Trim stack trace at call to `contextify.run`. Also, if you upgrade, Contextify
626 no longer dumps error messages to stderr.
627
628 489 tests
629 11.8 sec to complete
630
631
35f0067 @assaf Version 1.1.1
authored
632 ## Version 1.1.1 2012-05-16
c8b885d @assaf Closes #339
authored
633
634 Fixes `visit` and `wait` silencing any exceptions thrown during the callback's
635 execution.
636
a25cd9b @assaf Fixes #329: Added empty navigator.plugins.
authored
637 Added empty `navigator.plugins`.
638
6bdf511 @assaf [#336] Added atob and btoa to window.
authored
639 Added `atob` and `btoa`.
640
35f0067 @assaf Version 1.1.1
authored
641 489 tests
642 12.0 sec to complete
c8b885d @assaf Closes #339
authored
643
644
02d816e @assaf Fixed CHANGELOG version number.
authored
645 ## Version 1.1.0 2012-05-13
67b004e @assaf [Fixes #332] Upgraded to HTML5 0.3.8
authored
646
6c1ce1b @assaf [Closes #218] Added navigator.cookieEnabled and navigator.vendor.
authored
647 Fixed `onload` event not firing on window.
648
649 Added `navigator.cookieEnabled` and `navigator.vendor`.
30dadf4 @assaf [Fixes #131] Fixed onload event not firing on window.
authored
650
3e17549 @assaf [Fixes #259] Added empty `Accept-Encoding` header since there's no gz…
authored
651 Added empty `Accept-Encoding` header since there's no gzip/compress support at
652 the moment.
653
dbc6f6b @assaf Version 1.1.0
authored
654 Fixed `Browser` default settings.
655
67b004e @assaf [Fixes #332] Upgraded to HTML5 0.3.8
authored
656 Upgraded to HTML5 0.3.8.
657
658 487 tests
659 11.8 sec to complete
660
661
0ad21bf @assaf Version 1.0.0
authored
662 ## Version 1.0.0 2012-05-10
dadf663 @assaf [Closes #309] Added promises.
authored
663
22000c6 @assaf New API for setting authentication credentials.
authored
664 Yes, that is right, Zombie now supports promises. Like this:
665
bf6332b @assaf Fixed CHANGELOG
authored
666 browser.visit("http://localhost:3000/").
667 then(function() {
668 assert.equal(browser.text("H1"), "Deferred zombies");
669 // Chaining works by returning a promise here
670 return browser.clickLink("Hit me");
671 }).
672 then(function() {
673 assert.equal(browser.text("H1"), "Ouch");
674 });
22000c6 @assaf New API for setting authentication credentials.
authored
675
676 A new way to set authentication credentials so they can be applied to specific
677 host (e.g. HTTP Basic one host, OAuth Bearer another). Like this:
678
bf6332b @assaf Fixed CHANGELOG
authored
679 // HTTP Basic takes user and password
680 browser.authenticate().basic("me", "secret")
681 // OAuth 2.0 Bearer takes an access token
682 browser.authenticate("example.com:443").bearer("12345")
683 // Show the authentication credentials in use
684 console.log(browser.authenticate().token)
22000c6 @assaf New API for setting authentication credentials.
authored
685
686 Successfully testing Facebook Connect using Zombie (see
687 `test/facebook_connect_test.coffee`).
688
689 487 tests
690 12.1 sec to complete
dadf663 @assaf [Closes #309] Added promises.
authored
691
692
943787f @assaf Changed browser option `windowName` to just `name.`
authored
693 ## Version 0.13.14 2012-05-09
694
695 Changed browser option `windowName` to just `name.`
696
697 Setting browser option to `undefined` no longer resets it to default (that was a
698 stupid idea).
699
d86d7ce @assaf Support for opening link in specified target (named window, _self, _p…
authored
700 Support for opening link in specified target (named window, `_self`, `_parent`, `_top` or
701 `_blank`).
702
ffe8b35 @assaf Fixed Zombie retaining multiple values for the same cookie (domain/pa…
authored
703 Fixed Zombie retaining multiple values for the same cookie (domain/path/key).
704
705 485 tests
706 11.9 sec to complete
943787f @assaf Changed browser option `windowName` to just `name.`
authored
707
708
5494c66 @assaf Should be window.select not window.switch.
authored
709 ## Version 0.13.13 2012-05-09
710
711 Should be `windows.select` not `windows.switch`.
712
713 462 tests
714 11.4 sec to complete
715
716
7626f2b @assaf Cleaned up and documented `browser.windows`.
authored
717 ## Version 0.13.12 2012-05-09
718
719 Cleaned up and documented `browser.windows`.
720
a70457f @assaf Brought back JSDOM offset patches, Google Maps fails without these.
authored
721 Brought back JSDOM offset patches, Google Maps fails badly without these.
722
7626f2b @assaf Cleaned up and documented `browser.windows`.
authored
723 462 tests
724 11.4 sec to complete
725
726
208524a @assaf Fix loading URL with document fragment remove document fragment from …
authored
727 ## Version 0.13.11 2012-05-08
728
729 Fix loading URL with document fragment remove document fragment from page
730 location.
731
732 459 tests
733 9.9 sec to complete
734
735
d66042b @assaf Fixes to old-style event handlers.
authored
736 ## Version 0.13.10 2012-05-07
737
738 Fixed basic/token authentication working for pages but not resources like JS,
739 CSS (David Newell).
740
741 Old-style event handlers (onclick, onsubmit, etc) now have access to event
742 through `window.event`.
743
744 Old-style event handlers can return false to prevent default behavior.
745
746 Added `window.Event` and its siblings `UIEvent`, `MouseEvent`, `MutationEvent`
747 and `StorageEvent`.
748
749 457 tests
750 10.2 sec to complete
751
752
651d00a @assaf Make sure you can `window.frames[name].postMessage`.
authored
753 ## Version 0.13.9 2012-05-07
754
755 Make sure you can `window.frames[name].postMessage`.
756
757 453 tests
758 9.9 sec to complete
759
760
cd0510d @assaf Run without Coffee-Script.
authored
761 ## Version 0.13.8 2012-05-04
762
53302cc @assaf Redirection is now handled by Zombie instead of Request, set cookies …
authored
763 Redirection is now handled by Zombie instead of Request, set cookies to the
764 right domain.
765
cd0510d @assaf Run without Coffee-Script.
authored
766 Run without Coffee-Script.
767
53302cc @assaf Redirection is now handled by Zombie instead of Request, set cookies …
authored
768 453 tests
769 9.7 sec to complete
770
cd0510d @assaf Run without Coffee-Script.
authored
771
06a7fd6 @assaf Got FB Connect to show login form ... almost, bug in Request/Replay.
authored
772 ## Version 0.13.7 2012-05-03
711fe02 @assaf Added support for window.open and working with more than one window a…
authored
773
a340f98 @assaf Added postMessage.
authored
774 Added support for `postMessage`.
775
711fe02 @assaf Added support for window.open and working with more than one window a…
authored
776 Added support for `window.open()` and working with more than one window at a
02d42ac @assaf Version 0.13.7
authored
777 time (`browser.windows`).
711fe02 @assaf Added support for window.open and working with more than one window a…
authored
778
a340f98 @assaf Added postMessage.
authored
779 When following redirect with `#` in it, fire the `hashchange` event.
780
781 IFrame window name based on element's `name` attribute.
782
783 Fixed IFrame document and window to include Zombie enhancements.
784
06a7fd6 @assaf Got FB Connect to show login form ... almost, bug in Request/Replay.
authored
785 Zombie can now show FB Connect form.
786
9023ba7 @assaf Fix some things that broke accidentally
authored
787 453 tests
02d42ac @assaf Version 0.13.7
authored
788 9.8 sec to complete
9023ba7 @assaf Fix some things that broke accidentally
authored
789
a340f98 @assaf Added postMessage.
authored
790
8866087 @assaf You can now set document location to `javascript:expression` and it will
authored
791 ## Version 0.13.6 2012-05-02
792
793 You can now set document location to `javascript:expression` and it will
794 evaluate that expression.
795
796 440 tests
797 9.6 sec to complete
798
799
0a4f8f1 @assaf Switched back to processing DOMNodeInserted on script tags.
authored
800 ## Version 0.13.5 2012-05-02
27e64d0 @assaf These fixes allow document.write and appendChild to work.
authored
801
0a4f8f1 @assaf Switched back to processing DOMNodeInserted on script tags.
authored
802 Switched default HTML parser back to the more forgiving
27e64d0 @assaf These fixes allow document.write and appendChild to work.
authored
803 [HTML5](https://github.com/aredridel/html5):
804
805 - Supports scripts with CDATA
806 - Supports tag soups
807 - Preserve order of execution between in-line and loaded JS code
808 - Support `document.write`
809
0a4f8f1 @assaf Switched back to processing DOMNodeInserted on script tags.
authored
810 Fix `textContent` of elements that have comments in them to not exclude the
811 comment text .
27e64d0 @assaf These fixes allow document.write and appendChild to work.
authored
812
813 438 tests
0a4f8f1 @assaf Switched back to processing DOMNodeInserted on script tags.
authored
814 9.7 sec to complete
27e64d0 @assaf These fixes allow document.write and appendChild to work.
authored
815
816
d257187 @assaf Version 0.13.4
authored
817 ## Version 0.13.4 2012-05-01
3cd0b63 @assaf Upgraded to JSDOM 0.2.14.
authored
818
d257187 @assaf Version 0.13.4
authored
819 Upgraded to JSDOM 0.2.14. This includes an upgrade to Contextify which fixes an
820 edge case with JS scoping. It also translates to 10% faster tests (On My
821 Machine).
822
823 But HTML processing is a bit more picky right now.
3cd0b63 @assaf Upgraded to JSDOM 0.2.14.
authored
824
68e746b @assaf Methods like `visit` now pass error to the callback if they fail to l…
authored
825 Methods like `visit` now pass error to the callback if they fail to load or
826 parse the page. JavaScript execution errors are handled separately.
827
d257187 @assaf Version 0.13.4
authored
828 436 tests
829 8.0 sec to complete
3cd0b63 @assaf Upgraded to JSDOM 0.2.14.
authored
830
831
8dbf2d0 @assaf Version 0.13.3
authored
832 ## Version 0.13.3 2012-04-30
833
834 Fixed failing to redirect after POST request (Vincent P).
835
836 426 tests
837 8.8 sec to complete
838
839
278e961 @assaf Fixed iframe not loading properly or firing onload event when setting…
authored
840 ## Version 0.13.2 2012-04-26
841
842 Fixed iframes not loading properly of firing `onload` event when setting `src`
843 attribute.
844
845 426 tests
846 9.6 sec to complete
847
848
ba3104e @assaf Only testing for Node 0.6
authored
849 ## Version 0.13.1 2012-04-26
f6c04bb @assaf Switching from Vows to Mocha.
authored
850
851 Switched from testing with Vows to testing with Mocha. Tests now running
852 sequentially.
853
acaccf4 @assaf Only testing for Node 0.6
authored
854 Fixed a couple of issues with cookies, also switched to a better implementation,
855 see [Tough Cookie](https://github.com/goinstant/node-cookie)
856
1b0ee6b @assaf [Closes #283] Zombie now submits empty text fields and checked checkb…
authored
857 Zombie now submits empty text fields and checked checkboxes with no value.
858
51e9cca @assaf Updated changelog
authored
859 Support for script type="text/coffeescript" (audreyt).
860
861 425 tests
862 10.0 sec to complete
f6c04bb @assaf Switching from Vows to Mocha.
authored
863
864
471f976 @assaf Version 0.13.0
authored
865 ## Version 0.13.0 2012-04-25
b1a78e1 @assaf Now requires Node 0.6.x.
authored
866
867 Now requires Node 0.6.x or later. Also upgraded to CoffeeScript 1.3.1, which
868 helped find a couple of skipped tests.
869
fdbfde8 @assaf By popular demand: proxy!
authored
870 Added support for proxies by using the excellent [Request
871 module](https://github.com/mikeal/request)
872
f58f4f7 @assaf Fix tests for file upload, brought implementation up to coding standard.
authored
873 Added File object in browser (Ian Young)
874
46c7c00 @assaf Added support for EventSource (SSE)
authored
875 Added support for EventSource (see [Server-Sent Events](http://dev.w3.org/html5/eventsource/))
876
b1a78e1 @assaf Now requires Node 0.6.x.
authored
877
9f84f3f @assaf Version 0.2.15
authored
878 ## Version 0.12.15 2012-02-23
879
880 Maintenance release: JSDOM 0.2.11/12 is broken, fixing to 0.2.10 (Mike Swift)
881
882
1510da4 @assaf Testing cancellation of submit event
authored
883 ## Version 0.12.14 2012-02-07
ea15b26 @assaf Methods like visit and fire no longer call wait if there's no callback.
authored
884
15676f1 @assaf Fix redirect not passing the same headers again.
authored
885 Fix redirect not passing the same headers again.
886
158e99b @assaf Version 0.12.14
authored
887 412 tests
888 6.4 sec to complete
889
15676f1 @assaf Fix redirect not passing the same headers again.
authored
890
f43c28c @assaf Version 0.12.13
authored
891 ## Version 0.12.13 2012-01-18
892
3eec41f @assaf Browser.fire takes no options (that was an undocumented argument), an…
authored
893 `Browser.fire` takes no options (that was an undocumented argument), and always fires events that bubble and can be
894 cancelled.
895
446d57e @assaf Clicking on checkbox or radio button now changes the value and
authored
896 Clicking on checkbox or radio button now changes the value and propagated the click event. If `preventDefault`, the
897 value is changed back.
898
f43c28c @assaf Version 0.12.13
authored
899 411 tests
900 6.0 sec to complete
901
3eec41f @assaf Browser.fire takes no options (that was an undocumented argument), an…
authored
902
7f0fb17 @assaf Version 0.12.12
authored
903 ## Version 0.12.12 2012-01-16
904
9aeca62 @assaf Added element offset properties. Google Maps demand these.
authored
905 Added element offset properties. Google Maps demand these.
906
7f0fb17 @assaf Version 0.12.12
authored
907 406 tests
908 5.9 sec to complete
909
9aeca62 @assaf Added element offset properties. Google Maps demand these.
authored
910
4b6c494 @assaf Version 0.12.11
authored
911 ## Version 0.12.11 2012-01-06
912
913 Maintenance update, mostly more test coverage, and updates to dependencies.
914
915 403 tests
916 4.4 sec to complete
917
918
2a719ae @assaf Version 0.12.10
authored
919 ## Version 0.12.10 2012-01-01
920
bbd8016 @assaf Updated CHANGELOG
authored
921 Brought back Web Sockets support (Justin Latimer)
922
923 Using JSDOM offsets (Justin Tulloss)
924
2a719ae @assaf Version 0.12.10
authored
925 388 tests
926 3.8 sec to complete
bbd8016 @assaf Updated CHANGELOG
authored
927
928
bee8909 @assaf Version 0.12.9
authored
929 ## Version 0.12.9 2011-12-23
930
2b9c2f7 @assaf Added support for httpOnly cookies.
authored
931 Added support for `httpOnly` cookies.
932
933 You can now call `browser.cookies` with no arguments to return cookies for the current domain (based on the hostname of
934 the currently loaded page).
935
ee1bf5c @assaf You can now pass referer header
authored
936 You can now pass `referer` header:
937
938 browser.visit("/page", referer: "http://google.com", function() {
bee8909 @assaf Version 0.12.9
authored
939 . . .
ee1bf5c @assaf You can now pass referer header
authored
940 })
941
bee8909 @assaf Version 0.12.9
authored
942 Apply 5 second time limit on `browser.wait`, even if there's something going on (e.g. pull requests).
943
944 387 tests
945 3.9 sec to complete
946
2b9c2f7 @assaf Added support for httpOnly cookies.
authored
947
77fe83e @assaf Version 0.12.8
authored
948 ## Version 0.12.8 2011-12-20
949
a5cf9e0 @assaf #236 without swallowing exceptions
authored
950 Browser implementations of clearInterval/clearTimeout do not throw exceptions (Justin Tulloss)
951
da2dff3 @assaf [Closes #228] This patch fixes the fact that Resources toString throw…
authored
952 Fix resources.toString throwing an error (Mr Rogers)
953
77fe83e @assaf Version 0.12.8
authored
954 374 tests
955 3.9 sec to complete
956
a5cf9e0 @assaf #236 without swallowing exceptions
authored
957
ea15b26 @assaf Methods like visit and fire no longer call wait if there's no callback.
authored
958 ## Version 0.12.7 2011-12-19
959
960 Methods like `visit` and `fire` no longer call `wait` if there's no callback.
961
962 The wait callback is called from `nextTick`. Fixes a possible race condition.
963
964 366 Tests
965 3.7 sec to complete
966
967
746db25 @assaf Version 0.12.6
authored
968 ## Version 0.12.6 2011-12-18
969
8eef695 @assaf You can now tell `browser.wait` when to complete processing events
authored
970 You can now tell `browser.wait` when to complete processing events by passing either duration (in milliseconds) or a
971 function that returns true when done. For example:
972
973 browser.wait(500, function() {
974 // Waits no longer than 0.5 second
975 })
976
977 function mapIsVisible(window) {
978 return window.querySelector("#map");
979 }
980 browser.wait(mapIsVisible, function() {
981 // Waits until the map element is visible on the page
982 })
983
adf4d46 @assaf Default waitFor is now 0.5 seconds. Also updated documentation.
authored
984 Reduced default `waitFor` from 5 seconds to 0.5 seconds. That seems good enough default for most pages.
985
986 366 Tests
746db25 @assaf Version 0.12.6
authored
987 3.7 sec to complete
cec0f07 @assaf Reduced default `waitFor` from 5 seconds to one. Can easily be
authored
988
989
e7d2026 @assaf Added `browser.history` for accessing history for the current
authored
990 ## Version 0.12.5 2011-12-16
991
39f70ed @assaf `Zombie` and `Browser` are no longer distinct namespaces. What you
authored
992 `Zombie` and `Browser` are no longer distinct namespaces. What you require is the `Browser` class that also includes
993 all the methods previously defined for `Zombie`. For example:
994
995 var Browser = require("zombie")
996
997 // This setting applies to all browsers
998 Browser.debug = true
999 // Create and use a new browser instance
1000 var browser = new Browser()
1001 browser.visit("http://localhost:3001", function() {
1002 ...
1003 })
1004
e7d2026 @assaf Added `browser.history` for accessing history for the current
authored
1005 Added `browser.history` for accessing history for the current window, `browser.back` for navigating to the previous page
1006 and `browser.reload` for reloading the current page.
1007
3f933b3 @assaf Fixed a bug whereby navigating back in push-state history would reloa…
authored
1008 Fixed a bug whereby navigating back in push-state history would reload document.
1009
39f70ed @assaf `Zombie` and `Browser` are no longer distinct namespaces. What you
authored
1010 363 Tests
1011 2.4 sec to complete
1012
e7d2026 @assaf Added `browser.history` for accessing history for the current
authored
1013
2a62adc @assaf Version 0.12.4
authored
1014 ## Version 0.12.4 2011-12-16
1015
1016 Return undefined for response status when there is no response.
1017
1018 362 Tests
1019 2.4 sec to complete
1020
1021
ece53c7 @assaf Version 0.12.3
authored
1022 ## Version 0.12.3 2011-12-13
1023
1024 Fixed issue when globally declared variables with no values are not accessible (Brian McDaniel)
1025
1026 362 Tests
1027 2.6 sec to complete
1028
1029
b5fff4f @assaf Version 0.12.2
authored
1030 ## Version 0.12.2 2011-12-12
ab32231 @assaf Added changelog entry and cleaned source code
authored
1031
ea4db91 @assaf [Closes #224] Added global options, e.g.
authored
1032 Added global options, for example:
1033
1034 Zombie.site = "http://localhost:3003"
1035 Zombie.visit("/browser/test", function() {
1036 ...
1037 })
1038
7079f78 @assaf You can put Zombie in debug mode by setting environment variable `DEB…
authored
1039 You can put Zombie in debug mode by setting environment variable `DEBUG`, for example:
1040
1041 $ DEBUG=true vows
1042
802e899 @assaf [Closes #220] Added `silent` option to suppress all `console.log`
authored
1043 Also added `silent` option to suppress all `console.log` output from scripts.
1044
ab32231 @assaf Added changelog entry and cleaned source code
authored
1045 Support origin in websockets (Glen Mailer)
1046
d9e7dd2 @assaf Proper support for CSS style property.
authored
1047 Proper support for CSS style `opacity` property.
1048
b5fff4f @assaf Version 0.12.2
authored
1049 360 Tests
1050 2.5 sec to complete
1051
ab32231 @assaf Added changelog entry and cleaned source code
authored
1052
0b93aa9 @assaf Updated changelog
authored
1053 ## Version 0.12.1 2011-12-06
1054
1055 Added `browser.success`, returns true if status code is 2xx.
1056
1057 Updated documentation to better reflect new API features and behaviors. Catching up on the many changes since 0.11.
1058
6511b49 @assaf The real 0.12.1
authored
1059 DOM events now dispatched asynchronously as part of event loop.
1060
1061 Allow `//<hostname>` URLs to be used in more places
1062
0b93aa9 @assaf Updated changelog
authored
1063 359 Tests
1064 2.4 sec to complete
1065
1066
8628b9e @assaf Trying with TMP env var
authored
1067 ## Version 0.12.0 2011-12-06
c429367 @assaf Updated documentation
authored
1068
1069 Zombie is now using real timers instead of the fake clock. That means that a `setTimeout(fn, 5000)` will actually take
1070 5 seconds to complete.
1071
e7459ce @assaf Introduced waitFor
authored
1072 The `wait` method will wait for short timers (up to 5 seconds), which are quite common for some UI effects, setting up
1073 the page, etc. The maximum wait time is specified by the browser option `waitFor`.
1074
1075 If you need to wait longer, you can call `wait` with a time duration as the first argument.
f90c2af @assaf Log redirect and error responses in debug mode
authored
1076
1077 Log redirect and error responses in debug mode.
1078
e7459ce @assaf Introduced waitFor
authored
1079 353 Tests
1080 2.4 sec to complete
1081
5802c25 @assaf Updated changelog
authored
1082
d6e3541 @assaf Version 0.11.4
authored
1083 ## Version 0.11.8 2011-12-04
5802c25 @assaf Updated changelog
authored
1084
1085 Added `browser.query` and `browser.queryAll`. Deprecated `browser.css`;
1086 planning to use it for something else post 1.0.
1087
1088 Calling `html` or `text` when the document is not an HTML page returns
1089 the text contents. Particularly useful if you're looking at the
1090 contents of what should be an HTML page, but got 404 or 500 insteas.
1091
1092 357 Tests
d6e3541 @assaf Version 0.11.4
authored
1093 2.0 sec to complete
1094
5802c25 @assaf Updated changelog
authored
1095
321f5ab @assaf Updated changelog
authored
1096 ## Version 0.11.7 2011-11-30
1097
1098 Fixed `console.log` formatting `%s`, `%d` (Quang Van).
1099
1100 Fixed `viewInBrowser`.
1101
1102 Updated documentation to mention `browser.errors and
1103 `browser.resources`, and that `cake watch` and `cake build` are no
1104 longer necessary.
1105
1106 Fix to load cookies that contain equal signs and quotes in the value.
1107
1108 347 Tests
1109 2.0 sec to complete
1110
1111
b9518cc @assaf Version 0.11.6
authored
1112 ## Version 0.11.6 2011-11-27
1113
1114 Fixed loading of cookies/history from file, so empty lines are ignored.
1115
1116 Show JavaScript source location when failing to execute in script element.
1117
1118 Don't execute timer/interval that has been removed.
1119
1120 347 Tests
1121 2.0 sec to complete
1122
1123
919b28f @assaf Fixes `Browser is not defined` error.
authored
1124 ## Version 0.11.5 2011-11-27
1125
1126 Fixes `Browser is not defined` error.
1127
1128 347 Tests
1129 2.0 sec to complete
1130
1131
c4274fe @assaf Added zombie.js to load without coffee-script
authored
1132 ## Version 0.11.4 2011-11-27
1133
1134 Added missing zombie.js.
1135
1136 347 Tests
1137 2.0 sec to complete
1138
1139
cb218ae @assaf Updated changelog
authored
1140 ## Version 0.11.3 2011-11-26
1141
1142 Iframes will now load their content when setting src attribute.
1143
1144 Internal changes: resources, event loop associated with browser, history
1145 associated with window.
1146
1147 Updated installation instructions for Ubuntu.
1148
9072538 @assaf Fixed cake test
authored
1149 347 Tests
1150 2.2 sec to complete
1151
cb218ae @assaf Updated changelog
authored
1152
6b13b29 @assaf Clean up whitespace, added changelog for #205
authored
1153 ## Version 0.11.2 2011-11-22
1154
1155 Send Content-Length in URL-encoded form requests (Sven Bange).
1156
ee58c31 @assaf [#202] Authorization method changed to scheme (see RFC2617)
authored
1157 Added support for HTTP Basic and OAuth 2.0 authorization (Paul Dixon).
1158
b81d753 @assaf Version 0.11.2
authored
1159 344 Tests
1160 1.9 sec to complete
1161
6b13b29 @assaf Clean up whitespace, added changelog for #205
authored
1162
24b410f @assaf Version 0.11.1
authored
1163 ## Version 0.11.1 2011-11-21
1164
1165 Better error reporting when executing JS asynchronoulsy (timers, XHR).
1166
1167 Event loop keeps processing past errors.
1168
1169 333 Tests
1170 1.8 sec to complete
1171
1172
2757a57 @assaf Version 0.11.0
authored
1173 ## Version 0.11.0 2011-11-20
e7d1a78 @assaf Changed error handling for the better.
authored
1174
1175 Changed error handling for the better.
1176
1177 Calling browser.wait or browser.visit no longer passed the
1178 resource/JavaScript error as the first argument, and will continue
1179 processing if there are multiple errors.
1180
1181 Instead, an array of errors is passed as the fourth argument. You can
1182 also access `browser.errors` and to get just the last one, e.g. to
1183 check if any errors were reported, use `browser.error`.
1184
b1bfc13 @assaf Less verbose console.log.
authored
1185
1186 Using `console.log(browser)` will puke over your terminal, so we add
1187 global defaults for sanity.
1188
1189 Set `console.depth` to specify how many times to recurse while
1190 formatting the object (default is zero).
1191
1192 Set `console.showHidden` to show non-enumerable properties (defaults to
1193 false).
1194
1195
e7d1a78 @assaf Changed error handling for the better.
authored
1196 333 Tests
1197 1.7 sec to complete
1198
1199
fa1d12c @assaf Version 0.10.3
authored
1200 ## Version 0.10.3 2011-11-18
f4fb2ce @assaf Added site option allowing you to use visit with a relative path.
authored
1201
1202 Added site option allowing you to call `visit` with a relative path.
1203 Example:
1204
1205 browser = new Browser(site: "localhost:3000")
1206 browser.visit("/testing", function(error, browser) {
1207 })
1208
1209 Fixed uploading of attachments to work with Connect/Express (and
1210 possibly other servers). Formidable (used by Connect) does not support
1211 Base64 encoding. Sending binary instead.
1212
1213 Tested on Node 0.6.1.
1214
1215 330 Tests
1216 2.1 sec to complete
1217
1218
15b4efa @assaf Version 0.10.2
authored
1219 ### Version 0.10.2 2011-10-13
57bba4e @assaf Updated changelog
authored
1220
1221 Fixed #173 browser.open() causes Segmentation fault (Brian McDaniel)
1222
15b4efa @assaf Version 0.10.2
authored
1223 Upgraded to JSDOM 0.2.7.
1224
57bba4e @assaf Updated changelog
authored
1225
9d9be8e @assaf Version 0.10.1
authored
1226 ### Version 0.10.1 2011-09-08
a1186c4 @assaf Updated changelog
authored
1227
1228 Tests that this == window == top == parent. True when evaluated within
1229 the context of the browser, not necessarily when using browser.window.
1230
b0cd009 @assaf Updated changelog
authored
1231 Removed JSDOM patch for iframes, no tests failing, let's see what
1232 happens ...
1233
1234 Fixes #164 jQuery selectors with explicit context fail.
1235
1236 Better stack traces for client-side JS. This will help in debugging and
1237 filing issues.
1238
1239 Updated installation instructions for OS X/Windows.
1240
1241 Upgraded to JSDOM 0.2.4 and testing with jQuery 1.6.3.
1242
1243 329 Tests
1244 2.9 sec to complete
1245
a1186c4 @assaf Updated changelog
authored
1246
e0eea9f @assaf Upgrade changelog
authored
1247 ### Version 0.10.0 2011-08-27
2022e1b @assaf Added browser.loadCSS and browser.htmlParser options.
authored
1248
e0eea9f @assaf Upgrade changelog
authored
1249 Upgraded to [JSDOM](https://github.com/tmpvar/jsdom) 0.2.3 which brings
1250 us a Window context that works for asynchronous invocations (that would
1251 be timers, XHR and browser.evaluate), and many many other improvements.
1252
1253 Tested for compatibility with jQuery 1.6.2. Yes. It works.
1254
1255
1256 *NOTE*: This release uses
1257 [htmlparser](https://github.com/gmosx/htmlparser) as the default parser,
1258 while waiting for some bug fixes on
1259 [HTML5](https://github.com/aredridel/html5). Unfortunately, htmlparser
1260 is limited in what it can accept and properly parse. Be aware of the
1261 following issues:
1262
1263 - Your document *must* have `html`, `head` and `body` elements.
1264 - No CDATAs. But then again, CDATA is so 1999.
1265 - Tag soups break the parser.
1266 - Scripts can't use `document.write`. Again, it's not 1999.
b71c825 @assaf Browser specs now passing
authored
1267
1268
2022e1b @assaf Added browser.loadCSS and browser.htmlParser options.
authored
1269 Added `browser.loadCSS` option. Set this to load external stylesheets.
1270 Defaults to `true`.
1271
1272 Added `browser.htmlParser` option. Tells JSDOM which HTML5 parser to
1273 use. Use `null` for the default parser.
1274
e0eea9f @assaf Upgrade changelog
authored
1275 Fixed handling of `file` protocol.
40e02da @assaf DRYed jquery-compat
authored
1276
2022e1b @assaf Added browser.loadCSS and browser.htmlParser options.
authored
1277
f78fcab @assaf [Closed #158] require.paths is deprecated
authored
1278 ### Version 0.9.7 2011-07-28
1279
1280 Fixed: require.paths is deprecated [#158]
1281
ca6efe3 @assaf [Closed #151] Fixed not running script specs due to bug in
authored
1282 Fixed: missing pathname support for window.location.href [#156]
1283
229a42b @assaf Version 0.9.7
authored
1284 Fixed: not running script specs due to bug in CoffeeScript (iPaul
1285 Covell) [#151]
1286
1287 Updated documentation to clarify installation instructions for OS X and
1288 Ubuntu.
ca6efe3 @assaf [Closed #151] Fixed not running script specs due to bug in
authored
1289
1290 311 Tests
1291 4.5 sec to complete
4172c64 @assaf [Closes #156] missing pathname support for window.location.href
authored
1292
f78fcab @assaf [Closed #158] require.paths is deprecated
authored
1293
8d14285 @assaf Updated CHANGELOG
authored
1294 ### Version 0.9.6 2011-07-28
1295
1296 Implements file:// requests using node.js' native fs module rather than
1297 leaning on its http module (Ryan Petrello)
1298
06d7a09 @assaf Updated CHANGELOG
authored
1299 Added a basic infection/installation section to documentation (terryp)
1300
0ff156d @assaf Modified resources and xhr to better work with SSL (Ken Sternberg)
authored
1301 Modified resources and xhr to better work with SSL (Ken Sternberg)
1302
d72cad0 @assaf Fixed tests to work properly with Express 2.0.
authored
1303
9292879 @assaf Version 0.9.5
authored
1304 ### Version 0.9.5 2011-04-11
d72cad0 @assaf Fixed tests to work properly with Express 2.0.
authored
1305
cffaabb @assaf Updated changlog.
authored
1306 Callbacks on input/select changes (Julien Guimont)
1307
d72cad0 @assaf Fixed tests to work properly with Express 2.0.
authored
1308 Fix type that broke compatibility with jQuery 1.5.1 (Chad Humphries)
1309
fb16ce4 @assaf Updated changelog.
authored
1310 Enabled window.Image to accept height and width attributes [#35]
1311
1312 Implemented window.navigator.javaEnabled() [#35]
1313
1314 Added setter for document.location [#90]
1315
9292879 @assaf Version 0.9.5
authored
1316 Fixed XPath Sorting / Specs (Blake Imsland)
1317
1318 311 Tests
1319 4.5 sec to complete
d72cad0 @assaf Fixed tests to work properly with Express 2.0.
authored
1320
1321
1fa333f @assaf Version 0.9.4
authored
1322 ### Version 0.9.4 2011-02-22
6852507 @assaf [Fixes #51] Fixes `eval` to execute in the global scope.
authored
1323
ba43510 @assaf Updated changelog.
authored
1324 Added preliminary support for Web sockets (Ben Ford).
1325
6852507 @assaf [Fixes #51] Fixes `eval` to execute in the global scope.
authored
1326 Fixes `eval` to execute in the global scope.
1327
ffdd189 @assaf Updated changelog.
authored
1328 Fixes error when dumping cookies (Christian Joudrey).
1329
1330 Fixed some typos in the README (Jeff Hanke).
68aab2f @assaf Updated changelog.
authored
1331
1fa333f @assaf Version 0.9.4
authored
1332 Speed bump from running on Node 0.4.1.
1333
ba43510 @assaf Updated changelog.
authored
1334 295 Tests
1fa333f @assaf Version 0.9.4
authored
1335 2.9 sec to complete
6852507 @assaf [Fixes #51] Fixes `eval` to execute in the global scope.
authored
1336
1337
a29425f @assaf Fixes seg fault when Zombie fails to compile a script.
authored
1338 ### Version 0.9.3 2011-02-22
1339
1340 Fixes seg fault when Zombie fails to compile a script.
1341
1342 293 Tests
1343 3.3 sec to complete
1344
1345
391d3ce @assaf Version 0.9.2
authored
1346 ### Version 0.9.2 2011-02-21
1347
1348 Fixes a couple of specs, plugs hole in array to prevent segfaults, and
1349 adds try/catch to leave context after executing script.
1350
1351 292 Tests
1352 3.3 sec to complete
b56b9db @assaf Separated two tests with the same name.
authored
1353
1354
0cd166b @assaf Feeble attempt to fix window == this issue, and breaking iframes.
authored
1355 ### Version 0.9.1 2011-02-17
1356
1357 Some internal changes to history. Breaks iframe.
1358
1359 289 Tests
1360 3.3 sec to complete
1361
1362
ab6f5ff @assaf Getting ready for next release.
authored
1363 ### Version 0.9.0 2011-02-17
b57cc1e @assaf [#37] Changelog entry for 0.8.14
authored
1364
ab6f5ff @assaf Getting ready for next release.
authored
1365 New isolated contexts for executing JavaScript. This solves a long
1366 standing problems with pages that have more than one script. Briefly
1367 speaking, each window gets it's own context/global scope that is shared
1368 by all scripts loaded for that page, but isolated from all other
1369 windows.
ef05ce0 @assaf [#37] Cleanup.
authored
1370
2c5ef67 @assaf [Fixes #87] Fixes URL resolution in XHR requests with no port.
authored
1371 Fixes error handling on timeout/XHR scripts, these now generate an
2a8aed2 @assaf [#37] Compile scripts once, speed up test suite.
authored
1372 `onerror` event.
1373
9c61377 @assaf Eventloop is now property of window, not browser.
authored
1374 Eventloop is now associated with window instead of browser.
1375
c245ca6 @assaf Version 0.9.0
authored
1376 Fixes URL resolution in XHR requests with no port.
2c5ef67 @assaf [Fixes #87] Fixes URL resolution in XHR requests with no port.
authored
1377
ef05ce0 @assaf [#37] Cleanup.
authored
1378 293 Tests
c245ca6 @assaf Version 0.9.0
authored
1379 3.3 sec to complete
ef05ce0 @assaf [#37] Cleanup.
authored
1380
b57cc1e @assaf [#37] Changelog entry for 0.8.14
authored
1381
8223670 @assaf Correct date in changelog.
authored
1382 ### Version 0.8.13 2011-02-11
551f179 @assaf Upgraded to HTML5 0.2.13.
authored
1383
fd82106 @assaf Version bump.
authored
1384 Tested with Node 0.4.0.
1385
a74419f @assaf Fixes #71 cookie names now preserve case.
authored
1386 Add support for IFRAMEs (Damian Janowski).
1387
551f179 @assaf Upgraded to HTML5 0.2.13.
authored
1388 Upgraded to HTML5 0.2.13.
1389
a74419f @assaf Fixes #71 cookie names now preserve case.
authored
1390 Fixes #71 cookie names now preserve case.
1391
c637066 @assaf Fixes #69 incorrectly resolving partial URLs in XHR requests.
authored
1392 Fixes #69 incorrectly resolving partial URLs in XHR requests.
1393
fd82106 @assaf Version bump.
authored
1394 Fixes `browser.clock` to use `Date.now` instead of `new Date` (faster).
65c84cc @assaf Fix browser.clock to user Date.now instead of new Date (faster!)
authored
1395
fd82106 @assaf Version bump.
authored
1396 Fixes `browser.dump`.
65c84cc @assaf Fix browser.clock to user Date.now instead of new Date (faster!)
authored
1397
1398 In debug mode, show when firing timeout/interval.
1399
fd82106 @assaf Version bump.
authored
1400 Added `cake install`.
1401
4582104 @assaf Express 1.0.7 request parsing under Node 0.3.7 still broken,
authored
1402 293 Tests
fd82106 @assaf Version bump.
authored
1403 3.7 sec to complete
551f179 @assaf Upgraded to HTML5 0.2.13.
authored
1404
b80c3e8 @assaf Added the `field` (find an input field, textarea, etc), `link` (find
authored
1405
1945012 @assaf Version bump to 0.8.12.
authored
1406 ### Version 0.8.12 2011-02-01
aad1d7a @djanowski Add missing entry in changelog.
djanowski authored
1407
217f4a4 @assaf Added browser.fork to documentation.
authored
1408 Tested with Node 0.3.7 in preparation for Node 0.4.0.
1409
1410 Added `browser.fork` (Josh Adell):
1411
1412 > Return a new browser using a snapshot of this browser's state. This
1413 method clones the forked browser's cookies, history and storage. The
1414 two browsers are independent, actions you perform in one browser do not
1415 affect the other.
1416
1417 > Particularly useful for constructing a state (e.g. sign in, add items
1418 to a shopping cart) and using that as the base for multiple tests, and
1419 for running parallel tests in Vows.
1420
aad1d7a @djanowski Add missing entry in changelog.
djanowski authored
1421 Fix firing the `change` event on `SELECT` elements when using jQuery
1422 (Damian Janowski).
1423
681b353 @djanowski Fix for `jQuery.ajax` receiving a non-string `data` option.
djanowski authored
1424 Fix for `jQuery.ajax` receiving a non-string `data` option (Damian
1425 Janowski).
1426
031ad81 @assaf Added changelog entry.
authored
1427 Fix to allow `script` elements that are not JavaScript (Sean Coates).
1428
1429 NOTE: In this release I started running the test suite using `cake test`
1430 and recording the time reported by Vows. This doesn't count the
1431 time it takes to fire up Node, Cake, etc, so the reported time is
1432 approximately a second smaller than the previously reported time for
1433 0.8.11. All other things being equal.
1434
a2b92c9 @assaf Copy browser history when forking.
authored
1435 292 Tests
1436 3.7 sec to complete
5eb661f @assaf You can now run Zombie without base64 module, if you're not planning
authored
1437
aad1d7a @djanowski Add missing entry in changelog.
djanowski authored
1438
719fd7d @assaf Version bump.
authored
1439 ### Version 0.8.11 2011-01-25
ffc09ac @assaf We still need a document element when response body is empty.
authored
1440
4eb2bf3 @boblail updated changelog
boblail authored
1441 Added `browser.source` which returns the unmodified source of
1442 the current page (Bob Lail).
1443
1444 Added support for the Referer header (Vinicius Baggio).
1445
ddf2851 @boblail updated changelog
boblail authored
1446 If cookies do not specify a path, they are set to the root path
1447 rather than to the request path (Bob Lail).
1448
1449 Cookies are allowed to specify paths other than the request path
1450 (Bob Lail).
1451
ffc09ac @assaf We still need a document element when response body is empty.
authored
1452 Ensure fields are sent in the order they are described (José Valim).
1453
1454 Fix parsing of empty body (Vinicius Baggio).
1455
ac8f5cc @assaf Zombie now sends V0 cookies (Assaf Arkin).
authored
1456 Add support for window.screen (Damian Janowski).
1457
1458 Zombie now sends V0 cookies (Assaf Arkin).
1459
a34ff6e @assaf Don't run SSL test for now, since it depends on remote service.
authored
1460 Fix for loading scripts over SSL (Damian Janowski).
1461
25ec4e2 @assaf Added window.resources to return all resources loaded by the page
authored
1462 Added `window.resources` to return all resources loaded by the page
1463 (including the page itself). You can see what the page is up with:
1464
1465 browser.window.resources.dump()
1466
1467 Modified `lastRequest`/`lastResponse` to use the window resources, fixed
1468 `browser.status` and `browser.redirected` to only look at the page
1469 resource itself.
1470
45aba85 @assaf Added specs or Zombie protocol.
authored
1471 282 Tests
1472 4.3 sec to complete
ffc09ac @assaf We still need a document element when response body is empty.
authored
1473
1474
f3c6a87 @assaf Today is the 13th.
authored
1475 ### Version 0.8.10 2011-01-13
8c590b1 @assaf Updated changelog.
authored
1476
1477 Allow setting cookies from subdomains (Damian Janowski & Michel Martens).
1478
1479 Modified `browser.fire` to fire MouseEvents as well (Bob Lail).
1480
1481 Added `window.title` accessor (Bob Lail).
1482
bba4278 @assaf Fixed `window.navigator.userAgent` to return `userAgent` property
authored
1483 Fixed `window.navigator.userAgent` to return `userAgent` property (same
1484 as sent to server) (Assaf Arkin).
1485
17842a8 @assaf Added support for `alert`, `confirm` and `prompt`.
authored
1486 Added support for `alert`, `confirm` and `prompt` (Assaf Arkin).
1487
9bbd3a0 @assaf Added accessors for status code from last respone
authored
1488 Added accessors for status code from last respone (`browser.statusCode`)
9778d9e @assaf The `visit`, `clickLink` and `pressButton` methods now pass three
authored
1489 and whether last response followed a redirect (`browser.redirected`)
1490 (Assaf Arkin).
9bbd3a0 @assaf Added accessors for status code from last respone
authored
1491
9778d9e @assaf The `visit`, `clickLink` and `pressButton` methods now pass three
authored
1492 The `visit`, `clickLink` and `pressButton` methods now pass three
1493 arguments to the callback: error, browser and status code (Assaf Arkin).
1494
1495 265 Tests
1496 3.7 sec to complete
8c590b1 @assaf Updated changelog.
authored
1497
1498
1499
43b4c33 @assaf Fixed Web site links to not require .html.
authored
1500 ### Version 0.8.9 2011-01-10
0ddf4ab @assaf Updated changelog.
authored
1501
1502 Properly use the existance operator so empty strings are sent (José Valim).
1503
9700c7c @assaf Upgraded to HTLM5 0.2.9.
authored
1504 Fix to XPath evaluation and sorting by document order (José Valim).
1505
b3f816a @assaf Added documentation for new API methods unselect, selectOption and
authored
1506 Added `unselect`, `selectOption` and `unselectOption` to browser (Bob
1507 Lail).
1508
1509 Added `cookies.clear` (Bob Lail).
1510
1511 You can now call browser methods that accept a selector (e.g. `fill`,
1512 `select`) with the element itself.
1513
1514 Fix to populate fields even if field type is invalid (Bob Lail).
1515
43b4c33 @assaf Fixed Web site links to not require .html.
authored
1516 Update to HTML5 0.2.12.
0ddf4ab @assaf Updated changelog.
authored
1517
b3f816a @assaf Added documentation for new API methods unselect, selectOption and
authored
1518 238 Tests
43b4c33 @assaf Fixed Web site links to not require .html.
authored
1519 3.2 sec to complete
0ddf4ab @assaf Updated changelog.
authored
1520
1521
342aad8 @assaf Upgraded to JSDOM 0.1.23.
authored
1522 ### Version 0.8.8 2011-01-04
1523
849d955 @assaf Fixes to eventloop and using resource queue for evaluating internal
authored
1524 Fixed script execution order: now in document order even when mixing
1525 internal and external scripts.
1526
342aad8 @assaf Upgraded to JSDOM 0.1.23.
authored
1527 Fixed image submit (José Valim).
1528
f6f7b2b @assaf Updated changelog.
authored
1529 Ensure checkboxes are properly serialized (José Valim).
1530
1531 It should send first select option if none was chosen (José Valim).
1532
849d955 @assaf Fixes to eventloop and using resource queue for evaluating internal
authored
1533 231 Tests
1534 3.3 sec to complete
342aad8 @assaf Upgraded to JSDOM 0.1.23.
authored
1535
1536
ac2607a @assaf Version bump.
authored
1537 ### Version 0.8.7 2011-01-04
587e537 @assaf Now supports HTTPS.
authored
1538
d6a9b3c @assaf Working on DOM Level 3 XPath support.
authored
1539 Adds DOM Level 3 XPath support.
1540
e22f275 @assaf Added file upload: use browser.attach(selector, filename).
authored
1541 Added support for file upload: `browser.attach(selector, filename)`.
1542
780e72b @assaf Send script errors to window.onerror and report them back to visit
authored
1543 Send script errors to `window.onerror` and report them back to `visit`
1544 callback.
1545
2e7a1a6 @assaf Added changelog entries.
authored
1546 Support `select` with multiple options (José Valim).
1547
1548 Fix handling of unknown input fields and select fields (José Valim).
1549
4d1aa6e @assaf Fix issue 24, search and hash must be empty string not null.
authored
1550 Fix issue 24, search and hash must be empty string not null.
1551
3514641 @assaf Added changlog entry.
authored
1552 Support Node 0.3.3 (thanks [Pete Bevin](http://www.petebevin.com/))
1553
20f5cc9 @assaf Now using npm bundle to manage runtime/dev dependencies when working …
authored
1554 For the brave enough to hack a Zombie, we now support (and `cake setup`
1555 assumes) `npm bundle`.
1556
1cc9904 @assaf Added missing mime dependency.
authored
1557 224 Tests
1558 3.1 sec to complete
d6a9b3c @assaf Working on DOM Level 3 XPath support.
authored
1559
587e537 @assaf Now supports HTTPS.
authored
1560
1fa8eae @assaf Handle server returning multiple Set-Cookie headers.
authored
1561 ### Version 0.8.6 2010-12-31
1562
1563 Now supports cookies on redirect (thanks [Łukasz
1564 Piestrzeniewicz](https://github.com/bragi)).
1565
1566 Handle server returning multiple `Set-Cookie` headers.
1567
7270e49 @assaf The clickLink and pressButton methods should always pass to callback
authored
1568 The `clickLink` and `pressButton` methods should always pass to callback
1569 and not throw error directly.
1570
587e537 @assaf Now supports HTTPS.
authored
1571 Now supports HTTPS.
1572
1fa8eae @assaf Handle server returning multiple Set-Cookie headers.
authored
1573 198 Tests
1574 2.6 sec to complete
1575
1576
483bdb1 @assaf Now using a concise implementation of Ryan Tomayko's most excellent
authored
1577 ### Version 0.8.5 2010-12-31
1578
1579 Re-implemented bcat in JavaScript, so no need to install bcat to use
1580 Zombie.
1581
1582 197 Tests
1583 2.6 sec to complete
1584
1585
0dc2552 @assaf Added viewInBrowser which uses bcat to view page in your browser of
authored
1586 ### Version 0.8.4 2010-12-30
b80c3e8 @assaf Added the `field` (find an input field, textarea, etc), `link` (find
authored
1587
0dc2552 @assaf Added viewInBrowser which uses bcat to view page in your browser of
authored
1588 Added `browser.field` (find an input field, textarea, etc),
1589 `browser.link` (find a link) and `browser.button` (find a button)
1590 methods.
b80c3e8 @assaf Added the `field` (find an input field, textarea, etc), `link` (find
authored
1591
0dc2552 @assaf Added viewInBrowser which uses bcat to view page in your browser of
authored
1592 Added `browser.evaluate` to evaluate any arbitrary JavaScript in the
1593 window context and return the result.
1594
1595 Added `browser.viewInBrowser` which uses `bcat` to view page in your
1596 browser of choice.
1597
1598 197 Tests
1599 2.6 sec to complete
b80c3e8 @assaf Added the `field` (find an input field, textarea, etc), `link` (find
authored
1600
1601
3916a43 @assaf Fixed issue 13: Zombie now shares global variables between scripts.
authored
1602 ### Version 0.8.3 2010-12-30
1603
1604 Zombie now shares global variables between scripts.
1605
1606 199 Tests
1607 2.4 sec to complete
1608
d47f086 @assaf Fix JSDOM queue and with it issue #6.
authored
1609
71ad9f8 @assaf Added magical zombie girl and PDF.
authored
1610 ### Version 0.8.2 2010-12-30
7a0bfdd @assaf Fixed bug where Zombie hangs when making requests to URL that have
authored
1611
648e3ea @assaf Version bump.
authored
1612 Fixed bug whereby Zombie hangs when making requests to a URL that has no
7a0bfdd @assaf Fixed bug where Zombie hangs when making requests to URL that have
authored
1613 path (e.g. `http://localhost`).
1614
1615 198 Tests
1616 2.5 sec to complete
1617
1618
71ad9f8 @assaf Added magical zombie girl and PDF.
authored
1619 ### Version 0.8.1 2010-12-29
981d8aa @assaf Added User-Agent string. You can change it by setting the browser
authored
1620
1621 Added User-Agent string. You can change it by setting the browser
1622 option `userAgent`.
1623
1624 There was an error with `browser.location`: documentation said it
1625 returns a `Location` object but also just a URL. Since `Location`
1626 object is more consistent with `window.location`, accepted that
1627 interpretation.
1628
1629 `Location.assign` did not load a page if the page was already loaded
2d291fe @djanowski Whitespace.
djanowski authored
1630 in the browser. Changed it to load the page (add caching later on).
981d8aa @assaf Added User-Agent string. You can change it by setting the browser
authored
1631
1632 196 Tests
1633 2.6 sec to complete
1634
1635
71ad9f8 @assaf Added magical zombie girl and PDF.
authored
1636 ### Version 0.8.0 2010-12-29
b6c883a @assaf Fixed wrong location of package.json.
authored
1637
46dd292 @assaf Added exact version dependencies in package.json and Cakefile.
authored
1638 Fixed issue 8, wrong location of package.json.
b6c883a @assaf Fixed wrong location of package.json.
authored
1639
18f82b3 @assaf Version bump.
authored
1640 Upgraded to JSDOM 0.1.22 and using HTML5 parser throughout.
1641
f01e132 @assaf Added browser.runScript option. Set to false if you don't want the
authored
1642 Added browser.runScript option. Set to false if you don't want the
1643 browser to execute scripts.
1644
be9554b @assaf You can now set browser options when initializing a new browser, on
authored
1645 You can now set browser options when initializing a new browser, on
1646 existing `Browser` object or for the duration of a request by passing
1647 them as second argument to `visit`.
1648
88d2364 @assaf Browser now has a property called `debug` that you can set to
authored
1649 Browser now has a property called `debug` that you can set to true/false
1650 (was a function), and separately a method called `log` that logs
1651 messages when debugging is enabled.
1652
d08ff54 @assaf Added new page covering the browser API.
authored
1653 Added new page covering the browser API.
1654
be9554b @assaf You can now set browser options when initializing a new browser, on
authored
1655 194 Tests
1656 2.5 sec to complete
18f82b3 @assaf Version bump.
authored
1657
b6c883a @assaf Fixed wrong location of package.json.
authored
1658
71ad9f8 @assaf Added magical zombie girl and PDF.
authored
1659 ### Version 0.7.7 2010-12-28
d47f086 @assaf Fix JSDOM queue and with it issue #6.
authored
1660
2d291fe @djanowski Whitespace.
djanowski authored
1661 Fix JSDOM queue and with it issue #6.
d47f086 @assaf Fix JSDOM queue and with it issue #6.
authored
1662
1663 189 Tests
1664 2.3 sec to complete
1665
1666
71ad9f8 @assaf Added magical zombie girl and PDF.
authored
1667 ### Version 0.7.6 2010-12-28
2edf72d @assaf HTML5 doesn't play nice with JSDOM, bringing back html-parser to
authored
1668
1669 HTML5 doesn't play nice with JSDOM, bringing back html-parser to handle
1670 innerHTML (full document parsing still handled by HTML5).
f4800b4 @assaf Previous fix for document.write was incomplete, this one works
authored
1671
92ab434 @assaf Added documentation page for CSS selectors.
authored
1672 Added documentation page for CSS selectors.
2d291fe @djanowski Whitespace.
djanowski authored
1673
92ab434 @assaf Added documentation page for CSS selectors.
authored
1674 Man pages now moved to section 7.
2d291fe @djanowski Whitespace.
djanowski authored
1675
92ab434 @assaf Added documentation page for CSS selectors.
authored
1676 Added zombie.version.
1677
2edf72d @assaf HTML5 doesn't play nice with JSDOM, bringing back html-parser to
authored
1678 189 Tests
1679 2.3 sec to complete
92ab434 @assaf Added documentation page for CSS selectors.
authored
1680
1681
71ad9f8 @assaf Added magical zombie girl and PDF.
authored
1682 ### Version 0.7.5 2010-12-28
92ab434 @assaf Added documentation page for CSS selectors.
authored
1683
f4800b4 @assaf Previous fix for document.write was incomplete, this one works
authored
1684 Previous fix for document.write was incomplete, this one works better.
1685
1686 189 Tests
1687 2.5 sec to complete
1688