initial commit
[JIRC.git] / node_modules / jsdom / changelog
1 0.2.15
2 * Land: Fix: make sure that doctypes don't get set as the documentElement (Aria Stewart)
3 * Land: Add: HTTP proxy support for jsdom.env (Eugene Ware)
4 * Land: Add: .hostname and .pathname properties to Anchor elements to comply with WHATWG standard (Avi Deitcher)
5 * Land: Fix: Only decode HTML entities in text when not inside a <script> or <style> tag. (Andreas Lind Petersen)
6 * Land: Fix: HTMLSelectElement single selection implemented its type incorrectly as 'select' instead of 'select-one' (John Roberts)
7
8 0.2.14
9 * Fix: when serializing single tags use ' />' instead of '/>' (kapouer)
10 * Fix: support for contextify simulation using vm.runInContext (trodrigues)
11 * Fix: allow jsdom.env's config.html to handle file paths which contain spaces (shinuza)
12 * Fix: Isolate QuerySelector from prototype (Nao Iizuka)
13 * Add: setting textContent to '' or clears children (Jason Davies)
14 * Fix: jsdom.env swallows exceptions that occur in the callback (Xavi)
15
16 0.2.13
17 * Fix: remove unused style property which was causing explosions in 0.2.12 and node 0.4.7
18
19 0.2.12
20 * Fix: do not include gmon.out/v8.log/tests in npm distribution
21
22 0.2.11
23 * Add: allow non-unique element ids (Avi Deitcher)
24 * Fix: make contexify an optional dependency (Isaac Schlueter)
25 * Add: scripts injected by jsdom are now marked with a 'jsdom' class for serialization's sake (Peter Lyons)
26 * Fix: definition for ldquo entity (Andrew Morton)
27 * Fix: access NamedNodeMap items via property (Brian McDaniel)
28 * Add: upgrade sizzle from 1.0 to (https://github.com/jquery/sizzle/commit/fe2f618106bb76857b229113d6d11653707d0b22) which is roughly 1.5.1
29 * Add: documentation now includes `jsdom.level(x, 'feature')`
30 * Fix: make toArray and item on NodeList objects non-enumerable properties
31 * Add: a reference to `window.close` in the readme
32 * Fix: Major performance boost (Felix Gnass)
33 * Fix: Using querySelector :not() throws a ReferenceError (Felix Gnass)
34
35 0.2.10
36 * Fix: problems with lax dependency versions
37 * Fix: CSSOM constructors are hung off of the dom (Brian McDaniel)
38 * Fix: move away from deprecated 'sys' module
39 * Fix: attribute event handlers on bubbling path aren't called (Brian McDaniel)
40 * Fix: setting textarea.value to markup should not be parsed (Andreas Lind Petersen)
41 * Fix: content of script tags should not be escaped (Ken Sternberg)
42 * Fix: DocumentFeatures for iframes with no src attribute. (Brian McDaniel) Closes #355
43 * Fix: 'trigger' to 'raise' to be a bit more descriptive
44 * Fix: When `ProcessExternalResources['script']` is disabled, do _not_ run inline event handlers. #355
45 * Add: verbose flag to test runner (to show tests as they are running and finishing)
46
47 0.2.9
48 * Fix: ensure features are properly reset after a jsdom.env invocation. Closes #239
49 * Fix: ReferenceError in the scanForImportRules helper function
50 * Fix: bug in appendHtmlToElement with HTML5 parser (Brian McDaniel)
51 * Add: jsonp support (lheiskan)
52 * Fix: for setting script element's text property (Brian McDaniel)
53 * Fix: for jsdom.env src bug
54 * Add: test for jsdom.env src bug (multiple done calls)
55 * Fix: NodeList properties should enumerate like arrays (Felix Gnass)
56 * Fix: when downloading a file, include the url.search in file path
57 * Add: test for making a jsonp request with jquery from jsdom window
58 * Add: test case for issue #338
59 * Fix: double load behavior when mixing jsdom.env's `scripts` and `src` properties (cjroebuck)
60
61 0.2.8 (hotfix)
62 * Fix: inline event handlers are ignored by everything except for the javascript context
63
64 0.2.7 (hotfix)
65 * Fix stylesheet loading
66
67 0.2.6
68 * Add: support for window.location.search and document.cookie (Derek Lindahl)
69 * Add: jsdom.env now has a document configuation option which allows users to change the referer of the document (Derek Lindahl)
70 * Fix: allow users to use different jsdom levels in the same process (sinegar)
71 * Fix: removeAttributeNS no longer has a return value (Jason Davies)
72 * Add: support for encoding/decoding all html entities from html4/5 (papandreou)
73 * Add: jsdom.env() accepts the same features object seen in jsdom.jsdom and friends
74
75 0.2.5
76 * Fix: serialize special characters in Element.innerHTML/Element.attributes like a grade A browser (Jason Priestley)
77 * Fix: ensure Element.getElementById only returns elements that are attached to the document
78 * Fix: ensure an Element's id is updated when changing the nodeValue of the 'id' attribute (Felix Gnass)
79 * Add: stacktrace to error reporter (Josh Marshall)
80 * Fix: events now bubble up to the window (Jason Davies)
81 * Add: initial window.location.hash support (Josh Marshall)
82 * Add: Node#insertBefore should do nothing when both params are the same node (Jason Davies)
83 * Add: fixes for DOMAttrModified mutation events (Felix Gnass)
84
85 0.2.4
86 * Fix: adding script to invalid/incomplete dom (document.documentElement) now catches the error and passes it in the `.env` callback (Gregory Tomlinson)
87 * Cleanup: trigger and html tests
88 * Add: support for inline event handlers (ie: <div onclick='some.horrible.string()'>) (Brian McDaniel)
89 * Fix: script loading over https (Brian McDaniel) #280
90 * Add: using style.setProperty updates the style attribute (Jimmy Mabey).
91 * Add: invalid markup is reported as an error and attached to the associated element and document
92 * Fix: crash when setChild() failes to create new DOM element (John Hurliman)
93 * Added test for issue #287.
94 * Added support for inline event handlers.
95 * Moved frame tests to test/window/frame.js and cleaned up formatting.
96 * Moved script execution tests to test/window/script.js.
97 * Fix a crash when setChild() fails to create a new DOM element
98 * Override CSSOM to update style attribute
99
100 0.2.3
101 * Fix: segfault due to window being garbage collected prematurely
102 NOTE: you must manually close the window to free memory (window.close())
103
104 0.2.2
105 * Switch to Contextify to manage the window's script execution.
106 * Fix: allow nodelists to have a length of 0 and toArray to return an empty array
107 * Fix: style serialization; issues #230 and #259
108 * Fix: Incomplete DOCTYPE causes JavaScript error
109 * Fix: indentation, removed outdated debug code and trailing whitespace.
110 * Prevent JavaScript error when parsing incomplete <!DOCTYPE>. Closes #259.
111 * Adding a test from brianmcd that ensures that setTimeout callbacks execute in the context of the window
112 * Fixes issue 250: make document.parentWindow===window work
113 * Added test to ensure that timer callbacks execute in the window context.
114 * Fixes 2 issues in ResourceQueue
115 * Make frame/iframe load/process scripts if the parent has the features enabled
116
117 0.2.1
118 * Javascript execution fixes [#248, #163, #179]
119 * XPath (Yonathan and Daniel Cassidy)
120 * Start of cssom integration (Yonathan)
121 * Conversion of tests to nodeunit! (Martin Davis)
122 * Added sizzle tests, only failing 3/15
123 * Set the title node's textContent rather than its innerHTML [#242]. (Andreas Lind Petersen)
124 * The textContent getter now walks the DOM and extract the text properly. (Andreas Lind Petersen)
125 * Empty scripts won't cause jsdom.env to hang [#172] (Karuna Sagar)
126 * Every document has either a body or a frameset [#82]. (Karuna Sagar)
127 * Added the ability to grab a level by string + feature. ie: jsdom.level(2, 'html') (Aria Stewart)
128 * Cleaned up htmlencoding and fixed character (de)entification [#147, #177] (Andreas Lind Petersen)
129 * htmlencoding.HTMLDecode: Fixed decoding of `&lt;`, `&gt;`, `&amp;`, and `&apos;`. Closes #147 and #177. ()
130 * Require dom level as a string or object. (Aria Stewart)
131 * JS errors ar triggered on the script element, not document. (Yonathan)
132 * Added configuration property 'headers' for HTTP request headers. (antonj)
133 * Attr.specified is readonly - Karuna Sagar
134 * Removed return value from setAttributeNS() [#207] (Karuna Sagar)
135 * Pass the correct script filename to runInContext. (robin)
136 * Add http referrer support for the download() function. (Robin)
137 * First attempt at fixing the horrible memory leak via window.stopTimers() (d-ash)
138 * Use vm instead of evals binding (d-ash)
139 * Add a way to set the encoding of the jsdom.env html request.
140 * Fixed various typos/lint problems (d-ash)
141 * The first parameter download is now the object returned by URL.parse(). (Robin)
142 * Fixed serialization of elements with a style attribute.
143 * Added src config option to jsdom.env() (Jerry Sievert)
144 * Removed dead code from getNamedItemNS() (Karuna Sagar)
145 * Changes to language/javascript so jsdom would work on v0.5.0-pre (Gord Tanner)
146 * Correct spelling of "Hierarchy request error" (Daniel Cassidy)
147 * Node and Exception type constants are available in all levels. (Daniel Cassidy)
148 * Use \n instead of \r\n during serialization
149 * Fixed auto-insertion of body/html tags (Adrian Makowski)
150 * Adopt unowned nodes when added to the tree. (Aria Stewart)
151 * Fix the selected and defaultSelected fields of `option` element. - Yonathan
152 * Fix: EventTarget.getListeners() now returns a shallow copy so that listeners can be safely removed while an event is being dispatched. (Felix Gnass)
153 * Added removeEventListener() to DOMWindow (Felix Gnass)
154 * Added the ability to pre-load scripts for jsdom.env() (Jerry Sievert)
155 * Mutation event tests/fixes (Felix Gnass)
156 * Changed HTML serialization code to (optionally) pretty print while traversing the tree instead of doing a regexp-based postprocessing. (Andreas Lind Petersen)
157 * Relative and absolute urls now work as expected
158 * setNamedItem no longer sets Node.parentNode [#153] (Karuna Sagar)
159 * Added missing semicolon after entity name - Felix Gnass
160 * Added NodeList#indexOf implementation/tests (Karuna Sagar)
161 * resourceLoader.download now works correctly with https and redirects (waslogic)
162 * Scheme-less URLs default to the current protocol [#87] (Alexander Flatter)
163 * Simplification the prevSibling(), appendChild(), insertBefore() and replaceChild() code (Karuna Sagar)
164 * Javascript errors use core.Node.trigger (Alexander Flatter)
165 * Add core.Document.trigger in level1/core and level2/events; Make DOMWindow.console use it (Alexander Flatter)
166 * Resource resolver fixes (Alexander Flatter)
167 * Fix serialization of doctypes with new lines [#148] (Karuna Sagar)
168 * Child nodes are calculated immediately instead of after .length is called [#169, #171, #176] (Karuna Sagar)
169