Microsoft KB Archive/814458

From BetaArchive Wiki
Knowledge Base


Article ID: 814458

Article Last Modified on 5/16/2007



APPLIES TO

  • Microsoft Internet Explorer 6.0
  • Microsoft Internet Explorer 6.0
  • Microsoft Internet Explorer 6.0
  • Microsoft Internet Explorer 6.0
  • Microsoft Internet Explorer 6.0
  • Microsoft Internet Explorer 6.0
  • Microsoft Internet Explorer 6.0
  • Microsoft Internet Explorer 6.0
  • Microsoft Internet Explorer 5.5 Service Pack 2
  • Microsoft Internet Explorer 5.01



SYMPTOMS

After you install the February, 2003, Cumulative Patch for Internet Explorer (MS03-004), an HTML dialog window that is opened by a Web page may not work correctly, or you may receive a script error message.

CAUSE

This problem occurs when script in an HTML dialog window (that is opened by using the showModalDialog or showModelessDialog method) tries to set the security domain of the document to a different value by using the document.Domain property. After you install the February, 2003, Cumulative Patch for Internet Explorer (MS03-004), this type of domain change is denied to prevent a malicious Web site operator from accessing information in another Internet domain, or on your local computer.

WORKAROUND

Contact the administrator or content developer for the Web site to resolve this issue. Content developers who must set the domain property for the dialog window to another value but must still have access to the dialogArguments property values can work around this issue by creating a local variable to store the dialogArguments value before the document.Domain property is used to change the domain. After the domain change, the local variable can be used in the rest of the script to use the information that was passed to the showModalDialog or showModelessDialog method as arguments.


STATUS

This behavior is by design.

MORE INFORMATION

The showModalDialog and showModelessDialog methods support three parameters: the Uniform Resource Locator (URL), the arguments, and the features of the dialog window. Scripts that run in a dialog window that is created by using the showModalDialog or showModelessDialog method have access to only the URL that was used to create the dialog window when they try to change the domain. After you install the February, 2003, Cumulative Patch for Internet Explorer (MS03-004), the document.Domain property cannot be used to change the domain of an HTML dialog window to a domain that is different from the URL that appears in the dialog window.

For additional information about the February, 2003, Cumulative Patch for Internet Explorer (MS03-004), click the following article number to view the article in the Microsoft Knowledge Base:

810847 MS03-004: February, 2003, Cumulative Patch for Internet Explorer


REFERENCES

For additional information about the showModalDialog method, visit the following Microsoft Web site:

For additional information about the showModelessDialog method, visit the following Microsoft Web site:

For additional information about the domain property, visit the following Microsoft Web site:


Additional query words: modal modaless box

Keywords: kbprb KB814458