Skip to content

Commit

Permalink
fix: load file path
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmaddock committed May 23, 2021
1 parent 541a9a3 commit 6909f4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec-main/api-web-contents-spec.ts
Expand Up @@ -2074,7 +2074,7 @@ describe('webContents module', () => {
}
});
});
w.webContents.loadURL(path.join(mainFixturesPath, 'sub-frames/frame-with-frame.html'));
w.webContents.loadFile(path.join(mainFixturesPath, 'sub-frames/frame-with-frame.html'));
await promise;
});
});
Expand Down
2 changes: 1 addition & 1 deletion spec-main/fixtures/sub-frames/frame-with-frame.html
Expand Up @@ -8,6 +8,6 @@
</head>
<body>
This is a frame, is has one child
<iframe src="./frame.html" name="frameA" loading="eager"></iframe>
<iframe src="./frame.html" name="frameA"></iframe>
</body>
</html>

0 comments on commit 6909f4b

Please sign in to comment.