| 
									
										
										
										
											2016-12-13 11:47:54 -08:00
										 |  |  | <!DOCTYPE html> | 
					
						
							|  |  |  | <html> | 
					
						
							|  |  |  |   <head> | 
					
						
							|  |  |  |     <meta charset="utf-8"> | 
					
						
							|  |  |  |     <title>Isolated World</title> | 
					
						
							|  |  |  |     <script> | 
					
						
							|  |  |  |       window.hello = 'world' | 
					
						
							| 
									
										
										
										
											2016-12-15 15:23:45 -08:00
										 |  |  |       Array.prototype.push = 3 | 
					
						
							|  |  |  |       Function.prototype.apply = true | 
					
						
							| 
									
										
										
										
											2017-01-11 16:36:59 -08:00
										 |  |  | 
 | 
					
						
							|  |  |  |       const opened = window.open() | 
					
						
							|  |  |  |       opened.close() | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-12-13 11:47:54 -08:00
										 |  |  |       window.postMessage({ | 
					
						
							|  |  |  |         preloadProperty: typeof window.foo, | 
					
						
							|  |  |  |         pageProperty: typeof window.hello, | 
					
						
							|  |  |  |         typeofRequire: typeof require, | 
					
						
							| 
									
										
										
										
											2016-12-15 15:23:45 -08:00
										 |  |  |         typeofProcess: typeof process, | 
					
						
							|  |  |  |         typeofArrayPush: typeof Array.prototype.push, | 
					
						
							| 
									
										
										
										
											2017-01-05 09:33:54 -08:00
										 |  |  |         typeofFunctionApply: typeof Function.prototype.apply, | 
					
						
							| 
									
										
										
										
											2017-01-11 16:36:59 -08:00
										 |  |  |         typeofPreloadExecuteJavaScriptProperty: typeof window.preloadExecuteJavaScriptProperty, | 
					
						
							| 
									
										
										
										
											2017-05-22 21:10:10 +03:00
										 |  |  |         typeofOpenedWindow: typeof opened | 
					
						
							| 
									
										
										
										
											2016-12-13 11:47:54 -08:00
										 |  |  |       }, '*') | 
					
						
							|  |  |  |     </script> | 
					
						
							|  |  |  |   </head> | 
					
						
							|  |  |  |   <body> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   </body> | 
					
						
							|  |  |  | </html> |