phiggins42/has.js — Issue #87: dom-customevent
Author: EarMaster
Created: 2011-12-07 12:22:07+00:00
State: open

I needed a test for CustomEvent. This one worked for me (feel free to use or change):
```javascript
addtest("dom-customevent", function() {
try { var event = new CustomEvent("test"); }
catch(e) { return false; }
return true;
});
```