W3C home > Mailing lists > Public > www-archive@w3.org > January 2013

Re: [fullscreen-api] Allowing AJAX requests when in fullscreen mode

From: Mike Taylor <miket@opera.com>
Date: Thu, 24 Jan 2013 09:28:41 -0600
Message-ID: <51015329.1030001@opera.com>
To: Adam Sobaniec <sobanieca@gmail.com>
CC: www-archive@w3.org
Hi Adam,

On 1/24/13 3:58 AM, Adam Sobaniec wrote:
> I have already filed a ticket at Chromium project (Issue 171670) with the
> following link presenting problem:
> http://adam.sobaniec.com/Sandbox/Fullscreen

Your test page has a bug in it:

function launchFullScreen(element) {
   if(element.requestFullScreen) {
     element.requestFullScreen();
   } else if(element.mozRequestFullScreen) {
     element.mozRequestFullScreen();
   } else if(element.webkitRequestFullScreen) {
     element.webkitRequestFullScreen();
   }
}

requestFullScreen should be requestFullscreen. You can test in Opera 
which implements the prefixless version.

Cheers,

-- 
Mike Taylor
Opera Software
Received on Thursday, 24 January 2013 15:29:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 24 January 2013 15:29:17 GMT