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

MozReview-Commit-ID: CK8pbdKeBas

--HG--
extra : source : 71edb86b01538e162caffa993c6e1f41a07b6c83
This commit is contained in:
Xidorn Quan 2018-03-05 12:39:41 +11:00
Родитель 793cb4d804
Коммит e0d8b82019
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