2017-09-05 7 views
6

主にログインや登録の目的で使用される標準のFacebook APIを使用するプロジェクトがあります。 我々は、エラー通知を受信するために歩哨を使用しているので、(ホームページで)以下のいずれかが頻繁に発生します。FacebookのiFrameセキュリティエラー(document.domain)hasPasswordField_

SecurityError: Blocked a frame with origin "https://www.mywebsite.com" from accessing a 
frame with origin "https://www.facebook.com". The frame being 
accessed set "document.domain" to "facebook.com", but the frame requesting access did not. 
Both must set "document.domain" to the same value to allow access. 
at hasPasswordField_ (/en:1:368) 
at hasPasswordField_ (/en:1:499) 
at findPasswordForms (/en:1:173) 
at global code (/en:10:27) 

方法

hasPasswordField_/findPasswordForms 

は、プロジェクトコードに存在しないので、それは奇妙です。

エラーが現在

iOS版Chromeのモバイルバージョンでのみ発生するので:59.0.3071 | 60.0.3112

FacebookのiFrameにアクセスしようとしているChromeの内部コンポーネントがあるか、またはFacebookがウェブページ上のいくつかのパスワードフィールドを検索していますか?

UPDATE:彼らはエラーを無視して、単に示唆 https://github.com/getsentry/sentry/issues/5267 :さらに検索した後、私は歩哨GITページで、この記事を見つけました

どのように違うのでしょうか? ご協力いただければ幸いです!

+2

https://cs.chromium.org/chromium/src/ios/chrome/browser/passwords/resources/password_controller.js?qバージョンで修正されたことをここに述べています= hasPasswordField_&sq = package:chromium&dr = CSs&l = 41 –

+0

@JoshLee:私は修正を適用することができないと思いますし、セントリリーを使ってエラー通知を受け取るので、唯一行うべきことは例外を追加して。あなたは同じ意見を持っていますか?ありがとう! – misterwolf

答えて

関連する問題