How does cross-origin get resolved in GoJS

I realize there is no cross-origin concern in GoJS. Basically, I can run a local html without server and show pictures in relative path. How does that happen in GoJS? If I am trying to import a local image directly in html and open it from browser, I will trigger cross-origin issue.


Cross-origin resource sharing problems are very much an issue with all parts of any web page, and it isn’t always simple. For example, Server-side images of diagrams with pictures using PhantomJS - #4 by Doogal.

Do you know about the Picture.sourceCrossOrigin functional property?