weixin_39605326 2020-11-30 16:00
浏览 0

Programmatic triggering of NetExport

Originally reported on Google Code with ID 5971


* It would be great to programmatically with Javascript trigger an export of the net
panel
* Rather than having auto export turned on and have it upload when page load is complete,
I would like it to be triggered by some Javascript like:

$ Firebug.netexport.export()

This means I'd be able to more easily capture net stats during Selenium acceptance
tests as I could send that Javascript to the browser at the end of a test. I'd probably
also be using it with persist enabled on the net panel so that I captured all net activity
for a whole test case

I must admit that I have no idea if you can provide hooks like that into Javascript...or
even if securitywise you would want to!

Make sure you have the latest version of Firebug
(http://getfirebug.com/releases/firebug/).
Browser version: Firefox 14
Operating system: Ubuntu 12.04

Reported by kieranshaw on 2012-10-09 14:15:30

该提问来源于开源项目:firebug/firebug

  • 写回答

45条回答 默认 最新

  • weixin_39605326 2020-11-30 16:00
    关注
    
    Related thread:
    http://groups.google.com/group/firebug/browse_thread/thread/d5a13b6f3f350c11
    
    So, the big question is how to make sure the API doesn't represent a security issue.
    
    
    Honza
    

    Reported by odvarko on 2012-10-10 10:00:39 - Status changed: Triaged - Labels added: Type-Enhancement, extension-issue, extension-netexport

    评论

报告相同问题?