Posts

Post not yet marked as solved
2 Replies
5.2k Views
Hi,I used the browser (Safari / Edge / Chrome) on my iPhone to access my application and found that I cannot access the js resource file normally.The code snippet looks like this: <script type = 'module' src = 'main.js'>After my research, I found when requesting JS resources, since type = 'module', it became a cross-domain request. Due to cross-domain, the required cookies are missing when requesting main.js on Browser, which causes the page to not display properly.This is the test result I did on iOS 13.31 and Mac OS 10.15.3. Y means resources can be loaded normally, N means resources cannot be loaded normally. iOS 13.31Mac OS 10.15.3Edge N YChrome N YSafari N NMy question: Is this related to the browser kernel?If it is related to the kernel, is this a feature or a bug?How should we solve the problem that main.js does not load properly in these browsers?Thanks.
Posted
by nipchen.
Last updated
.