Why value cannot be sent as free text (the query q), or undefined when it can. Refused,
before any request, as the register would match everything or nothing:
a value that is blank once trimmed, or that holds only invisible characters and combining
marks (isBlank): the register reads it as no query and answers with the whole register;
a lone surrogate (half of a character, sent as U+FFFD);
a control character (but TAB, LF and CR) or a format character (a zero-width space, a soft
hyphen, a bidi control; ZWNJ and ZWJ are allowed): pasted along, it makes the search find
nothing, which looks like a real answer.
The reason quotes the value with every invisible character escaped (quoteValue).
Why
valuecannot be sent as free text (the queryq), or undefined when it can. Refused, before any request, as the register would match everything or nothing:isBlank): the register reads it as no query and answers with the whole register;quoteValue).