From e0d8b8201976221af2370c3a1c13554df79046e4 Mon Sep 17 00:00:00 2001 From: Xidorn Quan Date: Mon, 5 Mar 2018 12:39:41 +1100 Subject: [PATCH] Bug 1364025 - Add Unscopable to Document.fullscreen. r=bz MozReview-Commit-ID: CK8pbdKeBas --HG-- extra : source : 71edb86b01538e162caffa993c6e1f41a07b6c83 --- dom/webidl/Document.webidl | 2 +- testing/web-platform/meta/fullscreen/interfaces.html.ini | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/dom/webidl/Document.webidl b/dom/webidl/Document.webidl index dbe5f122c17c..4014934fe272 100644 --- a/dom/webidl/Document.webidl +++ b/dom/webidl/Document.webidl @@ -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; diff --git a/testing/web-platform/meta/fullscreen/interfaces.html.ini b/testing/web-platform/meta/fullscreen/interfaces.html.ini index 543ed41306a0..9e44734103d8 100644 --- a/testing/web-platform/meta/fullscreen/interfaces.html.ini +++ b/testing/web-platform/meta/fullscreen/interfaces.html.ini @@ -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