Changeset 60778 in webkit


Ignore:
Timestamp:
Jun 7, 2010 6:56:19 AM (14 years ago)
Author:
tonikitoo@webkit.org
Message:

Expose the editing behavior setting in DRT to test all editing code paths https://bugs.webkit.org/show_bug.cgi?id=39680

Patch by Antonio Gomes <tonikitoo@webkit.org>, Laszlo Gombos <Laszlo Gombos> on 2010-06-06
Reviewed by Kenneth Christiansen, Eric Seidel.

Make setEditingBehavior() a no-operation if the editingBehavior
argument is not recognized to avoid using an uninitialized variable.

  • WebCoreSupport/DumpRenderTreeSupportQt.cpp:

(DumpRenderTreeSupportQt::setEditingBehavior):

Location:
trunk/WebKit/qt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/qt/ChangeLog

    r60686 r60778  
     12010-06-06  Antonio Gomes  <tonikitoo@webkit.org>, Laszlo Gombos  <laszlo.1.gombos@nokia.com>
     2
     3        Reviewed by Kenneth Christiansen, Eric Seidel.
     4
     5        [Qt] Expose the editing behavior setting in DRT to test all editing code paths
     6        https://bugs.webkit.org/show_bug.cgi?id=39680
     7
     8        Make setEditingBehavior() a no-operation if the editingBehavior
     9        argument is not recognized to avoid using an uninitialized variable.
     10
     11        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
     12        (DumpRenderTreeSupportQt::setEditingBehavior):
     13
    1142010-06-04  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
    215
  • trunk/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp

    r60566 r60778  
    483483    else if (editingBehavior == "mac")
    484484        coreEditingBehavior = EditingMacBehavior;
     485    else {
     486        ASSERT_NOT_REACHED();
     487        return;
     488    }
    485489
    486490    Page* corePage = QWebPagePrivate::core(page);
Note: See TracChangeset for help on using the changeset viewer.