Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (18 sloc) 1.009 kB

TODO

  • Use HTML5 parser (see https://github.com/aredridel/html5)

    HTML5 parser can deal with many more documents (e.g. missing html/body elements) than html-parser, and obviously new HTML5 elements.

    Unfortunately, it adds script elements to the DOM before adding their text content; JSDOM listens to the DOMNodeInsertedIntoDocument event, which is fired on empty script element.

  • Navigation: Browser.open/close should work as a pair; look into supporting window.open; fire unload event when navigating away from page.

  • Send unload event when navigating away from page.

  • Time and timezone: within window context, new Date() should use browser clock and timezone; allow changing browser timezone and default to system's.

  • User agent: allow setting of user agent; brower sends user agent in all requests (pages, forms and XHR).

  • Prompts: handle window.confirm and window.alert.

  • Enhance DOM with find/filter/html/text methods on elements and node lists.

  • More documentation.

Jump to Line
Something went wrong with that request. Please try again.