title: How to detect if user has enabled full screen in browser
body: <p>Is there some JavaScript event fired when user enables full screen in Chrome or FireFox? </p>
  
  <p>I have WebGL application with canvas width and height set to a certain size and I would like to resize that among other things when user enables full screen. If there isn't such event, should I start researching ways to fill the browser window with canvas all though it complicates things while debugging?  </p>