Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: improve the WPT runner and rename test files #24826

Closed
wants to merge 3 commits into from

Commits on Dec 4, 2018

  1. test: remove reference to whatwg in file names under test/wpt

    WPT covers standards in both W3C and WHATWG, as such it would be
    strange to make this disparity explicit in our file names
    (e.g. when testing standards that are solely in W3C, like
    performance-timeline). Remove the reference to WHATWG will
    also make the file names shorter.
    joyeecheung committed Dec 4, 2018
    Configuration menu
    Copy the full SHA
    9056afd View commit details
    Browse the repository at this point in the history
  2. test: improve WPT runner name matching

    This patch:
    
    - Support wildcards(*) in WPT runner name matching (needed by e.g.
      encoding where all the tests requires i18n support in the build)
    - Print failure reasons when encountering an expected failure
    - Fix a bug in copyGlobalsFromObject (previously it copies
      properties from `global` instead of the given `obj`)
    
    Previously an expected failure is printed as
    
    ```
    [EXPECTED_FAILURE] response.formData() with input: %61+%4d%4D=
    ```
    
    Now it is printed as
    
    ```
    [EXPECTED_FAILURE] response.formData() with input: %61+%4d%4D=
    missing Request and Response
    ```
    joyeecheung committed Dec 4, 2018
    Configuration menu
    Copy the full SHA
    b7d41c1 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2018

  1. Configuration menu
    Copy the full SHA
    8671556 View commit details
    Browse the repository at this point in the history