(args: &Dictionary)
| 1061 | } |
| 1062 | |
| 1063 | fn parse_application(args: &Dictionary) -> Option<WebKitApplication> { |
| 1064 | let id = string_value(args, "WIRApplicationIdentifierKey")?; |
| 1065 | Some(WebKitApplication { |
| 1066 | id, |
| 1067 | name: string_value(args, "WIRApplicationNameKey"), |
| 1068 | bundle_identifier: string_value(args, "WIRApplicationBundleIdentifierKey"), |
| 1069 | active: integer_value(args, "WIRIsApplicationActiveKey").unwrap_or(0) > 0, |
| 1070 | is_proxy: bool_value(args, "WIRIsApplicationProxyKey").unwrap_or(false), |
| 1071 | }) |
| 1072 | } |
| 1073 | |
| 1074 | fn parse_page_listing(args: &Dictionary) -> Vec<WebKitPage> { |
| 1075 | let Some(app_id) = string_value(args, "WIRApplicationIdentifierKey") else { |
no test coverage detected