This throws Uncaught DOMException: '.abc-!-def' is not a valid selector, but it works just fine with the query selector API provided by my browser (Chrome).
If I change the selector to just .abc-\\!-def, then the selector works as expected and I do not get a syntax error.
I'm trying to use a selector with an escaped special character
\\!
in it.Minimal example that breaks in nwsapi 2.2.7:
This throws
Uncaught DOMException: '.abc-!-def' is not a valid selector
, but it works just fine with the query selector API provided by my browser (Chrome).If I change the selector to just
.abc-\\!-def
, then the selector works as expected and I do not get a syntax error.