[Webkit-unassigned] [Bug 15084] New: Blizzard fan art pages don't work because of lack of Document.load

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 26 13:38:19 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=15084

           Summary: Blizzard fan art pages don't work because of lack of
                    Document.load
           Product: WebKit
           Version: 522+ (nightly)
          Platform: Macintosh
               URL: http://www.blizzard.com/inblizz/fanart/ScreenShot.shtml
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: XML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: darin at apple.com


The Blizzard fan art pages seem to have been recently updated. The page at
<http://www.blizzard.com/inblizz/fanart/ScreenShot.shtml> fails with a
JavaScript exception.

There's a function call importXML:

function importXML()
{ 

        if (document.implementation && document.implementation.createDocument)
        {
                xmlDoc = document.implementation.createDocument("", "", null);
                xmlDoc.onload = addEntries;
        }
        else if (window.ActiveXObject)
        {
                xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
                xmlDoc.onreadystatechange = function () {
                        if (xmlDoc.readyState == 4) addEntries()
                };
        }
        else
        {
                alert('Your browser can\'t handle this script');
                return;
        }
        xmlDoc.load("Web.xml");
}

I'd normally expect to see something like this done with XMLHttpRequest.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list