WebKit-https.git
9 years ago2011-02-23 Alexis Menard <alexis.menard@openbossa.org>
commit-queue@webkit.org [Wed, 23 Feb 2011 17:07:31 +0000 (17:07 +0000)]
2011-02-23  Alexis Menard  <alexis.menard@openbossa.org>

        Reviewed by Dan Bernstein.

        [Qt]REGRESSION(r79167): It broke 3 Qt-API test cases
        http://trac.webkit.org/changeset/79167 refactored the way the bound size of
        the frame is handled. A new API setBoundsSize was added, we need to call it
        in addition to setFrameRect. I could call setBoundSize after setFrameRect but
        I thought It would be more elegant to use the resize method.

        * Api/qwebpage.cpp:
        (QWebPage::setViewportSize):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79450 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-23 Jacob Dinu <dinu.jacob@nokia.com>
commit-queue@webkit.org [Wed, 23 Feb 2011 16:38:05 +0000 (16:38 +0000)]
2011-02-23  Jacob Dinu  <dinu.jacob@nokia.com>

        Reviewed by Pavel Feldman.

        Web Inspector: Linking error for some InspectorController symbols
        https://bugs.webkit.org/show_bug.cgi?id=54953

        Moved out hideHighlight definition from under JAVASCRIPT_DEBUGGER flag

        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::hideHighlight):
        (WebCore::InspectorController::resume):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79449 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-23 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Wed, 23 Feb 2011 16:30:11 +0000 (16:30 +0000)]
2011-02-23  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed Chromium expectations update. Add more Snow Leopard-only
        failures.

        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79448 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-23 MORITA Hajime <morrita@google.com>
morrita@google.com [Wed, 23 Feb 2011 16:14:17 +0000 (16:14 +0000)]
2011-02-23  MORITA Hajime  <morrita@google.com>

        Unreviewed test_expectations.txt update.

        Added TIMEOUTs that the last change missed.

        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79447 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-23 Siddharth Mathur <siddharth.mathur@nokia.com>
laszlo.1.gombos@nokia.com [Wed, 23 Feb 2011 15:41:14 +0000 (15:41 +0000)]
2011-02-23  Siddharth Mathur  <siddharth.mathur@nokia.com>

        Reviewed by Laszlo Gombos.

        [Qt] Make sure Symbian binary UIDs are unique

        * WebProcess.pro: Resolve the UID collision with QtTestBrowser.pro
        by changing the UID.

2011-02-23  Siddharth Mathur  <siddharth.mathur@nokia.com>

        Reviewed by Laszlo Gombos.

        [Qt] Make sure Symbian binary UIDs are unique

        * MiniBrowser/qt/MiniBrowser.pro: Resolve the UID collision with
        QtTestBrowser.pro by changing the UID.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79446 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-23 Hans Wennborg <hans@chromium.org>
hans@chromium.org [Wed, 23 Feb 2011 15:10:43 +0000 (15:10 +0000)]
2011-02-23  Hans Wennborg  <hans@chromium.org>

        IndexedDB: Move some SQL code into IDBBackingStore
        https://bugs.webkit.org/show_bug.cgi?id=54889

        The idea is to gather all the SQL logic into IDBBackingStore.

        No new functionality, so no new tests.

        * storage/IDBBackingStore.cpp:
        (WebCore::IDBBackingStore::IDBBackingStore):
        (WebCore::runCommands):
        (WebCore::createTables):
        (WebCore::createMetaDataTable):
        (WebCore::getDatabaseSchemaVersion):
        (WebCore::migrateDatabase):
        (WebCore::IDBBackingStore::open):
        (WebCore::IDBBackingStore::extractIDBDatabaseMetaData):
        (WebCore::IDBBackingStore::setIDBDatabaseMetaData):
        (WebCore::IDBBackingStore::getObjectStores):
        (WebCore::IDBBackingStore::createObjectStore):
        (WebCore::doDelete):
        (WebCore::IDBBackingStore::deleteObjectStore):
        (WebCore::whereSyntaxForKey):
        (WebCore::bindKeyToQuery):
        (WebCore::IDBBackingStore::getObjectStoreRecord):
        (WebCore::bindKeyToQueryWithNulls):
        (WebCore::IDBBackingStore::putObjectStoreRecord):
        (WebCore::IDBBackingStore::deleteIndexDataForRecord):
        (WebCore::IDBBackingStore::putIndexDataForRecord):
        (WebCore::IDBBackingStore::createIndex):
        (WebCore::IDBBackingStore::deleteIndex):
        (WebCore::IDBBackingStore::clearObjectStore):
        * storage/IDBBackingStore.h:
        * storage/IDBDatabaseBackendImpl.cpp:
        (WebCore::IDBDatabaseBackendImpl::IDBDatabaseBackendImpl):
        (WebCore::IDBDatabaseBackendImpl::createObjectStoreInternal):
        (WebCore::IDBDatabaseBackendImpl::deleteObjectStoreInternal):
        (WebCore::IDBDatabaseBackendImpl::setVersionInternal):
        (WebCore::IDBDatabaseBackendImpl::loadObjectStores):
        * storage/IDBFactoryBackendImpl.cpp:
        (WebCore::IDBFactoryBackendImpl::IDBFactoryBackendImpl):
        (WebCore::IDBFactoryBackendImpl::addIDBBackingStore):
        (WebCore::IDBFactoryBackendImpl::removeIDBBackingStore):
        (WebCore::IDBFactoryBackendImpl::open):
        * storage/IDBFactoryBackendImpl.h:
        * storage/IDBObjectStoreBackendImpl.cpp:
        (WebCore::IDBObjectStoreBackendImpl::getInternal):
        (WebCore::IDBObjectStoreBackendImpl::putInternal):
        (WebCore::IDBObjectStoreBackendImpl::clearInternal):
        (WebCore::populateIndex):
        (WebCore::IDBObjectStoreBackendImpl::createIndexInternal):
        (WebCore::IDBObjectStoreBackendImpl::deleteIndexInternal):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79445 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-23 MORITA Hajime <morrita@google.com>
morrita@google.com [Wed, 23 Feb 2011 14:48:16 +0000 (14:48 +0000)]
2011-02-23 MORITA Hajime  <morrita@google.com>

        Unreviewed test_expectations.txt update.

        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79444 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-23 Siddharth Mathur <siddharth.mathur@nokia.com>
commit-queue@webkit.org [Wed, 23 Feb 2011 14:46:31 +0000 (14:46 +0000)]
2011-02-23  Siddharth Mathur  <siddharth.mathur@nokia.com>

        Reviewed by Laszlo Gombos.

        [Qt] Fix the Symbian build after r79334
        https://bugs.webkit.org/show_bug.cgi?id=55044

        No new tests as there is no new functionality.

        * WebCore.pri: Reorder symbian blocks to make sure that
        system-sqlite is set before it is tested.

        Copy the rules from JavaScriptCore.pri for defineTest().
2011-02-23  Siddharth Mathur  <siddharth.mathur@nokia.com>

        Reviewed by Laszlo Gombos.

        [Qt] Fix the Symbian build after r79334
        https://bugs.webkit.org/show_bug.cgi?id=55044

        * WebKit2.pri: Copy the rules from JavaScriptCore.pri for
        defineTest().

        Remove addWebKit2LibWholeArchive as it is no longer needed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79443 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-23 Sheriff Bot <webkit.review.bot@gmail.com>
morrita@google.com [Wed, 23 Feb 2011 14:40:47 +0000 (14:40 +0000)]
2011-02-23  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r79418.
        http://trac.webkit.org/changeset/79418
        https://bugs.webkit.org/show_bug.cgi?id=55043

        "breaks shlib linux build" (Requested by morrita on #webkit).

        * JavaScriptCore.gyp/JavaScriptCore.gyp:
        * JavaScriptCore.gypi:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79442 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-23 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Wed, 23 Feb 2011 14:05:35 +0000 (14:05 +0000)]
2011-02-23  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Alexey Proskuryakov.

        Use AtomicString::fromUTF8 instead of String::fromUTF8 for AtomicStrings
        https://bugs.webkit.org/show_bug.cgi?id=54992

        * websockets/WebSocketHandshake.cpp:
        (WebCore::WebSocketHandshake::readHTTPHeaders):
2011-02-23  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Alexey Proskuryakov.

        Use AtomicString::fromUTF8 instead of String::fromUTF8 for AtomicStrings
        https://bugs.webkit.org/show_bug.cgi?id=54992

        Also remove the WTF namespace from AtomicString and String.

        * ewk/ewk_view.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79441 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-23 Alejandro G. Castro <alex@igalia.com>
alex@webkit.org [Wed, 23 Feb 2011 14:00:11 +0000 (14:00 +0000)]
2011-02-23  Alejandro G. Castro  <alex@igalia.com>

        Unreviewed, fixed GTK WebKit2 compilation after r79366.

        * GNUmakefile.am:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79440 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-23 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Wed, 23 Feb 2011 13:32:19 +0000 (13:32 +0000)]
2011-02-23  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Andreas Kling.

        [CMake] Move platform dependent files out of main CMakeLists.txt
        https://bugs.webkit.org/show_bug.cgi?id=53891

        Apple Windows port does not use the image decoders,
        so move them into the platform specific CMake files.

        * CMakeLists.txt:
        * CMakeListsEfl.txt:
        * CMakeListsWinCE.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79439 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-23 MORITA Hajime <morrita@google.com>
morrita@google.com [Wed, 23 Feb 2011 12:31:27 +0000 (12:31 +0000)]
2011-02-23 MORITA Hajime <morrita@google.com>

        Unreviewed test_expectations.txt update.

        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79438 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-21 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Wed, 23 Feb 2011 12:05:38 +0000 (12:05 +0000)]
2011-02-21  Stephen White  <senorblanco@chromium.org>

        Reviewed by Kenneth Russell.

        Jittering when animating a rotated image
        https://bugs.webkit.org/show_bug.cgi?id=50775

        Since Skia does not seem to suffer from pixel cracks when scaling to
        non-integral sizes the way CG does, no-op roundToDevicePixels on the
        Skia implementation.

        * platform/graphics/skia/GraphicsContextSkia.cpp:
        (WebCore::GraphicsContext::roundToDevicePixels):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79437 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-23 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Wed, 23 Feb 2011 11:58:52 +0000 (11:58 +0000)]
2011-02-23 Patrick Gansterer <paroga@webkit.org>

        Reviewed by Andreas Kling.

        [WINCE] Get rid of TemporaryLinkStubs.cpp
        https://bugs.webkit.org/show_bug.cgi?id=54825

        * CMakeListsWinCE.txt:
        * platform/network/win/CookieStorageWin.cpp: Copied from platform/wince/TemporaryLinkStubs.cpp.
        * platform/wince/TemporaryLinkStubs.cpp: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79436 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-23 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Wed, 23 Feb 2011 11:42:04 +0000 (11:42 +0000)]
2011-02-23  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Alexey Proskuryakov.

        Use DEFINE_STATIC_LOCAL for ignoreSetMutex in Structure.cpp
        https://bugs.webkit.org/show_bug.cgi?id=54831

        * runtime/InitializeThreading.cpp:
        (JSC::initializeThreadingOnce):
        * runtime/Structure.cpp:
        (JSC::ignoreSetMutex):
        (JSC::Structure::Structure):
        (JSC::Structure::~Structure):
        (JSC::Structure::initializeThreading):
        * runtime/Structure.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79435 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-23 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Wed, 23 Feb 2011 11:31:19 +0000 (11:31 +0000)]
2011-02-23  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Darin Adler.

        Rename PLATFORM(CF) to USE(CF)
        https://bugs.webkit.org/show_bug.cgi?id=53540

        * runtime/DatePrototype.cpp:
        * runtime/GCActivityCallbackCF.cpp:
        * runtime/JSGlobalData.cpp:
        (JSC::JSGlobalData::JSGlobalData):
        * wtf/CurrentTime.cpp:
        * wtf/Platform.h:
        * wtf/text/AtomicString.h:
        * wtf/text/StringImpl.h:
        (WTF::StringImpl::computeHash):
        * wtf/text/WTFString.h:
        * wtf/unicode/icu/CollatorICU.cpp:
        (WTF::Collator::userDefault):
2011-02-23  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Darin Adler.

        Rename PLATFORM(CF) to USE(CF)
        https://bugs.webkit.org/show_bug.cgi?id=53540

        * WebCore.gyp/WebCore.gyp:
        * editing/SmartReplace.cpp:
        * editing/SmartReplaceICU.cpp:
        * loader/MainResourceLoader.cpp:
        (WebCore::MainResourceLoader::didReceiveResponse):
        (WebCore::MainResourceLoader::didReceiveData):
        (WebCore::MainResourceLoader::didFinishLoading):
        (WebCore::MainResourceLoader::didFail):
        * loader/archive/ArchiveFactory.cpp:
        (WebCore::archiveMIMETypes):
        * platform/FileSystem.h:
        * platform/KURL.h:
        * platform/KURLGoogle.cpp:
        * platform/RunLoopTimer.h:
        * platform/SharedBuffer.cpp:
        * platform/SharedBuffer.h:
        * platform/UUID.cpp:
        (WebCore::createCanonicalUUIDString):
        * platform/network/ResourceHandle.h:
        * platform/network/ResourceRequestBase.h:
        * platform/network/curl/ResourceHandleCurl.cpp:
        * platform/network/curl/ResourceHandleManager.cpp:
        (WebCore::certificatePath):
        * platform/text/cf/StringCF.cpp:
        * platform/text/cf/StringImplCF.cpp:
        * platform/win/BString.cpp:
        * platform/win/BString.h:
        * platform/win/ClipboardUtilitiesWin.cpp:
        (WebCore::getWebLocData):
        (WebCore::getURL):
        (WebCore::getClipboardData):
        * platform/win/ClipboardWin.cpp:
        (WebCore::writeFileToDataObject):
        * platform/win/SearchPopupMenuWin.cpp:
        (WebCore::SearchPopupMenuWin::enabled):
        (WebCore::SearchPopupMenuWin::saveRecentSearches):
        (WebCore::SearchPopupMenuWin::loadRecentSearches):
2011-02-23  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Darin Adler.

        Rename PLATFORM(CF) to USE(CF)
        https://bugs.webkit.org/show_bug.cgi?id=53540

        * WebCoreSupport/WebInspectorClientCF.cpp:
2011-02-23  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Darin Adler.

        Rename PLATFORM(CF) to USE(CF)
        https://bugs.webkit.org/show_bug.cgi?id=53540

        * WebView.cpp:
2011-02-23  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Darin Adler.

        Rename PLATFORM(CF) to USE(CF)
        https://bugs.webkit.org/show_bug.cgi?id=53540

        * UIProcess/WebBackForwardList.h:
        * UIProcess/WebPageProxy.cpp:
        * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
        (WebKit::formatLocalizedString):
2011-02-23  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Darin Adler.

        Rename PLATFORM(CF) to USE(CF)
        https://bugs.webkit.org/show_bug.cgi?id=53540

        * DumpRenderTree/config.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79434 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-23 MORITA Hajime <morrita@google.com>
morrita@google.com [Wed, 23 Feb 2011 11:15:42 +0000 (11:15 +0000)]
2011-02-23  MORITA Hajime  <morrita@google.com>

        Unreviewed test_expectations.txt update.

        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79433 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUnreviewed.
ossy@webkit.org [Wed, 23 Feb 2011 11:05:43 +0000 (11:05 +0000)]
Unreviewed.

[Qt] media/controls-without-preload.html is flakey
https://bugs.webkit.org/show_bug.cgi?id=55028

* platform/qt/Skipped: Add media/controls-without-preload.html until fix.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79432 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-23 Fumitoshi Ukai <ukai@chromium.org>
ukai@chromium.org [Wed, 23 Feb 2011 10:58:12 +0000 (10:58 +0000)]
2011-02-23  Fumitoshi Ukai  <ukai@chromium.org>

       Unreviewed build fix for Windows.

       WebSocket uses insecure random numbers
       https://bugs.webkit.org/show_bug.cgi?id=54714

       * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: Export WTF::cryptographicallyRandomNumber()

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79431 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-23 Yuzo Fujishima <yuzo@google.com>
yuzo@google.com [Wed, 23 Feb 2011 10:49:14 +0000 (10:49 +0000)]
2011-02-23  Yuzo Fujishima  <yuzo@google.com>

        Unreviewed attempt to fix a flaky test.
        https://bugs.webkit.org/show_bug.cgi?id=51757

        * fast/css/font-face-download-error.html: Increase the wait to 200ms.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79430 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-23 Benjamin Kalman <kalman@chromium.org>
kalman@chromium.org [Wed, 23 Feb 2011 10:10:13 +0000 (10:10 +0000)]
2011-02-23  Benjamin Kalman  <kalman@chromium.org>

        Reviewed by Ojan Vafai.

        Moving or selecting backwards by words jumps to start of contenteditable region if contenteditable=false span is encountered
        https://bugs.webkit.org/show_bug.cgi?id=51001

        Add regression test.

        * editing/selection/extend-backward-by-word-over-non-editable-expected.txt: Added.
        * editing/selection/extend-backward-by-word-over-non-editable.html: Added.
2011-02-23  Benjamin Kalman  <kalman@chromium.org>

        Reviewed by Ojan Vafai.

        Moving or selecting backwards by words jumps to start of contenteditable region if contenteditable=false span is encountered
        https://bugs.webkit.org/show_bug.cgi?id=51001

        Test: editing/selection/extend-backward-by-word-over-non-editable.html

        Revert some previous changes (the TextIteratorEndsAtEditingBoundary text iteration behaviour) which caused this
        bug in the first place, and fix SimplifiedBackwardsTextIterator's iteration range check as an alternative fix.

        The original bug was that double-clicking on an inline editable span at the start of a paragraph would clear the
        selection (webkit.org/b/36360).  This was caused by upstream/downstream VisbiblePosition complications.  To fix,
        refuse to iterate beyond the start node (rather than refusing to iterate across editable boundaries, which
        causes this bug).

        To see why this is correct, and to make it clearer that is indeed what is happening, the text iterator code has
        been slightly restructured to express the invariant that the iterator will never advance past the start node.

        * editing/TextIterator.cpp:
        (WebCore::TextIterator::TextIterator): Remove references to TextIterationEndsAtEditing boundary.
        (WebCore::SimplifiedBackwardsTextIterator::SimplifiedBackwardsTextIterator): Remove m_pastStartNode as the
        mechanism for iteration range checking, and use a flag m_havePassedStartNode instead.
        (WebCore::SimplifiedBackwardsTextIterator::advance): Clean up, use advanceRespectingRange and
        m_havePassedStartNode for iteration range checking rather than m_pastStartNode.
        (WebCore::SimplifiedBackwardsTextIterator::advanceRespectingRange): The new way of modifying m_node
        which updates m_havePassedStartNode and refuses to continue when it becomes true.
        * editing/TextIterator.h: Remove TextIteratorEndsAtEditingBoundary, update for new/removed prototypes and
        member variables.
        * editing/visible_units.cpp:
        (WebCore::previousBoundary): Remove references to TextIteratorEndsAtEditingBoundary.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79429 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-23 Fumitoshi Ukai <ukai@chromium.org>
ukai@chromium.org [Wed, 23 Feb 2011 09:50:12 +0000 (09:50 +0000)]
2011-02-23  Fumitoshi Ukai  <ukai@chromium.org>

        Reviewed by Adam Barth.

        WebSocket uses insecure random numbers
        https://bugs.webkit.org/show_bug.cgi?id=54714

        * JavaScriptCore.exp: Export WTF::cryptographicallyRandomNumber()
2011-02-23  Fumitoshi Ukai  <ukai@chromium.org>

        Reviewed by Adam Barth.

        WebSocket uses insecure random numbers
        https://bugs.webkit.org/show_bug.cgi?id=54714

        * websockets/WebSocketHandshake.cpp:
        (WebCore::randomNumberLessThan):
        (WebCore::generateSecWebSocketKey):
        (WebCore::generateKey3):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79428 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-23 Takashi Toyoshima <toyoshim@chromium.org>
commit-queue@webkit.org [Wed, 23 Feb 2011 09:42:40 +0000 (09:42 +0000)]
2011-02-23  Takashi Toyoshima  <toyoshim@chromium.org>

        Reviewed by Shinichiro Hamaji.

        [chromium] Control-Up/Down should be PageUp/Down on Mac.
        https://bugs.webkit.org/show_bug.cgi?id=54606

        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::scrollViewWithKeyboard):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79427 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-21 Hans Wennborg <hans@chromium.org>
hans@chromium.org [Wed, 23 Feb 2011 09:40:32 +0000 (09:40 +0000)]
2011-02-21  Hans Wennborg  <hans@chromium.org>

        Reviewed by Jeremy Orlow.

        IndexedDB: Rename IDBSQLiteDatabase to IDBBackingStore
        https://bugs.webkit.org/show_bug.cgi?id=54864

        No new functionality, so no new tests.

        * GNUmakefile.am:
        * WebCore.gypi:
        * storage/IDBBackingStore.cpp:
        (WebCore::IDBBackingStore::IDBBackingStore):
        (WebCore::IDBBackingStore::~IDBBackingStore):
        * storage/IDBBackingStore.h:
        (WebCore::IDBBackingStore::create):
        (WebCore::IDBBackingStore::db):
        * storage/IDBCursorBackendImpl.cpp:
        (WebCore::IDBCursorBackendImpl::IDBCursorBackendImpl):
        (WebCore::IDBCursorBackendImpl::currentRowExists):
        (WebCore::IDBCursorBackendImpl::database):
        * storage/IDBCursorBackendImpl.h:
        (WebCore::IDBCursorBackendImpl::create):
        * storage/IDBDatabaseBackendImpl.cpp:
        (WebCore::IDBDatabaseBackendImpl::IDBDatabaseBackendImpl):
        (WebCore::IDBDatabaseBackendImpl::sqliteDatabase):
        (WebCore::IDBDatabaseBackendImpl::createObjectStore):
        (WebCore::IDBDatabaseBackendImpl::setVersionInternal):
        (WebCore::IDBDatabaseBackendImpl::loadObjectStores):
        * storage/IDBDatabaseBackendImpl.h:
        (WebCore::IDBDatabaseBackendImpl::create):
        * storage/IDBFactoryBackendImpl.cpp:
        (WebCore::IDBFactoryBackendImpl::removeIDBBackingStore):
        (WebCore::openSQLiteDatabase):
        (WebCore::IDBFactoryBackendImpl::open):
        * storage/IDBFactoryBackendImpl.h:
        * storage/IDBIndexBackendImpl.cpp:
        (WebCore::IDBIndexBackendImpl::IDBIndexBackendImpl):
        (WebCore::IDBIndexBackendImpl::openCursorInternal):
        (WebCore::IDBIndexBackendImpl::sqliteDatabase):
        * storage/IDBIndexBackendImpl.h:
        (WebCore::IDBIndexBackendImpl::create):
        * storage/IDBObjectStoreBackendImpl.cpp:
        (WebCore::IDBObjectStoreBackendImpl::IDBObjectStoreBackendImpl):
        (WebCore::IDBObjectStoreBackendImpl::createIndex):
        (WebCore::IDBObjectStoreBackendImpl::openCursorInternal):
        (WebCore::IDBObjectStoreBackendImpl::loadIndexes):
        (WebCore::IDBObjectStoreBackendImpl::sqliteDatabase):
        * storage/IDBObjectStoreBackendImpl.h:
        (WebCore::IDBObjectStoreBackendImpl::create):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79426 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-23 Dominic Mazzoni <dmazzoni@google.com>
commit-queue@webkit.org [Wed, 23 Feb 2011 09:30:56 +0000 (09:30 +0000)]
2011-02-23  Dominic Mazzoni  <dmazzoni@google.com>

        Reviewed by Kenneth Russell.

        Add a new test to make sure that a canvas can receive click events and
        that hit testing is working correctly.

        https://bugs.webkit.org/show_bug.cgi?id=54697

        * canvas/canvas-mouse-events-expected.txt: Added.
        * canvas/canvas-mouse-events.html: Added.
        * platform/mac-wk2/Skipped:
        * platform/qt-wk2/Skipped:
        * platform/win-wk2/Skipped:
2011-02-23  Dominic Mazzoni  <dmazzoni@google.com>

        Reviewed by Kenneth Russell.

        Add a hit test handler for canvas elements that handles clicks on the canvas but ignores children.
        https://bugs.webkit.org/show_bug.cgi?id=54697

        New test to prevent this from regressing in the future: canvas/canvas-mouse-events.html

        * rendering/RenderHTMLCanvas.cpp:
        (WebCore::RenderHTMLCanvas::nodeAtPoint):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79425 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-23 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Wed, 23 Feb 2011 09:29:33 +0000 (09:29 +0000)]
2011-02-23  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Ojan Vafai.

        nrwt: turn on multiprocessing on chromium_linux, clean up unit tests for worker model defaults
        https://bugs.webkit.org/show_bug.cgi?id=55016

        * Scripts/webkitpy/layout_tests/port/base.py:
        * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
        * Scripts/webkitpy/layout_tests/port/chromium_linux_unittest.py: Added.
        * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
        * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
        * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
        * Scripts/webkitpy/layout_tests/port/mac.py:
        * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
        * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
        * Scripts/webkitpy/layout_tests/port/port_testcase.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79424 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-23 MORITA Hajime <morrita@google.com>
morrita@google.com [Wed, 23 Feb 2011 09:28:58 +0000 (09:28 +0000)]
2011-02-23  MORITA Hajime  <morrita@google.com>

        Unreviewed test_expectations.txt update.

        Recovered "BUGWK54736 MAC" lines which was removed at r79413.
        The failure type became from TEXT+IMAGE to IMAGAE.

        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79423 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-23 Tony Chang <tony@chromium.org>
tony@chromium.org [Wed, 23 Feb 2011 09:25:00 +0000 (09:25 +0000)]
2011-02-23  Tony Chang  <tony@chromium.org>

        Reviewed by Kent Tamura.

        [chromium] DumpRenderTree --check-layout-test-sys-deps leaks 4 temp dirs
        https://bugs.webkit.org/show_bug.cgi?id=55004

        * DumpRenderTree/chromium/DumpRenderTree.cpp:
        (WebKitSupportTestEnvironment::WebKitSupportTestEnvironment):
        (WebKitSupportTestEnvironment::~WebKitSupportTestEnvironment):
        (main): Use a C++ object to ensure that TearDownTestEnvironment
            gets called when --check-layout-test-sys-deps is called

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79422 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-23 Benjamin Poulain <benjamin.poulain@nokia.com>
benjamin.poulain@nokia.com [Wed, 23 Feb 2011 09:11:13 +0000 (09:11 +0000)]
2011-02-23  Benjamin Poulain  <benjamin.poulain@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] [WK2] When the context menu is empty, we should still send the signal QWKPage::showContextMenu()
        https://bugs.webkit.org/show_bug.cgi?id=54996

        Send the signal QWKPage::showContextMenu() with an empty menu even if the content menu generated
        is empty/contain only disabled elements.

        * UIProcess/API/qt/qgraphicswkview.cpp:
        (QGraphicsWKView::showContextMenu):
        * UIProcess/qt/WebContextMenuProxyQt.cpp:
        (WebKit::WebContextMenuProxyQt::showContextMenu):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79421 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-23 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Wed, 23 Feb 2011 09:10:37 +0000 (09:10 +0000)]
2011-02-23  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Darin Adler.

        Remove obsolete focusRingColor functions
        https://bugs.webkit.org/show_bug.cgi?id=54824

        * CMakeListsWinCE.txt:
        * platform/graphics/haiku/ColorHaiku.cpp:
        * platform/graphics/wince/ColorWinCE.cpp: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79420 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-23 Gopal Raghavan <gopal.1.raghavan@nokia.com>
commit-queue@webkit.org [Wed, 23 Feb 2011 09:07:31 +0000 (09:07 +0000)]
2011-02-23  Gopal Raghavan  <gopal.1.raghavan@nokia.com>

        Reviewed by Anders Carlsson.

        [Qt] [Qt] check webkit style fails in qt/tests
        https://bugs.webkit.org/show_bug.cgi?id=54998

        check-webkit-style was complaining about missing config.h in WebKit/qt/test/qdeclarativewebview. This patch was originally part of 50222. Reviewer suggested to split and create a separate patch for checker.

        * Scripts/webkitpy/style/checker.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79419 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 23 Feb 2011 08:59:13 +0000 (08:59 +0000)]
2011-02-22  Adam Barth  <abarth@webkit.org>

        Reviewed by Ojan Vafai.

        Add missing files to JavaScriptCore.gypi
        https://bugs.webkit.org/show_bug.cgi?id=55020

        gypi files are supposed to list every file under the sun.  This patch
        adds some missing files and sorts the rest.

        * JavaScriptCore.gypi:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79418 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-23 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Wed, 23 Feb 2011 08:56:32 +0000 (08:56 +0000)]
2011-02-23  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, GTK rebaseline of media tests.

        * platform/gtk/media/audio-repaint-expected.txt:
        * platform/gtk/media/media-document-audio-repaint-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79417 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUnreviewed.
ossy@webkit.org [Wed, 23 Feb 2011 08:45:06 +0000 (08:45 +0000)]
Unreviewed.

* platform/qt/Skipped: Remove passing tests.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79416 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-23 Anna Cavender <annacc@chromium.org>
commit-queue@webkit.org [Wed, 23 Feb 2011 08:27:39 +0000 (08:27 +0000)]
2011-02-23  Anna Cavender  <annacc@chromium.org>

        Reviewed by Mihai Parparita.

        Avoid flakiness due to async drawing of control glyphs by acting on "canplaythrough" instead of "playing".
        https://bugs.webkit.org/show_bug.cgi?id=54640

        * media/video-display-toggle.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79415 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUnreviewed.
ossy@webkit.org [Wed, 23 Feb 2011 08:08:53 +0000 (08:08 +0000)]
Unreviewed.

[Qt] <select>s on  http://www.ryanair.com render wrong
https://bugs.webkit.org/show_bug.cgi?id=29647

Update Qt specific expected files after r79407.

* platform/qt/editing/pasteboard/4641033-expected.checksum: Added.
* platform/qt/editing/pasteboard/4641033-expected.png: Added.
* platform/qt/editing/pasteboard/4641033-expected.txt:
* platform/qt/editing/pasteboard/4944770-1-expected.checksum: Added.
* platform/qt/editing/pasteboard/4944770-1-expected.png: Added.
* platform/qt/editing/pasteboard/4944770-1-expected.txt:
* platform/qt/editing/pasteboard/4944770-2-expected.checksum: Added.
* platform/qt/editing/pasteboard/4944770-2-expected.png: Added.
* platform/qt/editing/pasteboard/4944770-2-expected.txt:
* platform/qt/editing/selection/caret-before-select-expected.checksum:
* platform/qt/editing/selection/caret-before-select-expected.png:
* platform/qt/editing/selection/caret-before-select-expected.txt:
* platform/qt/editing/selection/replaced-boundaries-3-expected.checksum:
* platform/qt/editing/selection/replaced-boundaries-3-expected.png:
* platform/qt/editing/selection/replaced-boundaries-3-expected.txt:
* platform/qt/fast/forms/basic-selects-expected.checksum:
* platform/qt/fast/forms/basic-selects-expected.png:
* platform/qt/fast/forms/basic-selects-expected.txt:
* platform/qt/fast/forms/menulist-style-color-expected.checksum: Added.
* platform/qt/fast/forms/menulist-style-color-expected.png: Added.
* platform/qt/fast/forms/menulist-style-color-expected.txt:
* platform/qt/http/tests/navigation/javascriptlink-frames-expected.checksum: Added.
* platform/qt/http/tests/navigation/javascriptlink-frames-expected.png: Added.
* platform/qt/http/tests/navigation/javascriptlink-frames-expected.txt:
* platform/qt/tables/mozilla/bugs/bug1188-expected.checksum:
* platform/qt/tables/mozilla/bugs/bug1188-expected.png:
* platform/qt/tables/mozilla/bugs/bug1188-expected.txt:
* platform/qt/tables/mozilla/bugs/bug18359-expected.checksum:
* platform/qt/tables/mozilla/bugs/bug18359-expected.png:
* platform/qt/tables/mozilla/bugs/bug18359-expected.txt:
* platform/qt/tables/mozilla/bugs/bug2479-3-expected.checksum:
* platform/qt/tables/mozilla/bugs/bug2479-3-expected.png:
* platform/qt/tables/mozilla/bugs/bug2479-3-expected.txt:
* platform/qt/tables/mozilla/bugs/bug2479-4-expected.txt:
* platform/qt/tables/mozilla/bugs/bug29326-expected.checksum:
* platform/qt/tables/mozilla/bugs/bug29326-expected.png:
* platform/qt/tables/mozilla/bugs/bug29326-expected.txt:
* platform/qt/tables/mozilla/bugs/bug33855-expected.checksum:
* platform/qt/tables/mozilla/bugs/bug33855-expected.png:
* platform/qt/tables/mozilla/bugs/bug33855-expected.txt:
* platform/qt/tables/mozilla/bugs/bug4382-expected.checksum:
* platform/qt/tables/mozilla/bugs/bug4382-expected.png:
* platform/qt/tables/mozilla/bugs/bug4382-expected.txt:
* platform/qt/tables/mozilla/bugs/bug96334-expected.checksum:
* platform/qt/tables/mozilla/bugs/bug96334-expected.png:
* platform/qt/tables/mozilla/bugs/bug96334-expected.txt:
* platform/qt/tables/mozilla/core/margins-expected.checksum:
* platform/qt/tables/mozilla/core/margins-expected.png:
* platform/qt/tables/mozilla/core/margins-expected.txt:
* platform/qt/tables/mozilla/dom/tableDom-expected.checksum:
* platform/qt/tables/mozilla/dom/tableDom-expected.png:
* platform/qt/tables/mozilla/dom/tableDom-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79414 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 MORITA Hajime <morrita@google.com>
morrita@google.com [Wed, 23 Feb 2011 07:49:02 +0000 (07:49 +0000)]
2011-02-22 MORITA Hajime  <morrita@google.com>

        Unreviewed, added or updated more Leopard-specific expectations for Chromium.

        * platform/chromium-mac-leopard/css1/text_properties/text_align-expected.checksum:
        * platform/chromium-mac-leopard/css1/text_properties/text_align-expected.png:
        * platform/chromium-mac-leopard/css2.1/t0805-c5518-brdr-t-01-e-expected.checksum:
        * platform/chromium-mac-leopard/css2.1/t0805-c5518-brdr-t-01-e-expected.png:
        * platform/chromium-mac-leopard/css2.1/t1202-counter-03-b-expected.checksum:
        * platform/chromium-mac-leopard/css2.1/t1202-counter-03-b-expected.png:
        * platform/chromium-mac-leopard/css2.1/t1202-counter-04-b-expected.checksum:
        * platform/chromium-mac-leopard/css2.1/t1202-counter-04-b-expected.png:
        * platform/chromium-mac-leopard/css2.1/t1202-counter-04-b-expected.txt: Added.
        * platform/chromium-mac-leopard/css2.1/t1202-counters-03-b-expected.checksum:
        * platform/chromium-mac-leopard/css2.1/t1202-counters-03-b-expected.png:
        * platform/chromium-mac-leopard/css2.1/t1202-counters-04-b-expected.checksum:
        * platform/chromium-mac-leopard/css2.1/t1202-counters-04-b-expected.png:
        * platform/chromium-mac-leopard/css2.1/t1202-counters-04-b-expected.txt: Added.
        * platform/chromium-mac-leopard/css2.1/t1602-c43-center-00-d-ag-expected.checksum: Added.
        * platform/chromium-mac-leopard/css2.1/t1602-c43-center-00-d-ag-expected.png: Added.
        * platform/chromium-mac-leopard/css2.1/t1602-c546-txt-align-00-b-expected.checksum:
        * platform/chromium-mac-leopard/css2.1/t1602-c546-txt-align-00-b-expected.png: Added.
        * platform/chromium-mac-leopard/editing/deleting/delete-tab-003-expected.txt: Added.
        * platform/chromium-mac-leopard/editing/deleting/delete-ws-fixup-001-expected.txt: Added.
        * platform/chromium-mac-leopard/editing/inserting/insert-tab-003-expected.txt: Added.
        * platform/chromium-mac-leopard/editing/selection/4397952-expected.checksum:
        * platform/chromium-mac-leopard/editing/selection/4397952-expected.png:
        * platform/chromium-mac-leopard/editing/selection/caret-rtl-2-expected.checksum:
        * platform/chromium-mac-leopard/editing/selection/caret-rtl-2-expected.png:
        * platform/chromium-mac-leopard/editing/selection/caret-rtl-2-left-expected.checksum:
        * platform/chromium-mac-leopard/editing/selection/caret-rtl-2-left-expected.png:
        * platform/chromium-mac-leopard/editing/selection/caret-rtl-expected.checksum:
        * platform/chromium-mac-leopard/editing/selection/caret-rtl-expected.png:
        * platform/chromium-mac-leopard/editing/selection/caret-rtl-right-expected.checksum:
        * platform/chromium-mac-leopard/editing/selection/caret-rtl-right-expected.png:
        * platform/chromium-mac-leopard/editing/selection/extend-selection-bidi-expected.checksum:
        * platform/chromium-mac-leopard/editing/selection/extend-selection-bidi-expected.png:
        * platform/chromium-mac-leopard/editing/selection/select-from-textfield-outwards-expected.txt: Added.
        * platform/chromium-mac-leopard/fast/block/margin-collapse/103-expected.checksum:
        * platform/chromium-mac-leopard/fast/block/margin-collapse/103-expected.png:
        * platform/chromium-mac-leopard/fast/blockflow/border-vertical-lr-expected.checksum:
        * platform/chromium-mac-leopard/fast/blockflow/border-vertical-lr-expected.png:
        * platform/chromium-mac-leopard/fast/blockflow/border-vertical-lr-expected.txt: Added.
        * platform/chromium-mac-leopard/fast/blockflow/japanese-lr-selection-expected.checksum:
        * platform/chromium-mac-leopard/fast/blockflow/japanese-lr-selection-expected.png:
        * platform/chromium-mac-leopard/fast/blockflow/japanese-lr-text-expected.checksum:
        * platform/chromium-mac-leopard/fast/blockflow/japanese-lr-text-expected.png:
        * platform/chromium-mac-leopard/fast/blockflow/japanese-rl-selection-expected.checksum:
        * platform/chromium-mac-leopard/fast/blockflow/japanese-rl-selection-expected.png:
        * platform/chromium-mac-leopard/fast/blockflow/japanese-rl-text-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/blockflow/japanese-rl-text-expected.png: Added.
        * platform/chromium-mac-leopard/fast/blockflow/vertical-align-table-baseline-expected.checksum:
        * platform/chromium-mac-leopard/fast/blockflow/vertical-align-table-baseline-expected.png:
        * platform/chromium-mac-leopard/fast/blockflow/vertical-font-fallback-expected.checksum:
        * platform/chromium-mac-leopard/fast/blockflow/vertical-font-fallback-expected.png:
        * platform/chromium-mac-leopard/fast/css/beforeSelectorOnCodeElement-expected.checksum:
        * platform/chromium-mac-leopard/fast/css/beforeSelectorOnCodeElement-expected.png:
        * platform/chromium-mac-leopard/fast/css/rtl-ordering-expected.checksum:
        * platform/chromium-mac-leopard/fast/css/rtl-ordering-expected.png:
        * platform/chromium-mac-leopard/fast/css/text-input-with-webkit-border-radius-expected.checksum:
        * platform/chromium-mac-leopard/fast/css/text-input-with-webkit-border-radius-expected.png: Added.
        * platform/chromium-mac-leopard/fast/css/text-overflow-ellipsis-bidi-expected.checksum:
        * platform/chromium-mac-leopard/fast/css/text-overflow-ellipsis-bidi-expected.png:
        * platform/chromium-mac-leopard/fast/css/text-security-expected.checksum:
        * platform/chromium-mac-leopard/fast/css/text-security-expected.png:
        * platform/chromium-mac-leopard/fast/forms/basic-selects-expected.checksum:
        * platform/chromium-mac-leopard/fast/forms/basic-selects-expected.png:
        * platform/chromium-mac-leopard/fast/forms/basic-selects-expected.txt: Added.
        * platform/chromium-mac-leopard/fast/forms/file-input-direction-expected.checksum:
        * platform/chromium-mac-leopard/fast/forms/file-input-direction-expected.png:
        * platform/chromium-mac-leopard/fast/forms/file-input-direction-expected.txt: Added.
        * platform/chromium-mac-leopard/fast/forms/input-button-sizes-expected.checksum:
        * platform/chromium-mac-leopard/fast/forms/input-button-sizes-expected.png: Added.
        * platform/chromium-mac-leopard/fast/forms/input-file-re-render-expected.checksum:
        * platform/chromium-mac-leopard/fast/forms/input-file-re-render-expected.png:
        * platform/chromium-mac-leopard/fast/forms/menulist-option-wrap-expected.checksum:
        * platform/chromium-mac-leopard/fast/forms/menulist-option-wrap-expected.png:
        * platform/chromium-mac-leopard/fast/forms/menulist-restrict-line-height-expected.checksum:
        * platform/chromium-mac-leopard/fast/forms/menulist-restrict-line-height-expected.png:
        * platform/chromium-mac-leopard/fast/forms/menulist-style-color-expected.checksum:
        * platform/chromium-mac-leopard/fast/forms/menulist-style-color-expected.png:
        * platform/chromium-mac-leopard/fast/forms/placeholder-position-expected.checksum:
        * platform/chromium-mac-leopard/fast/forms/placeholder-position-expected.png:
        * platform/chromium-mac-leopard/fast/forms/search-transformed-expected.checksum:
        * platform/chromium-mac-leopard/fast/forms/search-transformed-expected.png:
        * platform/chromium-mac-leopard/fast/forms/select-baseline-expected.checksum:
        * platform/chromium-mac-leopard/fast/forms/select-baseline-expected.png:
        * platform/chromium-mac-leopard/fast/forms/select-visual-hebrew-expected.checksum:
        * platform/chromium-mac-leopard/fast/forms/select-visual-hebrew-expected.png:
        * platform/chromium-mac-leopard/fast/forms/text-style-color-expected.checksum:
        * platform/chromium-mac-leopard/fast/forms/text-style-color-expected.png:
        * platform/chromium-mac-leopard/fast/forms/visual-hebrew-text-field-expected.checksum:
        * platform/chromium-mac-leopard/fast/forms/visual-hebrew-text-field-expected.png:
        * platform/chromium-mac-leopard/fast/multicol/float-avoidance-expected.checksum:
        * platform/chromium-mac-leopard/fast/multicol/float-avoidance-expected.png: Added.
        * platform/chromium-mac-leopard/fast/repaint/japanese-rl-selection-clear-expected.checksum:
        * platform/chromium-mac-leopard/fast/repaint/japanese-rl-selection-clear-expected.png:
        * platform/chromium-mac-leopard/fast/repaint/japanese-rl-selection-repaint-expected.checksum:
        * platform/chromium-mac-leopard/fast/repaint/japanese-rl-selection-repaint-expected.png:
        * platform/chromium-mac-leopard/fast/repaint/repaint-across-writing-mode-boundary-expected.checksum:
        * platform/chromium-mac-leopard/fast/repaint/repaint-across-writing-mode-boundary-expected.png:
        * platform/chromium-mac-leopard/fast/replaced/width100percent-textarea-expected.checksum:
        * platform/chromium-mac-leopard/fast/replaced/width100percent-textarea-expected.png:
        * platform/chromium-mac-leopard/fast/text/atsui-negative-spacing-features-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/atsui-negative-spacing-features-expected.png:
        * platform/chromium-mac-leopard/fast/text/atsui-spacing-features-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/atsui-spacing-features-expected.png: Added.
        * platform/chromium-mac-leopard/fast/text/bidi-embedding-pop-and-push-same-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/bidi-embedding-pop-and-push-same-expected.png:
        * platform/chromium-mac-leopard/fast/text/in-rendered-text-rtl-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/in-rendered-text-rtl-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/bidi-AN-after-L-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/bidi-AN-after-L-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/bidi-AN-after-L-expected.txt: Added.
        * platform/chromium-mac-leopard/fast/text/international/bidi-L2-run-reordering-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/bidi-L2-run-reordering-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/bidi-LDB-2-CSS-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/bidi-LDB-2-CSS-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/bidi-LDB-2-HTML-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/bidi-LDB-2-HTML-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/bidi-LDB-2-formatting-characters-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/bidi-LDB-2-formatting-characters-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/bidi-european-terminators-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/bidi-european-terminators-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/bidi-ignored-for-first-child-inline-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/bidi-ignored-for-first-child-inline-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/bidi-innertext-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/bidi-innertext-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/bidi-layout-across-linebreak-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/text/international/bidi-layout-across-linebreak-expected.png: Added.
        * platform/chromium-mac-leopard/fast/text/international/bidi-linebreak-001-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/bidi-linebreak-001-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/bidi-linebreak-002-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/bidi-linebreak-002-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/bidi-linebreak-003-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/bidi-linebreak-003-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/bidi-listbox-atsui-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/bidi-listbox-atsui-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/bidi-listbox-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/bidi-listbox-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/bidi-mirror-he-ar-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/bidi-mirror-he-ar-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/bidi-mirror-he-ar-expected.txt:
        * platform/chromium-mac-leopard/fast/text/international/bidi-neutral-run-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/text/international/bidi-neutral-run-expected.png: Added.
        * platform/chromium-mac-leopard/fast/text/international/bidi-neutral-run-expected.txt:
        * platform/chromium-mac-leopard/fast/text/international/bidi-override-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/bidi-override-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/hebrew-vowels-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/hebrew-vowels-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/hindi-spacing-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/hindi-spacing-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/pop-up-button-text-alignment-and-direction-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/text/international/pop-up-button-text-alignment-and-direction-expected.png: Added.
        * platform/chromium-mac-leopard/fast/text/international/rtl-caret-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/rtl-caret-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/rtl-white-space-pre-wrap-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/text/international/rtl-white-space-pre-wrap-expected.png: Added.
        * platform/chromium-mac-leopard/fast/text/justified-selection-at-edge-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/justified-selection-at-edge-expected.png: Added.
        * platform/chromium-mac-leopard/svg/custom/inline-svg-in-xhtml-expected.checksum:
        * platform/chromium-mac-leopard/svg/custom/inline-svg-in-xhtml-expected.png:
        * platform/chromium-mac-leopard/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.checksum:
        * platform/chromium-mac-leopard/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.png:
        * platform/chromium-mac-leopard/svg/zoom/page/zoom-hixie-mixed-008-expected.checksum: Added.
        * platform/chromium-mac-leopard/tables/mozilla/marvin/x_tbody_align_justify-expected.checksum:
        * platform/chromium-mac-leopard/tables/mozilla/marvin/x_tbody_align_justify-expected.png:
        * platform/chromium-mac-leopard/tables/mozilla/marvin/x_td_align_justify-expected.checksum:
        * platform/chromium-mac-leopard/tables/mozilla/marvin/x_td_align_justify-expected.png:
        * platform/chromium-mac-leopard/tables/mozilla/marvin/x_tfoot_align_justify-expected.checksum:
        * platform/chromium-mac-leopard/tables/mozilla/marvin/x_tfoot_align_justify-expected.png:
        * platform/chromium-mac-leopard/tables/mozilla/marvin/x_th_align_justify-expected.checksum:
        * platform/chromium-mac-leopard/tables/mozilla/marvin/x_th_align_justify-expected.png:
        * platform/chromium-mac-leopard/tables/mozilla/marvin/x_tr_align_justify-expected.checksum:
        * platform/chromium-mac-leopard/tables/mozilla/marvin/x_tr_align_justify-expected.png:
        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79413 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Fabrizio Machado <fabrizio.machado@nokia.com>
commit-queue@webkit.org [Wed, 23 Feb 2011 07:13:55 +0000 (07:13 +0000)]
2011-02-22  Fabrizio Machado  <fabrizio.machado@nokia.com>

        Reviewed by Laszlo Gombos.

        [Qt] Don't fall through case in variantToSetting() if qvariant.type() is Bool
        https://bugs.webkit.org/show_bug.cgi?id=54976

        Test not needed.

        * WebCoreSupport/InspectorClientQt.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79412 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Jia Pu <jpu@apple.com>
commit-queue@webkit.org [Wed, 23 Feb 2011 07:06:49 +0000 (07:06 +0000)]
2011-02-22  Jia Pu  <jpu@apple.com>

        Reviewed by Dan Bernstein.

        On Mac OS X, English contractions are marked misspelled with certain user preference setting.
        https://bugs.webkit.org/show_bug.cgi?id=54975

        manual test: manual-tests/autocorrection/spellcheck-on-contraction-when-autocorrection-is-off.html

        Without this patch, we check for contraction only when autocorrection or other type of auto-
        substituation is on. And we failed to check for contraction if only spellchecking is turned on.
        This patch implements the desired behavior, checking for contraction when either correction/substitution,
        or spellchecking, is on.

        * editing/Editor.cpp:
        (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
        * manual-tests/autocorrection/spellcheck-on-contraction-when-autocorrection-is-off.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79411 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Charlie Reis <creis@chromium.org>
commit-queue@webkit.org [Wed, 23 Feb 2011 06:58:46 +0000 (06:58 +0000)]
2011-02-22  Charlie Reis  <creis@chromium.org>

        Reviewed by Darin Fisher.

        Remove DatabasePolicy from FrameLoaderTypes
        https://bugs.webkit.org/show_bug.cgi?id=54968

        The DatabasePolicy enum is no longer needed now that we avoid stopping
        loaders on same-document navigations.

        Existing test: storage/hash-change-with-xhr.html

        * WebCore.exp.in:
        * loader/DocumentLoader.cpp:
        * loader/DocumentLoader.h:
        * loader/FrameLoader.cpp:
        * loader/FrameLoader.h:
        * loader/FrameLoaderTypes.h:
        * workers/WorkerThread.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79410 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Alexis Menard <alexis.menard@openbossa.org>
commit-queue@webkit.org [Wed, 23 Feb 2011 06:54:35 +0000 (06:54 +0000)]
2011-02-22  Alexis Menard  <alexis.menard@openbossa.org>

        Reviewed by Andreas Kling.

        [Qt] QWebView ignores a palette set with QWebView::setPalette()
        https://bugs.webkit.org/show_bug.cgi?id=31742

        Use custom QWebView palette if the view provides one.
        Modified version of a patch made by Fabrizio Machado.

        * platform/qt/RenderThemeQt.cpp:
        (WebCore::RenderThemeQt::platformActiveSelectionBackgroundColor):
        (WebCore::RenderThemeQt::platformInactiveSelectionBackgroundColor):
        (WebCore::RenderThemeQt::platformActiveSelectionForegroundColor):
        (WebCore::RenderThemeQt::platformInactiveSelectionForegroundColor):
        (WebCore::RenderThemeQt::platformFocusRingColor):
2011-02-22  Alexis Menard  <alexis.menard@openbossa.org>

        Reviewed by Andreas Kling.

        [Qt] QWebView ignores a palette set with QWebView::setPalette()
        https://bugs.webkit.org/show_bug.cgi?id=31742

        Test case to check that the palette sets on the QWebView is taken
        into account.

        * tests/qwebview/tst_qwebview.cpp:
        (tst_QWebView::setPalette_data):
        (tst_QWebView::setPalette):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79409 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Brian Salomon <bsalomon@google.com>
commit-queue@webkit.org [Wed, 23 Feb 2011 06:48:51 +0000 (06:48 +0000)]
2011-02-22  Brian Salomon  <bsalomon@google.com>

        Reviewed by Kenneth Russell.

        Don't disable accelerated canvas when using the skia gpu backend.

        No new tests are required.

        * html/canvas/CanvasRenderingContext2D.cpp:
        (WebCore::CanvasRenderingContext2D::setGlobalCompositeOperation):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79408 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Luiz Agostini <luiz.agostini@openbossa.org>
commit-queue@webkit.org [Wed, 23 Feb 2011 06:41:40 +0000 (06:41 +0000)]
2011-02-22  Luiz Agostini  <luiz.agostini@openbossa.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] <select>s on http://www.ryanair.com render wrong
        https://bugs.webkit.org/show_bug.cgi?id=29647

        Reducing padding in <select> elements to improve its rendering and introducing a
        rendering adjustment specific to QMacStyle.

        * platform/qt/RenderThemeQt.cpp:
        (WebCore::RenderThemeQt::setPopupPadding):
        (WebCore::RenderThemeQt::paintMenuList):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79407 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 MORITA Hajime <morrita@google.com>
morrita@google.com [Wed, 23 Feb 2011 06:38:30 +0000 (06:38 +0000)]
2011-02-22  MORITA Hajime <morrita@google.com>

        Unreviewed test_expectations.txt update.

        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79406 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 MORITA Hajime <morrita@google.com>
morrita@google.com [Wed, 23 Feb 2011 06:04:38 +0000 (06:04 +0000)]
2011-02-22  MORITA Hajime  <morrita@google.com>

        Unreviewed, added Leopard-specific expectations for Chromium.

        * platform/chromium-mac-leopard/css1/box_properties/clear_float-expected.checksum: Added.
        * platform/chromium-mac-leopard/css1/box_properties/clear_float-expected.png: Added.
        * platform/chromium-mac-leopard/css1/box_properties/float_elements_in_series-expected.checksum: Added.
        * platform/chromium-mac-leopard/css1/box_properties/float_elements_in_series-expected.png: Added.
        * platform/chromium-mac-leopard/css1/box_properties/float_on_text_elements-expected.checksum: Added.
        * platform/chromium-mac-leopard/css1/box_properties/float_on_text_elements-expected.png: Added.
        * platform/chromium-mac-leopard/css2.1/t0905-c5525-fltcont-00-d-g-expected.checksum: Added.
        * platform/chromium-mac-leopard/css2.1/t0905-c5525-fltcont-00-d-g-expected.png: Added.
        * platform/chromium-mac-leopard/css2.1/t0905-c5525-fltwidth-00-c-g-expected.checksum: Added.
        * platform/chromium-mac-leopard/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png: Added.
        * platform/chromium-mac-leopard/fast/blockflow/vertical-baseline-alignment-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/blockflow/vertical-baseline-alignment-expected.png: Added.
        * platform/chromium-mac-leopard/fast/css/font-face-default-font-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/css/font-face-default-font-expected.png: Added.
        * platform/chromium-mac-leopard/fast/dom/52776-expected.txt: Added.
        * platform/chromium-mac-leopard/fast/dom/HTMLTableColElement/resize-table-using-col-width-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/dom/HTMLTableColElement/resize-table-using-col-width-expected.png: Added.
        * platform/chromium-mac-leopard/fast/dynamic/008-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/dynamic/008-expected.png: Added.
        * platform/chromium-mac-leopard/fast/events/context-no-deselect-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/events/context-no-deselect-expected.png: Added.
        * platform/chromium-mac-leopard/fast/forms/basic-buttons-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/forms/basic-buttons-expected.png: Added.
        * platform/chromium-mac-leopard/fast/forms/button-sizes-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/forms/button-sizes-expected.png: Added.
        * platform/chromium-mac-leopard/fast/forms/input-appearance-bkcolor-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/forms/input-appearance-bkcolor-expected.png: Added.
        * platform/chromium-mac-leopard/fast/html/keygen-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/html/keygen-expected.png: Added.
        * platform/chromium-mac-leopard/fast/inline/inline-box-background-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/inline/inline-box-background-expected.png: Added.
        * platform/chromium-mac-leopard/fast/inline/inline-box-background-long-image-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/inline/inline-box-background-long-image-expected.png: Added.
        * platform/chromium-mac-leopard/fast/inline/inline-box-background-repeat-x-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/inline/inline-box-background-repeat-x-expected.png: Added.
        * platform/chromium-mac-leopard/fast/inline/inline-box-background-repeat-y-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/inline/inline-box-background-repeat-y-expected.png: Added.
        * platform/chromium-mac-leopard/fast/lists/dynamic-marker-crash-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/lists/dynamic-marker-crash-expected.png: Added.
        * platform/chromium-mac-leopard/fast/multicol/shadow-breaking-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/multicol/shadow-breaking-expected.png: Added.
        * platform/chromium-mac-leopard/fast/overflow/scroll-nested-positioned-layer-in-overflow-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/overflow/scroll-nested-positioned-layer-in-overflow-expected.png: Added.
        * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-1-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-1-expected.png: Added.
        * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-10-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-10-expected.png: Added.
        * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-2-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-2-expected.png: Added.
        * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-3-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-3-expected.png: Added.
        * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-4-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-4-expected.png: Added.
        * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-5-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-5-expected.png: Added.
        * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-6-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-6-expected.png: Added.
        * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-7-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-7-expected.png: Added.
        * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-8-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-8-expected.png: Added.
        * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-9-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-9-expected.png: Added.
        * platform/chromium-mac-leopard/fast/text/international/text-combine-image-test-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/text/international/text-combine-image-test-expected.png: Added.
        * platform/chromium-mac-leopard/fast/text/international/text-combine-image-test-expected.txt: Added.
        * platform/chromium-mac-leopard/fast/text/justify-ideograph-simple-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/text/justify-ideograph-simple-expected.png: Added.
        * platform/chromium-mac-leopard/fast/text/justify-ideograph-vertical-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/text/justify-ideograph-vertical-expected.png: Added.
        * platform/chromium-mac-leopard/fast/text/justify-nbsp-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/text/justify-nbsp-expected.png: Added.
        * platform/chromium-mac-leopard/fonts/sans-serif-expected.checksum: Added.
        * platform/chromium-mac-leopard/fonts/sans-serif-expected.png: Added.
        * platform/chromium-mac-leopard/svg/custom/animate-path-discrete-expected.checksum: Added.
        * platform/chromium-mac-leopard/svg/custom/animate-path-discrete-expected.png: Added.
        * platform/chromium-mac-leopard/svg/custom/svg-fonts-in-html-expected.checksum: Added.
        * platform/chromium-mac-leopard/svg/custom/svg-fonts-in-html-expected.png:
        * platform/chromium-mac-leopard/svg/custom/text-dom-01-f-expected.checksum: Added.
        * platform/chromium-mac-leopard/svg/custom/text-dom-01-f-expected.png: Added.
        * platform/chromium-mac-leopard/svg/hixie/mixed/003-expected.checksum: Added.
        * platform/chromium-mac-leopard/svg/hixie/mixed/003-expected.png: Added.
        * platform/chromium-mac-leopard/tables/mozilla/bugs/bug113424-expected.checksum: Added.
        * platform/chromium-mac-leopard/tables/mozilla/bugs/bug113424-expected.png: Added.
        * platform/chromium-mac-leopard/tables/mozilla/bugs/bug1188-expected.checksum: Added.
        * platform/chromium-mac-leopard/tables/mozilla/bugs/bug1188-expected.png: Added.
        * platform/chromium-mac-leopard/tables/mozilla/bugs/bug1318-expected.checksum: Added.
        * platform/chromium-mac-leopard/tables/mozilla/bugs/bug1318-expected.png: Added.
        * platform/chromium-mac-leopard/tables/mozilla/bugs/bug2479-2-expected.checksum: Added.
        * platform/chromium-mac-leopard/tables/mozilla/bugs/bug2479-2-expected.png: Added.
        * platform/chromium-mac-leopard/tables/mozilla/bugs/bug4527-expected.checksum: Added.
        * platform/chromium-mac-leopard/tables/mozilla/bugs/bug4527-expected.png: Added.
        * platform/chromium-mac-leopard/tables/mozilla/core/bloomberg-expected.checksum: Added.
        * platform/chromium-mac-leopard/tables/mozilla/core/bloomberg-expected.png: Added.
        * platform/chromium-mac-leopard/tables/mozilla/core/misc-expected.checksum: Added.
        * platform/chromium-mac-leopard/tables/mozilla/core/misc-expected.png: Added.
        * platform/chromium-mac-leopard/tables/mozilla/marvin/x_thead_align_justify-expected.checksum: Added.
        * platform/chromium-mac-leopard/tables/mozilla/marvin/x_thead_align_justify-expected.png: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79405 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoLLVM Compiler build fix.
mitz@apple.com [Wed, 23 Feb 2011 06:01:55 +0000 (06:01 +0000)]
LLVM Compiler build fix.

* Scripts/webkit2/messages.py:
* WebProcess/ApplicationCache/WebApplicationCacheManager.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79404 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Vsevolod Vlasov <vsevik@chromium.org>
commit-queue@webkit.org [Wed, 23 Feb 2011 05:54:13 +0000 (05:54 +0000)]
2011-02-22  Vsevolod Vlasov  <vsevik@chromium.org>

        Reviewed by Pavel Feldman.

        DumpRenderTree should dump as text if test path contains "dumpAsText/"
        https://bugs.webkit.org/show_bug.cgi?id=54873

        * DumpRenderTree/chromium/LayoutTestController.h:
        (LayoutTestController::setShouldDumpAsText):
        (LayoutTestController::setShouldGeneratePixelResults):
        * DumpRenderTree/chromium/TestShell.cpp:
        (TestShell::runFileTest):
        * DumpRenderTree/gtk/DumpRenderTree.cpp:
        (shouldDumpAsText):
        (dump):
        (runTest):
        * DumpRenderTree/mac/DumpRenderTree.mm:
        (shouldDumpAsText):
        (runTest):
        * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
        (WebCore::isDumpAsTextTest):
        (WebCore::DumpRenderTree::open):
        * DumpRenderTree/win/DumpRenderTree.cpp:
        (shouldDumpAsText):
        (runTest):
        * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
        (WTR::InjectedBundlePage::dump):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79403 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Andreas Kling <kling@webkit.org>
commit-queue@webkit.org [Wed, 23 Feb 2011 05:53:58 +0000 (05:53 +0000)]
2011-02-22  Andreas Kling  <kling@webkit.org>

        Reviewed by Dan Bernstein.

        FontCache: Make cTargetInactiveFontData an int instead of float.
        https://bugs.webkit.org/show_bug.cgi?id=54963

        * platform/graphics/FontCache.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79402 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Anna Cavender <annacc@chromium.org>
commit-queue@webkit.org [Wed, 23 Feb 2011 05:51:14 +0000 (05:51 +0000)]
2011-02-22  Anna Cavender  <annacc@chromium.org>

        Reviewed by Eric Carlson.

        Fix for media/video-replaces-poster.html.  The test was failing because it assumes the results of a seek will be immediately available, when in fact the seek is asynchronous.  I did not remove the line in test-expectations because rebaselines for many (all?) platforms will likely be needed after this patch lands.  See also, http://code.google.com/p/chromium/issues/detail?id=60244
        https://bugs.webkit.org/show_bug.cgi?id=54910

        * media/video-replaces-poster.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79401 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Wed, 23 Feb 2011 05:49:45 +0000 (05:49 +0000)]
2011-02-22  Ryosuke Niwa  <rniwa@webkit.org>

        Unreviewed; second attempt to land Windows 7 expected failure results for new tests from r79318
        http://webkit.org/b/54966 tracks the failure.

        * platform/win/media/audio-repaint-expected.txt:
        * platform/win/media/media-document-audio-repaint-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79400 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-21 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Wed, 23 Feb 2011 05:39:58 +0000 (05:39 +0000)]
2011-02-21  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Adam Barth.

        [codereviewtool] focus first visible node if no node is focused
        https://bugs.webkit.org/show_bug.cgi?id=54935

        Now hitting j/k/n/p will focus the first/last visible node
        if no other node is focused. Also tweaked the scroll into view
        logic a bit to avoid scrolling in this case.

        * code-review.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79399 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Wed, 23 Feb 2011 05:35:44 +0000 (05:35 +0000)]
2011-02-22  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Darin Adler.

        Make Editor::selectionComputedStyle return EditingStyle
        https://bugs.webkit.org/show_bug.cgi?id=54933

        Renamed selectionComputedStyle to selectionStartStyle and changed the return type to EditingStyle.
        It also no longer takes a boolean shouldUseFixedFontDefaultSize.

        Also added EditingStyle::mergeTypingStyle which replaced old editingStyleIncludingTypingStyle. This function
        doesn't extract inheritable properties prior to merge because this turned out be a bug, which was revealed
        by an existing layout test only after the code was shared with selectionStartStyle.

        No tests are added since this is a refactoring.

        * editing/CompositeEditCommand.cpp:
        (WebCore::CompositeEditCommand::moveParagraphs): Calls EditingStyle::create and EditingStyle::mergeTypingStyle.
        (WebCore::CompositeEditCommand::breakOutOfEmptyListItem): Ditto.
        * editing/EditingStyle.cpp: Removed editingStyleIncludingTypingStyle.
        (WebCore::EditingStyle::mergeTypingStyle): Added.
        * editing/EditingStyle.h:
        (WebCore::EditingStyle::shouldUseFixedDefaultFontSize): Added.
        * editing/Editor.cpp:
        (WebCore::Editor::selectionStartHasStyle): Calls selectionStartStyle.
        (WebCore::Editor::selectionHasStyle): Ditto.
        (WebCore::Editor::selectionStartCSSPropertyValue): Ditto.
        (WebCore::Editor::selectionStartStyle): Renamed from selectionComputedStyle; returns EditingStyle.
        * editing/Editor.h:
        * editing/EditorCommand.cpp:
        (WebCore::executeToggleStyleInList): Calls selectionStartStyle.
        * editing/InsertLineBreakCommand.cpp:
        * editing/InsertParagraphSeparatorCommand.cpp:
        (WebCore::InsertParagraphSeparatorCommand::calculateStyleBeforeInsertion): Calls EditingStyle::create and
        EditingStyle::mergeTypingStyle.
        * editing/ReplaceSelectionCommand.cpp:
        (WebCore::ReplaceSelectionCommand::doApply): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79398 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Robert Hogan <robert@webkit.org>
robert@webkit.org [Wed, 23 Feb 2011 05:30:54 +0000 (05:30 +0000)]
2011-02-22  Robert Hogan  <robert@webkit.org>

        Reviewed by Andreas Kling.

        [Qt] painting of windowed plugins faulty on certain scroll events

        https://bugs.webkit.org/show_bug.cgi?id=52735

        Invalidate the pluginview's relative rect rather then the frameRect(). This is because QWebFrame::renderRelativeCoords()
        imitates ScrollView and adds the scroll offset back on to the rect we damage here (making the co-ordinates absolute
        to the frame again) before passing it to FrameView.

        * plugins/qt/PluginViewQt.cpp:
        (WebCore::PluginView::updatePluginWidget):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79397 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Laszlo Gombos <laszlo.1.gombos@nokia.com>
laszlo.1.gombos@nokia.com [Wed, 23 Feb 2011 05:29:25 +0000 (05:29 +0000)]
2011-02-22  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Alexey Proskuryakov.

        Drop the language tag part from the User Agent string
        https://bugs.webkit.org/show_bug.cgi?id=54560

        * http/tests/navigation/useragent-expected.txt: Added.
        * http/tests/navigation/useragent.php: Added.
2011-02-22  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Alexey Proskuryakov.

        Drop the language tag part from the User Agent string
        https://bugs.webkit.org/show_bug.cgi?id=54560

        * StringsNotToBeLocalized.txt: Change the User Agent string
        template.
2011-02-22  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Alexey Proskuryakov.

        Drop the language tag part from the User Agent string
        https://bugs.webkit.org/show_bug.cgi?id=54560

        * WebCoreSupport/FrameLoaderClientEfl.cpp:
        (WebCore::composeUserAgent):
        * ewk/ewk_settings.cpp:
        (ewk_settings_default_user_agent_get):
2011-02-22  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Alexey Proskuryakov.

        Drop the language tag part from the User Agent string
        https://bugs.webkit.org/show_bug.cgi?id=54560

        * webkit/webkitwebsettings.cpp:
        (webkitUserAgent):
2011-02-22  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Alexey Proskuryakov.

        Drop the language tag part from the User Agent string
        https://bugs.webkit.org/show_bug.cgi?id=54560

        * WebView/WebView.mm:
        (+[WebView _standardUserAgentWithApplicationName:]): Drop the
        language tag part.
2011-02-22  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Alexey Proskuryakov.

        Drop the language tag part from the User Agent string
        https://bugs.webkit.org/show_bug.cgi?id=54560

        * Api/qwebpage.cpp:
        (QWebPage::userAgentForUrl):

        * tests/qwebpage/tst_qwebpage.cpp: Remove the userAgentLocaleChange
        test.
2011-02-22  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Alexey Proskuryakov.

        Drop the language tag part from the User Agent string
        https://bugs.webkit.org/show_bug.cgi?id=54560

        * WebView.cpp:
        (WebView::standardUserAgentWithApplicationName):
2011-02-22  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Alexey Proskuryakov.

        Drop the language tag part from the User Agent string
        https://bugs.webkit.org/show_bug.cgi?id=54560

        * WebKitSupport/FrameLoaderClientWx.cpp:
        (WebCore::FrameLoaderClientWx::userAgent):
2011-02-22  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Alexey Proskuryakov.

        Drop the language tag part from the User Agent string
        https://bugs.webkit.org/show_bug.cgi?id=54560

        * UIProcess/gtk/WebPageProxyGtk.cpp:
        (WebKit::WebPageProxy::standardUserAgent):

        * UIProcess/mac/WebPageProxyMac.mm:
        (WebKit::WebPageProxy::standardUserAgent):

        * UIProcess/qt/WebPageProxyQt.cpp:
        (WebKit::WebPageProxy::standardUserAgent):

        * UIProcess/win/WebPageProxyWin.cpp:
        (WebKit::WebPageProxy::standardUserAgent): Drop the language tag
        part and fix style.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79396 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Wed, 23 Feb 2011 05:27:57 +0000 (05:27 +0000)]
2011-02-22  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed Chromium expectations update. Update Snow Leopard
        expectations (some SVG tests now pass thanks to patches for bug 54474,
        others now fail).

        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79395 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Philippe Normand <pnormand@igalia.com>
commit-queue@webkit.org [Wed, 23 Feb 2011 05:22:23 +0000 (05:22 +0000)]
2011-02-22  Philippe Normand  <pnormand@igalia.com>

        Reviewed by Martin Robinson.

        Minimal build broken
        https://bugs.webkit.org/show_bug.cgi?id=54743

        Moved the code of setInspectorExtensionAPI and
        dispatchMessageFromFrontend out of #if
        ENABLE(JAVASCRIPT_DEBUGGER) to fix link error of the minimal build.

        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::setInspectorExtensionAPI):
        (WebCore::InspectorController::dispatchMessageFromFrontend):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79394 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 23 Feb 2011 04:49:19 +0000 (04:49 +0000)]
2011-02-22  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Add a GYP project for JavaScriptGlue
        https://bugs.webkit.org/show_bug.cgi?id=55019

        This is really just a proof-of-concept.  The Xcode project file it
        produces is able to build JavaScriptGlue, but it's not 100% correct.
        Also, the GYP declarations aren't properly structured to allow for
        multiple projects or ports.  That should get better as we add
        proof-of-concepts for other projects and ports.

        This build system is not used currently.

        * gyp: Added.
        * gyp/JavaScriptGlue.gyp: Added.
        * gyp/JavaScriptGlue.gypi: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79393 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Wed, 23 Feb 2011 04:45:43 +0000 (04:45 +0000)]
2011-02-22  Ryosuke Niwa  <rniwa@webkit.org>

        Unreviewed; fixed Windows expected failure results added by r79328 for new tests from r79318
        http://webkit.org/b/54966 tracks the failure.

        * platform/win-xp/media: Added.
        * platform/win-xp/media/audio-repaint-expected.txt: Added.
        * platform/win-xp/media/media-document-audio-repaint-expected.txt: Added.
        * platform/win/media/audio-repaint-expected.txt:
        * platform/win/media/media-document-audio-repaint-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79392 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoAdd WebKit2 API to force a repaint with an invalidation
weinig@apple.com [Wed, 23 Feb 2011 03:35:58 +0000 (03:35 +0000)]
Add WebKit2 API to force a repaint with an invalidation
https://bugs.webkit.org/show_bug.cgi?id=55015

Reviewed by Anders Carlsson.

* Shared/ForceRepaintFlags.h: Added.
* UIProcess/API/C/WKPage.cpp:
(WKPageForceRepaint):
(WKPageForceRepaintWithInvalidation):
* UIProcess/API/C/WKPage.h:
Add WKPageForceRepaintWithInvalidation which does the same thing WKPageForceRepaint
but also calls setNeedsDisplay on the entire bounds of the page.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::forceRepaint):
* UIProcess/WebPageProxy.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::forceRepaint):
* WebProcess/WebPage/WebPage.h:
* WebProcess/WebPage/WebPage.messages.in:
Pipe the flag down to the WebProcess.

* WebKit2.pro:
* WebKit2.xcodeproj/project.pbxproj:
* win/WebKit2.vcproj:
Add ForceRepaintFlags.h.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79391 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Sheriff Bot <webkit.review.bot@gmail.com>
rniwa@webkit.org [Wed, 23 Feb 2011 03:31:00 +0000 (03:31 +0000)]
2011-02-22  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r79367.
        http://trac.webkit.org/changeset/79367
        https://bugs.webkit.org/show_bug.cgi?id=55012

        all layout tests are crashing on Snow Leopard (Requested by
        rniwa on #webkit).

        * GNUmakefile.am:
        * JavaScriptCore.gypi:
        * JavaScriptCore.vcproj/WTF/WTF.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * runtime/MarkedBlock.cpp:
        (JSC::MarkedBlock::MarkedBlock):
        * runtime/MarkedBlock.h:
        * runtime/MarkedSpace.cpp:
        (JSC::MarkedSpace::destroy):
        (JSC::MarkedSpace::allocateBlock):
        (JSC::MarkedSpace::freeBlock):
        (JSC::MarkedSpace::allocate):
        (JSC::MarkedSpace::shrink):
        (JSC::MarkedSpace::reset):
        * runtime/MarkedSpace.h:
        (JSC::CollectorHeap::collectorBlock):
        * wtf/CMakeLists.txt:
        * wtf/DoublyLinkedList.h: Removed.
2011-02-22  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r79367.
        http://trac.webkit.org/changeset/79367
        https://bugs.webkit.org/show_bug.cgi?id=55012

        all layout tests are crashing on Snow Leopard (Requested by
        rniwa on #webkit).

        * ForwardingHeaders/wtf/DoublyLinkedList.h: Removed.
2011-02-22  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r79367.
        http://trac.webkit.org/changeset/79367
        https://bugs.webkit.org/show_bug.cgi?id=55012

        all layout tests are crashing on Snow Leopard (Requested by
        rniwa on #webkit).

        * ForwardingHeaders/wtf/DoublyLinkedList.h: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79390 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-21 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Wed, 23 Feb 2011 03:30:09 +0000 (03:30 +0000)]
2011-02-21  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Adam Barth.

        [codereviewtool] remove patch fuzzing
        https://bugs.webkit.org/show_bug.cgi?id=54940

        This code is buggy and not as necessary now that we
        include svn revision numbers in uploaded patches.

        * code-review.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79389 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Wed, 23 Feb 2011 03:25:25 +0000 (03:25 +0000)]
2011-02-22  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed Chromium expectations update. Uncomment SNOWLEOPARD
        expectations, since we still fail all those tests on Snow Leopard
        (lines were commented out by r79275).

        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79388 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Kenneth Russell <kbr@google.com>
kbr@google.com [Wed, 23 Feb 2011 03:23:09 +0000 (03:23 +0000)]
2011-02-22  Kenneth Russell  <kbr@google.com>

        Reviewed by James Robinson.

        Many tests started timing out on the chrome mac canaries around r79035
        https://bugs.webkit.org/show_bug.cgi?id=54885

        Revert the code changes, but not the Chromium DEPS roll, from
        r79038 to see whether this clears up the timing-out tests. Was not
        able to reproduce the timeouts locally with a Release mode build
        of DRT (on Snow Leopard).

        * src/WebKit.cpp:
        (WebKit::initialize):
2011-02-22  Kenneth Russell  <kbr@google.com>

        Reviewed by James Robinson.

        Many tests started timing out on the chrome mac canaries around r79035
        https://bugs.webkit.org/show_bug.cgi?id=54885

        Revert the code changes, but not the Chromium DEPS roll, from
        r79038 to see whether this clears up the timing-out tests. Was not
        able to reproduce the timeouts locally with a Release mode build
        of DRT (on Snow Leopard).

        * DumpRenderTree/chromium/WebViewHost.cpp:
        (WebViewHost::reset):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79387 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoVersioning.
mrowe@apple.com [Wed, 23 Feb 2011 03:11:32 +0000 (03:11 +0000)]
Versioning.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79386 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoMarked tests as failing (image + text) on chromium, to reflect now-deleted rebaselines.
atwilson@chromium.org [Wed, 23 Feb 2011 02:36:20 +0000 (02:36 +0000)]
Marked tests as failing (image + text) on chromium, to reflect now-deleted rebaselines.

* platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79384 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Wed, 23 Feb 2011 02:31:37 +0000 (02:31 +0000)]
2011-02-22  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dan Bernstein.

        <rdar://problem/9039670>

        Make sure that we set the accelerateDrawing property on the LayerTreeHosts's
        non-composited content layer if the preference is set.

        * WebProcess/WebPage/mac/LayerTreeHostMac.mm:
        (WebKit::LayerTreeHostMac::LayerTreeHostMac):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79383 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Wed, 23 Feb 2011 02:22:33 +0000 (02:22 +0000)]
2011-02-22  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Darin Adler.

        Deploy EditingStyle in removeInlineStyleFromElement and removeCSSStyle
        https://bugs.webkit.org/show_bug.cgi?id=54944

        Deployed EditingStyle in removeInlineStyleFromElement and removeCSSStyle.

        Also extracted EditingStyle::conflictsWithInlineStyleOfElement from ApplyStyleCommand::removeCSSStyle,
        which returns true iff the specified element has inline style that conflicts or matches the editing style.
        It also appends conflicting property IDs to the vector of property IDs if one is specified.

        * editing/ApplyStyleCommand.cpp:
        (WebCore::ApplyStyleCommand::applyBlockStyle): Calls removeCSSStyle.
        (WebCore::ApplyStyleCommand::applyInlineStyle): Calls shouldSplitTextElement.
        (WebCore::ApplyStyleCommand::removeStyleFromRunBeforeApplyingStyle): Calls removeInlineStyleFromElement.
        (WebCore::ApplyStyleCommand::removeInlineStyleFromElement): Takes EditingStyle* instead of CSSMutableStyleDeclaration*.
        (WebCore::ApplyStyleCommand::removeCSSStyle): Ditto; extracted the logic to decide properties to remove as
        conflictsWithInlineStyleOfElement.
        (WebCore::ApplyStyleCommand::highestAncestorWithConflictingInlineStyle): Calls shouldRemoveInlineStyleFromElement.
        (WebCore::ApplyStyleCommand::pushDownInlineStyleAroundNode): Calls removeInlineStyleFromElement.
        (WebCore::ApplyStyleCommand::removeInlineStyle): Ditto.
        (WebCore::ApplyStyleCommand::shouldSplitTextElement): Takes EditingStyle* instead of CSSMutableStyleDeclaration*.
        * editing/ApplyStyleCommand.h:
        (WebCore::ApplyStyleCommand::shouldRemoveInlineStyleFromElement): Ditto.
        * editing/EditingStyle.cpp:
        (WebCore::EditingStyle::conflictsWithInlineStyleOfElement): Extracted from ApplyStyleCommand::removeCSSStyle.
        * editing/EditingStyle.h:
        (WebCore::EditingStyle::conflictsWithInlineStyleOfElement): Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79382 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUnreviewed chromium-gpu expectations update.
atwilson@chromium.org [Wed, 23 Feb 2011 02:15:02 +0000 (02:15 +0000)]
Unreviewed chromium-gpu expectations update.

* platform/chromium-gpu-linux/compositing/masks/masked-ancestor-expected.checksum:
* platform/chromium-gpu-linux/compositing/masks/masked-ancestor-expected.png:
* platform/chromium-gpu-linux/compositing/masks/simple-composited-mask-expected.checksum:
* platform/chromium-gpu-linux/compositing/masks/simple-composited-mask-expected.png:
* platform/chromium-gpu-linux/compositing/overflow/fixed-position-ancestor-clip-expected.checksum:
* platform/chromium-gpu-linux/compositing/overflow/fixed-position-ancestor-clip-expected.png:
* platform/chromium-gpu-linux/fast/canvas/canvas-text-alignment-expected.checksum:
* platform/chromium-gpu-linux/fast/canvas/canvas-text-alignment-expected.png:
* platform/chromium-gpu-linux/fast/canvas/image-object-in-canvas-expected.checksum:
* platform/chromium-gpu-linux/fast/canvas/image-object-in-canvas-expected.png:
* platform/chromium-gpu-mac/compositing/masks/masked-ancestor-expected.checksum: Added.
* platform/chromium-gpu-mac/compositing/masks/masked-ancestor-expected.png: Added.
* platform/chromium-gpu-mac/compositing/masks/simple-composited-mask-expected.checksum: Added.
* platform/chromium-gpu-mac/compositing/masks/simple-composited-mask-expected.png: Added.
* platform/chromium-gpu-mac/compositing/overflow/fixed-position-ancestor-clip-expected.checksum: Added.
* platform/chromium-gpu-mac/compositing/overflow/fixed-position-ancestor-clip-expected.png: Added.
* platform/chromium-gpu-win/compositing/overflow/fixed-position-ancestor-clip-expected.checksum:
* platform/chromium-gpu-win/compositing/overflow/fixed-position-ancestor-clip-expected.png:
* platform/chromium-gpu-win/fast/canvas/canvas-text-alignment-expected.checksum:
* platform/chromium-gpu-win/fast/canvas/canvas-text-alignment-expected.png:
* platform/chromium-gpu-win/fast/canvas/image-object-in-canvas-expected.checksum:
* platform/chromium-gpu-win/fast/canvas/image-object-in-canvas-expected.png:
* platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79381 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Wed, 23 Feb 2011 02:09:18 +0000 (02:09 +0000)]
2011-02-22  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by James Robinson.

        nrwt: --platform chromium-gpu doesn't work with --worker-model=processes
        https://bugs.webkit.org/show_bug.cgi?id=55009

        * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79380 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Wed, 23 Feb 2011 02:08:55 +0000 (02:08 +0000)]
2011-02-22  Martin Robinson  <mrobinson@igalia.com>

        Add missing files from r79351. These are expected results for new media tests.

        * platform/gtk/media/audio-repaint-expected.checksum: Added.
        * platform/gtk/media/audio-repaint-expected.png: Added.
        * platform/gtk/media/audio-repaint-expected.txt: Added.
        * platform/gtk/media/media-document-audio-repaint-expected.checksum: Added.
        * platform/gtk/media/media-document-audio-repaint-expected.png: Added.
        * platform/gtk/media/media-document-audio-repaint-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79379 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUnreviewed expectations change for chromium.
atwilson@chromium.org [Wed, 23 Feb 2011 01:51:40 +0000 (01:51 +0000)]
Unreviewed expectations change for chromium.

* platform/chromium-gpu-linux/compositing/reflections/deeply-nested-reflections-expected.checksum:
* platform/chromium-gpu-linux/compositing/reflections/deeply-nested-reflections-expected.png:
* platform/chromium-gpu-mac/compositing/reflections/deeply-nested-reflections-expected.checksum: Added.
* platform/chromium-gpu-mac/compositing/reflections/deeply-nested-reflections-expected.png: Added.
* platform/chromium-gpu-win/compositing/reflections/deeply-nested-reflections-expected.checksum:
* platform/chromium-gpu-win/compositing/reflections/deeply-nested-reflections-expected.png:
* platform/chromium-gpu-win/compositing/reflections/deeply-nested-reflections-expected.txt:
* platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79378 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Chang Shu <cshu@webkit.org>
chang.shu@nokia.com [Wed, 23 Feb 2011 01:37:26 +0000 (01:37 +0000)]
2011-02-22  Chang Shu  <cshu@webkit.org>

        Reviewed by Csaba Osztrogonác.

        [Qt] editing/deleting/5408255.html fails
        https://bugs.webkit.org/show_bug.cgi?id=54964

        Move WebCore resource file to QtWebKit since they are referred in WebKit.

        * QtWebKit.pro:

2011-02-22  Chang Shu  <cshu@webkit.org>

        Reviewed by Csaba Osztrogonác.

        [Qt] editing/deleting/5408255.html fails
        https://bugs.webkit.org/show_bug.cgi?id=54964

        Move WebCore resource file to QtWebKit since they are referred in WebKit.

        * WebCore.pro:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79377 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoFix it Windows-style.
beidson@apple.com [Wed, 23 Feb 2011 01:25:56 +0000 (01:25 +0000)]
Fix it Windows-style.

* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::getSitesWithPluginData):
(WebKit::WebProcess::clearPluginSiteData):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79376 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 MORITA Hajime <morrita@google.com>
morrita@google.com [Wed, 23 Feb 2011 01:21:13 +0000 (01:21 +0000)]
2011-02-22  MORITA Hajime  <morrita@google.com>

        Unreviewed expectation update to catch up r79359.

        * platform/chromium-linux/media/audio-repaint-expected.checksum:
        * platform/chromium-linux/media/audio-repaint-expected.png:
        * platform/chromium-linux/media/audio-repaint-expected.txt: Removed.
        * platform/chromium-linux/media/media-document-audio-repaint-expected.checksum:
        * platform/chromium-linux/media/media-document-audio-repaint-expected.png:
        * platform/chromium-linux/media/media-document-audio-repaint-expected.txt: Removed.
        * platform/chromium-mac/media/audio-repaint-expected.checksum:
        * platform/chromium-mac/media/audio-repaint-expected.png:
        * platform/chromium-mac/media/audio-repaint-expected.txt:
        * platform/chromium-mac/media/media-document-audio-repaint-expected.checksum:
        * platform/chromium-mac/media/media-document-audio-repaint-expected.png:
        * platform/chromium-mac/media/media-document-audio-repaint-expected.txt:
        * platform/chromium-win/media/audio-repaint-expected.checksum:
        * platform/chromium-win/media/audio-repaint-expected.png:
        * platform/chromium-win/media/audio-repaint-expected.txt:
        * platform/chromium-win/media/media-document-audio-repaint-expected.checksum:
        * platform/chromium-win/media/media-document-audio-repaint-expected.png:
        * platform/chromium-win/media/media-document-audio-repaint-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79375 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoRemove no-longer-necessary test expectation (LINUX video-cancel-load)
atwilson@chromium.org [Wed, 23 Feb 2011 00:58:41 +0000 (00:58 +0000)]
Remove no-longer-necessary test expectation (LINUX video-cancel-load)
https://bugs.webkit.org/show_bug.cgi?id=55003

Patch by Ami Fischman <fischman@chromium.org> on 2011-02-22
Reviewed by Peter Kasting.

* platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79374 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoRevert "Unreviewed rebaselines for Chromium." because the baselines were put in the...
atwilson@chromium.org [Wed, 23 Feb 2011 00:48:11 +0000 (00:48 +0000)]
Revert "Unreviewed rebaselines for Chromium." because the baselines were put in the wrong directory.

This partially reverts r79034 (we keep test_expectations the same as it is currently to avoid breaking the canaries).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79373 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Wed, 23 Feb 2011 00:42:06 +0000 (00:42 +0000)]
2011-02-22  Anders Carlsson  <andersca@apple.com>

        Reviewed by Dan Bernstein.

        Rename WebProcess::shutdownIfPossible to WebProcess::terminateIfPossible
        https://bugs.webkit.org/show_bug.cgi?id=55008

        * WebProcess/Downloads/DownloadManager.cpp:
        (WebKit::DownloadManager::downloadFinished):
        * WebProcess/WebProcess.cpp:
        (WebKit::WebProcess::removeWebPage):
        (WebKit::WebProcess::terminateIfPossible):
        (WebKit::WebProcess::getSitesWithPluginData):
        * WebProcess/WebProcess.h:
        * WebProcess/gtk/WebProcessGtk.cpp:
        (WebKit::WebProcess::platformTerminate):
        * WebProcess/mac/WebProcessMac.mm:
        (WebKit::WebProcess::platformTerminate):
        * WebProcess/qt/WebProcessQt.cpp:
        (WebKit::WebProcess::platformTerminate):
        * WebProcess/win/WebProcessWin.cpp:
        (WebKit::WebProcess::platformTerminate):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79372 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoWindows build-fix attempt.
beidson@apple.com [Wed, 23 Feb 2011 00:30:02 +0000 (00:30 +0000)]
Windows build-fix attempt.

* win/WebKit2Generated.make:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79371 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUnreviewed.
ossy@webkit.org [Wed, 23 Feb 2011 00:14:48 +0000 (00:14 +0000)]
Unreviewed.

<rdar://problem/8762042> and  https://bugs.webkit.org/show_bug.cgi?id=54514
API to view and delete Application Cache data by origin.

[Qt][WK2] Buildfix after r79364.

* DerivedSources.pro:
* WebKit2.pri:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79370 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago<rdar://problem/8762042> and https://bugs.webkit.org/show_bug.cgi?id=54514
beidson@apple.com [Wed, 23 Feb 2011 00:10:50 +0000 (00:10 +0000)]
<rdar://problem/8762042> and https://bugs.webkit.org/show_bug.cgi?id=54514
API to view and delete Application Cache data by origin.

Reviewed by Anders Carlsson.

Implement these to be used by WK2 API:
* loader/appcache/ApplicationCacheStorage.cpp:
(WebCore::ApplicationCacheStorage::getOriginsWithCache):
(WebCore::ApplicationCacheStorage::deleteEntriesForOrigin):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79368 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Tue, 22 Feb 2011 23:23:42 +0000 (23:23 +0000)]
2011-02-22  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Oliver Hunt.

        Manage MarkedBlocks in a linked list instead of a vector, so arbitrary removal is O(1)
        https://bugs.webkit.org/show_bug.cgi?id=54999

        SunSpider reports no change.

        * GNUmakefile.am:
        * JavaScriptCore.gypi:
        * JavaScriptCore.vcproj/WTF/WTF.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj: So many build systems, so little time.
        * wtf/CMakeLists.txt:

        * runtime/MarkedBlock.cpp:
        (JSC::MarkedBlock::MarkedBlock):
        * runtime/MarkedBlock.h:
        (JSC::MarkedBlock::setPrev):
        (JSC::MarkedBlock::setNext):
        (JSC::MarkedBlock::prev):
        (JSC::MarkedBlock::next): Added linked list data members and accessors.

        * runtime/MarkedSpace.cpp:
        (JSC::MarkedSpace::destroy):
        (JSC::MarkedSpace::allocateBlock): Stop using vector, since it doesn't exist anymore.

        (JSC::MarkedSpace::freeBlocks): New helper function for updating relevant
        data structures when freeing blocks.

        (JSC::MarkedSpace::allocate): Updated for nextBlock being a pointer and
        not a vector index.

        (JSC::MarkedSpace::shrink): Construct a temporary list of empties and
        then free them, to avoid modifying our hash table while iterating it.
        This wasn't a concern before because we were using indirect array
        indexing, not direct pointer indexing.

        (JSC::MarkedSpace::reset): Updated for nextBlock being a pointer and
        not a vector index.

        * runtime/MarkedSpace.h:
        (JSC::CollectorHeap::CollectorHeap): Changed data type from vector to linked list.

        * wtf/DoublyLinkedList.h: Added. New linked list class.
        (WTF::::DoublyLinkedList):
        (WTF::::isEmpty):
        (WTF::::head):
        (WTF::::append):
        (WTF::::remove):
2011-02-22  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Oliver Hunt.

        Manage MarkedBlocks in a linked list instead of a vector, so arbitrary removal is O(1)
        https://bugs.webkit.org/show_bug.cgi?id=54999

        New WTF header.

        * ForwardingHeaders/wtf/DoublyLinkedList.h: Copied from ForwardingHeaders/wtf/FixedArray.h.
2011-02-22  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Oliver Hunt.

        Manage MarkedBlocks in a linked list instead of a vector, so arbitrary removal is O(1)
        https://bugs.webkit.org/show_bug.cgi?id=54999

        New WTF header.

        * ForwardingHeaders/wtf/DoublyLinkedList.h: Copied from ForwardingHeaders/wtf/FixedArray.h.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79367 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Brady Eidson <beidson@apple.com>
andersca@apple.com [Tue, 22 Feb 2011 23:22:24 +0000 (23:22 +0000)]
2011-02-22  Brady Eidson  <beidson@apple.com>

        Reviewed by Anders Carlsson and looked over by Brian Weinstein.

        <rdar://problem/8762042> and https://bugs.webkit.org/show_bug.cgi?id=54514
        API to view and delete Application Cache data by origin.

        I couldn't help myself - I also re-alphabetized WebResourceCacheManager in many places where
        it's sorting was wrong due to a last minute name change.

        Project file changes:
        * GNUmakefile.am:
        * win/WebKit2.vcproj:
        * win/WebKit2Common.vsprops:
        * win/WebKit2Generated.make:
        * WebKit2.pro:
        * WebKit2.xcodeproj/project.pbxproj:

        WK2 build-system and API paperwork:
        * DerivedSources.make:
        * Platform/CoreIPC/MessageID.h:
        * Shared/API/c/WKBase.h:
        * Shared/APIObject.h:
        * UIProcess/API/C/WKAPICast.h:

        Add a helper to perform an ArrayCallback with a Vector of SecurityOriginDatas:
        * Shared/SecurityOriginData.cpp:
        (WebKit::performAPICallbackWithSecurityOriginDataVector):
        * Shared/SecurityOriginData.h:
        * UIProcess/WebResourceCacheManagerProxy.cpp:
        (WebKit::WebResourceCacheManagerProxy::didGetCacheOrigins): Use performAPICallbackWithSecurityOriginDataVector here.

        Add an ApplicationCacheManagerProxy to the context and invalidate it at the appropriate times:
        * UIProcess/WebContext.cpp:
        (WebKit::WebContext::WebContext):
        (WebKit::WebContext::~WebContext):
        (WebKit::WebContext::processDidClose):
        (WebKit::WebContext::didReceiveMessage): Route messages to the right proxy.
        * UIProcess/WebContext.h:
        (WebKit::WebContext::applicationCacheManagerProxy):
        (WebKit::WebContext::resourceCacheManagerProxy):

        Add API to get the ApplicationCacheManager for a context:
        * UIProcess/API/C/WKContext.cpp:
        (WKContextGetApplicationCacheManager):
        (WKContextGetResourceCacheManager):
        * UIProcess/API/C/WKContext.h:

        Route messages to the right place:
        * UIProcess/WebProcessProxy.cpp:
        (WebKit::WebProcessProxy::didReceiveMessage):
        * WebProcess/WebProcess.cpp:
        (WebKit::WebProcess::didReceiveMessage):

        Add the API object, which wraps to WebApplicationCacheManagerProxy:
        * UIProcess/API/C/WKApplicationCacheManager.cpp: Added.
        (WKApplicationCacheManagerGetTypeID):
        (WKApplicationCacheManagerGetApplicationCacheOrigins):
        (WKApplicationCacheManagerDeleteEntriesForOrigin):
        (WKApplicationCacheManagerDeleteAllEntries):
        * UIProcess/API/C/WKApplicationCacheManager.h: Added.

        The UIProcess implementation of the manager to send messages to the WebProcess and pipe a callback back up to the client:
        * UIProcess/WebApplicationCacheManagerProxy.cpp: Added.
        (WebKit::WebApplicationCacheManagerProxy::create):
        (WebKit::WebApplicationCacheManagerProxy::WebApplicationCacheManagerProxy):
        (WebKit::WebApplicationCacheManagerProxy::~WebApplicationCacheManagerProxy):
        (WebKit::WebApplicationCacheManagerProxy::invalidate):
        (WebKit::WebApplicationCacheManagerProxy::didReceiveMessage):
        (WebKit::WebApplicationCacheManagerProxy::getApplicationCacheOrigins):
        (WebKit::WebApplicationCacheManagerProxy::didGetApplicationCacheOrigins): Use performAPICallbackWithSecurityOriginDataVector here.
        (WebKit::WebApplicationCacheManagerProxy::deleteEntriesForOrigin):
        (WebKit::WebApplicationCacheManagerProxy::deleteAllEntries):
        * UIProcess/WebApplicationCacheManagerProxy.h: Added.
        (WebKit::WebApplicationCacheManagerProxy::clearContext):
        (WebKit::WebApplicationCacheManagerProxy::type):
        * UIProcess/WebApplicationCacheManagerProxy.messages.in: Added.

        The WebProcess implementation to response to UIProcess messages and actually do the dirty-work in WebCore:
        * WebProcess/ApplicationCache: Added.
        * WebProcess/ApplicationCache/WebApplicationCacheManager.cpp: Added.
        (WebKit::WebApplicationCacheManager::shared):
        (WebKit::WebApplicationCacheManager::WebApplicationCacheManager):
        (WebKit::WebApplicationCacheManager::didReceiveMessage):
        (WebKit::WebApplicationCacheManager::getApplicationCacheOrigins):
        (WebKit::WebApplicationCacheManager::deleteEntriesForOrigin):
        (WebKit::WebApplicationCacheManager::deleteAllEntries):
        * WebProcess/ApplicationCache/WebApplicationCacheManager.h: Added.
        * WebProcess/ApplicationCache/WebApplicationCacheManager.messages.in: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79366 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUnreviewed; neglected to update an expected result after changing some
jer.noble@apple.com [Tue, 22 Feb 2011 23:01:02 +0000 (23:01 +0000)]
Unreviewed; neglected to update an expected result after changing some
boilerplate text at the top of the test.

* media/audio-repaint-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79365 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago<rdar://problem/8762042> and https://bugs.webkit.org/show_bug.cgi?id=54514
beidson@apple.com [Tue, 22 Feb 2011 22:52:37 +0000 (22:52 +0000)]
<rdar://problem/8762042> and https://bugs.webkit.org/show_bug.cgi?id=54514
API to view and delete Application Cache data by origin.

Reviewed by Anders Carlsson and looked over by Brian Weinstein.

I couldn't help myself - I also re-alphabetized WebResourceCacheManager in many places where
it's sorting was wrong due to a last minute name change.

Project file changes:
* GNUmakefile.am:
* win/WebKit2.vcproj:
* win/WebKit2Common.vsprops:
* win/WebKit2Generated.make:
* WebKit2.pro:
* WebKit2.xcodeproj/project.pbxproj:

WK2 build-system and API paperwork:
* DerivedSources.make:
* Platform/CoreIPC/MessageID.h:
* Shared/API/c/WKBase.h:
* Shared/APIObject.h:
* UIProcess/API/C/WKAPICast.h:

Add a helper to perform an ArrayCallback with a Vector of SecurityOriginDatas:
* Shared/SecurityOriginData.cpp:
(WebKit::performAPICallbackWithSecurityOriginDataVector):
* Shared/SecurityOriginData.h:
* UIProcess/WebResourceCacheManagerProxy.cpp:
(WebKit::WebResourceCacheManagerProxy::didGetCacheOrigins): Use performAPICallbackWithSecurityOriginDataVector here.

Add an ApplicationCacheManagerProxy to the context and invalidate it at the appropriate times:
* UIProcess/WebContext.cpp:
(WebKit::WebContext::WebContext):
(WebKit::WebContext::~WebContext):
(WebKit::WebContext::processDidClose):
(WebKit::WebContext::didReceiveMessage): Route messages to the right proxy.
* UIProcess/WebContext.h:
(WebKit::WebContext::applicationCacheManagerProxy):
(WebKit::WebContext::resourceCacheManagerProxy):

Add API to get the ApplicationCacheManager for a context:
* UIProcess/API/C/WKContext.cpp:
(WKContextGetApplicationCacheManager):
(WKContextGetResourceCacheManager):
* UIProcess/API/C/WKContext.h:

Route messages to the right place:
* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::didReceiveMessage):
* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::didReceiveMessage):

Add the API object, which wraps to WebApplicationCacheManagerProxy:
* UIProcess/API/C/WKApplicationCacheManager.cpp: Added.
(WKApplicationCacheManagerGetTypeID):
(WKApplicationCacheManagerGetApplicationCacheOrigins):
(WKApplicationCacheManagerDeleteEntriesForOrigin):
(WKApplicationCacheManagerDeleteAllEntries):
* UIProcess/API/C/WKApplicationCacheManager.h: Added.

The UIProcess implementation of the manager to send messages to the WebProcess and pipe a callback back up to the client:
* UIProcess/WebApplicationCacheManagerProxy.cpp: Added.
(WebKit::WebApplicationCacheManagerProxy::create):
(WebKit::WebApplicationCacheManagerProxy::WebApplicationCacheManagerProxy):
(WebKit::WebApplicationCacheManagerProxy::~WebApplicationCacheManagerProxy):
(WebKit::WebApplicationCacheManagerProxy::invalidate):
(WebKit::WebApplicationCacheManagerProxy::didReceiveMessage):
(WebKit::WebApplicationCacheManagerProxy::getApplicationCacheOrigins):
(WebKit::WebApplicationCacheManagerProxy::didGetApplicationCacheOrigins): Use performAPICallbackWithSecurityOriginDataVector here.
(WebKit::WebApplicationCacheManagerProxy::deleteEntriesForOrigin):
(WebKit::WebApplicationCacheManagerProxy::deleteAllEntries):
* UIProcess/WebApplicationCacheManagerProxy.h: Added.
(WebKit::WebApplicationCacheManagerProxy::clearContext):
(WebKit::WebApplicationCacheManagerProxy::type):
* UIProcess/WebApplicationCacheManagerProxy.messages.in: Added.

The WebProcess implementation to response to UIProcess messages and actually do the dirty-work in WebCore:
* WebProcess/ApplicationCache: Added.
* WebProcess/ApplicationCache/WebApplicationCacheManager.cpp: Added.
(WebKit::WebApplicationCacheManager::shared):
(WebKit::WebApplicationCacheManager::WebApplicationCacheManager):
(WebKit::WebApplicationCacheManager::didReceiveMessage):
(WebKit::WebApplicationCacheManager::getApplicationCacheOrigins):
(WebKit::WebApplicationCacheManager::deleteEntriesForOrigin):
(WebKit::WebApplicationCacheManager::deleteAllEntries):
* WebProcess/ApplicationCache/WebApplicationCacheManager.h: Added.
* WebProcess/ApplicationCache/WebApplicationCacheManager.messages.in: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79364 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Ami Fischman <fischman@chromium.org>
eric.carlson@apple.com [Tue, 22 Feb 2011 22:34:37 +0000 (22:34 +0000)]
2011-02-22  Ami Fischman  <fischman@chromium.org>

        Reviewed by Eric Carlson.

        Second attempt at removing flakiness from media/video-poster.html (in
        service of http://crbug.com/60845).  First attempt (r79161)
        relied on load & error events firing on the video element for
        poster-related events, which the standard does not specify (and
        are thus a bug).  This change instead relies on a 20ms sleep loop to
        observe the new expected dimensions (and relies on the test
        runner to time out if the expectations fail to be met).

        https://bugs.webkit.org/show_bug.cgi?id=54685

        * media/video-poster.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79363 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Tue, 22 Feb 2011 22:29:58 +0000 (22:29 +0000)]
2011-02-22  Anders Carlsson  <andersca@apple.com>

        Reviewed by Darin Adler.

        Get rid of WebProcessManager::getAllWebProcessContexts
        https://bugs.webkit.org/show_bug.cgi?id=55000

        * Shared/WebURLRequest.cpp:
        (WebKit::WebURLRequest::setDefaultTimeoutInterval):
        Call WebContext::allContexts instead.

        * UIProcess/WebContext.cpp:
        * UIProcess/WebContext.h:
        Add a vector of WebContext objects. Update it when creating and destroying contexts.

        * UIProcess/WebProcessManager.cpp:
        * UIProcess/WebProcessManager.h:
        Remove WebProcessManager::getAllWebProcessContexts.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79362 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Andrew Wilson <atwilson@chromium.org>
atwilson@chromium.org [Tue, 22 Feb 2011 22:29:26 +0000 (22:29 +0000)]
2011-02-22  Andrew Wilson  <atwilson@chromium.org>

        Unreviewed, rolling out r79339.
        http://trac.webkit.org/changeset/79339
        https://bugs.webkit.org/show_bug.cgi?id=54974

        Baselines were put in the wrong directory, so we need to
        continue to ignore failures

        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79361 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoFix for https://bugs.webkit.org/show_bug.cgi?id=54991
bdakin@apple.com [Tue, 22 Feb 2011 22:28:52 +0000 (22:28 +0000)]
Fix for https://bugs.webkit.org/show_bug.cgi?id=54991
Scrollbar::nativeTheme()->usesOverlayScrollbars() should not be consulted for CSS
Scrollbars
-and corresponding-
<rdar://problem/9034318>

Reviewed by Sam Weinig.

Instead of consulting the theme directly, callers should ask the Scrollbar or
ScrollableArea if the scrollbars are overlay or not.

* platform/ScrollView.cpp:
(WebCore::ScrollView::visibleContentRect):
(WebCore::ScrollView::scrollContents):
(WebCore::ScrollView::wheelEvent):
* platform/ScrollableArea.cpp:
(WebCore::ScrollableArea::setScrollOffsetFromAnimation):
(WebCore::ScrollableArea::hasOverlayScrollbars):
* platform/ScrollableArea.h:
* platform/Scrollbar.cpp:
(WebCore::Scrollbar::isOverlayScrollbar):
* platform/Scrollbar.h:
* rendering/RenderBox.cpp:
(WebCore::RenderBox::includeVerticalScrollbarSize):
(WebCore::RenderBox::includeHorizontalScrollbarSize):
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::verticalScrollbarWidth):
(WebCore::RenderLayer::horizontalScrollbarHeight):
* rendering/RenderListBox.cpp:
(WebCore::RenderListBox::verticalScrollbarWidth):
* rendering/RenderScrollbar.h:
(WebCore::RenderScrollbar::isOverlayScrollbar):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79360 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Jer Noble <jer.noble@apple.com>
jer.noble@apple.com [Tue, 22 Feb 2011 22:09:38 +0000 (22:09 +0000)]
2011-02-22  Jer Noble  <jer.noble@apple.com>

        Reviewed by Eric Carlson.

        media/audio-repaint.html flakey.
        https://bugs.webkit.org/show_bug.cgi?id=54970

        Audio repaint tests flakey, as they took a snapshot 1.5s into a 7s file.  Tests
        modified to test against a 1s file, and will trigger a snapshot when the audio
        finishes seeking to the 1/2way point.

        * media/audio-repaint-expected.txt:
        * media/audio-repaint.html:
        * media/content/silence.wav: Added.
        * media/media-document-audio-repaint-expected.txt:
        * media/media-document-audio-repaint.html:
        * platform/mac/media/audio-repaint-expected.checksum:
        * platform/mac/media/audio-repaint-expected.png:
        * platform/mac/media/media-document-audio-repaint-expected.checksum:
        * platform/mac/media/media-document-audio-repaint-expected.png:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79359 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoRe-add early bail out in dispatchDecidePolicyForNavigationAction with prevents
weinig@apple.com [Tue, 22 Feb 2011 22:09:30 +0000 (22:09 +0000)]
Re-add early bail out in dispatchDecidePolicyForNavigationAction with prevents
a crash running fast/loader/empty-embed-src-attribute.html. This matches a
bail out in the default policy delegate in WebKit1.

Reviewed by Anders Carlsson.

* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79358 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUnreviewed.
ossy@webkit.org [Tue, 22 Feb 2011 22:00:43 +0000 (22:00 +0000)]
Unreviewed.

[Qt] New fails caused by change(s) between r79317-r79320.

* platform/qt/Skipped: Skip tests until fix.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79357 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoWindows build fix.
barraclough@apple.com [Tue, 22 Feb 2011 21:55:35 +0000 (21:55 +0000)]
Windows build fix.

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79356 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoBug 54988 - Re-create StructureTransitionTable class, encapsulate transition table
barraclough@apple.com [Tue, 22 Feb 2011 21:49:59 +0000 (21:49 +0000)]
Bug 54988 - Re-create StructureTransitionTable class, encapsulate transition table

Reviewed by Sam Weinig.

The Structure class keeps a table of transitions to derived Structure types. Since
this table commonly contains a single entry we employ an optimization where instead
of holding a map, we may hold a pointer directly to a single instance of the mapped
type. We use an additional bit of data to flag whether the pointer is currently
pointing to a table of transitions, or a singleton transition. Previously we had
commonly used a pattern of storing data in the low bits of pointers, but had moved
away from this since it causes false leaks to be reported by the leaks tool. However
in this case, the entries in the map are weak links - this pointer will never be
responsible for keeping an object alive.  As such we can use this approach provided
that the bit is set when a table is not in use (otherwise the table would appear to
be leaked).

Additionally, the transition table currently allows two entries to exist for a given
key - one specialized to a particular value, and one not specialized. This is
unnecessary, wasteful, and a little inconsistent. (If you create an entry for a
specialized value, then a non-specialized entry, both will exist.  If you create an
entry for a non-specialized value, then try to create a specialized entry, only a
non-specialized form will be allowed.)

This shows a small progression on v8.

* JavaScriptCore.exp:
* runtime/JSObject.h:
(JSC::JSObject::putDirectInternal):
* runtime/Structure.cpp:
(JSC::StructureTransitionTable::contains):
(JSC::StructureTransitionTable::get):
(JSC::StructureTransitionTable::remove):
(JSC::StructureTransitionTable::add):
(JSC::Structure::dumpStatistics):
(JSC::Structure::Structure):
(JSC::Structure::~Structure):
(JSC::Structure::addPropertyTransitionToExistingStructure):
(JSC::Structure::addPropertyTransition):
* runtime/Structure.h:
(JSC::Structure::get):
* runtime/StructureTransitionTable.h:
(JSC::StructureTransitionTable::Hash::hash):
(JSC::StructureTransitionTable::Hash::equal):
(JSC::StructureTransitionTable::HashTraits::emptyValue):
(JSC::StructureTransitionTable::HashTraits::constructDeletedValue):
(JSC::StructureTransitionTable::HashTraits::isDeletedValue):
(JSC::StructureTransitionTable::StructureTransitionTable):
(JSC::StructureTransitionTable::~StructureTransitionTable):
(JSC::StructureTransitionTable::isUsingSingleSlot):
(JSC::StructureTransitionTable::map):
(JSC::StructureTransitionTable::setMap):
(JSC::StructureTransitionTable::singleTransition):
(JSC::StructureTransitionTable::setSingleTransition):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79355 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-21 Nico Weber <thakis@chromium.org>
thakis@chromium.org [Tue, 22 Feb 2011 21:45:47 +0000 (21:45 +0000)]
2011-02-21  Nico Weber  <thakis@chromium.org>

        Reviewed by James Robinson.

        [chromium] WebWorkerBase::openFileSystem confuses clang's -Woverloaded-virtual
        https://bugs.webkit.org/show_bug.cgi?id=54920

        Rename WebWorkerBase::openFileSystem() to openFileSystemForWorker() to
        make it obvious it's not an override of
        WebFrameClient::openFileSystem().

        Remove a failed attempt to override it in WebWorkerClientImpl (the
        override didn't change the behavior).

        No intended functionality change.

        * src/LocalFileSystemChromium.cpp:
        (WebCore::LocalFileSystem::requestFileSystem):
        Call new name.
        * src/WebWorkerBase.cpp:
        (WebKit::WebWorkerBase::openFileSystemForWorker):
        Rename openFileSystem() to openFileSystemForWorker().
        * src/WebWorkerBase.h:
        Rename openFileSystem() to openFileSystemForWorker().
        * src/WebWorkerClientImpl.h:
        (WebKit::WebWorkerClientImpl::allowDatabase):
        Remove unsuccessful (and pointless) override.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79354 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUnreviewed expectations change.
atwilson@chromium.org [Tue, 22 Feb 2011 21:35:31 +0000 (21:35 +0000)]
Unreviewed expectations change.

[Chromium] Generate results for media/audio-repaint.html and media/media-document-audio-repaint.html
https://bugs.webkit.org/show_bug.cgi?id=54983

* platform/chromium-linux/media/audio-repaint-expected.checksum: Added.
* platform/chromium-linux/media/audio-repaint-expected.png: Added.
* platform/chromium-linux/media/audio-repaint-expected.txt: Added.
* platform/chromium-linux/media/media-document-audio-repaint-expected.checksum: Added.
* platform/chromium-linux/media/media-document-audio-repaint-expected.png: Added.
* platform/chromium-linux/media/media-document-audio-repaint-expected.txt: Added.
* platform/chromium-mac/media/audio-repaint-expected.checksum: Added.
* platform/chromium-mac/media/audio-repaint-expected.png: Added.
* platform/chromium-mac/media/audio-repaint-expected.txt: Added.
* platform/chromium-mac/media/media-document-audio-repaint-expected.checksum: Added.
* platform/chromium-mac/media/media-document-audio-repaint-expected.png: Added.
* platform/chromium-mac/media/media-document-audio-repaint-expected.txt: Added.
* platform/chromium-win/media/audio-repaint-expected.checksum: Added.
* platform/chromium-win/media/audio-repaint-expected.png: Added.
* platform/chromium-win/media/audio-repaint-expected.txt: Added.
* platform/chromium-win/media/media-document-audio-repaint-expected.checksum: Added.
* platform/chromium-win/media/media-document-audio-repaint-expected.png: Added.
* platform/chromium-win/media/media-document-audio-repaint-expected.txt: Added.
* platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79353 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[Qt] Redesign the build system
abecsi@webkit.org [Tue, 22 Feb 2011 21:19:43 +0000 (21:19 +0000)]
[Qt] Redesign the build system
https://bugs.webkit.org/show_bug.cgi?id=51339

Reviewed by Csaba Osztrogonác.

Move inspector's resource files into the final build step to fix the layout test regression.

Source/WebCore:

No new tests needed.

* WebCore.pro: Move inspector's resource files into QtWebKit.pro.

Source/WebKit/qt:

* QtWebKit.pro: Add inspector's reaource files.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79352 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Tue, 22 Feb 2011 21:15:33 +0000 (21:15 +0000)]
2011-02-22  Martin Robinson  <mrobinson@igalia.com>

        Add some GTK+-specific expectations for new media tests.

        * platform/gtk/Skipped: Unskip tests which now have results.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79351 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-22 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Tue, 22 Feb 2011 21:06:35 +0000 (21:06 +0000)]
2011-02-22  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] fast/frames/iframe-scale-applied-twice.html fails after r79167
        https://bugs.webkit.org/show_bug.cgi?id=54990

        No new tests. This will cause fast/events/scroll-after-click-on-tab-index.html
        to start passing again.

        * platform/gtk/ScrollViewGtk.cpp:
        (WebCore::ScrollView::visibleContentRect): Update this method to match the original
        in the parent class.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79350 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-17 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Tue, 22 Feb 2011 21:01:43 +0000 (21:01 +0000)]
2011-01-17  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] fast/events/scroll-after-click-on-tab-index has been failing on the bots
        https://bugs.webkit.org/show_bug.cgi?id=49177

        * platform/gtk/Skipped: Unskip passing test.
2011-01-17  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] fast/events/scroll-after-click-on-tab-index has been failing on the bots
        https://bugs.webkit.org/show_bug.cgi?id=49177

        * platform/ScrollView.cpp: Remove the GTK+ guards around the implementation
        of platformAddChild and platformRemoveChild. This code can be shared.
        * platform/gtk/MainFrameScrollbarGtk.cpp:
        (MainFrameScrollbarGtk::attachAdjustment): Prevent re-attaching an already attached
        adjustment. Connect the adjustment value-changed signal handler after resetting the
        adjustment. This prevents the rest from stomping on pre-existing WebCore values.
        (MainFrameScrollbarGtk::gtkValueChanged): If the scrollbar is no longer attached to
        a scrollview do not listing for value changes. These scrollbars are defunct.
        * platform/gtk/ScrollViewGtk.cpp: Remove duplicated empty methods.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79349 268f45cc-cd09-0410-ab3c-d52691b4dbfc