You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This blocks lots of requests (or actually not the requests but suppresses the result), e.g. getting a text/html URI or a JSON file from resources served without CORS headers.
How to reproduce
Make a XMLHTTPRequest to e.g. a JSON file which is served without CORS-Headers.
@rogerwang After some testing I found that it does not happen when loading from file (like in a production build). But when the application was loaded via http (e.g. from a webpack-dev-server during development) CORB blocks the request even though node-remote is set to ://localhost/
NWJS Version : 0.34.3
Operating System : Linux
Expected behavior
Documentation (http://docs.nwjs.io/en/latest/For%20Users/Advanced/Security%20in%20NW.js/) states;
Actual behavior
Cross Origin Read Blocking introduced in Chrome 67 (https://www.chromestatus.com/feature/5629709824032768) is not bypassed.
This blocks lots of requests (or actually not the requests but suppresses the result), e.g. getting a text/html URI or a JSON file from resources served without CORS headers.
How to reproduce
Make a XMLHTTPRequest to e.g. a JSON file which is served without CORS-Headers.
Results in error on console:
Or try to request a normal webpage (e.g. google.com) which is served as text/html. Results in the same error, with different MIME type of course.
The text was updated successfully, but these errors were encountered: