chore: remove unused files in spec/fixtures (#37012)

Co-authored-by: Milan Burda <miburda@microsoft.com>
This commit is contained in:
Milan Burda 2023-01-25 16:02:44 +01:00 committed by GitHub
parent afca3ff965
commit a9b6041d38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 0 additions and 51 deletions

View file

@ -1,8 +0,0 @@
<html>
<body>
<script type="text/javascript" charset="utf-8">
const popup = window.open()
require('electron').ipcRenderer.send('answer', typeof popup.process)
</script>
</body>
</html>

View file

@ -1,15 +0,0 @@
const { ipcRenderer } = require('electron');
document.addEventListener('DOMContentLoaded', (event) => {
const outerFrame = document.querySelector('#outer-frame');
if (outerFrame) {
outerFrame.onload = function () {
const pdframe = outerFrame.contentWindow.document.getElementById('pdf-frame');
if (pdframe) {
pdframe.contentWindow.addEventListener('pdf-loaded', (event) => {
ipcRenderer.send('pdf-loaded', event.detail);
});
}
};
}
});

View file

@ -1,10 +0,0 @@
const { ipcRenderer } = require('electron');
document.addEventListener('DOMContentLoaded', (event) => {
const subframe = document.querySelector('#pdf-frame');
if (subframe) {
subframe.contentWindow.addEventListener('pdf-loaded', (event) => {
ipcRenderer.send('pdf-loaded', event.detail);
});
}
});

View file

@ -1,5 +0,0 @@
const { ipcRenderer } = require('electron');
window.addEventListener('pdf-loaded', function (event) {
ipcRenderer.send('pdf-loaded', event.detail);
});

View file

@ -1,13 +0,0 @@
<html>
<body>
<a id="a", href="http://host" target="target">link</a>
<script type="text/javascript" charset="utf-8">
var event = new MouseEvent('click', {
'view': window,
'bubbles': true,
'cancelable': true
});
document.getElementById('a').dispatchEvent(event);
</script>
</body>
</html>

Binary file not shown.