Permalink
Commits on Mar 27, 2016
  1. Add correct click behaviors for inputs

    jeffcarp authored and domenic committed Mar 27, 2016
    This PR fixes #1079, where change and input events were not being fired for inputs. It replaces _eventDefaults with more granular actions to meet the requirements of the spec: _preClickActivationSteps, _activationBehavior, and _canceledActivationSteps.
    
    It also partially fixes input.disabled behavior for inputs, implements the cancelation behavior for click events on inputs, and implements the "click in progress" flag.
Commits on Sep 29, 2015
  1. Swap lib/base64.js out for abab module

    jeffcarp committed Sep 29, 2015
Commits on Aug 30, 2015
  1. Add window.atob and window.btoa

    jeffcarp authored and domenic committed Aug 21, 2015
    Fixes #1184.
Commits on Aug 21, 2015
  1. Swap out URLs for external resource test, fixes #1210

    jeffcarp committed Aug 21, 2015
Commits on Jul 14, 2015
  1. Typo fix in postMessage test

    jeffcarp committed Jul 14, 2015
Commits on Jul 4, 2015
  1. Return instance from virtualConsole.sendTo

    jeffcarp committed Jul 4, 2015
    So that you can write:
    let virtualConsole = jsdom.createVirtualConsole().sendTo(console);
Commits on Jun 26, 2015
  1. Add postMessage support

    jeffcarp authored and domenic committed May 10, 2015
    Allows communication between parent windows, iframes, and combinations thereof. Includes the new MessageEvent event class. Missing a few semantics, especially around origins, as well as MessageEvent source. Objects are not yet structured cloned, but instead passed by reference.
    
    Also proxies any virtual console output from iframes to the parent virtual console.
    
    Requires the addition of the setImmediate polyfill for web workers
Commits on May 10, 2015
  1. Add virtualConsole to jsdom.env options

    jeffcarp authored and domenic committed May 9, 2015
  2. Add back getVirtualConsole to README

    jeffcarp authored and domenic committed May 9, 2015
Commits on Apr 29, 2015
  1. Add createVirtualConsole and virtualConsole option

    jeffcarp authored and domenic committed Apr 25, 2015
    Closes #1049. Now you can create a virtual console ahead of time and pass it in when creating a jsdom document, thus allowing you to catch any logs or errors during the startup process.
Commits on Apr 16, 2015
  1. Add support for document.currentScript

    jeffcarp authored and domenic committed Apr 15, 2015
    Fixes #1084.
Commits on Jan 17, 2015
  1. Remove window.document.errors functionality

    jeffcarp authored and domenic committed Jan 6, 2015
  2. Add virtual console

    jeffcarp authored and domenic committed Dec 9, 2014
    - jsdom.getVirtualConsole, for fetching an internal console emitter
    - virtualConsole.sendTo, for forwarding internal output to any console
Commits on Dec 14, 2014
  1. Add missing window.console methods

    jeffcarp authored and domenic committed Dec 10, 2014
  2. Clarify console.error test description

    jeffcarp authored and domenic committed Dec 10, 2014
Commits on Nov 17, 2014
  1. Add toString to core.HTMLDocument.prototype, fixes #935

    jeffcarp authored and domenic committed Nov 11, 2014
  2. Add support for passing arrays to querySelectorAll

    jeffcarp committed Nov 17, 2014
Commits on Nov 14, 2014