Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodejs/node
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e1b90be3b7c687fcf263db72862b6a199d239f89
Choose a base ref
...
head repository: nodejs/node
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 365ddb35036e7e140f5f07962c47bf1fd5f040b7
Choose a head ref
  • 2 commits
  • 12 files changed
  • 1 contributor

Commits on May 13, 2020

  1. test: update WPT interfaces and hr-time

    This commit updates the interfaces to
    https://github.com/web-platform-tests/wpt/tree/8ada332aea/interfaces
    and updates the hr-time test status:
    
    - `window-worker-timeOrigin.window.js` should be skipped because we
      don't implement `Blob`
    - `idlharness.any.js` should be skipped since the IDL parser needs
      to be updated, but the parser update would also result in
      an update of the test harness which in turn requires updates of
      other tests. We need to fix the URL implementation first,
      and then update the harness and all the tests.
    
    PR-URL: #33297
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    joyeecheung committed May 13, 2020
    Configuration menu
    Copy the full SHA
    d28198b View commit details
    Browse the repository at this point in the history
  2. test: refactor WPTRunner

    - Print test results as soon as they are available, instead of
      until after all the tests are complete. This helps us printing
      tests whose completion callback is not called because of
      failures.
    - Run the scripts specified by `// META: script=` one by one
      instead of concatenating them first for better error stack
      traces.
    - Print a status summary when the test process is about to exit.
      This can be used as reference for updating the status file.
    
    For example the stderr output of
    `out/Release/node test/wpt/test-console.js` would be:
    
    ```
    {
      'idlharness.any.js': {
        fail: {
          expected: [
            'assert_equals: operation has wrong .length expected 1 but got 0'
          ]
        }
      }
    }
    Ran 4/4 tests, 0 skipped, 3 passed, 1 expected failures, 0 unexpected failures
    ```
    
    PR-URL: #33297
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    joyeecheung committed May 13, 2020
    Configuration menu
    Copy the full SHA
    365ddb3 View commit details
    Browse the repository at this point in the history
Loading