universal_html
universal_html copied to clipboard
"Null check operator used on a null value" when passing empty string to querySelectorAll("")
The null check css.parseSelectorGroup(input)!
in querySelectorAll<T extends Element>(String input)
in node.dart
throws an exception if you pass an empty string as input.
Same issue occurs with querySelector
, as that also calls querySelectorAll
.
Expected result would be returning an empty list.