Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 431839

Summary: [Browser] JS execution security has changed in XULRunner 24
Product: [Eclipse Project] Platform Reporter: Grant Gayed <grant_gayed>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, matthew.painter
Version: 4.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Grant Gayed CLA 2014-04-02 16:59:46 EDT
JS executions that require special access beyond JS now fail in XULRunner 24 (though more typical JS executions still work).  As an example, the following works in XULRunner 10 (shows an alert) but fails in XULRunner 24:

browser.execute("alert(window.QueryInterface(Components.interfaces.nsIInterfaceRequestor).getInterface(Components.interfaces.nsIDOMWindowUtils))");
Comment 1 Grant Gayed CLA 2014-04-07 09:47:54 EDT

*** This bug has been marked as a duplicate of bug 429739 ***