зеркало из https://github.com/mozilla/pjs.git
Bug 303252: Feedview doesn't mark up .rdf file served as application/rdf+xml, patch by Phil Ringnalda <bugzilla@philringnalda.com>, r+a=mconnor
This commit is contained in:
Родитель
0d8b79a0bf
Коммит
8e5c60ebf0
|
@ -6137,7 +6137,9 @@ var FeedHandler = {
|
|||
*/
|
||||
_validate: function(doc) {
|
||||
// See if the document is XML. If not, it's definitely not a feed.
|
||||
if (!(doc instanceof XMLDocument))
|
||||
if (!(doc instanceof XMLDocument) &&
|
||||
// bandaid for bug 256084
|
||||
!(doc instanceof XULDocument))
|
||||
return false;
|
||||
|
||||
// See if the document we're dealing with is actually a feed.
|
||||
|
|
Загрузка…
Ссылка в новой задаче