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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
andersca@apple.com [Tue, 22 Feb 2011 21:01:04 +0000 (21:01 +0000)]
2011-02-22 Anders Carlsson <andersca@apple.com>
Reviewed by Dan Bernstein.
Grammar correction from Spelling & Grammar window doesn't work
https://bugs.webkit.org/show_bug.cgi?id=54982
<rdar://problem/
8940918>
* UIProcess/API/mac/WKView.mm:
(-[WKView isGrammarCheckingEnabled]):
(-[WKView setGrammarCheckingEnabled:]):
Call down to the text checker.
* UIProcess/TextChecker.h:
Add updateSpellingUIWithGrammarString.
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::updateSpellingUIWithGrammarString):
Call TextChecker::updateSpellingUIWithGrammarString.
* UIProcess/WebPageProxy.messages.in:
Add UpdateSpellingUIWithGrammarString message.
* UIProcess/gtk/TextCheckerGtk.cpp:
(WebKit::TextChecker::updateSpellingUIWithGrammarString):
* UIProcess/qt/TextCheckerQt.cpp:
(WebKit::TextChecker::updateSpellingUIWithGrammarString):
* UIProcess/win/TextCheckerWin.cpp:
(WebKit::TextChecker::updateSpellingUIWithGrammarString):
Add stubs.
* UIProcess/mac/TextCheckerMac.mm:
(WebKit::TextChecker::updateSpellingUIWithGrammarString):
Update the spelling panel.
* WebProcess/WebCoreSupport/WebEditorClient.cpp:
(WebKit::WebEditorClient::updateSpellingUIWithGrammarString):
Send an UpdateSpellingUIWithGrammarString message to the UI process.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79348
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mrobinson@webkit.org [Tue, 22 Feb 2011 20:42:18 +0000 (20:42 +0000)]
2011-02-22 Martin Robinson <mrobinson@igalia.com>
Reviewed by Xan Lopez.
[GTK] position:fixed elements flicker while scrolling after r74196
https://bugs.webkit.org/show_bug.cgi?id=54981
* WebCoreSupport/ChromeClientGtk.cpp:
(WebKit::ChromeClient::ChromeClient): Initialize the new m_pendingScrollInvalidations
boolean to false.
(WebKit::ChromeClient::invalidateWindow): If this is an immediate invalidation and we
having pending scrolling invalidations, instruct GDK to process updates now.
(WebKit::ChromeClient::scroll): Remove the call to gdk_window_process_updates. Set
m_pendingScrollInvalidations to true to force it to happen in invalidateWindow instead.
* WebCoreSupport/ChromeClientGtk.h: Add new boolean member.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79347
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jer.noble@apple.com [Tue, 22 Feb 2011 20:40:28 +0000 (20:40 +0000)]
Unreviewed, adding new pixel tests to the skipped list of various platforms.
media/audio-repaint.html flakey.
https://bugs.webkit.org/show_bug.cgi?id=54970
* platform/chromium/test_expectations.txt:
* platform/gtk/Skipped:
* platform/qt/Skipped:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79346
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
pfeldman@chromium.org [Tue, 22 Feb 2011 20:18:12 +0000 (20:18 +0000)]
2011-02-22 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: refactor InjectedScript : InspectorDOMAgent interaction.
https://bugs.webkit.org/show_bug.cgi?id=54954
* bindings/js/JSInjectedScriptHostCustom.cpp:
(WebCore::InjectedScriptHost::toNode):
(WebCore::JSInjectedScriptHost::inspect):
* bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
(WebCore::InjectedScriptHost::toNode):
(WebCore::V8InjectedScriptHost::inspectCallback):
* inspector/CodeGeneratorInspector.pm:
* inspector/InjectedScript.cpp:
(WebCore::InjectedScript::nodeForObjectId):
* inspector/InjectedScript.h:
* inspector/InjectedScriptHost.cpp:
(WebCore::InjectedScriptHost::inspect):
* inspector/InjectedScriptHost.h:
* inspector/InjectedScriptHost.idl:
* inspector/InjectedScriptSource.js:
(.):
* inspector/Inspector.idl:
* inspector/InspectorAgent.cpp:
(WebCore::InspectorAgent::focusNode):
* inspector/InspectorAgent.h:
* inspector/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::inspect):
(WebCore::InspectorDOMAgent::pushNodeToFrontend):
* inspector/InspectorDOMAgent.h:
* inspector/front-end/AuditRules.js:
(WebInspector.AuditRules.evaluateInTargetWindow):
(WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun):
(WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun.getStyles):
(WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun.receivedImages):
(WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun.pushImageNodes):
* inspector/front-end/ConsoleView.js:
(WebInspector.ConsoleView.prototype.completions):
* inspector/front-end/DOMAgent.js:
(WebInspector.DOMDispatcher.prototype.childNodeRemoved):
(WebInspector.DOMDispatcher.prototype.inspectElementRequested):
* inspector/front-end/RemoteObject.js:
(WebInspector.RemoteObject.prototype.pushNodeToFrontend):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79345
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
beidson@apple.com [Tue, 22 Feb 2011 19:38:05 +0000 (19:38 +0000)]
Part of <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.
../WebCore:
Stub these out for now:
* loader/appcache/ApplicationCacheStorage.cpp:
(WebCore::ApplicationCacheStorage::getOriginsWithCache):
(WebCore::ApplicationCacheStorage::deleteEntriesForOrigin):
(WebCore::ApplicationCacheStorage::deleteAllEntries): Moved implementation here from WebKit/Mac
* loader/appcache/ApplicationCacheStorage.h:
Export the new symbols:
* WebCore.exp.in:
../WebKit/mac:
* WebCoreSupport/WebApplicationCache.mm:
(+[WebApplicationCache deleteAllApplicationCaches]): Move this implementation into WebCore itself.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79344
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
andersca@apple.com [Tue, 22 Feb 2011 19:36:48 +0000 (19:36 +0000)]
Fix debug build.
* WebCore.exp.in:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79343
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
atwilson@chromium.org [Tue, 22 Feb 2011 19:28:05 +0000 (19:28 +0000)]
2011-02-22 Andrew Wilson <atwilson@chromium.org>
Unreviewed, rolling out r79337.
http://trac.webkit.org/changeset/79337
GPU-only test should have GPU baselines
* platform/chromium-linux/compositing/reflections/deeply-nested-reflections-expected.checksum: Removed.
* platform/chromium-linux/compositing/reflections/deeply-nested-reflections-expected.png: Removed.
* platform/chromium-win/compositing/reflections/deeply-nested-reflections-expected.checksum: Removed.
* platform/chromium-win/compositing/reflections/deeply-nested-reflections-expected.png: Removed.
* platform/chromium-win/compositing/reflections/deeply-nested-reflections-expected.txt: Removed.
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79342
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
enne@google.com [Tue, 22 Feb 2011 18:59:58 +0000 (18:59 +0000)]
2011-02-22 Adrienne Walker <enne@google.com>
Unreviewed rebaseline of some GPU tests.
This cleans up the rest of the BUGWK54409 expectations after r79084.
* platform/chromium-gpu-linux/compositing/direct-image-compositing-expected.checksum:
* platform/chromium-gpu-linux/compositing/direct-image-compositing-expected.png:
* platform/chromium-gpu-linux/compositing/geometry/fixed-position-expected.checksum:
* platform/chromium-gpu-linux/compositing/geometry/fixed-position-expected.png:
* platform/chromium-gpu-linux/compositing/geometry/horizontal-scroll-composited-expected.checksum:
* platform/chromium-gpu-linux/compositing/geometry/horizontal-scroll-composited-expected.png:
* platform/chromium-gpu-linux/compositing/geometry/vertical-scroll-composited-expected.checksum:
* platform/chromium-gpu-linux/compositing/geometry/vertical-scroll-composited-expected.png:
* platform/chromium-gpu-win/compositing/geometry/fixed-position-expected.checksum:
* platform/chromium-gpu-win/compositing/geometry/fixed-position-expected.png:
* platform/chromium-gpu-win/compositing/geometry/horizontal-scroll-composited-expected.checksum:
* platform/chromium-gpu-win/compositing/geometry/horizontal-scroll-composited-expected.png:
* platform/chromium-gpu-win/compositing/geometry/vertical-scroll-composited-expected.checksum:
* platform/chromium-gpu-win/compositing/geometry/vertical-scroll-composited-expected.png:
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79340
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
atwilson@chromium.org [Tue, 22 Feb 2011 18:56:10 +0000 (18:56 +0000)]
Unreviewed. Prospectively removing test_expectations entries for some tests that seem to be passing now on the canaries.
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79339
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
aroben@apple.com [Tue, 22 Feb 2011 18:53:52 +0000 (18:53 +0000)]
Skip a flaky Inspector test on Windows
<http://webkit.org/b/54974> tracks the failure.
* platform/win/Skipped: Added inspector/extensions/extensions-events.html.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79338
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
atwilson@chromium.org [Tue, 22 Feb 2011 18:51:51 +0000 (18:51 +0000)]
Unreviewed expectations update for deeply-nested-reflections.html
* platform/chromium-linux/compositing/reflections/deeply-nested-reflections-expected.checksum: Added.
* platform/chromium-linux/compositing/reflections/deeply-nested-reflections-expected.png: Added.
* platform/chromium-win/compositing/reflections/deeply-nested-reflections-expected.checksum: Added.
* platform/chromium-win/compositing/reflections/deeply-nested-reflections-expected.png: Added.
* platform/chromium-win/compositing/reflections/deeply-nested-reflections-expected.txt: Added.
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79337
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mihaip@chromium.org [Tue, 22 Feb 2011 18:47:08 +0000 (18:47 +0000)]
2011-02-18 Mihai Parparita <mihaip@chromium.org>
Reviewed by Ojan Vafai.
Default to 500 for --exit-after-n-failures
https://bugs.webkit.org/show_bug.cgi?id=54773
Make 500 the default value for --exit-after-n-failures (ORWT bots
already default to this as of r75726). Similarly, change the default for
--exit-after-n-crashes-or-timeouts to 20.
* Scripts/webkitpy/layout_tests/run_webkit_tests.py:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79336
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
kbalazs@webkit.org [Tue, 22 Feb 2011 18:45:56 +0000 (18:45 +0000)]
notImplemented() should behave identical in WebCore and WebKit2
https://bugs.webkit.org/show_bug.cgi?id=54449
Reviewed by Anders Carlsson.
Source/WebCore:
No functional change so no new tests.
* WebCore.xcodeproj/project.pbxproj: Add NotImplemented.h as private header
to be able to use it in WebKit2.
Source/WebKit2:
Use NotImplemented.h from WebCore. Initialize logging channels.
Remove the WebKit2 concept of notImplemented().
* Platform/gtk/SharedMemoryGtk.cpp:
* Platform/gtk/WorkQueueGtk.cpp:
* Platform/qt/WorkQueueQt.cpp:
* Platform/win/WorkQueueWin.cpp:
* Shared/NotImplemented.h: Removed.
* Shared/Plugins/NPIdentifierData.cpp:
* Shared/Plugins/NPRemoteObjectMap.cpp:
* Shared/Plugins/NPVariantData.cpp:
* Shared/cairo/ShareableBitmapCairo.cpp:
* Shared/gtk/ShareableBitmapGtk.cpp:
* Shared/gtk/WebCoreArgumentCodersGtk.cpp:
* Shared/qt/WebCoreArgumentCodersQt.cpp:
* Shared/win/LayerTreeContextWin.cpp:
* UIProcess/API/mac/PageClientImpl.mm:
* UIProcess/API/qt/qwkpage.cpp:
* UIProcess/Launcher/gtk/ThreadLauncherGtk.cpp:
* UIProcess/Launcher/qt/ProcessLauncherQt.cpp:
* UIProcess/Plugins/gtk/PluginInfoStoreGtk.cpp:
* UIProcess/WebContext.cpp:
(WebKit::WebContext::WebContext):
* UIProcess/WebInspectorProxy.cpp:
* UIProcess/gtk/TextCheckerGtk.cpp:
* UIProcess/gtk/WebInspectorGtk.cpp:
* UIProcess/gtk/WebPreferencesGtk.cpp:
* UIProcess/qt/TextCheckerQt.cpp:
* UIProcess/qt/WebInspectorProxyQt.cpp:
* UIProcess/win/TextCheckerWin.cpp:
* UIProcess/win/WebContextMenuProxyWin.cpp:
* WebKit2.pro:
* WebKit2.xcodeproj/project.pbxproj:
* WebProcess/Downloads/cf/DownloadCFNet.cpp:
* WebProcess/Downloads/curl/DownloadCurl.cpp:
* WebProcess/Downloads/mac/DownloadMac.mm:
* WebProcess/Downloads/qt/DownloadQt.cpp:
* WebProcess/InjectedBundle/gtk/InjectedBundleGtk.cpp:
* WebProcess/Plugins/Netscape/JSNPMethod.cpp:
* WebProcess/Plugins/Netscape/NPJSObject.cpp:
* WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp:
* WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:
* WebProcess/Plugins/Netscape/gtk/NetscapePluginGtk.cpp:
* WebProcess/Plugins/Netscape/qt/NetscapePluginQt.cpp:
* WebProcess/Plugins/Netscape/win/NetscapePluginWin.cpp:
* WebProcess/WebCoreSupport/WebChromeClient.cpp:
* WebProcess/WebCoreSupport/WebContextMenuClient.cpp:
* WebProcess/WebCoreSupport/WebDragClient.cpp:
* WebProcess/WebCoreSupport/WebEditorClient.cpp:
* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
* WebProcess/WebCoreSupport/WebInspectorClient.cpp:
* WebProcess/WebCoreSupport/WebInspectorFrontendClient.cpp:
* WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
* WebProcess/WebCoreSupport/gtk/WebContextMenuClientGtk.cpp:
* WebProcess/WebCoreSupport/gtk/WebPopupMenuGtk.cpp:
* WebProcess/WebCoreSupport/mac/WebContextMenuClientMac.mm:
* WebProcess/WebCoreSupport/mac/WebEditorClientMac.mm:
* WebProcess/WebCoreSupport/qt/WebContextMenuClientQt.cpp:
* WebProcess/WebPage/gtk/WebInspectorGtk.cpp:
* WebProcess/WebPage/qt/WebInspectorQt.cpp:
* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::WebProcess):
* WebProcess/gtk/WebProcessGtk.cpp:
* config.h:
* win/WebKit2.vcproj:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79335
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
abecsi@webkit.org [Tue, 22 Feb 2011 18:41:18 +0000 (18:41 +0000)]
[Qt] Redesign the build system
https://bugs.webkit.org/show_bug.cgi?id=51339
Reviewed by Laszlo Gombos.
Rubber-stamped by Csaba Osztrogonác.
The patch landed in r79320 didn't contain the cleanup
which was already addressed in the last attachment.
Source/WebCore:
No new tests needed.
* WebCore.pri: Add common LIB and CONFIG options.
* WebCore.pro: Add accidentally moved sections.
Source/WebKit/qt:
* QtWebKit.pro: Move common LIB and CONFIG options to WebCore.pri.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79334
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
philn@webkit.org [Tue, 22 Feb 2011 18:26:33 +0000 (18:26 +0000)]
2011-02-22 Philippe Normand <pnormand@igalia.com>
Reviewed by Martin Robinson.
[GTK] 1.3.12 release preparation
https://bugs.webkit.org/show_bug.cgi?id=54967
Version bump for 1.3.12 and updated NEWS file with release notes.
Also bumped libsoup requirement to 2.33.6 as agreed with Sergio
and Martin.
* Source/WebKit/gtk/NEWS:
* configure.ac:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79333
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
philn@webkit.org [Tue, 22 Feb 2011 18:24:54 +0000 (18:24 +0000)]
2011-02-22 Philippe Normand <pnormand@igalia.com>
Unreviewed, rolling out r79321.
http://trac.webkit.org/changeset/79321
https://bugs.webkit.org/show_bug.cgi?id=53146
Regresses fast/forms/listbox-typeahead-cyrillic.html and fast
/spatial-navigation/snav-single-select.html on GTK
* platform/gtk/accessibility/combo-box-collapsed-selection-changed-expected.txt: Removed.
* platform/gtk/accessibility/combo-box-collapsed-selection-changed.html: Removed.
2011-02-22 Philippe Normand <pnormand@igalia.com>
Unreviewed, rolling out r79321.
http://trac.webkit.org/changeset/79321
https://bugs.webkit.org/show_bug.cgi?id=53146
Regresses fast/forms/listbox-typeahead-cyrillic.html and fast
/spatial-navigation/snav-single-select.html on GTK
* accessibility/gtk/AXObjectCacheAtk.cpp:
(WebCore::notifyChildrenSelectionChange):
(WebCore::AXObjectCache::postPlatformNotification):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79332
268f45cc-cd09-0410-ab3c-
d52691b4dbfc