XMLHttpRequest-ing XML file with xml-stylesheet within chromes causes segfault

RESOLVED WORKSFORME

Status

()

Core
XML
--
critical
RESOLVED WORKSFORME
16 years ago
15 years ago

People

(Reporter: Stephen Harris, Assigned: Heikki Toivonen (remove -bugzilla when emailing directly))

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

16 years ago
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7+) Gecko/20020108
BuildID:    2002010806

Using the XMLHttpRequest object, like so:

        var xmlr = new XMLHttpRequest();
        try {
                xmlr.open("GET", url, false);
                xmlr.send(null);
                var d = xmlr.responseXML;
                debug("Status: "+xmlr.status+" "+xmlr.statusText);
                return d;
        } catch(ex) {
                alert("xmlDownload <"+url+">: "+ex);
                return null;
        }

With the example XML file, within chrome context, the obove code cases a
segfault (I sent some talkback responses, but don't have the numbers).

Removing the xml-stylesheet or running from outside chrome context, eg.
http://inanna.ecs.soton.ac.uk/~swh/xmldl.html is fine.

I haven't tried async loading.

Reproducible: Always

Steps to Reproduce:

Copy the http://inanna.ecs.soton.ac.uk/~swh/xmldl.html file into chrome
somewhere and load it.

Actual Results:  Mozilla segfaults

Comment 1

16 years ago
Reporter,

Can you try with a newer nightly build ? 

Comment 2

16 years ago
Marking wfm in the Feb 25th (2002-02-25-03) build.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → WORKSFORME

Updated

15 years ago
QA Contact: petersen → rakeshmishra
You need to log in before you can comment on or make changes to this bug.