mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-21 18:00:16 +00:00
Revert "LibWeb: Fix hanging location.reload() when SHE is populated by fetching"
This reverts commit 966b042db6
.
This commit is contained in:
parent
14f2012c8b
commit
872fa58ef8
Notes:
sideshowbarker
2024-07-18 02:13:10 +09:00
Author: https://github.com/awesomekling
Commit: 872fa58ef8
10 changed files with 8 additions and 158 deletions
|
@ -1,12 +0,0 @@
|
|||
<script>
|
||||
window.addEventListener('message', event => {
|
||||
if (event.data && event.data.action === 'reload') {
|
||||
window.parent.postMessage({ action: 'acknowledge-asked-to-reload' });
|
||||
location.reload();
|
||||
}
|
||||
});
|
||||
|
||||
window.addEventListener('load', () => {
|
||||
window.parent.postMessage({ action: 'loaded' });
|
||||
});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue