Merge pull request #4908 from ReinaSweet/sandbox-renderer-iframe
Add a sandbox property to the renderer iframe
This commit is contained in:
1 file changed
+1
@@ -353,6 +353,7 @@ const BrewRenderer = (props)=>{
|
||||
style={{ width: '100%', height: '100%', visibility: state.visibility }}
|
||||
contentDidMount={frameDidMount}
|
||||
onClick={()=>{emitClick();}}
|
||||
sandbox="allow-same-origin allow-modals allow-top-navigation"
|
||||
>
|
||||
<div className='brewRenderer'
|
||||
onKeyDown={handleControlKeys}
|
||||
|
||||
Reference in new issue
Block a user