cloudflare / workerd

The JavaScript / Wasm runtime that powers Cloudflare Workers
https://blog.cloudflare.com/workerd-open-source-workers-runtime/
Apache License 2.0
6.24k stars 301 forks source link

Web Platform Tests #2862

Open kflansburg opened 3 weeks ago

kflansburg commented 3 weeks ago
anonrig commented 5 days ago

@npaun It seems assert_throws_js implementation is wrong. Here's the Node.js implementation: https://github.com/nodejs/node/blob/8807549ed9f6eaf6842ae56b8ac55ab385951636/test/fixtures/wpt/resources/testharness.js#L2046

anonrig commented 5 days ago

Additional issue: @npaun If a test is in expected_failures but if it doesn't fail, we should also throw an error.

npaun commented 5 days ago

Yep that's an excellent idea.