2008年10月29日星期三

Firebug 默认不允许JS POST 两次

今天测试数据时遇到很怪的问题,走到js 请求时就提示Aborted.

用Firebug 断点进行检查时在Response中发现,原来FF的 Firebug 默认不允许JS POST 两次.

Firebug needs to POST to the server to get this information for url:
http://dev2.*******.co.uk/results/redir?bt=sponsor&kw=SFAgUGF2aWxpb24gZHY2ODEwZWc%3D&ct=TDEtc2VhcmNo&dp=1&ah=d3d3LnNob3BwaW5nLmhwLmNvbQ%3D%3D&du=aHR0cDovL3d3dy5nb29nbGUuY29tL2FjbGs%2Fc2E9bCZhaT1CbHp1bzJ3NElTYXYtTVo3b3NBUDhxZUF4X3NMV2VJaUw0ZEFKaWJlbEI5RERRaEFCR0FFZ21OWFBDQ2dJTUFFNEFWQ1B3YVRGQjJESjd2LUd5S09RR1lnQkFhQUJyTWFBX3dQSUFRSElBdUxVcGdqWkEwZVhrcWdKeEdkSjRBTUkmbnVtPTEmZ2dsYWRncnA9MTAzNTU4OTAyOCZnZ2xjcmVhdD0yNDg2ODQ2MjI4JnNpZz1BR2lXcXR4QzJQQUxQTWNXUWNFb0NHSEFkYkt3ejJOV19nJnE9aHR0cDovL2NsaWNrc2VydmUuY2MtZHQuY29tL2xpbmsvY2xpY2slM0ZsaWQlM0Q0MzAwMDAwMDAyNDk5NDYzOCUyNmRzX3Nfa3dnaWQlM0Q1ODAwMDAwMDAwMDI2NDk2MSUyNmRzX2VfYWRpZCUzRDI0ODY4NDYyMjglMjZkc19lX21hdGNodHlwZSUzRHNlYXJjaCUyNmRzX3VybF92JTNEMg%3D%3D

This second POST can interfere with some sites. If you want to send the POST again, open a new tab in Firefox, use URL 'about:config', set boolean value 'extensions.firebug.allowDoublePost' to true
This value is reset every time you restart Firefox This problem will disappear when https://bugzilla.mozilla.org/show_bug.cgi?id=430155 is shipped.



按上面操作,修改about:config,终于成功了.

没有评论:

博客归档