USVString
corresponds to the set of all possible sequences of unicode scalar values.
USVString
maps to a
字符串
when returned in JavaScript; it's generally only used for APIs that perform text processing and need a string of unicode scalar values to operate on.
USVString
相当于
DOMString
except for not allowing unpaired surrogate codepoints. Unpaired surrogate codepoints present in
USVString
are converted by the browser to Unicode 'replacement character'
U+FFFD
, (�).
| 规范 | 状态 | 注释 |
|---|---|---|
|
Web IDL
The definition of 'USVString' in that specification. |
候选推荐 | 初始定义。 |
USVString
AbortController
AbortSignal
Attr
ByteString
CDATASection
CSSPrimitiveValue
CSSValue
CSSValueList
CharacterData
ChildNode
注释
CustomEvent
DOMConfiguration
DOMError
DOMErrorHandler
DOMException
DOMImplementation
DOMImplementationList
DOMImplementationRegistry
DOMImplementationSource
DOMLocator
DOMObject
DOMParser
DOMPoint
DOMPointInit
DOMPointReadOnly
DOMRect
DOMString
DOMTimeStamp
DOMTokenList
DOMUserData
Document
DocumentFragment
DocumentType
元素
ElementTraversal
Entity
EntityReference
事件
EventTarget
HTMLCollection
MutationObserver
节点
NodeFilter
NodeIterator
NodeList
NonDocumentTypeChildNode
ProcessingInstruction
PromiseResolver
范围
文本
TextDecoder
TextEncoder
TimeRanges
TreeWalker
TypeInfo
UserDataHandler
XMLDocument