overlay/net-libs/xulrunner/files/bug-606109.patch

49 lines
1.2 KiB
Diff
Raw Normal View History

2012-01-20 06:57:10 +01:00
# HG changeset patch
# User Jory A. Pratt <anarchy@gentoo.org>
# Parent 74e4421e0a30c6e21b594675e32a8d9d663c309c
Add missing ifde MOZ_MEDIA
diff --git a/content/base/src/nsContentSink.cpp b/content/base/src/nsContentSink.cpp
--- a/content/base/src/nsContentSink.cpp
+++ b/content/base/src/nsContentSink.cpp
@@ -1860,17 +1860,19 @@ nsIAtom** const kDefaultAllowedTags [] =
&nsGkAtoms::nobr,
&nsGkAtoms::noscript,
&nsGkAtoms::ol,
&nsGkAtoms::optgroup,
&nsGkAtoms::option,
&nsGkAtoms::output,
&nsGkAtoms::p,
&nsGkAtoms::pre,
+#ifdef MOZ_MEDIA
&nsGkAtoms::progress,
+#endif
&nsGkAtoms::q,
&nsGkAtoms::rp,
&nsGkAtoms::rt,
&nsGkAtoms::ruby,
&nsGkAtoms::s,
&nsGkAtoms::samp,
&nsGkAtoms::section,
&nsGkAtoms::select,
@@ -1952,17 +1954,19 @@ nsIAtom** const kDefaultAllowedAttribute
&nsGkAtoms::itemref,
&nsGkAtoms::itemscope,
&nsGkAtoms::itemtype,
&nsGkAtoms::kind,
&nsGkAtoms::label,
&nsGkAtoms::lang,
&nsGkAtoms::list,
&nsGkAtoms::longdesc,
+#ifdef MOZ_MEDIA
&nsGkAtoms::loop,
+#endif
&nsGkAtoms::low,
&nsGkAtoms::max,
&nsGkAtoms::maxlength,
&nsGkAtoms::media,
&nsGkAtoms::min,
&nsGkAtoms::mozdonotsend,
&nsGkAtoms::method,
&nsGkAtoms::multiple,