troubleshooting Question

IE9 RC, read the value of the object updated in showModalDialog

Avatar of AsteaDev
AsteaDev asked on
Web DevelopmentWeb Development Software
2 Comments1 Solution951 ViewsLast Modified:

I encountered in some problem:

(1) save following code as file "temp.html"

    function NewClass() {

        var m_DDLB = null;
    var variable = new NewClass();  
    var retval = showModalDialog("temp2.html", variable);


(2) save following code as file "temp2.html"

var variable2;

          variable2 = window.dialogArguments;
      variable2.m_DDLB = new Array();
      var ddlbArr = variable2.m_DDLB;

      var doc = new ActiveXObject("MSXML2.DOMDocument");
      doc.async = false
      if (doc.parseError == 0) {
          ddlbArr["temp"] = doc.selectSingleNode("/root").cloneNode(true)


(3) save following code as file "temp.xml"


When I execute code from temp.html in IE7, message box shows me the content of temp.xml.

When I execute code from temp.html in IE9, I did not get anything and in debug mode I can see that the value of the variable.m_DDLB["temp"] in temp.html is

variable.m_DDLB["temp"]              "Permission Denied"
  description                                  "Permission Denied"
  message                                    "Permission Denied"
  name                                          TypeError
  number                                       -2146828218
There is some problem in security that is different from the same security rules defined in previous versions.
Moreover I found another issue(see the link below), that was sing as  already corrected by Microsoft in the build 9.0.8112.16416  (*)
I think that my problem is the same, but I am working with build 9.0.8112.16421, and the problem described in (*) was not resolved.
Please consist.


Bernard Savonet

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros