1. 24 Jan, 2011 40 commits
    • mjs@apple.com's avatar
      2011-01-24 Maciej Stachowiak <mjs@apple.com> · 31a1ec3d
      mjs@apple.com authored
              Reviewed by Anders Carlsson.
      
              Use designated temp directory for the database for WebKit2
              https://bugs.webkit.org/show_bug.cgi?id=53052
              
              Adopt the new WK2 API for this.
      
              * WebKitTestRunner/TestController.cpp:
              (WTR::TestController::libraryPathForTesting):
              (WTR::TestController::initialize):
              * WebKitTestRunner/TestController.h:
              * WebKitTestRunner/mac/TestControllerMac.mm:
              (WTR::TestController::platformLibraryPathForTesting):
              * WebKitTestRunner/qt/TestControllerQt.cpp:
              (WTR::TestController::platformLibraryPathForTesting):
              * WebKitTestRunner/win/TestControllerWin.cpp:
              (WTR::TestController::platformLibraryPathForTesting):
      2011-01-24  Maciej Stachowiak  <mjs@apple.com>
      
              Reviewed by Anders Carlsson.
      
              Use designated temp directory for the database for WebKit2
              https://bugs.webkit.org/show_bug.cgi?id=53052
              
              Add the API necessary to support this. Database path is now
              determined on the UI process side and passed to the Web process.
              Reviewed by Anders Carlsson.
      
              * GNUmakefile.am:
              * Shared/WebProcessCreationParameters.cpp:
              (WebKit::WebProcessCreationParameters::encode):
              (WebKit::WebProcessCreationParameters::decode):
              * Shared/WebProcessCreationParameters.h:
              * UIProcess/API/C/WKContext.cpp:
              (WKContextSetDatabaseDirectory):
              * UIProcess/API/C/WKContextPrivate.h:
              * UIProcess/WebContext.cpp:
              (WebKit::WebContext::ensureWebProcess):
              (WebKit::WebContext::databaseDirectory):
              * UIProcess/WebContext.h:
              (WebKit::WebContext::setDatabaseDirectory):
              * UIProcess/mac/WebContextMac.mm:
              (WebKit::WebContext::platformDefaultDatabaseDirectory):
              * UIProcess/qt/WebContextQt.cpp:
              (WebKit::WebContext::platformDefaultDatabaseDirectory):
              * UIProcess/win/WebContextWin.cpp:
              (WebKit::WebContext::platformDefaultDatabaseDirectory):
              * WebKit2.pro:
              * WebKit2.xcodeproj/project.pbxproj:
              * WebProcess/WebCoreSupport/WebDatabaseManager.cpp:
              (WebKit::WebDatabaseManager::initialize):
              (WebKit::WebDatabaseManager::WebDatabaseManager):
              * WebProcess/WebCoreSupport/WebDatabaseManager.h:
              * WebProcess/WebCoreSupport/gtk/WebDatabaseManagerGtk.cpp: Removed.
              * WebProcess/WebCoreSupport/mac/WebDatabaseManagerMac.mm: Removed.
              * WebProcess/WebCoreSupport/qt/WebDatabaseManagerQt.cpp: Removed.
              * WebProcess/WebCoreSupport/win/WebDatabaseManagerWin.cpp: Removed.
              * WebProcess/WebProcess.cpp:
              (WebKit::WebProcess::WebProcess):
              (WebKit::WebProcess::initializeWebProcess):
              * WebProcess/com.apple.WebProcess.sb:
              * WebProcess/mac/WebProcessMac.mm:
              (WebKit::initializeSandbox):
              * win/WebKit2.vcproj:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76559 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      31a1ec3d
    • mrobinson@webkit.org's avatar
      2011-01-24 Martin Robinson <mrobinson@igalia.com> · 4d1b17ce
      mrobinson@webkit.org authored
              Skipping failing tests after r76555.
      
              * platform/gtk/Skipped: Skip failing tests.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76558 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4d1b17ce
    • commit-queue@webkit.org's avatar
      2011-01-24 Peter Kasting <pkasting@google.com> · ada816be
      commit-queue@webkit.org authored
              Reviewed by Darin Adler.
      
              Roll back r67261 ("Don't fire onclick on middle clicks") due to
              regressions.
              https://bugs.webkit.org/show_bug.cgi?id=46733
      
              * fast/events/mouse-click-events-expected.txt:
              * fast/events/script-tests/mouse-click-events.js:
      2011-01-24  Peter Kasting  <pkasting@google.com>
      
              Reviewed by Darin Adler.
      
              Roll back r67261 ("Don't fire onclick on middle clicks") due to
              regressions.
              https://bugs.webkit.org/show_bug.cgi?id=46733
      
              * html/HTMLAnchorElement.cpp:
              (WebCore::isLinkClick):
              * html/HTMLInputElement.cpp:
              (WebCore::HTMLInputElement::preDispatchEventHandler):
              (WebCore::HTMLInputElement::postDispatchEventHandler):
              (WebCore::HTMLInputElement::defaultEventHandler):
              * page/EventHandler.cpp:
              (WebCore::EventHandler::handleMouseDoubleClickEvent):
              (WebCore::EventHandler::handleMouseReleaseEvent):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76557 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ada816be
    • xji@chromium.org's avatar
      2011-01-24 Xiaomei Ji <xji@chromium.org> · e66fb080
      xji@chromium.org authored
              Unreviewed.
      
              Skip cjk-segmentation.html (introduced in r76548) in QT.
              QT skipped range-expand.html, skip cjk-segmentation as well.
      
              * platform/qt/Skipped:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76556 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e66fb080
    • mrobinson@webkit.org's avatar
      2011-01-24 Martin Robinson <mrobinson@igalia.com> · 20042ea6
      mrobinson@webkit.org authored
              Reviewed by Eric Seidel.
      
              [GTK] Many DOM XHTML tests time out
              https://bugs.webkit.org/show_bug.cgi?id=52553
      
              * platform/gtk/Skipped: Unskip tests which are no longer timing out.
      2011-01-24  Martin Robinson  <mrobinson@igalia.com>
      
              Reviewed by Eric Seidel.
      
              [GTK] Many DOM XHTML tests time out
              https://bugs.webkit.org/show_bug.cgi?id=52553
      
              Properly handle the situation where a synchronous load fails before the inner
              event loop has started. In this case, we simply do not run the inner event loop,
              or else it will block indefinitely (since no GIO or libsoup callbacks will fire).
      
              * platform/network/soup/ResourceHandleSoup.cpp:
              (WebCore::ResourceHandle::loadResourceSynchronously): Bail out of a synchronous
              load if it fails up front.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76555 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      20042ea6
    • lforschler@apple.com's avatar
      Add a new Leopard test bot. · 82cb49a6
      lforschler@apple.com authored
      Reviewed by Stephanie Lewis.
      
      * BuildSlaveSupport/build.webkit.org-config/config.json:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76554 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      82cb49a6
    • gyuyoung.kim@samsung.com's avatar
      2011-01-24 Gyuyoung Kim <gyuyoung.kim@samsung.com> · 0c767b40
      gyuyoung.kim@samsung.com authored
              Reviewed by Adam Barth.
      
              Add EFL Builder to core waterfall
              https://bugs.webkit.org/show_bug.cgi?id=52704
      
              Add EFL Builder to the core waterfall again.
      
              * Scripts/webkitpy/common/net/buildbot/buildbot.py:
              * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76553 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0c767b40
    • rniwa@webkit.org's avatar
      2011-01-24 Ryosuke Niwa <rniwa@webkit.org> · 763f49f9
      rniwa@webkit.org authored
              Unreviewed Chromium test expectation update for r76548.
      
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76552 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      763f49f9
    • bfulgham@webkit.org's avatar
      Unreviewed build fix. · 86c7b54c
      bfulgham@webkit.org authored
      * win/WebKit2.vcproj: Don't build the CG Utilities when building
      without CG support.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76551 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      86c7b54c
    • andersca@apple.com's avatar
      2011-01-24 Anders Carlsson <andersca@apple.com> · e5926275
      andersca@apple.com authored
              Reviewed by John Sullivan.
      
              Don't use the timeout checker for non-user-interaction messages
              https://bugs.webkit.org/show_bug.cgi?id=53046
      
              * UIProcess/ChunkedUpdateDrawingAreaProxy.cpp:
              (WebKit::ChunkedUpdateDrawingAreaProxy::didSetSize):
              (WebKit::ChunkedUpdateDrawingAreaProxy::sendSetSize):
              * UIProcess/LayerBackedDrawingAreaProxy.cpp:
              (WebKit::LayerBackedDrawingAreaProxy::sizeDidChange):
              (WebKit::LayerBackedDrawingAreaProxy::didSetSize):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76550 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e5926275
    • zmo@google.com's avatar
      2011-01-24 Zhenyao Mo <zmo@google.com> · 092f8400
      zmo@google.com authored
              Reviewed by Darin Adler.
      
              Remove sizeInBytes from GraphicsContext3D's various implementations
              https://bugs.webkit.org/show_bug.cgi?id=52339
      
              * src/GraphicsContext3DChromium.cpp:
              * src/GraphicsContext3DInternal.h:
      2011-01-24  Zhenyao Mo  <zmo@google.com>
      
              Reviewed by Darin Adler.
      
              Remove sizeInBytes from GraphicsContext3D's various implementations
              https://bugs.webkit.org/show_bug.cgi?id=52339
      
              * html/canvas/WebGLRenderingContext.cpp:
              (WebCore::WebGLRenderingContext::sizeInBytes):
              * platform/graphics/GraphicsContext3D.h:
              * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
              * platform/graphics/qt/GraphicsContext3DQt.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76549 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      092f8400
    • xji@chromium.org's avatar
      2011-01-24 Xiaomei Ji <xji@chromium.org> · a56fc183
      xji@chromium.org authored
              Reviewed by Ryosuke Niwa.
      
              Add test for Chinese Segmentation.
              https://bugs.webkit.org/show_bug.cgi?id=52926
      
              The CJK segmentation currently does not work in other ports except Chromium.
              Please refer to https://bugs.webkit.org/show_bug.cgi?id=53044 for detail.
      
              * fast/text/international/cjk-segmentation-expected.txt: Added.
              * fast/text/international/cjk-segmentation.html: Added.
              * platform/chromium/fast/text/international: Added.
              * platform/chromium/fast/text/international/cjk-segmentation-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76548 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a56fc183
    • commit-queue@webkit.org's avatar
      2011-01-24 Xianzhu Wang <wangxianzhu@google.com> · 2afb3bae
      commit-queue@webkit.org authored
              Reviewed by Tony Chang.
      
              new-run-webkit-tests fails to start HTTP server if there are proxy settings
              https://bugs.webkit.org/show_bug.cgi?id=52872
      
              Force disabling proxy to resolve the problem.
      
              * Scripts/webkitpy/layout_tests/port/http_server_base.py:
              * Scripts/webkitpy/layout_tests/port/websocket_server.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76547 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2afb3bae
    • aroben@apple.com's avatar
      Windows Production build fix · f4025fd1
      aroben@apple.com authored
      Source/JavaScriptCore:
      
      * JavaScriptCore.vcproj/JavaScriptCore.make: Update for move of JavaScriptCore into Source.
      
      Source/WebCore:
      
      * WebCore.vcproj/WebCore.make: Update for move of WebCore into Source.
      
      Source/WebKit/win:
      
      * WebKit.vcproj/WebKit.make: Update for move of WebKit into Source.
      
      Source/WebKit2:
      
      * win/WebKit2.make: Update for move of WebKit2 into Source.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76546 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f4025fd1
    • wsiegrist@apple.com's avatar
    • mjs@apple.com's avatar
      2011-01-24 Maciej Stachowiak <mjs@apple.com> · f731d01b
      mjs@apple.com authored
              Reviewed by Eric Seidel.
      
              Skip a newly added test that uses textInputController
              https://bugs.webkit.org/show_bug.cgi?id=53027
      
              * platform/mac-wk2/Skipped:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76544 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f731d01b
    • jberlin@webkit.org's avatar
      WebKit2: LayoutTests: The UNIMPLEMENTED warnings in TextCheckerWin should be disabled · b2f777a9
      jberlin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=53029
      
      Reviewed by Adam Roben.
      
      * UIProcess/win/TextCheckerWin.cpp:
      Disable the warnings for this file.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76543 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b2f777a9
    • andreip@google.com's avatar
      2011-01-24 Andrei Popescu <andreip@google.com> · 616a18bf
      andreip@google.com authored
              Unreviewed, build fix.
      
              LayoutTest/storage/indexeddb/objectstore-autoincrement.html is failing after r76533
              https://bugs.webkit.org/show_bug.cgi?id=53032
      
              Fix the expected output, which still had an error.
      
              * storage/indexeddb/objectstore-autoincrement-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76542 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      616a18bf
    • antonm@chromium.org's avatar
      2011-01-24 Anton Muhin <antonm@chromium.org> · ea255cbc
      antonm@chromium.org authored
              Reviewed by Nate Chapin.
      
              [v8] Refactoring: extract IntrusiveDOMWrapperMap into a seprate class and files.
              https://bugs.webkit.org/show_bug.cgi?id=52911
      
              Plain refactoring, covered by the existing tests.
      
              * WebCore.gypi: IntrusiveDOMWrapperMap.h added.
              * bindings/v8/DOMDataStore.cpp: IntrusiveDOMWrapperMap is moved out of DOMDataStore class.
              * bindings/v8/DOMDataStore.h: IntrusiveDOMWrapperMap is moved out of DOMDataStore class.
              * bindings/v8/IntrusiveDOMWrapperMap.h: Added.
              (WebCore::ChunkedTable::ChunkedTable):
              (WebCore::ChunkedTable::add):
              (WebCore::ChunkedTable::remove):
              (WebCore::ChunkedTable::clear):
              (WebCore::ChunkedTable::visit):
              (WebCore::ChunkedTable::Chunk::Chunk):
              (WebCore::ChunkedTable::clearEntries):
              (WebCore::ChunkedTable::visitEntries):
              (WebCore::IntrusiveDOMWrapperMap::IntrusiveDOMWrapperMap):
              (WebCore::IntrusiveDOMWrapperMap::get):
              (WebCore::IntrusiveDOMWrapperMap::set):
              (WebCore::IntrusiveDOMWrapperMap::contains):
              (WebCore::IntrusiveDOMWrapperMap::visit):
              (WebCore::IntrusiveDOMWrapperMap::removeIfPresent):
              (WebCore::IntrusiveDOMWrapperMap::clear):
              (WebCore::IntrusiveDOMWrapperMap::ChunkedTableTraits::move):
              (WebCore::IntrusiveDOMWrapperMap::ChunkedTableTraits::clear):
              (WebCore::IntrusiveDOMWrapperMap::ChunkedTableTraits::visit):
              * bindings/v8/StaticDOMDataStore.h: include added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76541 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ea255cbc
    • commit-queue@webkit.org's avatar
      2011-01-24 Kenji Imasaki <imasaki@chromium.org> · 046a3f91
      commit-queue@webkit.org authored
              Reviewed by Jian Li.
      
              [chromium] Remove non-flaky tests from test expectation file
              https://bugs.webkit.org/show_bug.cgi?id=53022
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76540 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      046a3f91
    • andreip@google.com's avatar
      2011-01-24 Andrei Popescu <andreip@google.com> · 55871dc8
      andreip@google.com authored
              Reviewed by Jeremy Orlow.
      
              LayoutTest/storage/indexeddb/objectstore-autoincrement.html is failing after r76533
              https://bugs.webkit.org/show_bug.cgi?id=53032
      
              This fixes the layout test by modifying the arguments to IDBDatabase::transaction.
      
              * storage/indexeddb/objectstore-autoincrement-expected.txt:
              * storage/indexeddb/objectstore-autoincrement.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76538 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      55871dc8
    • commit-queue@webkit.org's avatar
      2011-01-24 Shane Stephens <shanestephens@google.com> · 4413d10c
      commit-queue@webkit.org authored
              Reviewed by Chris Marrin.
      
              TransformationMatrix multiply operations apply operands in wrong order.
              https://bugs.webkit.org/show_bug.cgi?id=52780
      
              Rename TranformationMatrix::multLeft into multiply (the method does a multRight,
              not a multLeft).
      
              Remove TransformationMatrix::multiply, which was actually doing a multLeft.
      
              Fix TransformationMatrix::operator* and operator*= such that the operand is
              applied to the right-hand side of the matrix that the method is called on.
              i.e., previously "a * b" used to compute "b * a", and "a *= b" used to store
              "b * a" in "a".  This has now been fixed so "a * b" computes "a * b" and
              "a *= b" stores "a * b" in "a".
      
              Convert all call sites for these methods to provide operands in the correct order.
      
              No new tests as patch adds no new functionality.
      
              * css/WebKitCSSMatrix.cpp:
              (WebCore::WebKitCSSMatrix::multiply):
              * platform/graphics/transforms/Matrix3DTransformOperation.h:
              (WebCore::Matrix3DTransformOperation::apply):
              * platform/graphics/transforms/MatrixTransformOperation.h:
              (WebCore::MatrixTransformOperation::apply):
              * platform/graphics/transforms/TransformationMatrix.cpp:
              (WebCore::TransformationMatrix::scaleNonUniform):
              (WebCore::TransformationMatrix::scale3d):
              (WebCore::TransformationMatrix::rotate3d):
              (WebCore::TransformationMatrix::skew):
              (WebCore::TransformationMatrix::applyPerspective):
              (WebCore::TransformationMatrix::multiply):
              (WebCore::TransformationMatrix::recompose):
              * platform/graphics/transforms/TransformationMatrix.h:
              (WebCore::TransformationMatrix::operator*=):
              (WebCore::TransformationMatrix::operator*):
              * rendering/RenderLayer.cpp:
              (WebCore::transparencyClipBox):
              * rendering/RenderObject.cpp:
              (WebCore::RenderObject::getTransformFromContainer):
              * rendering/TransformState.cpp:
              (WebCore::TransformState::applyTransform):
              (WebCore::HitTestingTransformState::applyTransform):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76537 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4413d10c
    • andersca@apple.com's avatar
      2011-01-24 Anders Carlsson <andersca@apple.com> · ebef3a29
      andersca@apple.com authored
              Reviewed by Sam Weinig.
      
              Wait for half a second if we're asked to paint when receiving a DidSetSize message
              https://bugs.webkit.org/show_bug.cgi?id=53028
      
              * UIProcess/DrawingAreaProxyImpl.cpp:
              (WebKit::DrawingAreaProxyImpl::paint):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76536 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ebef3a29
    • andersca@apple.com's avatar
      2011-01-24 Anders Carlsson <andersca@apple.com> · a31b9aaa
      andersca@apple.com authored
              Reviewed by Sam Weinig.
      
              Implement forceRedisplay in the new drawing area
              https://bugs.webkit.org/show_bug.cgi?id=53026
      
              * WebProcess/WebPage/DrawingAreaImpl.cpp:
              (WebKit::DrawingAreaImpl::forceRepaint):
              * WebProcess/WebPage/DrawingAreaImpl.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76535 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a31b9aaa
    • andersca@apple.com's avatar
      2011-01-24 Anders Carlsson <andersca@apple.com> · 6c85ea42
      andersca@apple.com authored
              Reviewed by Sam Weinig.
      
              Fill unpainted rects with the background color.
              https://bugs.webkit.org/show_bug.cgi?id=53025
      
              * UIProcess/API/mac/WKView.mm:
              (drawPageBackground):
              Add new helper function.
      
              (-[WKView drawRect:]):
              Iterate over the unpainted rects and fill them with the background color.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76533 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6c85ea42
    • andreip@google.com's avatar
      2011-01-24 Andrei Popescu <andreip@google.com> · f86bef17
      andreip@google.com authored
              Reviewed by Nate Chapin.
      
              IndexedDatabase methods should not take arguments of type OptionsObject
              https://bugs.webkit.org/show_bug.cgi?id=53012
      
              * storage/indexeddb/create-object-store-options-expected.txt:
              * storage/indexeddb/create-object-store-options.html:
              * storage/indexeddb/cursor-delete-expected.txt:
              * storage/indexeddb/cursor-delete.html:
              * storage/indexeddb/cursor-index-delete-expected.txt:
              * storage/indexeddb/cursor-index-delete.html:
              * storage/indexeddb/data-corruption-expected.txt:
              * storage/indexeddb/data-corruption.html:
              * storage/indexeddb/database-quota-expected.txt:
              * storage/indexeddb/database-quota.html:
              * storage/indexeddb/index-cursor.html:
              * storage/indexeddb/objectstore-basics-expected.txt:
              * storage/indexeddb/objectstore-basics.html:
              * storage/indexeddb/objectstore-cursor.html:
              * storage/indexeddb/open-cursor-expected.txt:
              * storage/indexeddb/open-cursor.html:
              * storage/indexeddb/transaction-and-objectstore-calls-expected.txt:
              * storage/indexeddb/transaction-and-objectstore-calls.html:
              * storage/indexeddb/tutorial.html:
      2011-01-24  Andrei Popescu  <andreip@google.com>
      
              Reviewed by Nate Chapin.
      
              IndexedDatabase methods should not take arguments of type OptionsObject
              https://bugs.webkit.org/show_bug.cgi?id=53012
      
              This patch reverts all IDB methods, except IDBDatabase::createObjectStore and
              IDBObjectStore::createIndex, to using a plain list of arguments instead of
              grouping the various parameters inside a single OptionsObject argument.
              This decision was made on public-webapps@w3.org mailing list.
      
              We also add support (v8 only for now) for passing DOMStringList objects as arguments to native
              methods. The code for obtaining a DOMStringList object from a JS array of strings existed already
              in OptionsObject.cpp, I just copied it to V8Bindings.cpp and taught the v8 code generator how to
              use it.
      
              * bindings/scripts/CodeGeneratorV8.pm:
              * bindings/v8/V8Binding.cpp:
              (WebCore::v8ValueToWebCoreDOMStringList):
              * bindings/v8/V8Binding.h:
              * storage/IDBDatabase.cpp:
              (WebCore::IDBDatabase::transaction):
              * storage/IDBDatabase.h:
              (WebCore::IDBDatabase::transaction):
              * storage/IDBDatabase.idl:
              * storage/IDBIndex.cpp:
              (WebCore::IDBIndex::openCursor):
              (WebCore::IDBIndex::openKeyCursor):
              * storage/IDBIndex.h:
              (WebCore::IDBIndex::openCursor):
              (WebCore::IDBIndex::openKeyCursor):
              * storage/IDBIndex.idl:
              * storage/IDBObjectStore.cpp:
              (WebCore::IDBObjectStore::openCursor):
              * storage/IDBObjectStore.h:
              (WebCore::IDBObjectStore::openCursor):
              * storage/IDBObjectStore.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76531 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f86bef17
    • commit-queue@webkit.org's avatar
      2011-01-24 Andreas Kling <kling@webkit.org> · a91fd125
      commit-queue@webkit.org authored
              Reviewed by Darin Adler.
      
              check-webkit-style: Update exemptions following Source/ move.
              https://bugs.webkit.org/show_bug.cgi?id=53017
      
              * Scripts/webkitpy/style/checker.py:
              * Scripts/webkitpy/style/checker_unittest.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76530 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a91fd125
    • mitz@apple.com's avatar
      WebKit2 version of <rdar://problem/6097826> Mail's cursor does not become a... · a78d2f2f
      mitz@apple.com authored
      WebKit2 version of <rdar://problem/6097826> Mail's cursor does not become a resize cursor when moving mouse from scrolled email to the horizontal splitter
      
      Reviewed by John Sullivan.
      
      * UIProcess/API/mac/PageClientImpl.mm:
      (WebKit::PageClientImpl::setCursor): If the current cursor comes from a cursor rect, do not override it.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76529 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a78d2f2f
    • chang.shu@nokia.com's avatar
      2011-01-24 Chang Shu <chang.shu@nokia.com> · b38a60bc
      chang.shu@nokia.com authored
              Reviewed by Darin Adler.
      
              Move contentEditable related test cases to the right place as they are DOM
              related instead of editing related.
              https://bugs.webkit.org/show_bug.cgi?id=53010
      
              * editing/editability: Removed.
              * editing/editability/attr-empty-string-expected.txt: Removed.
              * editing/editability/attr-empty-string.html: Removed.
              * editing/editability/attr-false-string-expected.txt: Removed.
              * editing/editability/attr-false-string.html: Removed.
              * editing/editability/attr-invalid-string-expected.txt: Removed.
              * editing/editability/attr-invalid-string.html: Removed.
              * editing/editability/attr-missing-ancestor-false-expected.txt: Removed.
              * editing/editability/attr-missing-ancestor-false.html: Removed.
              * editing/editability/attr-missing-ancestor-true-expected.txt: Removed.
              * editing/editability/attr-missing-ancestor-true.html: Removed.
              * editing/editability/attr-missing-parent-ancestor-missing-expected.txt: Removed.
              * editing/editability/attr-missing-parent-ancestor-missing.html: Removed.
              * editing/editability/attr-missing-parent-false-expected.txt: Removed.
              * editing/editability/attr-missing-parent-false.html: Removed.
              * editing/editability/attr-missing-parent-true-expected.txt: Removed.
              * editing/editability/attr-missing-parent-true.html: Removed.
              * editing/editability/attr-true-string-expected.txt: Removed.
              * editing/editability/attr-true-string.html: Removed.
              * editing/editability/set-false-expected.txt: Removed.
              * editing/editability/set-false.html: Removed.
              * editing/editability/set-inherit-parent-false-expected.txt: Removed.
              * editing/editability/set-inherit-parent-false.html: Removed.
              * editing/editability/set-inherit-parent-true-expected.txt: Removed.
              * editing/editability/set-inherit-parent-true.html: Removed.
              * editing/editability/set-invalid-value-expected.txt: Removed.
              * editing/editability/set-invalid-value.html: Removed.
              * editing/editability/set-true-expected.txt: Removed.
              * editing/editability/set-true.html: Removed.
              * editing/editability/set-value-caseinsensitive-expected.txt: Removed.
              * editing/editability/set-value-caseinsensitive.html: Removed.
              * fast/dom/HTMLElement/attr-empty-string-expected.txt: Copied from LayoutTests/editing/editability/attr-empty-string-expected.txt.
              * fast/dom/HTMLElement/attr-empty-string.html: Copied from LayoutTests/editing/editability/attr-empty-string.html.
              * fast/dom/HTMLElement/attr-false-string-expected.txt: Copied from LayoutTests/editing/editability/attr-false-string-expected.txt.
              * fast/dom/HTMLElement/attr-false-string.html: Copied from LayoutTests/editing/editability/attr-false-string.html.
              * fast/dom/HTMLElement/attr-invalid-string-expected.txt: Copied from LayoutTests/editing/editability/attr-invalid-string-expected.txt.
              * fast/dom/HTMLElement/attr-invalid-string.html: Copied from LayoutTests/editing/editability/attr-invalid-string.html.
              * fast/dom/HTMLElement/attr-missing-ancestor-false-expected.txt: Copied from LayoutTests/editing/editability/attr-missing-ancestor-false-expected.txt.
              * fast/dom/HTMLElement/attr-missing-ancestor-false.html: Copied from LayoutTests/editing/editability/attr-missing-ancestor-false.html.
              * fast/dom/HTMLElement/attr-missing-ancestor-true-expected.txt: Copied from LayoutTests/editing/editability/attr-missing-ancestor-true-expected.txt.
              * fast/dom/HTMLElement/attr-missing-ancestor-true.html: Copied from LayoutTests/editing/editability/attr-missing-ancestor-true.html.
              * fast/dom/HTMLElement/attr-missing-parent-ancestor-missing-expected.txt: Copied from LayoutTests/editing/editability/attr-missing-parent-ancestor-missing-expected.txt.
              * fast/dom/HTMLElement/attr-missing-parent-ancestor-missing.html: Copied from LayoutTests/editing/editability/attr-missing-parent-ancestor-missing.html.
              * fast/dom/HTMLElement/attr-missing-parent-false-expected.txt: Copied from LayoutTests/editing/editability/attr-missing-parent-false-expected.txt.
              * fast/dom/HTMLElement/attr-missing-parent-false.html: Copied from LayoutTests/editing/editability/attr-missing-parent-false.html.
              * fast/dom/HTMLElement/attr-missing-parent-true-expected.txt: Copied from LayoutTests/editing/editability/attr-missing-parent-true-expected.txt.
              * fast/dom/HTMLElement/attr-missing-parent-true.html: Copied from LayoutTests/editing/editability/attr-missing-parent-true.html.
              * fast/dom/HTMLElement/attr-true-string-expected.txt: Copied from LayoutTests/editing/editability/attr-true-string-expected.txt.
              * fast/dom/HTMLElement/attr-true-string.html: Copied from LayoutTests/editing/editability/attr-true-string.html.
              * fast/dom/HTMLElement/set-false-expected.txt: Copied from LayoutTests/editing/editability/set-false-expected.txt.
              * fast/dom/HTMLElement/set-false.html: Copied from LayoutTests/editing/editability/set-false.html.
              * fast/dom/HTMLElement/set-inherit-parent-false-expected.txt: Copied from LayoutTests/editing/editability/set-inherit-parent-false-expected.txt.
              * fast/dom/HTMLElement/set-inherit-parent-false.html: Copied from LayoutTests/editing/editability/set-inherit-parent-false.html.
              * fast/dom/HTMLElement/set-inherit-parent-true-expected.txt: Copied from LayoutTests/editing/editability/set-inherit-parent-true-expected.txt.
              * fast/dom/HTMLElement/set-inherit-parent-true.html: Copied from LayoutTests/editing/editability/set-inherit-parent-true.html.
              * fast/dom/HTMLElement/set-invalid-value-expected.txt: Copied from LayoutTests/editing/editability/set-invalid-value-expected.txt.
              * fast/dom/HTMLElement/set-invalid-value.html: Copied from LayoutTests/editing/editability/set-invalid-value.html.
              * fast/dom/HTMLElement/set-true-expected.txt: Copied from LayoutTests/editing/editability/set-true-expected.txt.
              * fast/dom/HTMLElement/set-true.html: Copied from LayoutTests/editing/editability/set-true.html.
              * fast/dom/HTMLElement/set-value-caseinsensitive-expected.txt: Copied from LayoutTests/editing/editability/set-value-caseinsensitive-expected.txt.
              * fast/dom/HTMLElement/set-value-caseinsensitive.html: Copied from LayoutTests/editing/editability/set-value-caseinsensitive.html.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76528 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b38a60bc
    • tony@chromium.org's avatar
      2011-01-24 Tony Chang <tony@chromium.org> · e2fa398f
      tony@chromium.org authored
              Reviewed by James Robinson.
      
              [chromium] turn off gyp circular dependency checking and roll chromium deps
              https://bugs.webkit.org/show_bug.cgi?id=52935
      
              * DEPS:
              * gyp_webkit: Turn off gyp circular dependency checking on Linux
                  and Win since we don't do these checks in gyp_chromium.  It's
                  just making it harder for us to roll DEPS and have something
                  explode.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76527 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e2fa398f
    • satish@chromium.org's avatar
      2011-01-24 Satish Sampath <satish@chromium.org> · 580f65f5
      satish@chromium.org authored
              Reviewed by Csaba Osztrogonác.
      
              Remove obsolete public/API method in chromium port
              https://bugs.webkit.org/show_bug.cgi?id=53015
      
              * public/WebSpeechInputController.h:
              (WebKit::WebSpeechInputController::startRecognition): Removed obsolete method
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76526 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      580f65f5
    • abecsi@webkit.org's avatar
      2011-01-24 Andras Becsi <abecsi@webkit.org> · 7783c2d6
      abecsi@webkit.org authored
              Rubber-stamped by Csaba Osztrogonác.
      
              [Qt] Move project files into Source
              https://bugs.webkit.org/show_bug.cgi?id=52891
      
              * DumpRenderTree/qt/ImageDiff.pro: Add missing "Source" to WebKit.pri path
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76525 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7783c2d6
    • weinig@apple.com's avatar
      Add editing/inserting/insert-composition-whitespace.html to the windows · 34fc0cac
      weinig@apple.com authored
      skipped list.
      
      * platform/win/Skipped:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76524 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      34fc0cac
    • ossy@webkit.org's avatar
      Unreviewed. · 20e41c1b
      ossy@webkit.org authored
      Add Qt specific expected results for passing editing/selections tests.
      Compared to Mac png files and Mac expected files. (part 3)
      
      * platform/qt/editing/selection/ [...]:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76523 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      20e41c1b
    • ossy@webkit.org's avatar
      Unreviewed. · 9d91ddd4
      ossy@webkit.org authored
      Add Qt specific expected results for passing editing/selections tests.
      Compared to Mac png files and Mac expected files. (part 2)
      
      * platform/qt/editing/selection/ [...]:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76522 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9d91ddd4
    • ossy@webkit.org's avatar
      Unreviewed. · da81509d
      ossy@webkit.org authored
      Add Qt specific expected results for passing editing/selections tests.
      Compared to Mac png files and Mac expected files. (part 1)
      
      * platform/qt/editing/selection/ [...]:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76521 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      da81509d
    • kbalazs@webkit.org's avatar
      Typo fix. · ff06a04e
      kbalazs@webkit.org authored
      Rubber-stamped by Csaba Osztrogonác.
      
      * UIProcess/Launcher/qt/ProcessLauncherQt.cpp:
      (WebKit::ProcessLauncher::launchProcess): Move the bracket to the right place.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76520 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ff06a04e
    • pfeldman@chromium.org's avatar
      2011-01-24 Pavel Feldman <pfeldman@chromium.org> · a7ada265
      pfeldman@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: extract dispatch API from network manager.
              https://bugs.webkit.org/show_bug.cgi?id=53009
      
              * WebCore.xcodeproj/project.pbxproj:
              * inspector/front-end/NetworkManager.js:
              (WebInspector.NetworkManager):
              (WebInspector.NetworkManager.prototype.reset):
              (WebInspector.NetworkManager.prototype.requestContent):
              (WebInspector.NetworkManager.prototype._processCachedResources):
              (WebInspector.NetworkDispatcher):
              (WebInspector.NetworkDispatcher.prototype._updateResourceWithRequest):
              (WebInspector.NetworkDispatcher.prototype._updateResourceWithResponse):
              (WebInspector.NetworkDispatcher.prototype._updateResourceWithCachedResource):
              (WebInspector.NetworkDispatcher.prototype.identifierForInitialRequest):
              (WebInspector.NetworkDispatcher.prototype.willSendRequest):
              (WebInspector.NetworkDispatcher.prototype.didReceiveResponse):
              (WebInspector.NetworkDispatcher.prototype.didLoadResourceFromMemoryCache):
              (WebInspector.NetworkDispatcher.prototype.didCommitLoadForFrame):
              (WebInspector.NetworkDispatcher.prototype.didCreateWebSocket):
              (WebInspector.NetworkDispatcher.prototype._appendRedirect):
              (WebInspector.NetworkDispatcher.prototype._startResource):
              (WebInspector.NetworkDispatcher.prototype._updateResource):
              (WebInspector.NetworkDispatcher.prototype._finishResource):
              (WebInspector.NetworkDispatcher.prototype._addFramesRecursively):
              (WebInspector.NetworkDispatcher.prototype._dispatchEventToListeners):
              (WebInspector.NetworkDispatcher.prototype._createResource):
              * inspector/front-end/Resource.js:
              (WebInspector.Resource.prototype._innerRequestContent):
              * inspector/front-end/ResourceTreeModel.js:
              (WebInspector.ResourceTreeModel):
              (WebInspector.ResourceTreeModel.prototype.reset):
              (WebInspector.ResourceTreeModel.prototype.unbindResourceURL):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76519 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a7ada265
    • yurys@chromium.org's avatar
      2011-01-24 Yury Semikhatsky <yurys@chromium.org> · 2e3a4c1a
      yurys@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: [JSC] remove ScriptDebugServer::pageCreated
              https://bugs.webkit.org/show_bug.cgi?id=53007
      
              It's impossible to create "provisional" inspector for pages which are
              not yet created so there is no need to listen for page creation in ScriptDebugServer.
      
              * bindings/js/ScriptDebugServer.cpp:
              * bindings/js/ScriptDebugServer.h:
              * page/Page.cpp:
              (WebCore::Page::Page):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76518 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2e3a4c1a
    • podivilov@chromium.org's avatar
      2011-01-24 Pavel Podivilov <podivilov@chromium.org> · bbc1f4fc
      podivilov@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: [REGRESSION] AppCache view on resources panel is broken.
              https://bugs.webkit.org/show_bug.cgi?id=53002
      
              * inspector/front-end/ApplicationCacheItemsView.js:
              (WebInspector.ApplicationCacheItemsView.prototype._update):
              * inspector/front-end/DOMAgent.js:
              (WebInspector.ApplicationCacheDispatcher.getApplicationCachesAsync):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76517 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bbc1f4fc