in-line :-

On Thu, Sep 17, 2009 at 13:26, Jan Odvarko <[email protected]> wrote:
>
>> It was rapidshare.de . Some file I uploaded. You can find the .har file at 
>> http://drop.io/jymsoyr-shortlink
>> OR http://drop.io/jymsoyr/asset/rapiduploaddata-har- long link.
> OK, thanks, I see the file.

Great.

> 90% of the file takes the response text. I think the NetExport
> extension should limit the response text to reasonable size. Other
> option would be also to put these responses into extra files and zip
> all together.

Good, something to work for perhaps in Netexport-0.7a14 perhaps ;-) ?

>> > The content of the online-file must be enclosed in a callback function
>> > specified in the URL
>> > onInputData(content of the original har file)
>> Don't understand this part, you would have to simplify :)
>
> In order to allow cross domain requests (so the viewer can load online
> har logs from different domains), the viewer is generating <script>
> tags and expecting a result back to calls a specified callback handler
> (this is roughly the what JSONP is about).

let's forget this part as told before its way above me.

> Simple example:
>
> var script = document.createElement("script");
> script.setAttribute("src", <url-of-the-har-log-file>);
> script.setAttribute("type", "text/javascript");
> document.body.appendChild(script);
>
> This is why the content of the online har file should look somehow
> like as follows:
> onInputData({
>  "log":{
>    "version":"1.0",
>    "creator":{
>      "name":"Firebug",
>      "version":"1.5X.0a21"
>    },
>    ...
> })

This is okish to understand. From what I understand is what the code
of .har file contains
and what it contains.

If I understand correctly, the viewer is something like the web
browser and the .har file is like the HTML code that is on servers.
The viewer basically parses the file and gives you the output. (I hope
I got the analogy right)

> When the loaded file (e.g. javascript) is loaded and executed the
> onInputData is called and the viewer, which implements the function -
> gets the loaded data and can preview it.

right .

> Honza

-- 
          Regards,
          Shirish Agarwal
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to