Changeset 57100 in webkit


Ignore:
Timestamp:
Apr 5, 2010 4:07:32 PM (14 years ago)
Author:
abarth@webkit.org
Message:

2010-04-05 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r57081.
http://trac.webkit.org/changeset/57081
https://bugs.webkit.org/show_bug.cgi?id=37121

We think it triggered two tests to fail on Tiger because of
race conditions (Requested by abarth on #webkit).

  • fast/forms/listbox-selection.html:
  • fast/forms/select-change-listbox-to-popup-roundtrip-expected.txt: Removed.
  • fast/forms/select-change-listbox-to-popup-roundtrip.html: Removed.
  • fast/forms/select-change-popup-to-listbox-roundtrip-expected.txt: Removed.
  • fast/forms/select-change-popup-to-listbox-roundtrip.html: Removed.
  • fast/forms/textarea-and-mutation-events-expected.txt: Removed.
  • fast/forms/textarea-and-mutation-events.html: Removed.

2010-04-05 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r57081.
http://trac.webkit.org/changeset/57081
https://bugs.webkit.org/show_bug.cgi?id=37121

We think it triggered two tests to fail on Tiger because of
race conditions (Requested by abarth on #webkit).

  • dom/Node.cpp: (WebCore::Node::dispatchGenericEvent):
  • html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::parseMappedAttribute):
Location:
trunk
Files:
6 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r57098 r57100  
     12010-04-05  Sheriff Bot  <webkit.review.bot@gmail.com>
     2
     3        Unreviewed, rolling out r57081.
     4        http://trac.webkit.org/changeset/57081
     5        https://bugs.webkit.org/show_bug.cgi?id=37121
     6
     7        We think it triggered two tests to fail on Tiger because of
     8        race conditions (Requested by abarth on #webkit).
     9
     10        * fast/forms/listbox-selection.html:
     11        * fast/forms/select-change-listbox-to-popup-roundtrip-expected.txt: Removed.
     12        * fast/forms/select-change-listbox-to-popup-roundtrip.html: Removed.
     13        * fast/forms/select-change-popup-to-listbox-roundtrip-expected.txt: Removed.
     14        * fast/forms/select-change-popup-to-listbox-roundtrip.html: Removed.
     15        * fast/forms/textarea-and-mutation-events-expected.txt: Removed.
     16        * fast/forms/textarea-and-mutation-events.html: Removed.
     17
    1182010-04-05  Alexey Proskuryakov  <ap@apple.com>
    219
  • trunk/LayoutTests/fast/forms/listbox-selection.html

    r57081 r57100  
    151151                var sl = document.createElement("select");
    152152                var i = 0;
    153                 sl.size = sz;
    154153                while (i < sz) {
    155154                    var opt = document.createElement("option");
    156155                    if (i == selIndex)
    157156                        opt.selected = true;
    158                     opt.textContent = "item " + i;
     157                    opt.innerText = "item " + i;
    159158                    sl.appendChild(opt);
    160159                    i++;
    161160                }
     161                sl.size = sz;
    162162                sl.multiple = mlt;
    163163                sl.id = idName;
  • trunk/WebCore/ChangeLog

    r57099 r57100  
     12010-04-05  Sheriff Bot  <webkit.review.bot@gmail.com>
     2
     3        Unreviewed, rolling out r57081.
     4        http://trac.webkit.org/changeset/57081
     5        https://bugs.webkit.org/show_bug.cgi?id=37121
     6
     7        We think it triggered two tests to fail on Tiger because of
     8        race conditions (Requested by abarth on #webkit).
     9
     10        * dom/Node.cpp:
     11        (WebCore::Node::dispatchGenericEvent):
     12        * html/HTMLSelectElement.cpp:
     13        (WebCore::HTMLSelectElement::parseMappedAttribute):
     14
    1152010-04-05  Brady Eidson  <beidson@apple.com>
    216
  • trunk/WebCore/dom/Node.cpp

    r57081 r57100  
    27062706#endif
    27072707
     2708    Document::updateStyleForAllDocuments();
     2709
    27082710    return !event->defaultPrevented();
    27092711}
  • trunk/WebCore/html/HTMLSelectElement.cpp

    r57081 r57100  
    201201        if (attrSize != attr->value())
    202202            attr->setValue(attrSize);
    203         size = max(size, 1);
    204 
    205         // Ensure that we've determined selectedness of the items at least once prior to changing the size.
    206         if (oldSize != size)
    207             recalcListItemsIfNeeded();
    208 
    209         m_data.setSize(size);
     203
     204        m_data.setSize(max(size, 1));
    210205        if ((oldUsesMenuList != m_data.usesMenuList() || (!oldUsesMenuList && m_data.size() != oldSize)) && attached()) {
    211206            detach();
Note: See TracChangeset for help on using the changeset viewer.