我在登录picassa时遇到了很多问题,似乎有一个问题是使用platform.js登录在最新的Firefox中被破坏了。
https://developers.google.com/identity/sign-in/web/
在Chrome中运行良好。这并不奇怪。边缘也可以
但是在Firefox上,在使用securityErrors加载的platform.js中失败了。使用signin按钮,回调永远不会被调用。
这是FFx控制台中的错误和堆栈跟踪
我在本地提供http,但在远程https时看到了相同的错误。
SecurityError: The operation is insecure.
hasLocalStorage()
iframe:59
<anonymous>
iframe:82
<anonymous>
iframe:1
insertScript()
supercookie.js:32
<anonymous>
supercookie.js:146
load()
sandbox.js:66
importScripts()
sandbox.js:326
WorkerSandbox()
sandbox.js:287
bound call()
self-hosted
constructor()
heritage.js:146
initialize()
worker-child.js:52
bound call()
self-hosted
constructor()
heritage.js:146
createWorker()
page-mod.js:156
onContent()
page-mod.js:189
onContentWindow()
page-mod.js:121
bound onContentWindow()
self-hosted
iframe:59
GET https://ssl.gstatic.com/accounts/o/2748322407-idpiframe.js [HTTP/2.0 200 OK 0ms]
SecurityError: The operation is insecure.
w.prototype.pa()
2748322407-idpiframe.js:6
h.start()
2748322407-idpiframe.js:42
sb()
2748322407-idpiframe.js:76
<anonymous>
iframe:1