gabceb / atom-web-view

Package to open a web browser inside Atom
MIT License
52 stars 8 forks source link

Web view should work with WebGL #16

Open davidwparker opened 9 years ago

davidwparker commented 9 years ago

Looks to me like it can't access local files (I load pre-load shaders dynamically). Works fine in Chrome (localhost).

Error(s): Uncaught SecurityError: Failed to read the 'cookie' property from 'Document': The document is sandboxed and lacks the 'allow-same-origin' flag

XMLHttpRequest cannot load http://localhost:8000/randomColorPoints/glslVertex.js.c. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.

gabceb commented 9 years ago

Could you submit a file with the bare minimum so I can reproduce this issue and test out the fix