This is a testharness.js-based test.
Harness Error. harness_status.status = 1 , harness_status.message = 1 duplicate test name: "whenDefined() called with invalid name bad-Íž should throw "SyntaxError"DOMException"
Harness: the test ran to completion.