mirror of
https://github.com/electron/electron.git
synced 2026-01-27 00:09:09 -05:00
add back the missing 'resourceType' property
This commit is contained in:
@@ -86,6 +86,8 @@ void ToDictionary(base::DictionaryValue* details, net::URLRequest* request) {
|
||||
content::RenderFrameHost::FromID(process_id, frame_id));
|
||||
details->SetInteger("webContentsId",
|
||||
atom::api::WebContents::GetIDFromWrappedClass(webContents));
|
||||
details->SetString("resourceType",
|
||||
ResourceTypeToString(info->GetResourceType()));
|
||||
} else {
|
||||
details->SetString("resourceType", "other");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user