未捕获异常:Permission denied to Proxy.InstallTrigger

Uncaught Exception: Permission denied to Proxy.InstallTrigger

本文关键字:to Proxy InstallTrigger denied Permission 捕获异常      更新时间:2023-09-26

我已经到处搜索了这个,可以很容易地复制它。运行绝对最新的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