1. 10 Dec, 2010 36 commits
    • commit-queue@webkit.org's avatar
      2010-12-10 John Knottenbelt <jknotten@chromium.org> · 38560d2b
      commit-queue@webkit.org authored
              Reviewed by Steve Block.
      
              [chromium] Implement client based geolocation bindings
              https://bugs.webkit.org/show_bug.cgi?id=45752
      
              Implements the necessary plumbing to expose client-based geolocation in Chromium
              webkit. The plan is to remove the non-client-based geolocation code (GeolocationService*)
              in the future.
      
              * WebKit.gyp:
              * public/WebGeolocationClient.h: Added.
              (WebKit::WebGeolocationClient::~WebGeolocationClient):
              * public/WebGeolocationController.h: Added.
              (WebKit::WebGeolocationController::WebGeolocationController):
              (WebKit::WebGeolocationController::reset):
              * public/WebGeolocationError.h:
              * public/WebGeolocationPermissionRequest.h: Added.
              (WebKit::WebGeolocationPermissionRequest::WebGeolocationPermissionRequest):
              (WebKit::WebGeolocationPermissionRequest::geolocation):
              * public/WebGeolocationPermissionRequestManager.h: Added.
              (WebKit::WebGeolocationPermissionRequestManager::WebGeolocationPermissionRequestManager):
              (WebKit::WebGeolocationPermissionRequestManager::~WebGeolocationPermissionRequestManager):
              * public/WebGeolocationPosition.h:
              * public/WebViewClient.h:
              (WebKit::WebViewClient::geolocationClient):
              * src/ChromeClientImpl.cpp:
              (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
              (WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame):
              * src/GeolocationClientProxy.cpp: Added.
              (WebKit::GeolocationClientProxy::GeolocationClientProxy):
              (WebKit::GeolocationClientProxy::~GeolocationClientProxy):
              (WebKit::GeolocationClientProxy::setController):
              (WebKit::GeolocationClientProxy::geolocationDestroyed):
              (WebKit::GeolocationClientProxy::startUpdating):
              (WebKit::GeolocationClientProxy::stopUpdating):
              (WebKit::GeolocationClientProxy::setEnableHighAccuracy):
              (WebKit::GeolocationClientProxy::lastPosition):
              (WebKit::GeolocationClientProxy::requestPermission):
              (WebKit::GeolocationClientProxy::cancelPermissionRequest):
              * src/GeolocationClientProxy.h: Added.
              * src/WebGeolocationController.cpp: Added.
              (WebKit::WebGeolocationController::positionChanged):
              (WebKit::WebGeolocationController::errorOccurred):
              (WebKit::WebGeolocationController::controller):
              * src/WebGeolocationPermissionRequest.cpp: Added.
              (WebKit::WebGeolocationPermissionRequest::securityOrigin):
              (WebKit::WebGeolocationPermissionRequest::setIsAllowed):
              * src/WebGeolocationPermissionRequestManager.cpp: Added.
              (WebGeolocationPermissionRequestManager::add):
              (WebGeolocationPermissionRequestManager::remove):
              (WebGeolocationPermissionRequestManager::init):
              (WebGeolocationPermissionRequestManager::reset):
              * src/WebViewImpl.cpp:
              (WebKit::WebViewImpl::WebViewImpl):
              * src/WebViewImpl.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73724 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      38560d2b
    • aroben@apple.com's avatar
      Windows production build fix after r72555 · a605c8fe
      aroben@apple.com authored
      * WebCore.vcproj/WebCoreGeneratedCommon.vsprops: Use
      "$(WebKitVSPropsRedirectionDir)..\..\WebKitLibraries\win" to find the
      .vsprops files, rather than $(WebKitLibrariesDir).
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73723 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a605c8fe
    • jocelyn.turcotte@nokia.com's avatar
      [Qt] Second attempt to fix the build with Qt 4.6 broken in 73710. · e825e022
      jocelyn.turcotte@nokia.com authored
      Reviewed by nobody, build fix.
      
      * platform/network/qt/QtNAMThreadSafeProxy.cpp:
      (WebCore::QtNetworkReplyThreadSafeProxy::QtNetworkReplyThreadSafeProxy):
      (WebCore::QtNetworkReplyThreadSafeProxy::localCustomRequest):
      * platform/network/qt/QtNAMThreadSafeProxy.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73722 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e825e022
    • mario@webkit.org's avatar
      2010-12-10 Mario Sanchez Prada <msanchez@igalia.com> · 7044b94e
      mario@webkit.org authored
              Unreviewed, unskip passing accessibility tests on GTK.
      
              * platform/gtk/Skipped: Unskip passing tests.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73721 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7044b94e
    • pfeldman@chromium.org's avatar
      2010-12-10 Pavel Feldman <pfeldman@chromium.org> · 9c0ba28c
      pfeldman@chromium.org authored
              Not reviewed. Get rid of spaces in ValidityState-patternMismatch test.
      
              * fast/forms/ValidityState-patternMismatch-expected.txt:
              * fast/forms/ValidityState-patternMismatch.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73720 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9c0ba28c
    • ossy@webkit.org's avatar
      Unreviewed. Add platform specific expected files after r73715. · a7c49d2b
      ossy@webkit.org authored
      * platform/gtk/fast/forms/ValidityState-patternMismatch-expected.txt: Added.
      * platform/qt/fast/forms/ValidityState-patternMismatch-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73719 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a7c49d2b
    • jocelyn.turcotte@nokia.com's avatar
      [Qt] Fix the build with Qt 4.6 broken in 73710. · 322a42e9
      jocelyn.turcotte@nokia.com authored
      Reviewed by nobody, build fix.
      
      * platform/network/qt/QtNAMThreadSafeProxy.cpp:
      (WebCore::QtNetworkReplyThreadSafeProxy::QtNetworkReplyThreadSafeProxy):
      * platform/network/qt/QtNAMThreadSafeProxy.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73718 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      322a42e9
    • commit-queue@webkit.org's avatar
      2010-12-10 Emil Eklund <eae@chromium.org> · 43894ca9
      commit-queue@webkit.org authored
              Reviewed by Eric Seidel.
      
              Change EventHandler::dispatchMouseEvent code to use DOM traversal instead of render tree traversal
              https://bugs.webkit.org/show_bug.cgi?id=49982
      
              * page/EventHandler.cpp:
              (WebCore::EventHandler::dispatchMouseEvent):
              Walk up DOM/hosted tree rather than render tree.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73717 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      43894ca9
    • jocelyn.turcotte@nokia.com's avatar
      2010-12-10 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> · 0a742e70
      jocelyn.turcotte@nokia.com authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt][WK2] Add the QWKContext API class to wrap the WebContext.
              https://bugs.webkit.org/show_bug.cgi?id=50750
      
              * UIProcess/API/qt/WKView.h:
              * UIProcess/API/qt/qgraphicswkview.cpp:
              (QGraphicsWKView::QGraphicsWKView):
              Change the WKPageNamespaceRef argument to QWKContext*
              * UIProcess/API/qt/qgraphicswkview.h:
              * UIProcess/API/qt/qwkcontext.cpp: Added.
              * UIProcess/API/qt/qwkcontext.h: Added.
              * UIProcess/API/qt/qwkcontext_p.h: Added.
              * UIProcess/API/qt/qwkpage.cpp:
              (QWKPagePrivate::QWKPagePrivate):
              (QWKPage::QWKPage):
              Change the WKPageNamespaceRef argument to QWKContext*
              * UIProcess/API/qt/qwkpage.h:
              * UIProcess/API/qt/qwkpage_p.h:
              * WebKit2.pro:
      2010-12-10  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
      
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt][WK2] Add the QWKContext API class to wrap the WebContext.
              https://bugs.webkit.org/show_bug.cgi?id=50750
      
              * MiniBrowser/qt/BrowserView.cpp:
              (BrowserView::BrowserView):
              * MiniBrowser/qt/BrowserView.h:
              * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
              (WTR::WebView::WebView):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73716 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0a742e70
    • commit-queue@webkit.org's avatar
      2010-12-10 Dai Mikurube <dmikurube@google.com> · bd6974cf
      commit-queue@webkit.org authored
              Reviewed by Kent Tamura.
      
              Refactor by merging tests for ValidityState (patternMismatch and customError)
              https://bugs.webkit.org/show_bug.cgi?id=50802
      
              * fast/forms/ValidityState-customError-expected.txt: Added.
              * fast/forms/ValidityState-customError.html: Added.
              * fast/forms/ValidityState-customError-001-expected.txt: Removed. Merged to ValidityState-customError-expected.txt.
              * fast/forms/ValidityState-customError-001.html: Removed. Merged to ValidityState-customError.html.
              * fast/forms/ValidityState-customError-002-expected.txt: Removed. Merged to ValidityState-customError-expected.txt.
              * fast/forms/ValidityState-customError-002.html: Removed. Merged to ValidityState-customError.html.
              * fast/forms/ValidityState-customError-003-expected.txt: Removed. Merged to ValidityState-customError-expected.txt.
              * fast/forms/ValidityState-customError-003.html: Removed. Merged to ValidityState-customError.html.
              * fast/forms/ValidityState-customError-004-expected.txt: Removed. Merged to ValidityState-customError-expected.txt.
              * fast/forms/ValidityState-customError-004.html: Removed. Merged to ValidityState-customError.html.
              * fast/forms/ValidityState-patternMismatch-expected.txt: Added.
              * fast/forms/ValidityState-patternMismatch.html: Added.
              * fast/forms/ValidityState-patternMismatch-001-expected.txt: Removed. Merged to ValidityState-patternMismatch-expected.txt.
              * fast/forms/ValidityState-patternMismatch-001.html: Removed. Merged to ValidityState-patternMismatch.html.
              * fast/forms/ValidityState-patternMismatch-002-expected.txt: Removed. Merged to ValidityState-patternMismatch-expected.txt.
              * fast/forms/ValidityState-patternMismatch-002.html: Removed. Merged to ValidityState-patternMismatch.html.
              * fast/forms/ValidityState-patternMismatch-003-expected.txt: Removed. Merged to ValidityState-patternMismatch-expected.txt.
              * fast/forms/ValidityState-patternMismatch-003.html: Removed. Merged to ValidityState-patternMismatch.html.
              * fast/forms/ValidityState-patternMismatch-004-expected.txt: Removed. Merged to ValidityState-patternMismatch-expected.txt.
              * fast/forms/ValidityState-patternMismatch-004.html: Removed. Merged to ValidityState-patternMismatch.html.
              * fast/forms/ValidityState-patternMismatch-005-expected.txt: Removed. Merged to ValidityState-patternMismatch-expected.txt.
              * fast/forms/ValidityState-patternMismatch-005.html: Removed. Merged to ValidityState-patternMismatch.html.
              * fast/forms/ValidityState-patternMismatch-006-expected.txt: Removed. Merged to ValidityState-patternMismatch-expected.txt.
              * fast/forms/ValidityState-patternMismatch-006.html: Removed. Merged to ValidityState-patternMismatch.html.
              * fast/forms/ValidityState-patternMismatch-007-expected.txt: Removed. Merged to ValidityState-patternMismatch-expected.txt.
              * fast/forms/ValidityState-patternMismatch-007.html: Removed. Merged to ValidityState-patternMismatch.html.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73715 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bd6974cf
    • commit-queue@webkit.org's avatar
      2010-12-10 Joone Hur <joone@kldp.org> · 1778ddbf
      commit-queue@webkit.org authored
              Reviewed by Eric Seidel.
      
              [GTK] Add DRT support for pageProperty, isPageBoxVisible, pageSizeAndMarginsInPixels, and addUserStyleSheet
              https://bugs.webkit.org/show_bug.cgi?id=50783
      
              Unskip the following test cases:
              printing/page-rule-selection.html
              printing/page-format-data.html
              * platform/gtk/Skipped:
      2010-12-10  Joone Hur  <joone@kldp.org>
      
              Reviewed by Eric Seidel.
      
              [GTK] Add DRT support for pageProperty, isPageBoxVisible, pageSizeAndMarginsInPixels, and addUserStyleSheet
              https://bugs.webkit.org/show_bug.cgi?id=50783
      
              This patch allows to unskip the following test cases:
              printing/page-rule-selection.html
              printing/page-format-data.html
      
              * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
              (DumpRenderTreeSupportGtk::pageProperty): Added.
              (DumpRenderTreeSupportGtk::isPageBoxVisible): Ditto.
              (DumpRenderTreeSupportGtk::pageSizeAndMarginsInPixels): Ditto.
              (DumpRenderTreeSupportGtk::addUserStyleSheet): Ditto.
              * WebCoreSupport/DumpRenderTreeSupportGtk.h:
      2010-12-10  Joone Hur  <joone@kldp.org>
      
              Reviewed by Eric Seidel.
      
              [GTK] Add DRT support for pageProperty, isPageBoxVisible, pageSizeAndMarginsInPixels, and addUserStyleSheet
              https://bugs.webkit.org/show_bug.cgi?id=50783
      
              This patch allows to unskip the following test cases:
              printing/page-rule-selection.html
              printing/page-format-data.html
      
              * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
              (LayoutTestController::pageProperty): Added.
              (LayoutTestController::isPageBoxVisible): Ditto.
              (LayoutTestController::pageSizeAndMarginsInPixels): Ditto.
              (LayoutTestController::addUserStyleSheet): Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73714 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1778ddbf
    • pfeldman@chromium.org's avatar
      2010-12-10 Pavel Feldman <pfeldman@chromium.org> · e9f9151b
      pfeldman@chromium.org authored
              Not reviewed. Updated chromium test expectations.
      
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73713 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e9f9151b
    • jocelyn.turcotte@nokia.com's avatar
      2010-12-10 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> · 02a1460b
      jocelyn.turcotte@nokia.com authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] Make QtTestBrowser spawn QNAM in a secondary thread.
      
              A menu allows to switch QNAM back to the same thread.
      
              * QtTestBrowser/launcherwindow.cpp:
              (LauncherWindow::initializeView):
              (LauncherWindow::createChrome):
              (LauncherWindow::toggleThreadedQnam):
              * QtTestBrowser/launcherwindow.h:
              (WindowOptions::WindowOptions):
              * QtTestBrowser/webpage.cpp:
              (WebPage::WebPage):
              (WebPage::setQnamThreaded):
              * QtTestBrowser/webpage.h:
              (QnamThread::QnamThread):
              (QnamThread::~QnamThread):
              (QnamThread::networkAccessManager):
              (QnamThread::run):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73712 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      02a1460b
    • pfeldman@chromium.org's avatar
      2010-12-10 Pavel Feldman <pfeldman@chromium.org> · 004662b8
      pfeldman@chromium.org authored
              Not reviewed. Mark inspector tests as slow in Chromium expectations.
      
              * platform/chromium/test_expectations.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73711 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      004662b8
    • jocelyn.turcotte@nokia.com's avatar
      2010-12-10 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> · 38910f31
      jocelyn.turcotte@nokia.com authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] Support a QNetworkAccessManager affined to a different thread.
              https://bugs.webkit.org/show_bug.cgi?id=50080
      
              This patch introduce thread safe proxy classes for QNetworkAccessManager
              and QNetworkReply.
              If run in the same thread, these objects will forward the calls with
              Qt::DirectConnection bindings, while in the other case they will use
              Qt::QueuedConnection to carry requests accross threads.
      
              This patch basically:
              - Makes sure that all access goes through these objects
              - Reorders signal connections to make sure we are connected when the
                signal comes
              - Makes sure that no QObject in the WebCore thread is a child of the
                reply which might be in a different thread.
              - Forward the data directly in QByteArrays in signals instead of collecting
                the data when the signal is handled.
      
              New test: tst_QWebPage::networkAccessManagerOnDifferentThread
      
              * WebCore.pro:
              * platform/graphics/qt/MediaPlayerPrivateQt.cpp:
              (WebCore::MediaPlayerPrivateQt::commitLoad):
              * platform/network/qt/QNetworkReplyHandler.cpp:
              (WebCore::FormDataIODevice::FormDataIODevice):
              (WebCore::QNetworkReplyHandler::QNetworkReplyHandler):
              (WebCore::QNetworkReplyHandler::~QNetworkReplyHandler):
              (WebCore::QNetworkReplyHandler::setLoadMode):
              (WebCore::QNetworkReplyHandler::abort):
              (WebCore::QNetworkReplyHandler::release):
              (WebCore::ignoreHttpError):
              (WebCore::QNetworkReplyHandler::finish):
              (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
              (WebCore::QNetworkReplyHandler::forwardData):
              (WebCore::QNetworkReplyHandler::start):
              (WebCore::QNetworkReplyHandler::sendQueuedItems):
              * platform/network/qt/QNetworkReplyHandler.h:
              * platform/network/qt/QtNAMThreadSafeProxy.cpp: Added.
              * platform/network/qt/QtNAMThreadSafeProxy.h: Added.
              * platform/network/qt/ResourceHandleQt.cpp:
              (WebCore::ResourceHandle::willLoadFromCache):
              * platform/qt/CookieJarQt.cpp:
              (WebCore::networkAccessManager):
              (WebCore::setCookies):
              (WebCore::cookies):
              (WebCore::cookieRequestHeaderFieldValue):
              (WebCore::cookiesEnabled):
      2010-12-10  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
      
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] Support a QNetworkAccessManager affined to a different thread.
              https://bugs.webkit.org/show_bug.cgi?id=50080
      
              This patch introduce thread safe proxy classes for QNetworkAccessManager
              and QNetworkReply.
              If run in the same thread, these objects will forward the calls with
              Qt::DirectConnection bindings, while in the other case they will use
              Qt::QueuedConnection to carry requests accross threads.
      
              This patch basically:
              - Makes sure that all access goes through these objects
              - Reorders signal connections to make sure we are connected when the
                signal comes
              - Makes sure that no QObject in the WebCore thread is a child of the
                reply which might be in a different thread.
              - Forward the data directly in QByteArrays in signals instead of collecting
                the data when the signal is handled.
      
              New test: tst_QWebPage::networkAccessManagerOnDifferentThread
      
              * WebCoreSupport/FrameLoaderClientQt.cpp:
              (WebCore::FrameLoaderClientQt::download):
              * tests/qwebpage/tst_qwebpage.cpp:
              (QtNAMThread::QtNAMThread):
              (QtNAMThread::~QtNAMThread):
              (QtNAMThread::networkAccessManager):
              (QtNAMThread::run):
              (tst_QWebPage::networkAccessManagerOnDifferentThread):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73710 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      38910f31
    • commit-queue@webkit.org's avatar
      2010-12-10 Kimmo Kinnunen <kimmo.t.kinnunen@nokia.com> · bd4f931d
      commit-queue@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              Flush IPC connection send buffer after each message.
      
              [Qt] [WK2] IPC messages are not sent until send buffer fills up
              https://bugs.webkit.org/show_bug.cgi?id=50667
      
              * Platform/CoreIPC/qt/ConnectionQt.cpp:
              (CoreIPC::Connection::sendOutgoingMessage):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73709 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bd4f931d
    • jocelyn.turcotte@nokia.com's avatar
      [Qt] Refactor QNetworkReplyHandler::finish() to prevent crashes. · 64ec5c94
      jocelyn.turcotte@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=50761
      
      Reviewed by Kenneth Rohde Christiansen.
      
      This patch change the order to check if m_reply is null instead,
      explicitly deleting the reply before calling start() for a redirect,
      or after calling didFinishLoading()/didFail() in other cases.
      
      * platform/network/qt/QNetworkReplyHandler.cpp:
      (WebCore::QNetworkReplyHandler::finish):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73708 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      64ec5c94
    • jocelyn.turcotte@nokia.com's avatar
      [Qt] Make sure we send the response before any data. · b216401b
      jocelyn.turcotte@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=50760
      
      Reviewed by Kenneth Rohde Christiansen.
      
      This patch make sure the data available flag is set before
      we call sendResponseIfNeeded.
      
      * platform/network/qt/QNetworkReplyHandler.cpp:
      (WebCore::QNetworkReplyHandler::QNetworkReplyHandler):
      (WebCore::QNetworkReplyHandler::finish):
      (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
      (WebCore::QNetworkReplyHandler::forwardData):
      (WebCore::QNetworkReplyHandler::resetState):
      * platform/network/qt/QNetworkReplyHandler.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73707 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b216401b
    • commit-queue@webkit.org's avatar
      2010-12-10 Koan-Sin Tan <koansin.tan@gmail.com> · d1f901a9
      commit-queue@webkit.org authored
              Reviewed by Dan Bernstein.
      
              Bopomofo should be part of CJK Ideographs in WebCore/platform/graphics/Font.cpp
              https://bugs.webkit.org/show_bug.cgi?id=50668
      
              No new tests. Note that, as said in the bug report discussion,
              I did have a test case for the bug. However, to show the test
              case you need some "broken" Microsoft copyrighted fonts, such
              as DFKai-SB.
      
              * platform/graphics/Font.cpp:
              (WebCore::Font::isCJKIdeograph):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73706 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d1f901a9
    • philn@webkit.org's avatar
      2010-12-10 Philippe Normand <pnormand@igalia.com> · b6c117b7
      philn@webkit.org authored
              Reviewed by Gustavo Noronha Silva.
      
              [GStreamer] un-needed methods
              https://bugs.webkit.org/show_bug.cgi?id=50805
      
              No new tests, code cleanup only.
      
              * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
              * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73705 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b6c117b7
    • paroga@webkit.org's avatar
      2010-12-10 Patrick Gansterer <paroga@webkit.org> · a124a010
      paroga@webkit.org authored
              Reviewed by Eric Seidel.
      
              Cleanup StringWx.cpp
              https://bugs.webkit.org/show_bug.cgi?id=50525
      
              Use StringImpl::createUninitialized to avoid memcpy and fix style issues.
      
              * wtf/wx/StringWx.cpp:
              (WTF::String::String):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73704 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a124a010
    • mrobinson@webkit.org's avatar
      2010-12-10 Carlos Garcia Campos <cgarcia@igalia.com> · feabe044
      mrobinson@webkit.org authored
              Reviewed by Martin Robinson.
      
              [GTK] Simplify context-menu handling code
              https://bugs.webkit.org/show_bug.cgi?id=49658
      
              * wtf/PlatformRefPtr.h:
      2010-12-10  Carlos Garcia Campos  <cgarcia@igalia.com>
      
              Reviewed by Martin Robinson.
      
              [GTK] Simplify context-menu handling code
              https://bugs.webkit.org/show_bug.cgi?id=49658
      
              * platform/ContextMenuItem.h:
              * platform/gtk/ContextMenuGtk.cpp:
              (WebCore::ContextMenu::appendItem):
              * platform/gtk/ContextMenuItemGtk.cpp:
              (WebCore::ContextMenuItem::ContextMenuItem):
              (WebCore::ContextMenuItem::~ContextMenuItem):
              (WebCore::ContextMenuItem::releasePlatformDescription):
              (WebCore::ContextMenuItem::type):
              (WebCore::ContextMenuItem::setType):
              (WebCore::ContextMenuItem::action):
              (WebCore::ContextMenuItem::setAction):
              (WebCore::ContextMenuItem::title):
              (WebCore::ContextMenuItem::setTitle):
              (WebCore::ContextMenuItem::platformSubMenu):
              (WebCore::ContextMenuItem::setSubMenu):
              (WebCore::ContextMenuItem::setChecked):
              (WebCore::ContextMenuItem::setEnabled):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73703 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      feabe044
    • kov@webkit.org's avatar
      2010-12-09 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> · 964d7dee
      kov@webkit.org authored
              Reviewed by Martin Robinson.
      
              [GTK] Split webkitprivate.{cpp,h} in more manageable chunks
              https://bugs.webkit.org/show_bug.cgi?id=50698
      
              Split private bits of WebKitWebInspector to its own private
              header, and to its implementation file.
      
              * WebCoreSupport/InspectorClientGtk.cpp:
              * webkit/webkitprivate.cpp:
              * webkit/webkitprivate.h:
              * webkit/webkitwebinspector.cpp:
              (isSchemaAvailable):
              (inspectorGSettings):
              * webkit/webkitwebinspectorprivate.h: Added.
              * webkit/webkitwebview.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73702 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      964d7dee
    • kov@webkit.org's avatar
      2010-12-09 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> · 800deb6b
      kov@webkit.org authored
              Reviewed by Martin Robinson.
      
              [GTK] Split webkitprivate.{cpp,h} in more manageable chunks
              https://bugs.webkit.org/show_bug.cgi?id=50698
      
              Split private bits of WebKitNetworkRequest to its own private
              header, and to its implementation file. Also take the opportunity
              to use PlatformRefPtr for NetworkRequest where it makes sense, and
              make the creation less verbose by adding kitNew.
      
              * WebCoreSupport/FrameLoaderClientGtk.cpp:
              (WebKit::FrameLoaderClient::dispatchWillSendRequest):
              (WebKit::FrameLoaderClient::dispatchDecidePolicyForMIMEType):
              (WebKit::FrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
              (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
              (WebKit::FrameLoaderClient::download):
              (WebKit::FrameLoaderClient::startDownload):
              * webkit/webkitdownload.cpp:
              * webkit/webkitnetworkrequest.cpp:
              (WebKit::kitNew):
              (WebKit::core):
              * webkit/webkitnetworkrequestprivate.h: Added.
              * webkit/webkitprivate.cpp:
              * webkit/webkitprivate.h:
              * webkit/webkitwebdatasource.cpp:
              (webkit_web_data_source_get_initial_request):
              (webkit_web_data_source_get_request):
              * webkit/webkitwebframe.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      800deb6b
    • philn@webkit.org's avatar
      2010-12-10 Philippe Normand <pnormand@igalia.com> · 7a878367
      philn@webkit.org authored
              Reviewed by Gustavo Noronha Silva.
      
              [GStreamer] data: source could also support non-base64 encoded URIs
              https://bugs.webkit.org/show_bug.cgi?id=30007
      
              Removed our ancient implementation of dataurisrc. We should now
              use the one in gst-plugins-bad which is more mature.
      
              * GNUmakefile.am:
              * platform/graphics/gstreamer/DataSourceGStreamer.cpp: Removed.
              * platform/graphics/gstreamer/DataSourceGStreamer.h: Removed.
              * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
              (WebCore::doGstInit):
      
      LayoutTests:
      
              Reviewed by Gustavo Noronha Silva.
      
              [GStreamer] data: source could also support non-base64 encoded URIs
              https://bugs.webkit.org/show_bug.cgi?id=30007
      
              * platform/gtk/Skipped: Unskipped media/audio-data-url.html. It
              should now be much more reliable on the bots running latest
              GStreamer versions.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73700 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7a878367
    • zherczeg@webkit.org's avatar
      2010-12-10 Zoltan Herczeg <zherczeg@webkit.org> · 996d7242
      zherczeg@webkit.org authored
              Reviewed by Eric Seidel.
      
              [Qt] Fix crashes in debug mode
              https://bugs.webkit.org/show_bug.cgi?id=49976
      
              The m_methods hashmap of QtInstance contains InternalFunctions
              whose depend on the current RuntimeObject. When we recreate the
              RuntimeObject, we should also reset this hashmap.
      
              * bridge/qt/qt_instance.cpp:
              (JSC::Bindings::QtInstance::newRuntimeObject):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73699 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      996d7242
    • commit-queue@webkit.org's avatar
      2010-12-10 François Sausset <sausset@gmail.com> · ee43bfc5
      commit-queue@webkit.org authored
              Reviewed by Eric Seidel.
      
              MathML: update baselinePosition() call in RenderMathMLBlock.cpp
              https://bugs.webkit.org/show_bug.cgi?id=50540
      
              The call of baselinePosition() is outdated: new arguments added.
      
              * mathml/RenderMathMLBlock.cpp:
              (WebCore::RenderMathMLBlock::paint):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73698 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ee43bfc5
    • hans@chromium.org's avatar
      2010-12-10 Hans Wennborg <hans@chromium.org> · 6a1a6dfd
      hans@chromium.org authored
              Reviewed by Jeremy Orlow.
      
              IndexedDB: Numeric keys are floats.
              https://bugs.webkit.org/show_bug.cgi?id=50674
      
              Update layout tests to use floating-point values for keys.
      
              * storage/indexeddb/keyrange-expected.txt:
              * storage/indexeddb/keyrange.html:
              Make sure creating the keys works.
              * storage/indexeddb/objectstore-cursor-expected.txt:
              * storage/indexeddb/objectstore-cursor.html:
              Make sure retrieving the keys from the DB objectstore works.
      2010-12-10  Hans Wennborg  <hans@chromium.org>
      
              Reviewed by Jeremy Orlow.
      
              IndexedDB: Numeric keys are floats.
              https://bugs.webkit.org/show_bug.cgi?id=50674
      
              Use floating point to represent numeric keys,
              add version meta data to the SQLite db,
              and migrate object stores that use integers.
      
              * bindings/v8/IDBBindingUtilities.cpp:
              (WebCore::createIDBKeyFromValue):
              * bindings/v8/custom/V8IDBKeyCustom.cpp:
              (WebCore::toV8):
              * storage/IDBFactoryBackendImpl.cpp:
              (WebCore::createTables):
              (WebCore::migrateDatabase):
              (WebCore::IDBFactoryBackendImpl::open):
              * storage/IDBKey.cpp:
              (WebCore::IDBKey::IDBKey):
              (WebCore::IDBKey::fromQuery):
              (WebCore::IDBKey::bind):
              (WebCore::IDBKey::bindWithNulls):
              * storage/IDBKey.h:
              (WebCore::IDBKey::create):
              (WebCore::IDBKey::number):
      2010-12-10  Hans Wennborg  <hans@chromium.org>
      
              Reviewed by Jeremy Orlow.
      
              IndexedDB: Numeric keys are floats.
              https://bugs.webkit.org/show_bug.cgi?id=50674
      
              Represent numeric keys as floating point values.
      
              * public/WebIDBKey.h:
              (WebKit::WebIDBKey::WebIDBKey):
              * src/WebIDBKey.cpp:
              (WebKit::WebIDBKey::assign):
              (WebKit::WebIDBKey::number):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73697 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6a1a6dfd
    • kov@webkit.org's avatar
      2010-12-09 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> · 197a3918
      kov@webkit.org authored
              Reviewed by Martin Robinson.
      
              [GTK] Split webkitprivate.{cpp,h} in more manageable chunks
              https://bugs.webkit.org/show_bug.cgi?id=50698
      
              Split private bits of WebKitWebFrame to its own private header, and
              to its implementation file.
      
              * GNUmakefile.am:
              * WebCoreSupport/ChromeClientGtk.cpp:
              * WebCoreSupport/DragClientGtk.cpp:
              * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
              * WebCoreSupport/FrameLoaderClientGtk.cpp:
              * webkit/webkitprivate.cpp:
              * webkit/webkitprivate.h:
              * webkit/webkitwebdatasource.cpp:
              * webkit/webkitwebframe.cpp:
              (WebKit::getViewFromFrame):
              (WebKit::core):
              (WebKit::kit):
              * webkit/webkitwebframeprivate.h: Added.
              * webkit/webkitwebpolicydecision.cpp:
              * webkit/webkitwebview.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73696 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      197a3918
    • mrobinson@webkit.org's avatar
      2010-12-10 Martin Robinson <mrobinson@igalia.com> · 7be215a5
      mrobinson@webkit.org authored
              Reviewed by Xan Lopez.
      
              [Gtk] style="font-family: courier" makes text disappear
              https://bugs.webkit.org/show_bug.cgi?id=47452
      
              Added a GTK+ test for invalid fonts.
      
              * platform/gtk/fonts/font-with-no-valid-encoding-expected.checksum: Added.
              * platform/gtk/fonts/font-with-no-valid-encoding-expected.png: Added.
              * platform/gtk/fonts/font-with-no-valid-encoding-expected.txt: Added.
              * platform/gtk/fonts/font-with-no-valid-encoding.html: Added.
      2010-12-10  Martin Robinson  <mrobinson@igalia.com>
      
              Reviewed by Xan Lopez.
      
              [Gtk] style="font-family: courier" makes text disappear
              https://bugs.webkit.org/show_bug.cgi?id=47452
      
              Don't ever use fonts that do not have any of the three charmaps that
              Fontconfig supports (Unicode, Apple Roman and Symbol). If we select
              a font that doesn't have one of these charmaps, use the next font in
              the list.
      
              Test: platform/gtk/fonts/font-with-no-valid-encoding.html
      
              * platform/graphics/freetype/FontCacheFreeType.cpp:
              (WebCore::FontCache::createFontPlatformData): Check whether the
              font we selected has a valid Fontconfig charmap.
              * platform/graphics/freetype/FontPlatformData.h: Added new method definition.
              * platform/graphics/freetype/FontPlatformDataFreeType.cpp:
              (WebCore::FontPlatformData::hasCompatibleCharmap): Added this method which
              verifies that a font has a valid Fontconfig charmap.
      2010-12-10  Martin Robinson  <mrobinson@igalia.com>
      
              Reviewed by Xan Lopez.
      
              [Gtk] style="font-family: courier" makes text disappear
              https://bugs.webkit.org/show_bug.cgi?id=47452
      
              Add a test that verifies that fonts without valid charmaps are
              never selected.
      
              * DumpRenderTree/gtk/DumpRenderTree.cpp:
              (initializeFonts): Initialize DRT with our font (derived from Ahem)
              that has no valid charmap.
              * DumpRenderTree/gtk/fonts/FontWithNoValidEncoding.fon: Added.
              * DumpRenderTree/gtk/fonts/fonts.conf: Updated settings to override users'
              settings which may disable selection of bitmap fonts.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73695 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7be215a5
    • eric@webkit.org's avatar
      2010-12-10 Eric Seidel <eric@webkit.org> · b49bf8a0
      eric@webkit.org authored
              Unreviewed.
      
              The commit-queue should file bugs about flaky tests it encounters
              https://bugs.webkit.org/show_bug.cgi?id=50803
      
              create_bug_for_flaky_test was insufficiently tested, thus buggy.
              Now it's tested.
      
              * Scripts/webkitpy/tool/bot/flakytestreporter.py:
              * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73694 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b49bf8a0
    • ossy@webkit.org's avatar
      Unreviewed fix after r73687. · 3cfd8b85
      ossy@webkit.org authored
      [Qt] enable orientation flag when QtMobility available
      https://bugs.webkit.org/show_bug.cgi?id=50781
      
      * platform/qt/fast/dom/Orientation/create-event-orientationchange-expected.txt: Added.
      * platform/qt/fast/dom/Window/window-properties-expected.txt:
      * platform/qt/fast/dom/Window/window-property-descriptors-expected.txt:
      * platform/qt/fast/dom/prototype-inheritance-expected.txt:
      * platform/qt/fast/js/global-constructors-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73693 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3cfd8b85
    • eric@webkit.org's avatar
      2010-12-10 Eric Seidel <eric@webkit.org> · f62e5b70
      eric@webkit.org authored
              Unreviewed.  Somehow this last-minute edit didn't quite get committed.
      
              The commit-queue should file bugs about flaky tests it encounters
              https://bugs.webkit.org/show_bug.cgi?id=50803
      
              * Scripts/webkitpy/tool/bot/flakytestreporter.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73692 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f62e5b70
    • eric@webkit.org's avatar
      2010-12-09 Eric Seidel <eric@webkit.org> · 6387ef6c
      eric@webkit.org authored
              Reviewed by Adam Barth.
      
              The commit-queue should file bugs about flaky tests it encounters
              https://bugs.webkit.org/show_bug.cgi?id=50803
      
              This change got a bit big.  I also added a new config.urls file
              because I needed to share the view_source_url code with committervalidator.py.
      
              This adds a new class FlakyTestReporter which holds all the logic about
              reporting flaky tests to bugzilla.
      
              Right now this code knows how to look up bugs for flaky tests.
              If it can't find a bug filed from the commit-queue, it will open a new
              one, ccing the relevant people and adding information about the failure.
      
              It is not yet smart enough to chase down duplicate chains, or to include
              the actual failure diff.  But those can be added in later iterations.
      
              * Scripts/webkitpy/common/checkout/api.py:
              * Scripts/webkitpy/common/checkout/changelog.py:
              * Scripts/webkitpy/common/checkout/commitinfo.py:
              * Scripts/webkitpy/common/config/committervalidator.py:
              * Scripts/webkitpy/common/config/urls.py: Copied from WebKitTools/Scripts/webkitpy/tool/comments.py.
              * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
              * Scripts/webkitpy/tool/bot/flakytestreporter.py: Added.
              * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py: Copied from WebKitTools/Scripts/webkitpy/tool/comments.py.
              * Scripts/webkitpy/tool/bot/irc_command.py:
              * Scripts/webkitpy/tool/bot/sheriff.py:
              * Scripts/webkitpy/tool/commands/download.py:
              * Scripts/webkitpy/tool/commands/queues.py:
              * Scripts/webkitpy/tool/commands/queues_unittest.py:
              * Scripts/webkitpy/tool/comments.py:
              * Scripts/webkitpy/tool/mocktool.py:
              * Scripts/webkitpy/tool/steps/commit.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73691 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6387ef6c
    • rniwa@webkit.org's avatar
      2010-12-09 Ryosuke Niwa <rniwa@webkit.org> · b69181d8
      rniwa@webkit.org authored
              Reviewed by Ojan Vafai.
      
              Make DOM Mutation Events Asynchronous
              https://bugs.webkit.org/show_bug.cgi?id=46936
      
              Implemented DOM mutations events as scoped events. A scoped event is an event whose
              dispatch is done via ScopedEventQueue. The behavior of the queue is controlled by
              EventQueueScope objects (RAII idiom), which increments and decrements the scoping level
              on its constructor and destructor respectively.
      
              When the scoping level is 0 (initial level), scoped events are dispatched as soon as
              they are enqueued and act like synchronous events. When the scoping level is greater than 0,
              however, events are queued in ScopedEventQueue and their dispatches are delayed until
              the scoping level goes back to 0 (by the destruction of EventQueueScope).
      
              DOMSubtreeModified, DOMNodeInserted, DOMNodeRemoved, DOMNodeRemovedFromDocument,
              DOMNodeInsertedIntoDocument, DOMFocusIn, DOMFocusOut, focusin, and focusout are treated as
              scoped events, and a scope object is instantiated in EditCommand::apply to delay dispatches
              of the events until the completion of each call of EditCommand::doApply.
      
              Test: fast/events/mutation/execCommands.html
      
              * Android.mk: Added ScopedEventQueue.cpp.
              * CMakeLists.txt: Ditto.
              * WebCore.pro: Ditto.
              * GNUmakefile.am: Added ScopedEventQueue.cpp and ScopedEventQueue.h.
              * WebCore.gypi:  Ditto.
              * WebCore.vcproj/project.vcproj: Ditto.
              * WebCore.xcodeproj/project.pbxproj: Ditto.
              * dom/ContainerNode.cpp:
              (WebCore::dispatchChildInsertionEvents): Calls dispatchScopedEvent.
              (WebCore::dispatchChildRemovalEvents): Ditto.
              * dom/DOMAllInOne.cpp: Added ScopedEventQueue.cpp.
              * dom/Element.cpp:
              (WebCore::Element::dispatchAttrRemovalEvent): Ditto. 
              (WebCore::Element::dispatchAttrAdditionEvent): Ditto.
              * dom/Node.cpp:
              (WebCore::Node::dispatchScopedEvent): Added.
              (WebCore::Node::dispatchSubtreeModifiedEvent): Calls dispatchScopedEvent.
              * dom/Node.h:
              * dom/ScopedEventQueue.cpp: Added.
              (WebCore::ScopedEventQueue::initialize): Added.
              (WebCore::ScopedEventQueue::enqueueEvent): Added.
              (WebCore::ScopedEventQueue::dispatchAllEvents): Added.
              (WebCore::ScopedEventQueue::dispatchEvent): Added.
              (WebCore::ScopedEventQueue::instance): Added.
              (WebCore::ScopedEventQueue::incrementScopingLevel): Added.
              (WebCore::ScopedEventQueue::decrementScopingLevel): Added.
              * dom/ScopedEventQueue.h: Added.
              (WebCore::ScopedEventQueue::~ScopedEventQueue): Added.
              (WebCore::ScopedEventQueue::ScopedEventQueue): Added.
              (WebCore::EventQueueScope::EventQueueScope): Added.
              (WebCore::EventQueueScope::~EventQueueScope): Added.
              * editing/EditCommand.cpp:
              (WebCore::EditCommand::apply): Instantiates EventQueueScope.
      2010-12-09  Ryosuke Niwa  <rniwa@webkit.org>
      
              Reviewed by Ojan Vafai.
      
              Make DOM Mutation Events Asynchronous
              https://bugs.webkit.org/show_bug.cgi?id=46936
      
              Added a test to ensure no DOM mutation events are fired while execCommand is in progress.
      
              * fast/events/crash-on-mutate-during-drop.html: DOMNodeInserted is fired after BR is detached
              from the document, and can't be observed. Modify the DOM when text node is inserted.
              * fast/events/scoped: Added.
              * fast/events/scoped/editing-commands-expected.txt: Added.
              * fast/events/scoped/editing-commands.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73690 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b69181d8
    • rniwa@webkit.org's avatar
      2010-12-09 Sheriff Bot <webkit.review.bot@gmail.com> · 1a796035
      rniwa@webkit.org authored
              Unreviewed, rolling out r73684.
              http://trac.webkit.org/changeset/73684
              https://bugs.webkit.org/show_bug.cgi?id=50801
      
              "missing bug number" (Requested by rniwa on #webkit).
      
              * Android.mk:
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * dom/ContainerNode.cpp:
              (WebCore::dispatchChildInsertionEvents):
              (WebCore::dispatchChildRemovalEvents):
              * dom/DOMAllInOne.cpp:
              * dom/Element.cpp:
              (WebCore::Element::dispatchAttrRemovalEvent):
              (WebCore::Element::dispatchAttrAdditionEvent):
              * dom/Node.cpp:
              (WebCore::Node::dispatchSubtreeModifiedEvent):
              (WebCore::Node::dispatchUIEvent):
              * dom/Node.h:
              * dom/ScopedEventQueue.cpp: Removed.
              * dom/ScopedEventQueue.h: Removed.
              * editing/EditCommand.cpp:
              (WebCore::EditCommand::apply):
      2010-12-09  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r73684.
              http://trac.webkit.org/changeset/73684
              https://bugs.webkit.org/show_bug.cgi?id=50801
      
              "missing bug number" (Requested by rniwa on #webkit).
      
              * fast/events/crash-on-mutate-during-drop.html:
              * fast/events/scoped/editing-commands-expected.txt: Removed.
              * fast/events/scoped/editing-commands.html: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73689 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1a796035
  2. 09 Dec, 2010 4 commits
    • eric@webkit.org's avatar
      2010-12-09 Eric Seidel <eric@webkit.org> · f1eeac35
      eric@webkit.org authored
              Reviewed by Adam Barth.
      
              Teach webkit-patch how to search bugzilla
              https://bugs.webkit.org/show_bug.cgi?id=50500
      
              This is a step towards teaching webkitpy how to file
              new bugs for flaky tests and update them when new flakes occur.
      
              * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
              * Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py:
              * Scripts/webkitpy/tool/commands/__init__.py:
              * Scripts/webkitpy/tool/commands/bugsearch.py: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73688 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f1eeac35
    • commit-queue@webkit.org's avatar
      2010-12-09 Qi Zhang <qi.2.zhang@nokia.com> · e9f5304a
      commit-queue@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] enable orientation flag when QtMobility available
              https://bugs.webkit.org/show_bug.cgi?id=50781
      
              When QtMobility available, enable orientation flag by default.
      
              * features.pri:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73687 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e9f5304a
    • commit-queue@webkit.org's avatar
      2010-12-09 Kenichi Ishibashi <bashi@google.com> · 28363974
      commit-queue@webkit.org authored
              Reviewed by Kent Tamura.
      
              Improve validation API support of <object> and <keygen>
              https://bugs.webkit.org/show_bug.cgi?id=50663
      
              Adds tests for validation API for <object>.
              Tests for <output> and <keygen> are also added.
      
              * fast/dom/plugin-attributes-enumeration-expected.txt: Updated.
              * fast/forms/ValidityState-001-expected.txt: Updated.
              * fast/forms/ValidityState-001.html: Updated.
              * fast/forms/checkValidity-001-expected.txt: Updated.
              * fast/forms/checkValidity-001.html: Updated.
              * fast/forms/script-tests/setCustomValidity-existence.js: Added.
              * fast/forms/script-tests/validationMessage.js: Updated.
              * fast/forms/script-tests/willvalidate.js: Updated.
              * fast/forms/setCustomValidity-existence-expected.txt: Added.
              * fast/forms/setCustomValidity-existence.html: Added.
              * fast/forms/validationMessage-expected.txt: Updated.
              * fast/forms/willvalidate-expected.txt: Updated.
      2010-12-09  Kenichi Ishibashi  <bashi@google.com>
      
              Reviewed by Kent Tamura.
      
              Improve validation API support of <object> and <keygen>
              https://bugs.webkit.org/show_bug.cgi?id=50663
      
              Adds validation API to HTMLObjectElement class.
              Makes HTMLKeygenElement::willValidate() return false.
      
              Test: fast/forms/setCustomValidity-existence.html
      
              * html/HTMLKeygenElement.h:
              (WebCore::HTMLKeygenElement::willValidate): Added.
              * html/HTMLObjectElement.h:
              (WebCore::HTMLObjectElement::validationMessage): Added.
              (WebCore::HTMLObjectElement::checkValidity): Added.
              (WebCore::HTMLObjectElement::setCustomValidity): Added.
              * html/HTMLObjectElement.idl: Added validation API properties.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73686 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      28363974
    • commit-queue@webkit.org's avatar
      2010-12-09 Sadrul Habib Chowdhury <sadrul@chromium.org> · 0c77be31
      commit-queue@webkit.org authored
              Reviewed by Kent Tamura.
      
              Make sure a non-zero value is used for tile-width to avoid a crash
              https://bugs.webkit.org/show_bug.cgi?id=50341
      
              The scaled tile width can be very small at times (e.g. with 'style: font 1
              required'). So use a minimum width of 1 instead of using 0 (which leads to a
              crash).
      
              * fast/dom/HTMLProgressElement/progress-element-with-style-crash.html: Added.
              * fast/dom/HTMLProgressElement/progress-element-with-style-crash-expected.txt: Added.
      2010-12-09  Sadrul Habib Chowdhury  <sadrul@chromium.org>
      
              Reviewed by Kent Tamura.
      
              Make sure a non-zero value is used for tile-width to avoid a crash
              https://bugs.webkit.org/show_bug.cgi?id=50341
      
              The scaled tile width can be very small at times (e.g. with 'style: font 1
              required'). So use a minimum width of 1 instead of using 0 (which leads to a
              crash).
      
              Tests: fast/dom/HTMLProgressElement/progress-element-with-style-crash.html
      
              * rendering/RenderThemeChromiumSkia.cpp:
              (WebCore::RenderThemeChromiumSkia::paintProgressBar):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73685 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0c77be31