Skip to content

[wpt] Allowing *.any.js tests in CSS folders. #14090

Description

@emilio

Right now if you want to add a *.any.js test to WPT (to, e.g., test TypedOM interfaces in workers) you can't, because of this lint rule:

class MissingLink(Rule):
    name = "MISSING-LINK"
    description = "Testcase file must have a link to a spec"
    to_fix = """
        Ensure that there is a `<link rel="help" href="[url]">` for the spec.
        `MISSING-LINK` is designed to ensure that the CSS build tool can find
        the tests. Note that the CSS build system is primarily used by
        [test.csswg.org/](http://test.csswg.org/), which doesn't use
        `wptserve`, so `*.any.js` and similar tests won't work there; stick
        with the `.html` equivalent.
    """

My understanding is that test.csswg.org is no longer a thing, so can we lift that restriction? To be clear I still think it's useful for html tests to have a <link rel=help> but it makes testing workers a lot harder.

Filing an issue here just in case I'm missing something?

cc @janvarga @astearns @tabatkins @fantasai

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions