Reword assert message (#34506)

* reword assert message

Signed-off-by: atbrakhi <atbrakhi@igalia.com>

* review fix, test-tidy

Signed-off-by: atbrakhi <atbrakhi@igalia.com>

---------

Signed-off-by: atbrakhi <atbrakhi@igalia.com>
This commit is contained in:
atbrakhi 2024-12-09 09:28:01 +01:00 committed by GitHub
parent f5fdbd70d0
commit 38927bbeb6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 4 deletions

View file

@ -10518,7 +10518,7 @@
[] []
], ],
"interfaces.js": [ "interfaces.js": [
"8e67ede99ce211fb6fe7891a103e2da9c774cc53", "e2c2de8556c7fa88f54a76a3c18e06be14722de9",
[] []
], ],
"nested_asap_script.js": [ "nested_asap_script.js": [

View file

@ -79,9 +79,7 @@ function test_interfaces(interfaceNamesInGlobalScope) {
} }
assert_true(name in interfaceMap, assert_true(name in interfaceMap,
"If this is failing: DANGER, are you sure you want to expose the new " + "If this is failing: DANGER, are you sure you want to expose the new " +
"interface " + name + " to all webpages as a property on the global? " + "interface " + name + " to all webpages as a property on the global?");
"Do not make a change to this file without review from jdm or Ms2ger " +
"for that specific change!");
if (name in interfaceMap) { if (name in interfaceMap) {
delete interfaceMap[name]; delete interfaceMap[name];
} }