未捕获异常:Permission denied to Proxy.InstallTrigger
Uncaught Exception: Permission denied to Proxy.InstallTrigger
我已经到处搜索了这个,可以很容易地复制它。运行绝对最新的PHP SDK和JS是直接来自facebook通过HTTPS连接。我的"MyAppId"和域名已在以下代码中更改。用你自己的替换来复制。
这是Firefox 8和Firebug。
复制代码:`
<body>
<div id="fb-root"></div>
<script type="text/javascript">
window.fbAsyncInit = function() {
FB.init({
appId: 'MyAppID',
status: true,
oauth : true,
cookie: true,
channelURL : 'https://www.mydomain.com/channel.html'
});
FB.Canvas.setAutoResize();
FB.Canvas.scrollTo(0,0);
};
(function() {
var e = document.createElement('script'); e.async = true;
e.src = document.location.protocol +
'//connect.facebook.net/en_US/all.js';
document.getElementById('fb-root').appendChild(e);
}());
</script>
Test
</body>
</html>
绝对是对FB的调用。生成错误的画布。如果我把两者都注释掉,没有错误。如果我取消注释一个或另一个或两个-错误。
代码直到几天前都工作得很好。瞄准页面顶部并适当缩放iframe。我相信这是一个FB JS错误。
好像是FireBug的bug:)
复制步骤:http://code.google.com/p/fbug/issues/detail?id=4991
报道:https://bugzilla.mozilla.org/show_bug.cgi?id=701029
讨论:http://groups.google.com/group/firebug/browse_thread/thread/2517d5f867b9f526/90f066856b45786f
所以放轻松点:)
问题不在于ff或fb插件是firebug。我用ff 8.0和firebug 1.84检查了一个页面,得到了错误。然后我用firebug 1.8.3检查了ff 8.0。
这是兼容性表:Firefox 3.6 with Firebug 1.7.3
Firefox 4.0 with Firebug 1.7.3
Firefox 5.0 with Firebug 1.8.2 (and also Firebug 1.7.3)
Firefox 6.0 with Firebug 1.8.2 (and also Firebug 1.9 alpha)
Firefox 7.0 with Firebug 1.8.2 (and also Firebug 1.9 alpha)
Firefox 8.0 with Firebug 1.8.3 (and also Firebug 1.9 alpha)
Firefox 9.0 with Firebug 1.8.4 (and also Firebug 1.9 alpha)
Firefox 10.0 with Firebug 1.9 alpha
所以…别担心,开心点。不是一个真正的错误…我认为。: P
相关文章:
- 节点Js:How to catch a“;没有这样的文件或目录“;读取线模块出错
- jQuery AJAX write to XML
- grep in JQuery to C#
- how to convert html <div> to pdf
- Node.js - POST to iFrame?
- SVG xml to image
- Advantages to DOMParser vs template & innerHTML
- how to split a string with ','
- How to declare a Map containing certain properties with flow
- Php variable obj to js
- 如何在submit to sightly时将表单输入值作为参数传递给WCMUsePojo
- D3JS selectAll to append rect
- Javascript connect to websocket
- Underscore each to update collection
- 在哪里可以找到R-to-JavaScript编译器
- SCEditor BBcode to HTML parsing
- Javascript RegEx to XML Schema RegEx
- How to apply javascript on <asp:Buttonfield>?
- PHP Vars to JavaScript Laravel 5.2
- 未捕获异常:Permission denied to Proxy.InstallTrigger