mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
Bug #272812 --> scoping issue with the xml serializer leads to some XMLSerializer
not defined messages. Patch by Robert Sayre.
This commit is contained in:
parent
ac5170de7c
commit
e34c866ebd
@ -64,8 +64,7 @@ FeedParser.prototype =
|
||||
// This is slower, but not noticably so. Mozilla doesn't have the
|
||||
// XMLHttpRequest.responseBody property that IE has, which provides access
|
||||
// to the unencoded response.
|
||||
var serial=new XMLSerializer();
|
||||
var xmlString=serial.serializeToString(aDOM.documentElement);
|
||||
var xmlString=serializer.serializeToString(aDOM.documentElement);
|
||||
return this.parseAsRSS1(aFeed, xmlString, aBaseURI);
|
||||
}
|
||||
else if (aDOM.documentElement.namespaceURI == ATOM_03_NS)
|
||||
|
Loading…
Reference in New Issue
Block a user