KhronosGroup/WebGL — pull request #550 by jdashg (2014-05-07 22:59:51+00:00)
Title: Only restore the context on preventDefault

preventDefault() appears to *set* the cancelled flag, so we should abort context restoration if the cancelled flag is *not* set.