Bug 1364025 - Add Unscopable to Document.fullscreen. r=bz

MozReview-Commit-ID: CK8pbdKeBas

--HG--
extra : source : fa12f6b5876ec72de288b07c8e96f009bd7dbb44
extra : amend_source : 3c8025294eac7547d736568d33cf52959bd25d9a
This commit is contained in:
Xidorn Quan 2018-02-13 14:51:12 +11:00
Родитель b796f50892
Коммит 445bbb41a8
2 изменённых файлов: 1 добавлений и 4 удалений

Просмотреть файл

@ -234,7 +234,7 @@ partial interface Document {
partial interface Document {
// Note: Per spec the 'S' in these two is lowercase, but the "Moz"
// versions have it uppercase.
[LenientSetter, Func="nsDocument::IsUnprefixedFullscreenEnabled"]
[LenientSetter, Unscopable, Func="nsDocument::IsUnprefixedFullscreenEnabled"]
readonly attribute boolean fullscreen;
[BinaryName="fullscreen"]
readonly attribute boolean mozFullScreen;

Просмотреть файл

@ -2,9 +2,6 @@
[Document interface: operation exitFullscreen()]
expected: FAIL
[Unscopable handled correctly for fullscreen property on Document]
expected: FAIL
[ShadowRoot interface: attribute fullscreenElement]
expected: FAIL