Bug 587928 - Disable support for <meta http-equiv="Link">; r,a=jst
authorJonas Sicking <jonas@sicking.cc>
Fri, 04 Feb 2011 14:44:32 -0500
changeset 61967 d12432562484ba649ea1273b2954a7fee3c84aea
parent 61966 a80bddafafb815cf075f59ac5ec35010e203c608
child 61968 b57004abf327ce35f58ff3bb19199b54d7c3670d
push idunknown
push userunknown
push dateunknown
reviewersjst
bugs587928
milestone2.0b12pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 587928 - Disable support for <meta http-equiv="Link">; r,a=jst
content/base/src/nsContentSink.cpp
--- a/content/base/src/nsContentSink.cpp
+++ b/content/base/src/nsContentSink.cpp
@@ -519,19 +519,16 @@ nsContentSink::ProcessHeaderData(nsIAtom
     rv = cookieServ->SetCookieString(codebaseURI,
                                      prompt,
                                      NS_ConvertUTF16toUTF8(aValue).get(),
                                      channel);
     if (NS_FAILED(rv)) {
       return rv;
     }
   }
-  else if (aHeader == nsGkAtoms::link) {
-    rv = ProcessLinkHeader(aContent, aValue);
-  }
   else if (aHeader == nsGkAtoms::msthemecompatible) {
     // Disable theming for the presshell if the value is no.
     // XXXbz don't we want to support this as an HTTP header too?
     nsAutoString value(aValue);
     if (value.LowerCaseEqualsLiteral("no")) {
       nsIPresShell* shell = mDocument->GetShell();
       if (shell) {
         shell->DisableThemeSupport();