1. #1
    Ext User
    Join Date
    Mar 2007
    Posts
    38
    Vote Rating
    0
    reignman is on a distinguished road

      0  

    Default Help window.open() crosssite.scripting ERROR in FF

    Help window.open() crosssite.scripting ERROR in FF


    Hey....
    a longtime known bug from Firefox....
    I'm using firefox 1.5.0.9 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]
    as this library is the best and there are so many options in it...
    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

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854
    Vote Rating
    4
    tryanDLS is on a distinguished road

      0  

    Default


    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.

  3. #3
    Ext User
    Join Date
    Mar 2007
    Posts
    38
    Vote Rating
    0
    reignman is on a distinguished road

      0  

    Default


    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)

Similar Threads

  1. Open content dynamic
    By reang in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 8 Mar 2007, 10:18 AM
  2. Unobstrusive scripting
    By francoisz in forum Community Discussion
    Replies: 3
    Last Post: 23 Feb 2007, 10:20 AM
  3. Check to see if tab already open
    By gibberish in forum Ext 1.x: Help & Discussion
    Replies: 4
    Last Post: 9 Jan 2007, 6:12 AM
  4. an error when move a dialog window
    By qiuyl in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 19 Dec 2006, 2:10 PM
  5. which tab is open in dialog on submit
    By Slapyo in forum Ext 1.x: Help & Discussion
    Replies: 8
    Last Post: 11 Dec 2006, 4:43 PM

Thread Participants: 1