I have iframe with canvas inside. After WebGL lost context I see:
Any animation on canvas can't be done, simple page reload doesn't help. Now I'm worried about how to fix programmatically consequence and not a cause. If a user is faced with such a problem, he has 2 ways (which are known to me) how to fix this issue:
- Right-click on an iframe and select "Reload frame".
- Close the browser completely and open it
What I have tried:
Reload iframe from js in the following ways:
1.1 with
document.getElementById('iframe_id').ContentWindow.location.reload();
1.2 tried deleting iframe and re-creating
1.3 tried to delete and create an iframe, but already changing the url of the frame
I tried to open the context menu with a reboot item and some how click on it.
Does anyone have any idea how to fix this?