Changeset 139217 in webkit


Ignore:
Timestamp:
Jan 9, 2013 12:01:46 PM (11 years ago)
Author:
tonyg@chromium.org
Message:

REGRESSION(r139141): Assertion failure in WebCore::HTMLConstructionSite::HTMLConstructionSite
https://bugs.webkit.org/show_bug.cgi?id=106412

Reviewed by Darin Adler.

This corrects the assertion added in r139141. The assertion was designed to make sure that we are using the
HTMLDocument class. XHTML documents also use HTMLDocument.

No new tests because no new functionality.

  • html/parser/HTMLConstructionSite.cpp:

(WebCore::HTMLConstructionSite::HTMLConstructionSite):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r139216 r139217  
     12013-01-09  Tony Gentilcore  <tonyg@chromium.org>
     2
     3        REGRESSION(r139141): Assertion failure in WebCore::HTMLConstructionSite::HTMLConstructionSite
     4        https://bugs.webkit.org/show_bug.cgi?id=106412
     5
     6        Reviewed by Darin Adler.
     7
     8        This corrects the assertion added in r139141. The assertion was designed to make sure that we are using the
     9        HTMLDocument class. XHTML documents also use HTMLDocument.
     10
     11        No new tests because no new functionality.
     12
     13        * html/parser/HTMLConstructionSite.cpp:
     14        (WebCore::HTMLConstructionSite::HTMLConstructionSite):
     15
    1162013-01-08  Ojan Vafai  <ojan@chromium.org>
    217
  • trunk/Source/WebCore/html/parser/HTMLConstructionSite.cpp

    r139141 r139217  
    147147    , m_inQuirksMode(document->inQuirksMode())
    148148{
    149     ASSERT(m_document->isHTMLDocument());
     149    ASSERT(m_document->isHTMLDocument() || m_document->isXHTMLDocument());
    150150}
    151151
     
    159159    , m_inQuirksMode(fragment->document()->inQuirksMode())
    160160{
    161     ASSERT(m_document->isHTMLDocument());
     161    ASSERT(m_document->isHTMLDocument() || m_document->isXHTMLDocument());
    162162}
    163163
Note: See TracChangeset for help on using the changeset viewer.