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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user