Re: [whatwg/fullscreen] Reject exitFullscreen() in inactive documents (#68)

zcorpan commented on this pull request.



> @@ -314,6 +314,10 @@ attribute's getter must run these steps:
 <ol>
  <li><p>Let <var>promise</var> be a new promise.
 
+ <li><p>If <var>doc</var> has no <a for=Document>browsing context</a>, or if <var>doc</var>'s
+ <a for=Document>browsing context</a>'s <a>active document</a> is not <var>doc</var>, then

I think this needs to be `if <var>doc</var> is not <a>fully active</a>`, since it might be the active document but an ancestor browsing context's document is not active.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fullscreen/pull/68#pullrequestreview-13111561

Received on Thursday, 15 December 2016 11:45:24 UTC