Community
Participate
Working Groups
Hi, I'm trying to launch the standalone help from an RSA-signed applet. My entry point is an html document on my file system: it contains a 2-frame frameset. One of the frames references an html document embedding my applet. Once the standalone help has started, the location of the other frame is changed to http://<port>:<portnumber>/help/index.jsp Almost all features of the standalone help work fine. However, I have found 2 problems when: 1) I click on "Search scope" -> in Firefox 2.0.0.4, I get the following message in the Error Console: Error: uncaught exception: Permission denied to get property Window.screenX 2) I click "Print selected topic and all subtopics" -> in Firefox 2.0.0.4, I get the following message in the Error Console: Error: uncaught exception: Permission denied to get property Window.screenLeft I was able to avoid these 2 problems with the following patch (see attachment). Would you be willing to review it? And, if you're satisfied with it, apply it to HEAD and the 3.3 maintenance branch? Thanks.
Created attachment 72773 [details] avoid using the top property
(In reply to comment #0) > http://<port>:<portnumber>/help/index.jsp Oops. I meant to say http://<host>:<port>/help/index.jsp
Adam, can you look review this patch?
The patch relies on the deeply nested structure of frames in the help system which is not ideal, but most of the help system relies on this structure. Any future change to the framing would already require a massive overhaul, so one more instance of "parent.parent..." is not the end of the world. Other than that, the patch is good.
We should get this into 3.3.1. Both these situations were in code which was new in Eclipse 3.3.
Fixed in HEAD
Fixed in 3.3.1 maintenance stream.