Changeset 122509 in webkit


Ignore:
Timestamp:
Jul 12, 2012 2:41:20 PM (12 years ago)
Author:
abarth@webkit.org
Message:

Regression (r122359) Layout Test html5lib/runner.html is failing
https://bugs.webkit.org/show_bug.cgi?id=91047

Reviewed by Tony Chang.

Source/WebCore:

This ASSERT is bogus because doctypes can be removed from the DOM and
then re-added.

Test: fast/viewport/viewport-legacy-xhtmlmp-remove-and-add.html

  • dom/Document.cpp:

(WebCore::Document::setDocType):

LayoutTests:

Add a test that shows what happens when a doctype gets added and
removed.

  • fast/viewport/viewport-legacy-xhtmlmp-remove-and-add-expected.txt: Added.
  • fast/viewport/viewport-legacy-xhtmlmp-remove-and-add.html: Added.
  • platform/chromium/TestExpectations:
Location:
trunk
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r122508 r122509  
     12012-07-12  Adam Barth  <abarth@webkit.org>
     2
     3        Regression (r122359) Layout Test html5lib/runner.html is failing
     4        https://bugs.webkit.org/show_bug.cgi?id=91047
     5
     6        Reviewed by Tony Chang.
     7
     8        Add a test that shows what happens when a doctype gets added and
     9        removed.
     10
     11        * fast/viewport/viewport-legacy-xhtmlmp-remove-and-add-expected.txt: Added.
     12        * fast/viewport/viewport-legacy-xhtmlmp-remove-and-add.html: Added.
     13        * platform/chromium/TestExpectations:
     14
    1152012-07-12  Ojan Vafai  <ojan@chromium.org>
    216
  • trunk/LayoutTests/platform/chromium/TestExpectations

    r122493 r122509  
    37453745BUGWK90980 WIN : fast/forms/textarea/textarea-state-restore.html = PASS TIMEOUT
    37463746
    3747 // Started crashing after r122359
    3748 BUGWK91047 DEBUG : html5lib/runner.html = CRASH
    3749 
    37503747// Started crashing after 122286
    37513748BUGWK91133 WIN : storage/indexeddb/constants.html = PASS CRASH
  • trunk/Source/WebCore/ChangeLog

    r122508 r122509  
     12012-07-12  Adam Barth  <abarth@webkit.org>
     2
     3        Regression (r122359) Layout Test html5lib/runner.html is failing
     4        https://bugs.webkit.org/show_bug.cgi?id=91047
     5
     6        Reviewed by Tony Chang.
     7
     8        This ASSERT is bogus because doctypes can be removed from the DOM and
     9        then re-added.
     10
     11        Test: fast/viewport/viewport-legacy-xhtmlmp-remove-and-add.html
     12
     13        * dom/Document.cpp:
     14        (WebCore::Document::setDocType):
     15
    1162012-07-12  Ojan Vafai  <ojan@chromium.org>
    217
  • trunk/Source/WebCore/dom/Document.cpp

    r122498 r122509  
    816816        this->adoptIfNeeded(m_docType.get());
    817817#if ENABLE(LEGACY_VIEWPORT_ADAPTION)
    818         ASSERT(m_viewportArguments.type == ViewportArguments::Implicit);
    819818        if (m_docType->publicId().startsWith("-//wapforum//dtd xhtml mobile 1.", /* caseSensitive */ false))
    820819            processViewport("width=device-width, height=device-height", ViewportArguments::XHTMLMobileProfile);
Note: See TracChangeset for help on using the changeset viewer.