20 Feb 2007 1:49 PM #1
Help window.open() crosssite.scripting ERROR in FF
a longtime known bug from Firefox....
I'm using firefox 220.127.116.11 and if I open a well working page with a treeview in a popup I get following error with a HTTPXml request
[Exception... "'Permission denied to call method XMLHttpRequest.open' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no]
can I set any option that this error doesn't occure?
I think its a problem with crossite scripting in ff... but who knows.
This error doesn't occur if iI reload the window.. just when I click on the link with the window.open() function.
PLEASE HELP... whole World would appreciate a sollution
20 Feb 2007 1:59 PM #2
You can't access another domain via XHR - it's not a FF bug. IE may let you do it after putting a warning initially. You can load data into an iframe from another domain.
21 Feb 2007 2:33 AM #3
ohhh... then I expressed not really clearly:
i just open a relative url in the window.open()
for example tree.php
tree.php is a url havin a XHR on Ext.onready()
loding url directly no prob.
loding url by clicking on a link with window.open() ERROR
reloading opened window no error...
oh and one addition:
don't blame me for not using a basic dialog instead of window open... but my prof doesn't like dialog... (kick him)
By reang in forum Ext 1.x: Help & DiscussionReplies: 0Last Post: 8 Mar 2007, 10:18 AM
By francoisz in forum Community DiscussionReplies: 3Last Post: 23 Feb 2007, 10:20 AM
By gibberish in forum Ext 1.x: Help & DiscussionReplies: 4Last Post: 9 Jan 2007, 6:12 AM
By qiuyl in forum Ext 1.x: Help & DiscussionReplies: 2Last Post: 19 Dec 2006, 2:10 PM
By Slapyo in forum Ext 1.x: Help & DiscussionReplies: 8Last Post: 11 Dec 2006, 4:43 PM