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,6 @@
[search-styles-iso-8859-8.html]
expected: ERROR
[Verify document.characterSet is ISO-8859-8]
expected: FAIL
[<search> - display]
expected: FAIL

View file

@ -1,2 +1,3 @@
[search-styles.html]
expected: ERROR
[<search> - display]
expected: FAIL