mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-03-22 04:34:44 +00:00
Fix a flaky frame test
Loading `sub 1.html` has a side effect - it increments window.top..sub1_count). So it should be used careful. It was being used in `about_blank_renavigate` as a placeholder which _should_ not get navigated, but there's no strict guarantee about when it gets canceled.
This commit is contained in:
@@ -108,7 +108,7 @@
|
|||||||
{
|
{
|
||||||
let f5 = document.createElement('iframe');
|
let f5 = document.createElement('iframe');
|
||||||
f5.id = 'f5';
|
f5.id = 'f5';
|
||||||
f5.src = "support/sub 1.html";
|
f5.src = "support/page.html";
|
||||||
document.documentElement.appendChild(f5);
|
document.documentElement.appendChild(f5);
|
||||||
f5.src = "about:blank";
|
f5.src = "about:blank";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user