spec: "preload" attribute of <webview>
This commit is contained in:
parent
217b1afe87
commit
395b0c4224
3 changed files with 19 additions and 0 deletions
1
spec/fixtures/module/preload.js
vendored
Normal file
1
spec/fixtures/module/preload.js
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
console.log([typeof require, typeof module, typeof process].join(' '));
|
7
spec/fixtures/pages/e.html
vendored
Normal file
7
spec/fixtures/pages/e.html
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
<html>
|
||||
<body>
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
console.log('Window script is loaded before preload script');
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue