* 仕様書

[REFS[
- [1] [CITE[Web IDL (Second Edition)]] ([TIME[2014-10-06 23:54:33 +09:00]] 版) <https://heycam.github.io/webidl/#dfn-string-type>
]REFS]

* 定義

[2] [RUBYB[[[文字列型]]]@en[string type]]は、次の[[型]]です [SRC[>>1]]。
[FIG(short list)[
- [CODE(IDL)@en[[[DOMString]]]]
- [[列挙型]]
- [CODE(IDL)@en[[[ByteString]]]]
- [CODE(IDL)@en[[[USVString]]]]
]FIG]

[5] [[生成規則]] [DFN[[CODE[StringType]]]] は、このうち[[列挙型]]を除く3つです。

* 歴史

[4] >>3 で導入されました。

[REFS[
- [3] [CITE@en[Add USVString and allow string literals in IDL to be used to give values... · 672e73d · heycam/webidl]] ([TIME[2014-10-10 07:32:20 +09:00]] 版) <https://github.com/heycam/webidl/commit/672e73d476d8c4341339cc22592bb5ff01c69823>
]REFS]


[6] [CITE@en[Add records (open dictionaries). (#180)]]
([[jyasskin]]著, [TIME[2016-10-18 00:38:35 +09:00]])
<https://github.com/heycam/webidl/commit/1814384f4cb24c3699e0b8dedcedfb5cb815e091>