blob: 724fa834ef34fc54c6af60e0fe41c6d5a44162f0 [file] [edit]
Tests that URLPattern.exec() does not crash when the pattern contains a named capturing group inside a parenthesized regex.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS result is non-null.
PASS result.pathname.input is "/a"
PASS result.pathname.groups.foo is "a"
PASS successfullyParsed is true
TEST COMPLETE