dotland icon indicating copy to clipboard operation
dotland copied to clipboard

tools/wpt.ts -h links to page that 404s

Open bnoordhuis opened this issue 3 years ago • 7 comments

$ deno run -A --no-check tools/wpt.ts -h
Possible commands:

    setup
      Validate that your environment is configured correctly, or help you configure it.

    run
      Run all tests like specified in `expectation.json`.

    update
      Update the `expectation.json` to match the current reality.

More details at https://deno.land/manual@main/contributing/web_platform_tests

https://deno.land/manual@main/contributing/web_platform_tests 404s for me. https://deno.land/[email protected]/contributing/web_platform_tests works.

bnoordhuis avatar May 17 '21 08:05 bnoordhuis

As a small aside: the docs tell you to deno run wpt.ts but without --unstable, I get this:

Unstable API 'Deno.kill'. The --unstable flag must be provided.

bnoordhuis avatar May 17 '21 09:05 bnoordhuis

Mh, https://deno.land/manual@main/contributing/web_platform_tests works for me.

lucacasonato avatar May 17 '21 09:05 lucacasonato

Only when XHR to raw.githubusercontent.com is allowed, otherwise I get that 404.

bnoordhuis avatar May 17 '21 09:05 bnoordhuis

Why would it not be allowed?

lucacasonato avatar May 17 '21 09:05 lucacasonato

Because the suitably paranoid have umatrix block that.

Me allowing deno.land to run JS in my browser is already a big exception. I normally only run JS on the server, where it belongs. :-)

bnoordhuis avatar May 17 '21 09:05 bnoordhuis

We can proxy it through a little deploy script I guess.

lucacasonato avatar May 17 '21 10:05 lucacasonato

Or a different error message. A hint that a cross-origin request failed would've been enough to point me in the right direction.

bnoordhuis avatar May 17 '21 10:05 bnoordhuis

This doesnt apply anymore

crowlKats avatar Aug 25 '22 05:08 crowlKats