title: Can the failIfMajorPerformanceCaveat security measure be disabled in Electron?
body: <p>When you get WebGL context, you can specify the <code>failIfMajorPerformanceCaveat</code> attribute:</p>
  
  <pre><code>var context = canvas.getContext('webgl', {'failIfMajorPerformanceCaveat': true});
  </code></pre>
  
  <p>Quote from <a href="https://blogs.msdn.microsoft.com/ie/2014/09/12/making-your-webgl-code-more-flexible/" rel="nofollow noreferrer">this page</a> about that attribute:</p>
  
  <blockquote>
    <p>Because of the direct access to the GPU allowed by WebGL, browsers must ensure that running your code will not cause a major security issue. For some specific drivers that are not perfectly secure, the browser can prevent hardware acceleration in order to prevent security issues. [...] On these devices, WebGL will software rendering instead, resulting in a slower but safer experience.</p>
  </blockquote>
  
  <p>Do the security measure can be disabled in Electron easily if I'm not using any external, remote, third-party code in my application?</p>