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 or a clearer exception.
The null check
css.parseSelectorGroup(input)!
inquerySelectorAll<T extends Element>(String input)
innode.dart
throws an exception if you pass an empty string as input.Same issue occurs with
querySelector
, as that also callsquerySelectorAll
.Expected result would be returning an empty list or a clearer exception.