未捕获异常:拒绝Proxy.InstallTrigger的权限 [英] Uncaught Exception: Permission denied to Proxy.InstallTrigger

查看:157
本文介绍了未捕获异常:拒绝Proxy.InstallTrigger的权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经搜索高低了,可以很容易地重现它。运行绝对最新的PHP SDK和JS通过HTTPS连接直接从Facebook。我的MyAppId和域已在以下代码中更改。替换你自己的复制。

I've searched high and low for this and can easily reproduce it. Running absolute latest PHP SDK and the JS is coming directly from facebook over an HTTPS connection. My 'MyAppId' and domain have been changed in the code that follows. Substitute your own to reproduce.

这是与Firefox 8和Firebug。

This is with Firefox 8 and Firebug.

代码复制:
`





Code to reproduce: `

<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.Canvas。如果我同时评论,没有错误。如果我取消注释一个或另一个或两个 - 错误。

It is most definitely the calls to FB.Canvas that are generating the error. If I comment both out, no error. If I uncomment one or the other or both - Error.

该代码在几天前正常工作。定位页面顶部并正确缩放iframe。我相信这是一个FB JS错误。

The code was working fine until a few days ago. Targeting the top of the page and scaling the iframe properly. I believe this is a FB JS error.

推荐答案

看起来像是FireBug的一个bug:)

It seems like a bug of FireBug :)

再现步骤: 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

所以轻松一点:)

这篇关于未捕获异常:拒绝Proxy.InstallTrigger的权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆