[Webkit-unassigned] [Bug 114530] requestFullscreen on the current fullscreen element should fire fullscreen error.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 12 13:23:48 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=114530





--- Comment #1 from Jer Noble <jer.noble at apple.com>  2013-04-12 13:22:04 PST ---
schieb at chromium.org commented <http://code.google.com/p/chromium/issues/detail?id=229803#c3> in the original bug:

"This is an error in WebKit & Blink (likely in Document.cpp), and not apps specific. Load https://github.com/GoogleChrome/chrome-app-samples/blob/master/window-state/window.html in Chrome and the same behavior exists.

The fullscreen specification https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html does express this as an error, in:
- requestFullscreen() method must run these steps:
- If any of the following conditions are true, ... fullscreenerror:
  - "The context object's node document fullscreen element stack is not empty and its top element is not an ancestor of the context object."

In this case, the element is already fullscreen and the top of the stack, the element is not an ancestor of its self.


A work around is for an application to check document.webkitFullscreenElement before requesting fullscreen, so as to not make the same element fullscreen multiple times."

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list