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

@ -519201,7 +519201,7 @@
[]
],
"testharnessreport-servo.js": [
"d6616739e6ed63a79e8b2f5d8aee1d5b2ced7f49",
"4439393a18125b7232ed4cd5a311faa8664e2edb",
[]
],
"testharnessreport-wktr.js": [