mirror of
				https://github.com/microsoft/playwright.git
				synced 2025-06-26 21:40:17 +00:00 
			
		
		
		
	chore(client): remove unneeded _wrapApiCall(internal) (#36224)
This commit is contained in:
		
							parent
							
								
									1870739b28
								
							
						
					
					
						commit
						301481f8a9
					
				| @ -203,7 +203,7 @@ export class Page extends ChannelOwner<channels.PageChannel> implements api.Page | |||||||
|         this._routes.splice(index, 1); |         this._routes.splice(index, 1); | ||||||
|       const handled = await routeHandler.handle(route); |       const handled = await routeHandler.handle(route); | ||||||
|       if (!this._routes.length) |       if (!this._routes.length) | ||||||
|         this._wrapApiCall(() => this._updateInterceptionPatterns(), { internal: true }).catch(() => {}); |         this._updateInterceptionPatterns().catch(() => {}); | ||||||
|       if (handled) |       if (handled) | ||||||
|         return; |         return; | ||||||
|     } |     } | ||||||
| @ -398,7 +398,7 @@ export class Page extends ChannelOwner<channels.PageChannel> implements api.Page | |||||||
|     } finally { |     } finally { | ||||||
|       if (remove) |       if (remove) | ||||||
|         this._locatorHandlers.delete(uid); |         this._locatorHandlers.delete(uid); | ||||||
|       this._wrapApiCall(() => this._channel.resolveLocatorHandlerNoReply({ uid, remove }), { internal: true }).catch(() => {}); |       this._channel.resolveLocatorHandlerNoReply({ uid, remove }).catch(() => {}); | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Simon Knott
						Simon Knott