chore: remove unused files in spec/fixtures (#37012)
Co-authored-by: Milan Burda <miburda@microsoft.com>
This commit is contained in:
parent
afca3ff965
commit
a9b6041d38
6 changed files with 0 additions and 51 deletions
|
@ -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>
|
|
@ -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);
|
||||
});
|
||||
}
|
||||
};
|
||||
}
|
||||
});
|
|
@ -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);
|
||||
});
|
||||
}
|
||||
});
|
5
spec/fixtures/module/preload-pdf-loaded.js
vendored
5
spec/fixtures/module/preload-pdf-loaded.js
vendored
|
@ -1,5 +0,0 @@
|
|||
const { ipcRenderer } = require('electron');
|
||||
|
||||
window.addEventListener('pdf-loaded', function (event) {
|
||||
ipcRenderer.send('pdf-loaded', event.detail);
|
||||
});
|
13
spec/fixtures/pages/target-name.html
vendored
13
spec/fixtures/pages/target-name.html
vendored
|
@ -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>
|
BIN
spec/fixtures/zip/a.zip
vendored
BIN
spec/fixtures/zip/a.zip
vendored
Binary file not shown.
Loading…
Reference in a new issue