Commits on Oct 18, 2017
  1. Remove duplicate NavigatorCookies

    drewish committed with Sebmaster Oct 18, 2017
    Was seeing this error:
    % node ./scripts/webidl/convert
    WebIDLParseError {
      message: 'The name "NavigatorCookies" of type "interface" is already seen',
      line: 44,
      input: ' {\n  readonly ',
       [ { type: 'whitespace', value: ' ' },
         { type: 'other', value: '{' },
         { type: 'whitespace', value: '\n  ' },
         { type: 'identifier', value: 'readonly' },
         { type: 'whitespace', value: ' ' } ] }
Commits on Oct 2, 2017
  1. Switch from npm to Yarn

    Zirro committed with domenic Oct 2, 2017
    The proximate cause is npm/npm#17722, although perhaps we'll find more benefits.
  2. Fix browser testing

    TimothyGu committed with domenic Sep 30, 2017
    Fixes #1998.
Commits on Sep 30, 2017
  1. Version 11.3.0

    domenic committed Sep 30, 2017
  2. Overhaul how we run web-platform-tests

    domenic committed Sep 30, 2017
    * Introduces a new way of choosing which WPTs to run, the to-run.yaml file, which opts in to directories then opts out specific files or globs as failing. This replaces the old index.js file, whose format was a giant opt-in array with lots of commented-out entries.
    * Unifies running normal WPTs and to-upstream ones. Now both use the same infrastructure (consolidated into run-single-wpt.js, from run-web-platform-test.js and create-jsdom.js), including using the "wpt serve" server.
    * Relatedly, to-upstream WPTs now use a generated manifest, in the same way as the normal ones. This allows us to avoid having to list them individually as we add them.
    Takes care of most of #1958.
  3. Update ESLint rules and pass all of them

    domenic committed Sep 30, 2017
    This is done via a new script, npm run lint-is-complete, which finds any unset rules.
    The majority of changes are driven by preferring destructuring and spacing changes.
  4. Update dependencies and dev dependencies

    domenic committed Sep 30, 2017
    Notably Chai seems to have changed assert.throws() behavior, so make sure we use assert.throwsDomException() instead.
  5. Make FocusEventImpl extend UIEventImpl

    TimothyGu committed with domenic Sep 16, 2017
    Fixes #1959.
  6. Check Window type in UIEvent

    TimothyGu committed with domenic Sep 18, 2017
  7. Make Window's impl's wrapper point to global proxy

    TimothyGu committed with domenic Sep 17, 2017
    This makes idlUtils.wrapperForImpl/implForWrapper() round trip in a JSDOM.
  8. Upgrade to webidl2js v8.0.0

    domenic committed Sep 30, 2017
    - Renames *.idl to *.webidl
    - Fixes a bug in HTMLOptionsCollection's IDL where it both inherited from and implemented HTMLCollection.
    - Updates uses of idlUtils.mixin to use a new copy of that function in jsdom's utils.js. While doing this update, fixed various require() statements to use destructuring more.
    - Enables a few formerly-disabled web platform tests.
  9. Convert DOMTokenList to IDL

    TimothyGu committed with domenic Aug 21, 2017
    See #1129.
  10. Update <td> and <th> according to spec

    TimothyGu committed with domenic Aug 21, 2017
    - Remove obsoleted HTMLTableHeaderCellElement.sorted attribute
    - Remove HTMLTableDataCellElement and HTMLTableHeaderCellElement; use
      HTMLTableCellElement for both elements
    - Make HTMLTableCellElement.headers a DOMString
    - Implement HTMLTableCellElement.scope according to spec
    - Check for the HTML namespace in traversal helpers' `closest()`
Commits on Sep 26, 2017
  1. Speed up sync XHR

    Zirro committed with Sebmaster Sep 26, 2017
    JSON.parse with a reviver is slowing sync XHR down quite a bit.
    Moving the reviver code after the parse speeds up the test suite by up to 4 minutes.
Commits on Sep 25, 2017
  1. Update tough-cookie in package.json

    karlnorling committed with domenic Sep 25, 2017
    See:; salesforce/tough-cookie#97; salesforce/tough-cookie#92. (A large cookie could cause a slowdown.)
    This is not really necessary since fresh installs or installs using package-lock.json already get the 2.3.3 version, but we might as well.
Commits on Sep 24, 2017
  1. Remove unused devDependencies from package.json

    Zirro committed with domenic Sep 24, 2017
    These were used prior to 798b81f, but that commit forgot to remove them.
  2. Implement the details, picture and marquee elements

    Zirro committed with domenic Sep 24, 2017
    The marquee element is mostly a stub, and the actual picture selection logic is not implemented either. But this at least gives them all the right element interface, and for details is a full implementation.
  3. Use correct interfaces for many elements

    Zirro committed with domenic Sep 24, 2017
    This pull requests assigns the HTMLElement interface to acronym, basefont, big, center, nobr, noembed, noframes, noscript, plaintext, rb, rtc, strike, sub, summary, sup, and tt, as well as the HTMLPreElement interface to listing and xmp.
    It also simplifies the code used to initialize the elements, moving the list of HTMLElement tags to register-elements.js.
Commits on Sep 10, 2017
Commits on Sep 9, 2017
  1. Properly track inline event listeners

    Sebmaster committed Sep 4, 2017
    We set the raw event body to null if compiling the source fails,
    which previously led to us re-appending when we set another inline
    attribute. By tracking appended handlers separately this now works
    Fixes #1948.
Commits on Sep 8, 2017
  1. Use domexception module

    Sebmaster committed with domenic Sep 8, 2017
    Fixes #1939.
Commits on Sep 3, 2017
  1. Fix deleteRow issue and enable test

    Sebmaster committed Sep 3, 2017
    deleteRow(-1) didn't work on an empty table.
  2. Add missing insertRow test

    Sebmaster committed Sep 3, 2017