Browse Source

add back the missing 'resourceType' property

Boik 7 years ago
parent
commit
e66341ec59
1 changed files with 2 additions and 0 deletions
  1. 2 0
      atom/browser/net/atom_network_delegate.cc

+ 2 - 0
atom/browser/net/atom_network_delegate.cc

@@ -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");
   }