| 
				
			 | 
			
			
				@@ -17,8 +17,17 @@ import Downloads from './examples/Downloads'; 
			 | 
		
	
		
			
			| 
				17
			 | 
			
				17
			 | 
			
			
				 import Uploads from './examples/Uploads'; 
			 | 
		
	
		
			
			| 
				18
			 | 
			
				18
			 | 
			
			
				 import Injection from './examples/Injection'; 
			 | 
		
	
		
			
			| 
				19
			 | 
			
				19
			 | 
			
			
				 import LocalPageLoad from './examples/LocalPageLoad'; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				20
			 | 
			
			
				+import WebGL from './examples/WebGL'; 
			 | 
		
	
		
			
			| 
				20
			 | 
			
				21
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				21
			 | 
			
				22
			 | 
			
			
				 const TESTS = { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				23
			 | 
			
			
				+  WebGL: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				24
			 | 
			
			
				+    title: 'WebGL', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				25
			 | 
			
			
				+    testId: 'webgl', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				26
			 | 
			
			
				+    description: 'WebGL for Windows', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				27
			 | 
			
			
				+    render() { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				28
			 | 
			
			
				+      return <WebGL />; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				29
			 | 
			
			
				+    }, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				30
			 | 
			
			
				+  }, 
			 | 
		
	
		
			
			| 
				22
			 | 
			
				31
			 | 
			
			
				   Alerts: { 
			 | 
		
	
		
			
			| 
				23
			 | 
			
				32
			 | 
			
			
				     title: 'Alerts', 
			 | 
		
	
		
			
			| 
				24
			 | 
			
				33
			 | 
			
			
				     testId: 'alerts', 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -75,10 +84,17 @@ const TESTS = { 
			 | 
		
	
		
			
			| 
				75
			 | 
			
				84
			 | 
			
			
				       return <LocalPageLoad />; 
			 | 
		
	
		
			
			| 
				76
			 | 
			
				85
			 | 
			
			
				     }, 
			 | 
		
	
		
			
			| 
				77
			 | 
			
				86
			 | 
			
			
				   }, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				87
			 | 
			
			
				+  {Platform.OS === 'windows' && ( 
			 | 
		
	
		
			
			| 
				
			 | 
			
				88
			 | 
			
			
				+    <Button 
			 | 
		
	
		
			
			| 
				
			 | 
			
				89
			 | 
			
			
				+      testID="testType_messaging" 
			 | 
		
	
		
			
			| 
				
			 | 
			
				90
			 | 
			
			
				+      title="WebGL" 
			 | 
		
	
		
			
			| 
				
			 | 
			
				91
			 | 
			
			
				+      onPress={() => this._changeTest('WebGL')} 
			 | 
		
	
		
			
			| 
				
			 | 
			
				92
			 | 
			
			
				+    /> 
			 | 
		
	
		
			
			| 
				
			 | 
			
				93
			 | 
			
			
				+  )} 
			 | 
		
	
		
			
			| 
				78
			 | 
			
				94
			 | 
			
			
				 }; 
			 | 
		
	
		
			
			| 
				79
			 | 
			
				95
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				80
			 | 
			
				96
			 | 
			
			
				 type Props = {}; 
			 | 
		
	
		
			
			| 
				81
			 | 
			
				
			 | 
			
			
				-type State = {restarting: boolean, currentTest: Object}; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				97
			 | 
			
			
				+type State = {restarting: boolean; currentTest: Object}; 
			 | 
		
	
		
			
			| 
				82
			 | 
			
				98
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				83
			 | 
			
				99
			 | 
			
			
				 export default class App extends Component<Props, State> { 
			 | 
		
	
		
			
			| 
				84
			 | 
			
				100
			 | 
			
			
				   state = { 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -90,7 +106,7 @@ export default class App extends Component<Props, State> { 
			 | 
		
	
		
			
			| 
				90
			 | 
			
				106
			 | 
			
			
				     this.setState({restarting: true}, () => this.setState({restarting: false})); 
			 | 
		
	
		
			
			| 
				91
			 | 
			
				107
			 | 
			
			
				   }; 
			 | 
		
	
		
			
			| 
				92
			 | 
			
				108
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				93
			 | 
			
				
			 | 
			
			
				-  _changeTest = testName => { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				109
			 | 
			
			
				+  _changeTest = (testName) => { 
			 | 
		
	
		
			
			| 
				94
			 | 
			
				110
			 | 
			
			
				     this.setState({currentTest: TESTS[testName]}); 
			 | 
		
	
		
			
			| 
				95
			 | 
			
				111
			 | 
			
			
				   }; 
			 | 
		
	
		
			
			| 
				96
			 | 
			
				112
			 | 
			
			
				  
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -138,16 +154,20 @@ export default class App extends Component<Props, State> { 
			 | 
		
	
		
			
			| 
				138
			 | 
			
				154
			 | 
			
			
				             title="LocalPageLoad" 
			 | 
		
	
		
			
			| 
				139
			 | 
			
				155
			 | 
			
			
				             onPress={() => this._changeTest('PageLoad')} 
			 | 
		
	
		
			
			| 
				140
			 | 
			
				156
			 | 
			
			
				           /> 
			 | 
		
	
		
			
			| 
				141
			 | 
			
				
			 | 
			
			
				-          {Platform.OS == "ios" && <Button 
			 | 
		
	
		
			
			| 
				142
			 | 
			
				
			 | 
			
			
				-            testID="testType_downloads" 
			 | 
		
	
		
			
			| 
				143
			 | 
			
				
			 | 
			
			
				-            title="Downloads" 
			 | 
		
	
		
			
			| 
				144
			 | 
			
				
			 | 
			
			
				-            onPress={() => this._changeTest('Downloads')} 
			 | 
		
	
		
			
			| 
				145
			 | 
			
				
			 | 
			
			
				-          />} 
			 | 
		
	
		
			
			| 
				146
			 | 
			
				
			 | 
			
			
				-          {Platform.OS === 'android' && <Button 
			 | 
		
	
		
			
			| 
				147
			 | 
			
				
			 | 
			
			
				-            testID="testType_uploads" 
			 | 
		
	
		
			
			| 
				148
			 | 
			
				
			 | 
			
			
				-            title="Uploads" 
			 | 
		
	
		
			
			| 
				149
			 | 
			
				
			 | 
			
			
				-            onPress={() => this._changeTest('Uploads')} 
			 | 
		
	
		
			
			| 
				150
			 | 
			
				
			 | 
			
			
				-          />} 
			 | 
		
	
		
			
			| 
				
			 | 
			
				157
			 | 
			
			
				+          {Platform.OS == 'ios' && ( 
			 | 
		
	
		
			
			| 
				
			 | 
			
				158
			 | 
			
			
				+            <Button 
			 | 
		
	
		
			
			| 
				
			 | 
			
				159
			 | 
			
			
				+              testID="testType_downloads" 
			 | 
		
	
		
			
			| 
				
			 | 
			
				160
			 | 
			
			
				+              title="Downloads" 
			 | 
		
	
		
			
			| 
				
			 | 
			
				161
			 | 
			
			
				+              onPress={() => this._changeTest('Downloads')} 
			 | 
		
	
		
			
			| 
				
			 | 
			
				162
			 | 
			
			
				+            /> 
			 | 
		
	
		
			
			| 
				
			 | 
			
				163
			 | 
			
			
				+          )} 
			 | 
		
	
		
			
			| 
				
			 | 
			
				164
			 | 
			
			
				+          {Platform.OS === 'android' && ( 
			 | 
		
	
		
			
			| 
				
			 | 
			
				165
			 | 
			
			
				+            <Button 
			 | 
		
	
		
			
			| 
				
			 | 
			
				166
			 | 
			
			
				+              testID="testType_uploads" 
			 | 
		
	
		
			
			| 
				
			 | 
			
				167
			 | 
			
			
				+              title="Uploads" 
			 | 
		
	
		
			
			| 
				
			 | 
			
				168
			 | 
			
			
				+              onPress={() => this._changeTest('Uploads')} 
			 | 
		
	
		
			
			| 
				
			 | 
			
				169
			 | 
			
			
				+            /> 
			 | 
		
	
		
			
			| 
				
			 | 
			
				170
			 | 
			
			
				+          )} 
			 | 
		
	
		
			
			| 
				151
			 | 
			
				171
			 | 
			
			
				         </View> 
			 | 
		
	
		
			
			| 
				152
			 | 
			
				172
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				153
			 | 
			
				173
			 | 
			
			
				         {restarting ? null : ( 
			 |