A value must be one of allowed, as a token: a string is checked with tokenProblem
(not blank, no invisible, control or half character, quoted visibly), then trimmed and in NFC
(normalizeToken) and looked up, so " ts-24h " is ts-24h (the caller sends
normalizeToken(value)). Case is not folded: TS-1H is refused. Checked with includes() on
the value list, never by a keyed table lookup, so inherited names such as __proto__,
toString or constructor are rejected too.
A value must be one of
allowed, as a token: a string is checked with tokenProblem (not blank, no invisible, control or half character, quoted visibly), then trimmed and in NFC (normalizeToken) and looked up, so" ts-24h "ists-24h(the caller sendsnormalizeToken(value)). Case is not folded:TS-1His refused. Checked withincludes()on the value list, never by a keyed table lookup, so inherited names such as__proto__,toStringorconstructorare rejected too.