Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update readme and populate changelog

  • Loading branch information...
commit ce82b4953a29bf7717107b176774aa0a35bf6fc1 1 parent deaedc1
@tmpvar tmpvar authored
Showing with 82 additions and 12 deletions.
  1. +28 −12 README.md
  2. +54 −0 changelog
View
40 README.md
@@ -230,28 +230,44 @@ This feature is backed by [sizzle][] but currently causes problems with some lib
console.log(window.$('.testing').text());
});
-# W3C Test Compliance:
+# Test Compliance:
- - DOM Level 1 html/svg/xml (100%)
- - DOM Level 2 html/events/core (100%)
- - DOM Level 3 core (14%)
+ level1/core 529/529 100%
+ level1/html 238/238 100%
+ level1/svg 527/527 100%
+ level2/core 283/283 100%
+ level2/html 687/687 100%
+ level2/style 3/3 100%
+ level2/extra 4/4 100%
+ level3/xpath 93/93 100%
+ window 2/2 100%
+ sizzle/index 12/15 80%
+ jsdom/index 44/44 100%
+ -------------------------------------
+ TOTALS: 3/2425 failed; 99% success
+ TIME: 9373ms
-see: [testlog][] for w3/jsdom test compliance
-# More
+## Running the tests
-see: [mailing list][]
+First you'll want to `npm install -g nodeunit` then `npm install --dev`
+Using `test/runner` you can slice and dice which tests your want to run from different levels. Usage is as follows:
+ test/runner --help
+ Run the jsdom test suite
-see: [plan][] for roadmap and thoughts about this project
+ Options:
+ -s, --suites suites that you want to run. ie: -s level1/core,1/html,html [string]
+ -f, --fail-fast stop on the first failed test
+ -h, --help show the help
+ -t, --tests choose the test cases to run. ie: -t jquery
+# More
+
+see: [mailing list][]
see: [project site][] for additional information
[mailing list]: http://groups.google.com/group/jsdom
[project site]: http://www.jsdom.org
- [mjsunit.runner]: http://github.com/tmpvar/mjsunit.runner
- [testlog]: http://github.com/tmpvar/jsdom/blob/master/test/testlog.txt
- [plan]: http://github.com/tmpvar/jsdom/blob/master/PLAN.json
-[mjsunit.runner]: http://github.com/tmpvar/mjsunit.runner
View
54 changelog
@@ -0,0 +1,54 @@
+0.2.1
+
+ * Javascript execution fixes [#248, #163, #179]
+ * XPath (Yonathan and Daniel Cassidy)
+ * Start of cssom integration (Yonathan)
+ * Conversion of tests to nodeunit! (Martin Davis)
+ * Added sizzle tests, only failing 3/15
+ * Set the title node's textContent rather than its innerHTML [#242]. (Andreas Lind Petersen)
+ * The textContent getter now walks the DOM and extract the text properly. (Andreas Lind Petersen)
+ * Empty scripts won't cause jsdom.env to hang [#172] (Karuna Sagar)
+ * Every document has either a body or a frameset [#82]. (Karuna Sagar)
+ * Added the ability to grab a level by string + feature. ie: jsdom.level(2, 'html') (Aria Stewart)
+ * Cleaned up htmlencoding and fixed character (de)entification [#147, #177] (Andreas Lind Petersen)
+ * htmlencoding.HTMLDecode: Fixed decoding of `<`, `>`, `&`, and `'`. Closes #147 and #177. ()
+ * Require dom level as a string or object. (Aria Stewart)
+ * JS errors ar triggered on the script element, not document. (Yonathan)
+ * Added configuration property 'headers' for HTTP request headers. (antonj)
+ * Attr.specified is readonly - Karuna Sagar
+ * Removed return value from setAttributeNS() [#207] (Karuna Sagar)
+ * Pass the correct script filename to runInContext. (robin)
+ * Add http referrer support for the download() function. (Robin)
+ * First attempt at fixing the horrible memory leak via window.stopTimers() (d-ash)
+ * Use vm instead of evals binding (d-ash)
+ * Add a way to set the encoding of the jsdom.env html request.
+ * Fixed various typos/lint problems (d-ash)
+ * The first parameter download is now the object returned by URL.parse(). (Robin)
+ * Fixed serialization of elements with a style attribute.
+ * Added src config option to jsdom.env() (Jerry Sievert)
+ * Removed dead code from getNamedItemNS() (Karuna Sagar)
+ * Changes to language/javascript so jsdom would work on v0.5.0-pre (Gord Tanner)
+ * Correct spelling of "Hierarchy request error" (Daniel Cassidy)
+ * Node and Exception type constants are available in all levels. (Daniel Cassidy)
+ * Use \n instead of \r\n during serialization
+ * Fixed auto-insertion of body/html tags (Adrian Makowski)
+ * Adopt unowned nodes when added to the tree. (Aria Stewart)
+ * Fix the selected and defaultSelected fields of `option` element. - Yonathan
+ * Fix: EventTarget.getListeners() now returns a shallow copy so that listeners can be safely removed while an event is being dispatched. (Felix Gnass)
+ * Added removeEventListener() to DOMWindow (Felix Gnass)
+ * Added the ability to pre-load scripts for jsdom.env() (Jerry Sievert)
+ * Mutation event tests/fixes (Felix Gnass)
+ * Changed HTML serialization code to (optionally) pretty print while traversing the tree instead of doing a regexp-based postprocessing. (Andreas Lind Petersen)
+ * Relative and absolute urls now work as expected
+ * setNamedItem no longer sets Node.parentNode [#153] (Karuna Sagar)
+ * Added missing semicolon after entity name - Felix Gnass
+ * Added NodeList#indexOf implementation/tests (Karuna Sagar)
+ * resourceLoader.download now works correctly with https and redirects (waslogic)
+ * Scheme-less URLs default to the current protocol [#87] (Alexander Flatter)
+ * Simplification the prevSibling(), appendChild(), insertBefore() and replaceChild() code (Karuna Sagar)
+ * Javascript errors use core.Node.trigger (Alexander Flatter)
+ * Add core.Document.trigger in level1/core and level2/events; Make DOMWindow.console use it (Alexander Flatter)
+ * Resource resolver fixes (Alexander Flatter)
+ * Fix serialization of doctypes with new lines [#148] (Karuna Sagar)
+ * Child nodes are calculated immediately instead of after .length is called [#169, #171, #176] (Karuna Sagar)
+
Please sign in to comment.
Something went wrong with that request. Please try again.