Menu

#18 html generated fail in Chrome

v1.0 (example)
wont-fix
nobody
None
5
2014-03-16
2013-07-02
No

The generated code work successfully in FF, but fail in Chrome browser.

window.parent.document.getElementById( "frameCont" )

Chrome doesn't allow access to parent document in local mode (yes with http protocol)

"Blocked a frame with origin "null" from accessing a frame with origin "null". Protocols, domains, and ports must match. "

Discussion

  • Antonio Fco. Bennasar Obrador

    This is a security feature of chrome, and is hard to fix it. I'm planning to create a new webhelp page without frames. Until that, the workaround is run chrome without that control. There is a flag for that: --allow-file-access-from-files.

    Try to run "C:\Program Files\Google\Chrome\Application\chrome.exe" --allow-file-access-from-files "thewebhelpdirectory\index.html".

     
  • Antonio Fco. Bennasar Obrador

    • status: open --> wont-fix
     
  • Antonio Fco. Bennasar Obrador

    Added warning for that on the documentation

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.