As I have been working with the WebView and WebEngine, I noticed the following for files loaded from within a jar file:
1. Referencing an image on disk from html doesn't work e.g: <img src="file://somewhere/animage.jpg"/> doesn't work nor does <img src="/somewhere/animage.jpg"/> (the result is blank)
2. I have also notice that XMLHttpRequest yields status 0 and readyState 4 when setting headers and never submits the request
Are these by design or are these observations bugs. How can we work around them?
1. Referencing an image on disk from html doesn't work e.g: <img src="file://somewhere/animage.jpg"/> doesn't work nor does <img src="/somewhere/animage.jpg"/> (the result is blank)
2. I have also notice that XMLHttpRequest yields status 0 and readyState 4 when setting headers and never submits the request
Are these by design or are these observations bugs. How can we work around them?