 32158ca5dd
			
		
	
	
	32158ca5dd
	
	
	
		
			
			* spec: refactor BrowserWindow module contextIsolation option * spec: check for serialzation in isolated renderers separately
		
			
				
	
	
		
			29 lines
		
	
	
	
		
			774 B
			
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
	
		
			774 B
			
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html>
 | |
| <html>
 | |
|   <head>
 | |
|     <meta charset="utf-8">
 | |
|     <title>Isolated World</title>
 | |
|     <script>
 | |
|       window.hello = 'world'
 | |
|       Array.prototype.push = 3
 | |
|       Function.prototype.apply = true
 | |
| 
 | |
|       const opened = window.open()
 | |
|       opened.close()
 | |
| 
 | |
|       window.postMessage({
 | |
|         preloadProperty: typeof window.foo,
 | |
|         pageProperty: typeof window.hello,
 | |
|         typeofRequire: typeof require,
 | |
|         typeofProcess: typeof process,
 | |
|         typeofArrayPush: typeof Array.prototype.push,
 | |
|         typeofFunctionApply: typeof Function.prototype.apply,
 | |
|         typeofPreloadExecuteJavaScriptProperty: typeof window.preloadExecuteJavaScriptProperty,
 | |
|         typeofOpenedWindow: typeof opened
 | |
|       }, '*')
 | |
|     </script>
 | |
|   </head>
 | |
|   <body>
 | |
| 
 | |
|   </body>
 | |
| </html>
 |