I've modified the "scheme_test.cc" file [1] and changed form action to http://xhaus.com/headers , so that I can see the headers sent. However I can see that "Origin" header is set to "null". In scheme_test_common.cc [2] I can see that the "is_cors_enabled" parameter is set to true, so according to docs [3] this should enable the Origin header. Is this a bug or am I doing something wrong?
In Electron project, in this comment [4], I can see that Origin is set to "app://" when using app:// scheme handler.
Ref:
[1] https://github.com/chromiumembedded/cef ... est.cc#L54
[2] https://github.com/chromiumembedded/cef ... mon.cc#L14
[3] https://github.com/chromiumembedded/cef ... eme.h#L126
[4] https://github.com/electron/electron/is ... -246335171