NOTE: The key name may change based on the firefox version, this is valid till firefox version Mozilla Firefox 125.0.2,
- Open Firefox and type about:config in the address bar.
- Accept the warning about changing advanced settings.
- Search for security.fileuri.strict_origin_policy and set it to false.
- Once the testing is completed, set security.fileuri.strict_origin_policy back to true