'Firefox gwt iframe

How to fix

Error: Permission denied to access property 'document' @ http://88.247.142.52:8080/Color/?subProgram=color&lng=en:41

Error on firefox, while trying to use an GWT application in an iframe from another domain.



Solution 1:[1]

I think it is a Xross-Domain Problem:

Chrome:

Unsafe JavaScript attempt to access frame with URL http://mesametal.set-soft.com/Anasayfa/en from frame with URL http://88.247.142.52:8080/Color/?subProgram=color&lng=en. Domains, protocols and ports must match.

FireFox:

[14:14:27.956] Error: Permission denied to access property 'document' @ http://88.247.142.52:8080/Color/?subProgram=color&lng=en:41

Compile the project and add it to the same server as the rest of your website. Use the new firefox DevBar or Firebug. And take a look at the error console.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Christian Kuetbach