mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-12-16 08:18:59 +00:00
various small api fixes/tweaks
This commit is contained in:
@@ -88,8 +88,8 @@ pub fn LogInterceptor(comptime BC: type) type {
|
||||
self.bc.cdp.sendEvent("Log.entryAdded", .{
|
||||
.entry = .{
|
||||
.source = switch (scope) {
|
||||
.js, .user_script, .console, .web_api, .script_event => "javascript",
|
||||
.http, .fetch, .xhr => "network",
|
||||
.js, .console => "javascript",
|
||||
.http => "network",
|
||||
.telemetry, .unknown_prop, .interceptor => unreachable, // filtered out in writer above
|
||||
else => "other",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user