Domanda

Just like in Chrome Developer Tool, I was wondering if there is any tool/extension/plugin which would allow me to export timeline data in Safari. I tried the nightly build of webkit but it does not have that feature. Seems like this is a Chrome specific functionality.

I have to use Safari because I am testing a webapp on iPhone.

I searched around for any hints but could not get any. As of now I am thinking of two options to get the timeline information:

  • Build a Safari extension
  • Get Chrome Dev Tool's timeline code and build my own version of webkit (if that's even possible!)

Any guides/insights would be highly appreciated!

Update 1: I downloaded Webkit and found out that it supports remote iPhone debugging through USB. Probably I can find the code for web inspector for Webkit and use that code to export the timeline data.

È stato utile?

Soluzione

Safari's Web inspector does use the WebKit remote debugging protocol. However, Safari does not use TCP/HTTP as a transport layer, thus making it incompatible with Chrome. source

Thankfully, someone from Google wrote a proxy allowing to overcome this limitation.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top