Re: [whatwg/dom] Remove "svgevent" and "touchevent" from createEvent list? (#227)

Quick search in httparchive reveals such usage, e.g.:

http://www.15min.lt/
```js
touch: (function(){
    try { 
     document.createEvent('TouchEvent');
     return true;
    } catch(e) { 
     return false;
    }
   })()
```

http://www.cnbc.com/
```js
var isMobile=(function(){var mobile=false,evt;try{evt=document.createEvent('TouchEvent');mobile=true;}catch(e){}
return mobile;}());
```

---
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/dom/issues/227#issuecomment-211395576

Received on Monday, 18 April 2016 14:06:46 UTC