fix(wpt): improve harness compatibility - #1787
Conversation
90bcb27 to
767643e
Compare
|
@nabetti1720 this is a bit out of scope for this PR but the hole point of wpt-errors is to keep track of what's supported and whats not. Now that we discard unsupported behaviour via filters in wpt-harness we no longer see that. I suggest we remove the filter and just maintain the |
767643e to
3737b28
Compare
I excluded that test, deeming it meaningless in a server-side runtime environment. However, there is value in keeping it as an error precisely to make that point clear. The remaining fix concerns the harness mismatch. Resolving this cleared up the strange errors and revealed new errors specific to the test cases themselves. |
Issue # (if available)
n/a
Description of changes
Improve WPT harness compatibility with LLRT's server-side runtime.
self,console, andDOMExceptionglobals.self.locationand relative URL resolution in Fetch tests.Checklist
tests/unitand/or in Rust for my feature if neededmake fixto format JS and apply Clippy auto fixesmake checktypes/directoryBy submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.