NetLog Viewer Web App!

561 views
Skip to first unread message

Randall Raymond

unread,
Jul 26, 2016, 6:25:18 PM7/26/16
to net...@chromium.org, Randy Smith, Helen Li, Eric Roman

Hi Net Dev,


My project this summer was to create a standalone version of chrome://net-internals for viewing NetLog dumps (issue 472699).


You can visit the web app here:


It is very much similar to what is currently in Chromium at chrome://net-internals. The key differences are as follows:

  • There is no Export tab or Capture tab. This web app is only for importing NetLog files.
  • There is no HSTS tab. This tab did not seem to have a place in a web app used solely for importing NetLog files.

Ultimately the goal here is to increase the security of Chrome, decrease its binary size, and pave the way for cool, great enhancements that won't be confined under the boundaries of building in Chromium. Introducing this web app is the first step towards reaching this goal. Eventually we want the creation and viewing of netlogs to be handled by chrome://net-export and the NetLog viewer app respectively, and strip the corresponding functionality out of chrome://net-internals. 



FAQ:

Q: I'm glad I can import my NetLog files, but where do I export them?

A: Ultimately we are transitioning to using chrome://net-export as the sole way of exporting NetLog files. chrome://net-export has been enabled for desktop but more work still needs to be done before it is ready for public use. For now, please keep using chrome://net-internals/#export


Q: What if I just want to view events as they are happening? chrome://net-internals can do that, in the new model do I need to explicitly save a log file and then load it into the viewer?

A: We are aware of the lack of real-time viewing and hope to address this in the future.


Q: Everything is looking pretty clean, but I have some feedback on the user experience and I might have found a bug. What's the best way of letting you know?

A: Great! Please submit any all comments, feedback, bug finds, and more by submitting a response in this Google form.



Thanks,


Randy

Charles Harrison

unread,
Jul 26, 2016, 6:29:02 PM7/26/16
to Randall Raymond, net-dev, Randy Smith, Helen Li, Eric Roman
Amazing work!! I just tested this with some old logs and it works great :)

--
You received this message because you are subscribed to the Google Groups "net-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to net-dev+u...@chromium.org.
To post to this group, send email to net...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/net-dev/CACP%3DMLLrsEJB2HjNFdg6SygSrkgScPdorCVPGwypOcn80xJz0Q%40mail.gmail.com.

Matt Welsh

unread,
Jul 27, 2016, 6:58:05 PM7/27/16
to Charles Harrison, Randall Raymond, net-dev, Randy Smith, Helen Li, Eric Roman
This is super exciting, Randy! I was hoping for something like this a while ago.

Is the idea that future feature development on netlog viewing will happen on this github repo?

Matt


Eric Roman

unread,
Jul 27, 2016, 7:05:07 PM7/27/16
to Matt Welsh, Charles Harrison, Randall Raymond, net-dev, Randy Smith, Helen Li
On Wed, Jul 27, 2016 at 3:57 PM, Matt Welsh <m...@google.com> wrote:
This is super exciting, Randy! I was hoping for something like this a while ago.

+1 !
 

Is the idea that future feature development on netlog viewing will happen on this github repo?

Yes.

Patrick Meenan

unread,
Jul 28, 2016, 9:26:52 AM7/28/16
to net-dev, rds...@google.com, xunj...@google.com, eric...@google.com, rayra...@google.com
Sweet.  Are there plans to be able to take a URL for loading a netlog?  This would make for an awesome online viewer for WebPageTest's captured netlogs.  
It looks like a variation of the ImportView code that uses XHR instead of the File API's should be able to do it pretty cleanly.  If I get some time I can try working up a pull request (or fork it for WPT's use if that's not a direction you want to take it in).

Josh Karlin

unread,
Jul 28, 2016, 9:36:36 AM7/28/16
to Patrick Meenan, net-dev, rds...@google.com, xunj...@google.com, eric...@google.com, rayra...@google.com
+1 to long URL. Then users could post their logs in drive/dropbox/crbug and provide a link to them.

--
You received this message because you are subscribed to the Google Groups "net-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to net-dev+u...@chromium.org.
To post to this group, send email to net...@chromium.org.

Matt Menke

unread,
Jul 28, 2016, 10:43:03 AM7/28/16
to Josh Karlin, Patrick Meenan, net-dev, Randy Smith, Helen Li, Eric Roman, Randall Raymond
Unless any of those allow cross-origin requests, or we have the server with the NetLog viewer make the HTTP requests itself, I don't think magic URLs would work.

Josh Karlin

unread,
Jul 28, 2016, 10:50:23 AM7/28/16
to Matt Menke, Patrick Meenan, net-dev, Randy Smith, Helen Li, Eric Roman, Randall Raymond
Good point. Well, we could enable CORS on WPT and crbug. When users upload netlog attachments the issue could have a link added to it automatically.

Patrick Meenan

unread,
Jul 28, 2016, 10:52:41 AM7/28/16
to Josh Karlin, Matt Menke, net-dev, Randy Smith, Helen Li, Eric Roman, Randall Raymond
Right.  For WPT I could host an instance on the same origin (that's how I embed the dev tools UI), use JSONP to allow cross-origin or just enable CORS.

If the netlog export switches to export (or supports exporting) a JSONP file with a well-known callback that would work on arbitrary hosts.
Reply all
Reply to author
Forward
0 new messages