Run a xml/xsl in chrome (ERROR Unsafe attempt to load URL.....)
Asked Answered
M

1

6

I tryied to run an xml/xsl in chrome (it works on firefox) but I have this error :

Unsafe attempt to load URL file:///C:/Users/..../thing.xsl from frame with URL file:///C:/Users/..../thing.xml. 'file:' URLs are treated as unique security origins.

How can I fix it ? I found few solutions on internet but nothing works (--allow-file-access-from-files don't work).

Mcshane answered 11/5, 2017 at 14:29 Comment(2)
Same problem here, except the xsl URL is on a remote site (foo.com/thing.xsl) in my case.Dennet
This appears to be a duplicate of #3829398Phraseologist
S
3

To anyone having this problem, if you use visual studio code, you can download the extension Live Server, run the server and then you can work with the files.

Salmon answered 4/3, 2022 at 14:39 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.