Skip to content

Commit e8a91de

Browse files
committed
[cssom] Switch from DOMString[] to FrozenArray<DOMString>
Fixes http://www.w3.org/mid/55A7D8C4.8030709@mit.edu.
1 parent e02845d commit e8a91de

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cssom/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,7 +1159,7 @@ partial interface Document {
11591159
attribute DOMString? selectedStyleSheetSet;
11601160
readonly attribute DOMString? lastStyleSheetSet;
11611161
readonly attribute DOMString? preferredStyleSheetSet;
1162-
readonly attribute DOMString[] styleSheetSets;
1162+
readonly attribute FrozenArray&lt;DOMString> styleSheetSets;
11631163
void enableStyleSheetsForSet(DOMString? name);
11641164
};
11651165
</pre>
@@ -1221,7 +1221,7 @@ name</a>.
12211221
Note: Unlike {{Document/lastStyleSheetSet}},
12221222
this attribute is initially the empty string.
12231223

1224-
The <dfn attribute for=Document>styleSheetSets</dfn> attribute must return a read only array of the
1224+
The <dfn attribute for=Document>styleSheetSets</dfn> attribute must return a frozen array of the
12251225
<a lt="CSS style sheet set name">CSS style sheet set names</a> of the <a lt="CSS style sheet set">CSS style sheet sets</a>, in order of the
12261226
<a>document CSS style sheets</a>. The array is live; if the <a>document CSS style sheets</a> change, the array must be updated as appropriate.
12271227

0 commit comments

Comments
 (0)