Document isMainFrame argument for WebContents did-fail-load event.
		
	This commit is contained in:
		
					parent
					
						
							
								f12f87d6f0
							
						
					
				
			
			
				commit
				
					
						884c9cc2f5
					
				
			
		
					 3 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -31,6 +31,7 @@ Returns:
 | 
				
			||||||
* `errorCode` Integer
 | 
					* `errorCode` Integer
 | 
				
			||||||
* `errorDescription` String
 | 
					* `errorDescription` String
 | 
				
			||||||
* `validatedURL` String
 | 
					* `validatedURL` String
 | 
				
			||||||
 | 
					* `isMainFrame` Boolean
 | 
				
			||||||
 | 
					
 | 
				
			||||||
이 이벤트는 `did-finish-load`와 비슷하나, 로드가 실패했거나 취소되었을 때 발생합니다.
 | 
					이 이벤트는 `did-finish-load`와 비슷하나, 로드가 실패했거나 취소되었을 때 발생합니다.
 | 
				
			||||||
예를 들면 `window.stop()`이 실행되었을 때 발생합니다. 발생할 수 있는 전체 에러 코드의
 | 
					예를 들면 `window.stop()`이 실행되었을 때 발생합니다. 발생할 수 있는 전체 에러 코드의
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -30,6 +30,7 @@ var webContents = win.webContents;
 | 
				
			||||||
* `errorCode` Integer
 | 
					* `errorCode` Integer
 | 
				
			||||||
* `errorDescription` String
 | 
					* `errorDescription` String
 | 
				
			||||||
* `validatedURL` String
 | 
					* `validatedURL` String
 | 
				
			||||||
 | 
					* `isMainFrame` Boolean
 | 
				
			||||||
 | 
					
 | 
				
			||||||
这个事件类似 `did-finish-load` ,但是是在加载失败或取消加载时发出, 例如, `window.stop()` 请求结束.错误代码的完整列表和它们的含义都可以在 [here](https://code.google.com/p/chromium/codesearch#chromium/src/net/base/net_error_list.h) 找到.
 | 
					这个事件类似 `did-finish-load` ,但是是在加载失败或取消加载时发出, 例如, `window.stop()` 请求结束.错误代码的完整列表和它们的含义都可以在 [here](https://code.google.com/p/chromium/codesearch#chromium/src/net/base/net_error_list.h) 找到.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -33,6 +33,7 @@ Returns:
 | 
				
			||||||
* `errorCode` Integer
 | 
					* `errorCode` Integer
 | 
				
			||||||
* `errorDescription` String
 | 
					* `errorDescription` String
 | 
				
			||||||
* `validatedURL` String
 | 
					* `validatedURL` String
 | 
				
			||||||
 | 
					* `isMainFrame` Boolean
 | 
				
			||||||
 | 
					
 | 
				
			||||||
This event is like `did-finish-load` but emitted when the load failed or was
 | 
					This event is like `did-finish-load` but emitted when the load failed or was
 | 
				
			||||||
cancelled, e.g. `window.stop()` is invoked.
 | 
					cancelled, e.g. `window.stop()` is invoked.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue