Article ID: 814458 - View products that this article applies to.
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.
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.
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.
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:
(http://support.microsoft.com/kb/810847/EN-US/ )MS03-004: February, 2003, Cumulative Patch for Internet Explorer
For additional information about the showModalDialog method, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/library/ms536759.aspxFor additional information about the showModelessDialog method, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/library/ms536761.aspxFor additional information about the domain property, visit the following Microsoft Web site:
Article ID: 814458 - Last Review: May 16, 2007 - Revision: 3.5
Contact us for more help
Connect with Answer Desk for expert help.