> It was rapidshare.de . Some file I uploaded. You can find the .har file 
> athttp://drop.io/jymsoyr-shortlink
> ORhttp://drop.io/jymsoyr/asset/rapiduploaddata-har- long link.
OK, thanks, I see the file.
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.

> > 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).

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"
    },
    ...
})

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.

Honza

--~--~---------~--~----~------------~-------~--~----~
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