Skip to content

docs: Need more guidance on when to use substitutions vs get_host_info() #36092

Open
@rakuco

Description

#36088 got me curious about the topic, and I couldn't find much in the documentation.

Namely, https://web-platform-tests.org/writing-tests/server-pipes.html and https://web-platform-tests.org/writing-tests/server-features.html talk about the {{expansions}} we do, and https://web-platform-tests.org/writing-tests/testharness-tutorial.html#writing-a-second-subtest mentions get_host_info().

I can't seem to find any guidelines about which to choose and when though. Is get_host_info() used mostly to get tests to run in WebKit's infrastructure (given #3544 for example)? Should more tests be using it in this case? Can someone with more knowledge document the properties that get_host_info() returns?

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions