Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 653078 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-5 / +2 lines)
Line  Link Here
0
-- /blink/renderer/core/xml/parser/xml_document_parser.cc
0
++ /blink/renderer/core/xml/parser/xml_document_parser.cc
Lines 538-547 Link Here
538
static bool ShouldAllowExternalLoad(const KURL& url) {
538
static bool ShouldAllowExternalLoad(const KURL& url) {
539
  String url_string = url.GetString();
539
  String url_string = url.GetString();
540
540
541
  // libxml should not be configured with catalogs enabled, so it
542
  // should not be asking to load default catalogs.
543
  CHECK(!IsLibxmlDefaultCatalogFile(url));
544
545
  // The most common DTD. There isn't much point in hammering www.w3c.org by
541
  // The most common DTD. There isn't much point in hammering www.w3c.org by
546
  // requesting this URL for every XHTML document.
542
  // requesting this URL for every XHTML document.
547
  if (url_string.StartsWithIgnoringASCIICase("http://www.w3.org/TR/xhtml"))
543
  if (url_string.StartsWithIgnoringASCIICase("http://www.w3.org/TR/xhtml"))
Lines 648-653 Link Here
648
  if (did_init)
644
  if (did_init)
649
    return;
645
    return;
650
646
647
  xmlCatalogSetDefaults(XML_CATA_ALLOW_NONE);
651
  xmlInitParser();
648
  xmlInitParser();
652
  xmlRegisterInputCallbacks(MatchFunc, OpenFunc, ReadFunc, CloseFunc);
649
  xmlRegisterInputCallbacks(MatchFunc, OpenFunc, ReadFunc, CloseFunc);
653
  xmlRegisterOutputCallbacks(MatchFunc, OpenFunc, WriteFunc, CloseFunc);
650
  xmlRegisterOutputCallbacks(MatchFunc, OpenFunc, WriteFunc, CloseFunc);

Return to bug 653078