Bug 303252 : Feedview doesn't mark up .rdf file served as application/rdf+xml, patch by Phil Ringnalda <bugzilla@philringnalda.com>, r+a=mconnor

git-svn-id: svn://10.0.0.236/trunk@177308 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
gavin%gavinsharp.com
2005-08-08 03:37:36 +00:00
parent 18fbb9f171
commit bd688eee95

View File

@@ -117,7 +117,9 @@ function feedviewIsFeed(doc) {
// Checks every document to see if it's a feed file, and transforms it if so.
function maybeLoadFeedview(evnt) {
// See if the document is XML. If not, it's definitely not a feed.
if (!(evnt.originalTarget instanceof XMLDocument))
if (!(evnt.originalTarget instanceof XMLDocument) &&
// bandaid for bug 256084
!(evnt.originalTarget instanceof XULDocument))
return;
var dataXML = evnt.originalTarget;