code: function hasCanvasTypedArrays() {
    var canvas = document.createElement('canvas');
    canvas.width = canvas.height = 1;
    var ctx = canvas.getContext('2d');
    var imageData = ctx.createImageData(1, 1);
    return (typeof imageData.data.buffer !== 'undefined');
  }
docs: #if !(FIREFOX || MOZCENTRAL || B2G || CHROME) // Lazy test if the userAgant support CanvasTypedArrays