No file system access with debug_url and reload issue

Related app/team name (not a must if you want to keep it private):
Coding Course Gaming App LVL

Issue Description:

Both issues only happen if debug_url is set in manifest.json.

1: Overwolf not ready

On first start, Overwolf doesn’t seem to be ready if debug_url is set. You can reproduce this issue by disable, enable and launch the app. If you reload the window in the developer tools, the error is gone.
This happens not all the time.

Uncaught ReferenceError: overwolf is not defined at main.js:3

2: Load media

If you try to load media via overwolf:// or file:///, it is blocked if debug_url is set. I placed a test.mp4 in this folder which was recorded with the overwolf replay api. Please move this file to your Overwolf video folder.

Can you reproduce it (exact steps to reproduce):

Do you currently have a workaround?
For the first issue, I have a function which reloads the window if Overwolf is not loaded.

For the second issue, I don’t have a workaround. Except, not to use debug_url.

Hi.

Sorry for the delay. I was able to reproduce it (thanks for the detailed example and all the info!)
We are checking the issue and I will update you here.

Thanks

There is another issue with debug_url. It seems incompatible with block_top_window_navigation. Can you check this too?