| Summary: | BrowserFunction not found in Firefox, with different port | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Flavio Donze <flavio.donze> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED NOT_ECLIPSE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 1.4 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Flavio Donze
Hi Flavio, I did some tests and the result is the following. FF, Safari, Chrome and Opera throw "Permission denied" error when we try to get the window of the iframe - "Permission denied for <http://127.0.0.1:8080> to get property HTMLDocument.defaultView from <http://127.0.0.1:8081>". This is a typical error for cross-domain scripting. Only IE allows this :-). Different protocols or ports are considered different domains. Typically, the solution to this is to map the resource from one to the other. We have plans to improve the Browser widget error handling for such kind of errors - see bug 330361. We can't do anything against browser security policies. That's why I will close this bug as NOT_ECLIPSE. |