mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-03-28 07:33:16 +00:00
test: fix scoping bug in frames test causing spurious failures
This commit is contained in:
@@ -120,9 +120,10 @@
|
||||
|
||||
<script id=link_click>
|
||||
testing.async(async (restore) => {
|
||||
let f6;
|
||||
await new Promise((resolve) => {
|
||||
let count = 0;
|
||||
let f6 = document.createElement('iframe');
|
||||
f6 = document.createElement('iframe');
|
||||
f6.id = 'f6';
|
||||
f6.addEventListener('load', () => {
|
||||
if (++count == 2) {
|
||||
|
||||
Reference in New Issue
Block a user