Fix testharnessreport-servo.js to stop polluting with global variables (#37817)

For example, if a test uses `let props = ...` then this was triggering
an exception because testharnessreport-servo.js already created a global
variable named `props`.

Testing: some wpt tests no longer result in ERROR

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2025-07-02 02:04:43 +02:00 committed by GitHub
parent 1c46e39d7a
commit 83213ac16b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 1382 additions and 37 deletions

View file

@ -1,2 +1,9 @@
[resets.html]
expected: ERROR
[<input type="file"> - text-align]
expected: FAIL
[<marquee> - text-align]
expected: FAIL
[<marquee> - overflow]
expected: FAIL