mirror of
				https://github.com/lightpanda-io/browser.git
				synced 2025-10-29 15:13:28 +00:00 
			
		
		
		
	cdp: remove event dispateched by inspector
This commit is contained in:
		| @@ -129,26 +129,6 @@ fn sendInspector( | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     if (method == .enable) { | ||||
|         try executionContextCreated( | ||||
|             alloc, | ||||
|             ctx, | ||||
|             1, | ||||
|             "://", | ||||
|             "", | ||||
|             // TODO: hard coded ID | ||||
|             "7102379147004877974.3265385113993241162", | ||||
|             .{ | ||||
|                 .isDefault = true, | ||||
|                 .type = "default", | ||||
|                 // TODO: hard coded ID | ||||
|                 .frameId = cdp.FrameID, | ||||
|             }, | ||||
|             // TODO: hard coded ID | ||||
|             msg.sessionId orelse target.BrowserContextID, | ||||
|         ); | ||||
|     } | ||||
|  | ||||
|     ctx.sendInspector(msg.json); | ||||
|  | ||||
|     if (msg.id == null) return ""; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Pierre Tachoire
					Pierre Tachoire