feat: enable NodeIntegrationInSubFrames for webview (#17226)
* feat: enable nodeIntegrationInSubFrames for webview * test: add tests * docs: document webview's nodeintegrationinsubframes * lint: fix indent * fix: resolve some merge bloopers
This commit is contained in:
parent
961c9a88a8
commit
43ef561d48
8 changed files with 95 additions and 15 deletions
13
spec/fixtures/sub-frames/frame-with-frame-container-webview.html
vendored
Normal file
13
spec/fixtures/sub-frames/frame-with-frame-container-webview.html
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
This is the root page with a webview
|
||||
<webview src="./frame-with-frame-container.html" sandbox nodeIntegrationInSubFrames preload="./preload.js"></webview>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue