WebKit-https.git
10 years agoMake update-webkit-localizable-strings put WebKit/win strings in WebCore
timothy@apple.com [Mon, 18 Apr 2011 17:29:50 +0000 (17:29 +0000)]
Make update-webkit-localizable-strings put WebKit/win strings in WebCore
now that all localized strings in WebKit/win use WEB_UI_STRING.

https://webkit.org/b/58747

Reviewed by Dan Bernstein.

Source/WebCore:

* English.lproj/Localizable.strings: Updated with strings from WebKit/win.

Source/WebKit:

* English.lproj/Localizable.strings: Removed.

Tools:

* Scripts/update-webkit-localizable-strings: Remove the code that updated WebKit/win differently.

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

10 years ago2011-04-18 Hao Zheng <zhenghao@chromium.org>
commit-queue@webkit.org [Mon, 18 Apr 2011 17:18:11 +0000 (17:18 +0000)]
2011-04-18  Hao Zheng  <zhenghao@chromium.org>

        Reviewed by Eric Seidel.

        Rebaseline 3 tests under chromium-gpu-linux port.
        https://bugs.webkit.org/show_bug.cgi?id=58627

        * platform/chromium-gpu-linux/fast/media: Added.
        * platform/chromium-gpu-linux/fast/media/mq-transform-02-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/media/mq-transform-02-expected.png: Added.
        * platform/chromium-gpu-linux/fast/media/mq-transform-02-expected.txt: Added.
        * platform/chromium-gpu-linux/fast/media/mq-transform-03-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/media/mq-transform-03-expected.png: Added.
        * platform/chromium-gpu-linux/fast/media/mq-transform-03-expected.txt: Added.
        * platform/chromium-gpu-linux/fast/repaint: Added.
        * platform/chromium-gpu-linux/fast/repaint/canvas-putImageData-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/repaint/canvas-putImageData-expected.png: Added.
        * platform/chromium-gpu-linux/fast/repaint/canvas-putImageData-expected.txt: Added.

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

10 years ago2011-04-15 MORITA Hajime <morrita@google.com>
morrita@google.com [Mon, 18 Apr 2011 17:14:03 +0000 (17:14 +0000)]
2011-04-15  MORITA Hajime  <morrita@google.com>

        Reviewed by Adam Barth.

        REGRESSION: <progress> doesn't animate if it doesn't have value
        https://bugs.webkit.org/show_bug.cgi?id=58693

        The initial value of RenderProgress::m_position is accidentally same as
        the indeterminate value, that makes update code on updateFromElement() skipped.
        This change set unique invalid value for the initial value of m_position.

        No new tests. Testing animated bar is not possible with DRT.

        * html/HTMLProgressElement.cpp:
        (WebCore::HTMLProgressElement::position):
        * html/HTMLProgressElement.h:
        * rendering/RenderProgress.cpp:
        (WebCore::RenderProgress::RenderProgress):
        (WebCore::RenderProgress::isDeterminate):

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

10 years ago2011-04-18 Eunsol Park <eunsol47.park@samsung.com>
commit-queue@webkit.org [Mon, 18 Apr 2011 17:13:04 +0000 (17:13 +0000)]
2011-04-18  Eunsol Park  <eunsol47.park@samsung.com>

        Reviewed by Eric Seidel.

        [EFL] Scroll doesn't work on tiled backing store
        https://bugs.webkit.org/show_bug.cgi?id=55021

        Scroll doesn't work on tiled backing store, but it works on single.
        If ewk_frame_paint_full_set() set True, view size return content size and scroll can't be made.
        so, ewk_frame_paint_full_set() is removed from ewk_tiled_smart_add().

        * ewk/ewk_view_tiled.c:
        (_ewk_view_tiled_smart_add):

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

10 years ago2011-04-18 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Mon, 18 Apr 2011 17:08:45 +0000 (17:08 +0000)]
2011-04-18  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Roben.

        [WIN] Use WCHAR instead of TCHAR
        https://bugs.webkit.org/show_bug.cgi?id=58755

        We always use the UNICODE versions of windows functions, so
        the usage of TCHAR makes no sense and mixing them is bad style.

        * WinLauncher/PrintWebUIDelegate.cpp:
          Also fix various style issues (including indentation and removal of ugly C-casts).
        * WinLauncher/WinLauncher.cpp:

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

10 years ago2011-04-18 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Mon, 18 Apr 2011 16:55:14 +0000 (16:55 +0000)]
2011-04-18  Anders Carlsson  <andersca@apple.com>

        Reviewed by Adam Roben.

        Reproducible crash in Find on Page, on pages that use accelerated compositing
        https://bugs.webkit.org/show_bug.cgi?id=58793
        <rdar://problem/9295870>

        Move the call to PageOverlay::setNeedsDisplay() back to WebPage::installPageOverlay;
        it needs to be called after we've told the drawing area that a page overlay has been installed.

        * WebProcess/WebPage/PageOverlay.cpp:
        (WebKit::PageOverlay::setPage):
        * WebProcess/WebPage/WebPage.cpp:
        (WebKit::WebPage::installPageOverlay):

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

10 years ago2011-04-18 MORITA Hajime <morrita@google.com>
morrita@google.com [Mon, 18 Apr 2011 16:48:58 +0000 (16:48 +0000)]
2011-04-18  MORITA Hajime  <morrita@google.com>

        Reviewed by Eric Seidel.

        REGRESSION: [Chromium Win] details-add-summary-1.html start crashing after r84039
        https://bugs.webkit.org/show_bug.cgi?id=58791

        On refreshMainSummary(), findMainSummary() possibly releases oldSummary.
        We should guard it again RefPtr.

        * html/HTMLDetailsElement.cpp:
        (WebCore::HTMLDetailsElement::refreshMainSummary):

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

10 years agoCSSSelector double frees
antti@apple.com [Mon, 18 Apr 2011 16:37:50 +0000 (16:37 +0000)]
CSSSelector double frees
https://bugs.webkit.org/show_bug.cgi?id=56124
<rdar://problem/9119036>

Reviewed by Simon Fraser.

In all stacks this is occuring when the document is kept alive by the guard ref only
and the node holding it is deleted.

As a speculative fix, clear the document stylesheets when it turns into a guard ref zombie.
This has a pretty good chance of fixing the actual bug. At minimum it will move the
crash to an earlier, more easily traceble point.

No tests, crash stacks only, no idea how to reproduce.

* dom/Document.cpp:
(WebCore::Document::removedLastRef):

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

10 years ago2011-04-18 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Mon, 18 Apr 2011 16:23:57 +0000 (16:23 +0000)]
2011-04-18  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: Backspace in the Console is broken
        https://bugs.webkit.org/show_bug.cgi?id=58764

        * inspector/front-end/inspector.js:
        (WebInspector.documentKeyDown):

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

10 years ago2011-04-18 Hans Wennborg <hans@chromium.org>
hans@chromium.org [Mon, 18 Apr 2011 16:13:25 +0000 (16:13 +0000)]
2011-04-18  Hans Wennborg  <hans@chromium.org>

        Reviewed by Steve Block.

        LevelDB backend for IndexedDB
        https://bugs.webkit.org/show_bug.cgi?id=57372

        Add LevelDB wrappers to Android.mk.

        * Source/Android.mk:
2011-04-18  Hans Wennborg  <hans@chromium.org>

        Reviewed by Steve Block.

        LevelDB backend for IndexedDB
        https://bugs.webkit.org/show_bug.cgi?id=57372

        Only available behind a run-time flag. Covered by existing layout
        tests.

        * Android.mk:
        * CMakeLists.txt:
        * GNUmakefile.am:
        * GNUmakefile.list.am:
        * WebCore.gyp/WebCore.gyp:
        * WebCore.gypi:
        * WebCore.pri:
        * WebCore.pro:
        * WebCore.xcodeproj/project.pbxproj:
        * platform/leveldb/LevelDBComparator.h: Added.
        (WebCore::LevelDBComparator::~LevelDBComparator):
        * platform/leveldb/LevelDBDatabase.cpp: Added.
        (WebCore::makeSlice):
        (WebCore::makeLevelDBSlice):
        (WebCore::makeVector):
        (WebCore::LevelDBDatabase::LevelDBDatabase):
        (WebCore::LevelDBDatabase::~LevelDBDatabase):
        (WebCore::LevelDBDatabase::open):
        (WebCore::LevelDBDatabase::put):
        (WebCore::LevelDBDatabase::remove):
        (WebCore::LevelDBDatabase::get):
        (WebCore::LevelDBDatabase::newIterator):
        * platform/leveldb/LevelDBDatabase.h: Added.
        * platform/leveldb/LevelDBIterator.cpp: Added.
        (WebCore::LevelDBIterator::~LevelDBIterator):
        (WebCore::LevelDBIterator::LevelDBIterator):
        (WebCore::makeSlice):
        (WebCore::makeLevelDBSlice):
        (WebCore::LevelDBIterator::isValid):
        (WebCore::LevelDBIterator::seekToLast):
        (WebCore::LevelDBIterator::seek):
        (WebCore::LevelDBIterator::next):
        (WebCore::LevelDBIterator::prev):
        (WebCore::LevelDBIterator::key):
        (WebCore::LevelDBIterator::value):
        * platform/leveldb/LevelDBIterator.h: Added.
        * platform/leveldb/LevelDBSlice.h: Added.
        (WebCore::LevelDBSlice::LevelDBSlice):
        (WebCore::LevelDBSlice::~LevelDBSlice):
        (WebCore::LevelDBSlice::begin):
        (WebCore::LevelDBSlice::end):
        * storage/IDBLevelDBBackingStore.cpp:
        (WebCore::encodeByte):
        (WebCore::maxIDBKey):
        (WebCore::minIDBKey):
        (WebCore::encodeInt):
        (WebCore::decodeInt):
        (WebCore::encodeVarInt):
        (WebCore::decodeVarInt):
        (WebCore::encodeString):
        (WebCore::decodeString):
        (WebCore::encodeStringWithLength):
        (WebCore::decodeStringWithLength):
        (WebCore::encodeDouble):
        (WebCore::decodeDouble):
        (WebCore::encodeIDBKey):
        (WebCore::decodeIDBKey):
        (WebCore::extractEncodedIDBKey):
        (WebCore::compareEncodedIDBKeys):
        (WebCore::getInt):
        (WebCore::putInt):
        (WebCore::getString):
        (WebCore::putString):
        (WebCore::KeyPrefix::SchemaVersionKey::encode):
        (WebCore::KeyPrefix::MaxDatabaseIdKey::encode):
        (WebCore::KeyPrefix::DatabaseFreeListKey::DatabaseFreeListKey):
        (WebCore::KeyPrefix::DatabaseFreeListKey::decode):
        (WebCore::KeyPrefix::DatabaseFreeListKey::encode):
        (WebCore::KeyPrefix::DatabaseFreeListKey::databaseId):
        (WebCore::KeyPrefix::DatabaseFreeListKey::compare):
        (WebCore::KeyPrefix::DatabaseNameKey::decode):
        (WebCore::KeyPrefix::DatabaseNameKey::encode):
        (WebCore::KeyPrefix::DatabaseNameKey::origin):
        (WebCore::KeyPrefix::DatabaseNameKey::databaseName):
        (WebCore::KeyPrefix::DatabaseNameKey::compare):
        (WebCore::KeyPrefix::DatabaseMetaDataKey::encode):
        (WebCore::KeyPrefix::ObjectStoreMetaDataKey::ObjectStoreMetaDataKey):
        (WebCore::KeyPrefix::ObjectStoreMetaDataKey::decode):
        (WebCore::KeyPrefix::ObjectStoreMetaDataKey::encode):
        (WebCore::KeyPrefix::ObjectStoreMetaDataKey::objectStoreId):
        (WebCore::KeyPrefix::ObjectStoreMetaDataKey::metaDataType):
        (WebCore::KeyPrefix::ObjectStoreMetaDataKey::compare):
        (WebCore::KeyPrefix::IndexMetaDataKey::IndexMetaDataKey):
        (WebCore::KeyPrefix::IndexMetaDataKey::decode):
        (WebCore::KeyPrefix::IndexMetaDataKey::encode):
        (WebCore::KeyPrefix::IndexMetaDataKey::compare):
        (WebCore::KeyPrefix::IndexMetaDataKey::indexId):
        (WebCore::KeyPrefix::IndexMetaDataKey::metaDataType):
        (WebCore::KeyPrefix::ObjectStoreFreeListKey::ObjectStoreFreeListKey):
        (WebCore::KeyPrefix::ObjectStoreFreeListKey::decode):
        (WebCore::KeyPrefix::ObjectStoreFreeListKey::encode):
        (WebCore::KeyPrefix::ObjectStoreFreeListKey::objectStoreId):
        (WebCore::KeyPrefix::ObjectStoreFreeListKey::compare):
        (WebCore::KeyPrefix::IndexFreeListKey::IndexFreeListKey):
        (WebCore::KeyPrefix::IndexFreeListKey::decode):
        (WebCore::KeyPrefix::IndexFreeListKey::encode):
        (WebCore::KeyPrefix::IndexFreeListKey::compare):
        (WebCore::KeyPrefix::IndexFreeListKey::objectStoreId):
        (WebCore::KeyPrefix::IndexFreeListKey::indexId):
        (WebCore::KeyPrefix::ObjectStoreNamesKey::decode):
        (WebCore::KeyPrefix::ObjectStoreNamesKey::encode):
        (WebCore::KeyPrefix::ObjectStoreNamesKey::compare):
        (WebCore::KeyPrefix::ObjectStoreNamesKey::objectStoreName):
        (WebCore::KeyPrefix::IndexNamesKey::IndexNamesKey):
        (WebCore::KeyPrefix::IndexNamesKey::decode):
        (WebCore::KeyPrefix::IndexNamesKey::encode):
        (WebCore::KeyPrefix::IndexNamesKey::compare):
        (WebCore::KeyPrefix::IndexNamesKey::indexName):
        (WebCore::KeyPrefix::ObjectStoreDataKey::decode):
        (WebCore::KeyPrefix::ObjectStoreDataKey::encode):
        (WebCore::KeyPrefix::ObjectStoreDataKey::compare):
        (WebCore::KeyPrefix::ObjectStoreDataKey::userKey):
        (WebCore::KeyPrefix::ExistsEntryKey::decode):
        (WebCore::KeyPrefix::ExistsEntryKey::encode):
        (WebCore::KeyPrefix::ExistsEntryKey::compare):
        (WebCore::KeyPrefix::ExistsEntryKey::userKey):
        (WebCore::KeyPrefix::IndexDataKey::IndexDataKey):
        (WebCore::KeyPrefix::IndexDataKey::decode):
        (WebCore::KeyPrefix::IndexDataKey::encode):
        (WebCore::KeyPrefix::IndexDataKey::encodeMaxKey):
        (WebCore::KeyPrefix::IndexDataKey::compare):
        (WebCore::KeyPrefix::IndexDataKey::databaseId):
        (WebCore::KeyPrefix::IndexDataKey::objectStoreId):
        (WebCore::KeyPrefix::IndexDataKey::indexId):
        (WebCore::KeyPrefix::IndexDataKey::userKey):
        (WebCore::KeyPrefix::realCompare):
        (WebCore::KeyPrefix::compareKeys):
        (WebCore::KeyPrefix::compareIndexKeys):
        (WebCore::KeyPrefix::Comparator::compare):
        (WebCore::KeyPrefix::Comparator::name):
        (WebCore::setUpMetadata):
        (WebCore::IDBLevelDBBackingStore::IDBLevelDBBackingStore):
        (WebCore::IDBLevelDBBackingStore::open):
        (WebCore::IDBLevelDBBackingStore::extractIDBDatabaseMetaData):
        (WebCore::getNewDatabaseId):
        (WebCore::IDBLevelDBBackingStore::setIDBDatabaseMetaData):
        (WebCore::IDBLevelDBBackingStore::getObjectStores):
        (WebCore::getNewObjectStoreId):
        (WebCore::IDBLevelDBBackingStore::createObjectStore):
        (WebCore::deleteRange):
        (WebCore::IDBLevelDBBackingStore::deleteObjectStore):
        (WebCore::IDBLevelDBBackingStore::getObjectStoreRecord):
        (WebCore::getNewVersionNumber):
        (WebCore::IDBLevelDBBackingStore::putObjectStoreRecord):
        (WebCore::IDBLevelDBBackingStore::clearObjectStore):
        (WebCore::IDBLevelDBBackingStore::createInvalidRecordIdentifier):
        (WebCore::IDBLevelDBBackingStore::deleteObjectStoreRecord):
        (WebCore::IDBLevelDBBackingStore::nextAutoIncrementNumber):
        (WebCore::IDBLevelDBBackingStore::keyExistsInObjectStore):
        (WebCore::IDBLevelDBBackingStore::forEachObjectStoreRecord):
        (WebCore::IDBLevelDBBackingStore::getIndexes):
        (WebCore::getNewIndexId):
        (WebCore::IDBLevelDBBackingStore::createIndex):
        (WebCore::IDBLevelDBBackingStore::deleteIndex):
        (WebCore::IDBLevelDBBackingStore::putIndexDataForRecord):
        (WebCore::findGreatestKeyLessThan):
        (WebCore::IDBLevelDBBackingStore::deleteIndexDataForRecord):
        (WebCore::IDBLevelDBBackingStore::getObjectViaIndex):
        (WebCore::versionExists):
        (WebCore::IDBLevelDBBackingStore::getPrimaryKeyViaIndex):
        (WebCore::IDBLevelDBBackingStore::keyExistsInIndex):
        (WebCore::findLastIndexKeyEqualTo):
        (WebCore::IDBLevelDBBackingStore::openObjectStoreCursor):
        (WebCore::IDBLevelDBBackingStore::openIndexKeyCursor):
        (WebCore::IDBLevelDBBackingStore::openIndexCursor):
        (WebCore::IDBLevelDBBackingStore::createTransaction):
        * storage/IDBLevelDBBackingStore.h:

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

10 years ago2011-04-18 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Mon, 18 Apr 2011 15:59:28 +0000 (15:59 +0000)]
2011-04-18  Pavel Feldman  <pfeldman@google.com>

        Reviewed by Yury Semikhatsky.

        Web Inspector: add test for CSS-resource binding.
        https://bugs.webkit.org/show_bug.cgi?id=58786

        * inspector/styles/resources/styles-history.css: Added.
        (body):
        * inspector/styles/styles-history-expecte.txt: Added.
        * inspector/styles/styles-history.html: Added.
        * inspector/styles/styles-source-offsets.html:
2011-04-18  Pavel Feldman  <pfeldman@google.com>

        Reviewed by Yury Semikhatsky.

        Web Inspector: add test for CSS-resource binding.
        https://bugs.webkit.org/show_bug.cgi?id=58786

        Test: inspector/styles/styles-history.html

        * inspector/InspectorCSSAgent.cpp:
        (WebCore::InspectorCSSAgent::setPropertyText):
        (WebCore::InspectorCSSAgent::toggleProperty):
        * inspector/InspectorStyleSheet.cpp:
        (WebCore::InspectorStyle::setPropertyText):
        (WebCore::InspectorStyle::toggleProperty):
        (WebCore::InspectorStyleSheet::setPropertyText):
        (WebCore::InspectorStyleSheet::toggleProperty):
        * inspector/InspectorStyleSheet.h:
        * inspector/front-end/CSSStyleModel.js:
        (WebInspector.CSSStyleModel.prototype._fireStyleSheetChanged.if):
        (WebInspector.CSSStyleModel.prototype._fireStyleSheetChanged.mycallback):
        (WebInspector.CSSStyleModel.prototype._fireStyleSheetChanged):
        (WebInspector.CSSStyleModel.prototype.setStyleSheetText):
        (WebInspector.CSSStyleDeclaration.prototype.insertPropertyAt):
        (WebInspector.CSSProperty.prototype.setText.callback):
        (WebInspector.CSSProperty.prototype.setText):

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

10 years ago2011-04-18 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Mon, 18 Apr 2011 15:56:08 +0000 (15:56 +0000)]
2011-04-18  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r83996.
        http://trac.webkit.org/changeset/83996
        https://bugs.webkit.org/show_bug.cgi?id=58790

        layout test editing/selection/move-by-word-visually.html is
        failing (Requested by jknotten on #webkit).

        * editing/selection/move-by-word-visually-expected.txt:
        * editing/selection/move-by-word-visually.html:
2011-04-18  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r83996.
        http://trac.webkit.org/changeset/83996
        https://bugs.webkit.org/show_bug.cgi?id=58790

        layout test editing/selection/move-by-word-visually.html is
        failing (Requested by jknotten on #webkit).

        * editing/visible_units.cpp:
        (WebCore::nextWordBreakInBoxInsideBlockWithDifferentDirectionality):
        (WebCore::collectWordBreaksInBoxInsideBlockWithDifferntDirectionality):
        (WebCore::previousWordBreakInBox):
        (WebCore::leftWordBoundary):
        (WebCore::rightWordBoundary):
        (WebCore::leftWordPosition):
        (WebCore::rightWordPosition):

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

10 years ago2011-04-18 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Mon, 18 Apr 2011 15:32:46 +0000 (15:32 +0000)]
2011-04-18  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Roben.

        Include <WebCore/COMPtr.h> instead of "COMPtr.h"
        https://bugs.webkit.org/show_bug.cgi?id=58744

        * DOMCoreClasses.cpp:
        * DOMHTMLClasses.cpp:
        * WebActionPropertyBag.cpp:
        * WebBackForwardList.cpp:
        * WebCoreSupport/WebGeolocationClient.h:
        * WebDownload.h:
        * WebDropSource.h:
        * WebFrame.cpp:
        * WebHistoryItem.cpp:
        * WebIconDatabase.cpp:
        * WebNavigationData.h:
        * WebPreferences.cpp:
        * WebResource.h:
        * WebURLAuthenticationChallenge.cpp:
        * WebURLAuthenticationChallengeSender.cpp:
        * WebURLAuthenticationChallengeSenderCFNet.cpp:
        * WebURLAuthenticationChallengeSenderCurl.cpp:
        * WebView.h:

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

10 years ago2011-04-18 Adam Bergkvist <adam.bergkvist@ericsson.com>
commit-queue@webkit.org [Mon, 18 Apr 2011 15:13:37 +0000 (15:13 +0000)]
2011-04-18  Adam Bergkvist  <adam.bergkvist@ericsson.com>

        Reviewed by Daniel Bates.

        Modify make_names.pl to not include conditional includes unconditionally
        https://bugs.webkit.org/show_bug.cgi?id=53672

        Fixed conditional includes being unconditionally included.

        No new tests (no change in functionality)

        * dom/make_names.pl:
            - Modified printJSElementIncludes() to only print unconditional element includes.
            - Modified printElementIncludes() to only print unconditional element includes.
            - Added printConditionalElementIncludes() which takes care of printing conditional element includes.

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

10 years ago2011-04-18 Jeff Miller <jeffm@apple.com>
jeffm@apple.com [Mon, 18 Apr 2011 14:55:12 +0000 (14:55 +0000)]
2011-04-18  Jeff Miller  <jeffm@apple.com>

        Reviewed by Timothy Hatcher.

        WKFrameLoadState should be a uint32_t to match our API conventions
        https://bugs.webkit.org/show_bug.cgi?id=58785

        * UIProcess/API/C/WKFrame.h: typedef WKFrameLoadState as a uint32_t and define its values as an anonymous enum.

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

10 years ago2011-04-18 Sheriff Bot <webkit.review.bot@gmail.com>
inferno@chromium.org [Mon, 18 Apr 2011 14:44:46 +0000 (14:44 +0000)]
2011-04-18  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r83803.
        http://trac.webkit.org/changeset/83803
        https://bugs.webkit.org/show_bug.cgi?id=58782

        Caused focus rings to appear in youtube videos (Requested by
        inferno-sec on #webkit).

        * rendering/RenderWidget.cpp:
        (WebCore::RenderWidget::paint):
2011-04-18  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r83803.
        http://trac.webkit.org/changeset/83803
        https://bugs.webkit.org/show_bug.cgi?id=58782

        Caused focus rings to appear in youtube videos (Requested by
        inferno-sec on #webkit).

        * fast/frames/iframe-outline.html: Removed.
        * platform/mac/fast/frames/iframe-outline-expected.checksum: Removed.
        * platform/mac/fast/frames/iframe-outline-expected.png: Removed.
        * platform/mac/fast/frames/iframe-outline-expected.txt: Removed.

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

10 years agoSkip a flaky test on Windows
aroben@apple.com [Mon, 18 Apr 2011 14:25:02 +0000 (14:25 +0000)]
Skip a flaky test on Windows

<http://webkit.org/b/58367> tracks the failure.

* platform/win/Skipped: Added http/tests/inspector/resource-tree-model.html.

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

10 years ago2011-04-18 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Mon, 18 Apr 2011 14:19:57 +0000 (14:19 +0000)]
2011-04-18  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: Need a workaround for bug 58422
        https://bugs.webkit.org/show_bug.cgi?id=58780

        Instead of the A:before content, the link text is displayed as the A tag content.

        * inspector/front-end/StylesSidebarPane.js:
        (WebInspector.StylePropertiesSection.linkifyUncopyable):
        (WebInspector.StylePropertiesSection):
        * inspector/front-end/inspector.css:

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

10 years ago2011-04-18 John Knottenbelt <jknotten@chromium.org>
jknotten@chromium.org [Mon, 18 Apr 2011 14:15:43 +0000 (14:15 +0000)]
2011-04-18  John Knottenbelt  <jknotten@chromium.org>

        Unreviewed.

        [Chromium] Rebaseline for fast/html/details-add-summary-1
        https://bugs.webkit.org/show_bug.cgi?id=58783

Following changes to after changes to RenderDetailsMarker (r84039).

        * platform/chromium-linux/fast/html/details-add-summary-1-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-1-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-1-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-1-expected.txt:

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

10 years ago2011-04-18 Dominic Cooney <dominicc@chromium.org>
commit-queue@webkit.org [Mon, 18 Apr 2011 13:56:18 +0000 (13:56 +0000)]
2011-04-18  Dominic Cooney  <dominicc@chromium.org>

        Reviewed by Andreas Kling.

        Add layoutTestController.shadowRoot to Qt DRT.
        https://bugs.webkit.org/show_bug.cgi?id=58759

        * platform/qt/Skipped: unskip fast/dom/HTMLKeygenElement now
2011-04-18  Dominic Cooney  <dominicc@chromium.org>

        Reviewed by Andreas Kling.

        Add layoutTestController.shadowRoot to Qt DRT.
        https://bugs.webkit.org/show_bug.cgi?id=58759

        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
        (DumpRenderTreeSupportQt::shadowRoot): Added.
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
2011-04-18  Dominic Cooney  <dominicc@chromium.org>

        Reviewed by Andreas Kling.

        Add layoutTestController.shadowRoot to Qt DRT.
        https://bugs.webkit.org/show_bug.cgi?id=58759

        * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
        (LayoutTestController::shadowRoot): Added.
        * DumpRenderTree/qt/LayoutTestControllerQt.h:

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

10 years ago2011-04-18 Carlos Garcia Campos <cgarcia@igalia.com>
carlosgc@webkit.org [Mon, 18 Apr 2011 13:54:23 +0000 (13:54 +0000)]
2011-04-18  Carlos Garcia Campos  <cgarcia@igalia.com>

        Unreviewed. Fix WebKit2 GTK build after 84017.

        * GNUmakefile.am:
        * Shared/NativeWebMouseEvent.h:
        (WebKit::NativeWebMouseEvent::nativeEvent):
        * Shared/gtk/NativeWebMouseEventGtk.cpp: Copied from Source/WebKit2/Shared/NativeWebMouseEvent.h.
        (WebKit::NativeWebMouseEvent::NativeWebMouseEvent):
        * UIProcess/gtk/WebView.cpp:
        (WebKit::WebView::handleMouseEvent):

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

10 years ago2011-04-18 Carlos Garcia Campos <cgarcia@igalia.com>
carlosgc@webkit.org [Mon, 18 Apr 2011 13:49:02 +0000 (13:49 +0000)]
2011-04-18  Carlos Garcia Campos  <cgarcia@igalia.com>

        Unreviewed. Fix WebKit2 GTK build after 82465.

        * platform/gtk/LocalizedStringsGtk.cpp:
        (WebCore::localizedString):

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

10 years ago2011-04-18 Andrey Adaikin <aandrey@google.com>
commit-queue@webkit.org [Mon, 18 Apr 2011 13:36:07 +0000 (13:36 +0000)]
2011-04-18  Andrey Adaikin  <aandrey@google.com>

        Reviewed by Yury Semikhatsky.

        Web Inspector: TAB should not move focus from the text editor while live editing
        https://bugs.webkit.org/show_bug.cgi?id=58537

        * inspector/front-end/TextViewer.js:
        (WebInspector.TextViewer.prototype._registerShortcuts):
        (WebInspector.TextViewer.prototype._cancelEditing):
        (WebInspector.TextEditorMainPanel.prototype.handleUndoRedo):
        (WebInspector.TextEditorMainPanel.prototype.handleTabKeyPress):
        (WebInspector.TextEditorMainPanel.prototype._setCaretLocation):
        (WebInspector.TextEditorMainPanel.prototype._applyDomUpdates):
        (WebInspector.TextEditorMainPanel.prototype._setText):

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

10 years ago2011-04-18 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Mon, 18 Apr 2011 13:32:58 +0000 (13:32 +0000)]
2011-04-18  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: Incorrect content area dimensions in Metrics pane for box-sizing: border-box
        https://bugs.webkit.org/show_bug.cgi?id=58551

        * inspector/styles/metrics-box-sizing-expected.txt: Added.
        * inspector/styles/metrics-box-sizing.html: Added.
2011-04-18  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: Incorrect content area dimensions in Metrics pane for box-sizing: border-box
        https://bugs.webkit.org/show_bug.cgi?id=58551

        Test: inspector/styles/metrics-box-sizing.html

        * inspector/front-end/MetricsSidebarPane.js:
        (WebInspector.MetricsSidebarPane.prototype._getPropertyValueAsPx):
        (WebInspector.MetricsSidebarPane.prototype._getBox):
        (WebInspector.MetricsSidebarPane.prototype._update.getContentAreaWidthPx):
        (WebInspector.MetricsSidebarPane.prototype._update.getContentAreaHeightPx):
        (WebInspector.MetricsSidebarPane.prototype._update):
        (WebInspector.MetricsSidebarPane.prototype.startEditing):
        (WebInspector.MetricsSidebarPane.prototype.editingCommitted.setEnabledValueCallback):
        (WebInspector.MetricsSidebarPane.prototype.editingCommitted):

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

10 years ago2011-04-18 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Mon, 18 Apr 2011 12:25:43 +0000 (12:25 +0000)]
2011-04-18  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: Database agent stops to propagate it's events after navigation.
        https://bugs.webkit.org/show_bug.cgi?id=58776

        * inspector/InspectorAgent.cpp:
        (WebCore::InspectorAgent::InspectorAgent):
        (WebCore::InspectorAgent::restoreInspectorStateFromCookie):
        * inspector/InspectorDatabaseAgent.cpp:
        (WebCore::InspectorDatabaseAgent::InspectorDatabaseAgent):
        (WebCore::InspectorDatabaseAgent::clearFrontend):
        (WebCore::InspectorDatabaseAgent::enable):
        (WebCore::InspectorDatabaseAgent::disable):
        (WebCore::InspectorDatabaseAgent::restore):
        * inspector/InspectorDatabaseAgent.h:
        (WebCore::InspectorDatabaseAgent::create):

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

10 years ago011-04-18 Andrey Kosyakov <caseq@chromium.org>
caseq@chromium.org [Mon, 18 Apr 2011 12:15:28 +0000 (12:15 +0000)]
011-04-18  Andrey Kosyakov  <caseq@chromium.org>

        Unreviewed. Added chromium baselines for new tests.

        * platform/chromium-linux/fast/text/zero-font-size-expected.png: Added.
        * platform/chromium-mac-leopard/fast/text/zero-font-size-expected.png: Added.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFEDiffuseLightingElement-inherit-lighting-color-css-prop-expected.png: Added.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFEFloodElement-inherit-flood-color-expected.png: Added.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFESpecularLightingElement-inherit-lighting-color-css-prop-expected.png: Added.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFESpecularLightingElement-lighting-color-css-prop-expected.png: Added.
        * platform/chromium-mac/fast/canvas/image-object-in-canvas-expected.png: Added.
        * platform/chromium-mac/fast/forms/select-background-none-expected.checksum: Removed.
        * platform/chromium-mac/fast/forms/select-background-none-expected.png: Removed.
        * platform/chromium-win/fast/forms/select-background-none-expected.png: Added.
        * platform/chromium-win/fast/forms/select-background-none-expected.txt: Added.
        * platform/chromium-win/fast/frames/iframe-outline-expected.png: Added.
        * platform/chromium-win/fast/text/zero-font-size-expected.png: Added.
        * platform/chromium-win/fast/text/zero-font-size-expected.txt: Added.
        * platform/chromium/test_expectations.txt:

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

10 years ago2011-04-18 Andrey Kosyakov <caseq@chromium.org>
caseq@chromium.org [Mon, 18 Apr 2011 11:54:33 +0000 (11:54 +0000)]
2011-04-18  Andrey Kosyakov  <caseq@chromium.org>

        Unreviewed. Added suppressions for shadow texts broken by r83936.

        * platform/chromium/test_expectations.txt:

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

10 years ago2011-04-18 John Knottenbelt <jknotten@chromium.org>
jknotten@chromium.org [Mon, 18 Apr 2011 11:51:45 +0000 (11:51 +0000)]
2011-04-18  John Knottenbelt  <jknotten@chromium.org>

        Unreviewed.

        [Chromium] Update test expectations for canvas/philip/tests/2d.gradient.interpolate.outside.html
        https://bugs.webkit.org/show_bug.cgi?id=58777

Regression caused by Skia roll: Chromium r81836.

        * platform/chromium/test_expectations.txt:

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

10 years ago2011-04-18 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Mon, 18 Apr 2011 11:29:15 +0000 (11:29 +0000)]
2011-04-18  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Pavel Feldman.

        REGRESSION (r81479): generate-inspector-idl fails on native win32
        https://bugs.webkit.org/show_bug.cgi?id=58315

        Disable git autocrlf for Inspector.json.

        * .gitattributes:

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

10 years ago2011-04-18 John Knottenbelt <jknotten@chromium.org>
jknotten@chromium.org [Mon, 18 Apr 2011 11:16:08 +0000 (11:16 +0000)]
2011-04-18  John Knottenbelt  <jknotten@chromium.org>

        Unreviewed.

        [Chromium] Rebaseline after changes to RenderDetailsMarker (Linux, Mac) (r84039)
        https://bugs.webkit.org/show_bug.cgi?id=58775

        * platform/chromium-linux/fast/html/details-add-summary-1-and-click-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-10-and-click-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-10-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-2-and-click-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-2-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-3-and-click-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-3-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-4-and-click-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-4-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-5-and-click-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-5-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-6-and-click-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-6-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-7-and-click-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-7-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-8-and-click-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-8-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-9-and-click-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-9-expected.png:
        * platform/chromium-linux/fast/html/details-no-summary1-expected.png:
        * platform/chromium-linux/fast/html/details-no-summary2-expected.png:
        * platform/chromium-linux/fast/html/details-no-summary3-expected.png:
        * platform/chromium-linux/fast/html/details-no-summary4-expected.png:
        * platform/chromium-linux/fast/html/details-open-javascript-expected.png:
        * platform/chromium-linux/fast/html/details-open1-expected.png:
        * platform/chromium-linux/fast/html/details-open2-expected.png:
        * platform/chromium-linux/fast/html/details-open3-expected.png:
        * platform/chromium-linux/fast/html/details-open4-expected.png:
        * platform/chromium-linux/fast/html/details-open5-expected.png:
        * platform/chromium-linux/fast/html/details-open6-expected.png:
        * platform/chromium-linux/fast/html/details-position-expected.png:
        * platform/chromium-linux/fast/html/details-remove-summary-1-and-click-expected.png:
        * platform/chromium-linux/fast/html/details-remove-summary-1-expected.png:
        * platform/chromium-linux/fast/html/details-remove-summary-2-and-click-expected.png:
        * platform/chromium-linux/fast/html/details-remove-summary-2-expected.png:
        * platform/chromium-linux/fast/html/details-remove-summary-3-and-click-expected.png:
        * platform/chromium-linux/fast/html/details-remove-summary-3-expected.png:
        * platform/chromium-linux/fast/html/details-remove-summary-4-and-click-expected.png:
        * platform/chromium-linux/fast/html/details-remove-summary-4-expected.png:
        * platform/chromium-linux/fast/html/details-remove-summary-5-and-click-expected.png:
        * platform/chromium-linux/fast/html/details-remove-summary-5-expected.png:
        * platform/chromium-linux/fast/html/details-remove-summary-6-and-click-expected.png:
        * platform/chromium-linux/fast/html/details-remove-summary-6-expected.png:
        * platform/chromium-linux/fast/html/details-writing-mode-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-1-and-click-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-10-and-click-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-10-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-2-and-click-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-2-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-3-and-click-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-3-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-4-and-click-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-4-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-5-and-click-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-5-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-6-and-click-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-6-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-7-and-click-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-7-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-8-and-click-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-8-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-9-and-click-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-9-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-no-summary1-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-no-summary2-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-no-summary3-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-no-summary4-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-open-javascript-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-open1-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-open2-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-open3-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-open4-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-open5-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-open6-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-position-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-remove-summary-1-and-click-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-remove-summary-1-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-remove-summary-2-and-click-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-remove-summary-2-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-remove-summary-3-and-click-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-remove-summary-3-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-remove-summary-4-and-click-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-remove-summary-4-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-remove-summary-5-and-click-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-remove-summary-5-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-remove-summary-6-and-click-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-remove-summary-6-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-writing-mode-expected.png:
        * platform/chromium-mac/fast/html/details-add-summary-10-and-click-expected.png: Copied from LayoutTests/platform/chromium-mac-leopard/fast/html/details-add-summary-5-expected.png.
        * platform/chromium-mac/fast/html/details-add-summary-10-expected.png: Added.

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

10 years ago2011-04-18 Sheriff Bot <webkit.review.bot@gmail.com>
loislo@chromium.org [Mon, 18 Apr 2011 09:47:50 +0000 (09:47 +0000)]
2011-04-18  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r84111.
        http://trac.webkit.org/changeset/84111
        https://bugs.webkit.org/show_bug.cgi?id=58771

        Chromium linux layout tests are broken. (Requested by loislo2
        on #webkit).

        * Scripts/webkitpy/layout_tests/port/chromium.py:
        * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
        * Scripts/webkitpy/layout_tests/port/mock_drt.py:

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

10 years ago2011-04-18 Sheriff Bot <webkit.review.bot@gmail.com>
loislo@chromium.org [Mon, 18 Apr 2011 09:45:10 +0000 (09:45 +0000)]
2011-04-18  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r84112.
        http://trac.webkit.org/changeset/84112
        https://bugs.webkit.org/show_bug.cgi?id=58770

        Chromium linux layout tests are broken. (Requested by loislo2
        on #webkit).

        * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:

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

10 years ago2011-04-18 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Mon, 18 Apr 2011 09:34:37 +0000 (09:34 +0000)]
2011-04-18  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r83968.
        http://trac.webkit.org/changeset/83968
        https://bugs.webkit.org/show_bug.cgi?id=58769

        Breaks Backspace in Web Inspector console (Requested by
        apavlov on #webkit).

        * inspector/front-end/inspector.js:
        (WebInspector.documentKeyDown):

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

10 years ago2011-04-15 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Mon, 18 Apr 2011 09:27:22 +0000 (09:27 +0000)]
2011-04-15  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: introduce WorkerInspectorController
        https://bugs.webkit.org/show_bug.cgi?id=58668

        WorkerInspectorController will be owned by WorkerContext and will hold all inspector
        agents and will also manage connection to the inspector frontend.

        * CMakeLists.txt:
        * GNUmakefile.list.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/js/ScriptState.cpp:
        (WebCore::scriptStateFromWorkerContext):
        * bindings/js/ScriptState.h:
        * bindings/v8/ScriptState.cpp:
        (WebCore::scriptStateFromWorkerContext):
        * bindings/v8/ScriptState.h:
        * inspector/InspectorState.cpp:
        (WebCore::InspectorState::updateCookie):
        * inspector/WorkerInspectorController.cpp: Added.
        (WebCore::WorkerInspectorController::WorkerInspectorController):
        (WebCore::WorkerInspectorController::~WorkerInspectorController):
        (WebCore::WorkerInspectorController::connectFrontend):
        (WebCore::WorkerInspectorController::disconnectFrontend):
        (WebCore::WorkerInspectorController::dispatchMessageFromFrontend):
        * inspector/WorkerInspectorController.h: Copied from Source/WebCore/bindings/js/ScriptState.h.
        * workers/WorkerContext.cpp:
        (WebCore::WorkerContext::WorkerContext):
        * workers/WorkerContext.h:
        (WebCore::WorkerContext::workerInspectorController):

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

10 years ago2011-04-18 John Knottenbelt <jknotten@chromium.org>
jknotten@chromium.org [Mon, 18 Apr 2011 09:15:56 +0000 (09:15 +0000)]
2011-04-18  John Knottenbelt  <jknotten@chromium.org>

        Unreviewed.

        [Chromium] Rebaseline after changes to RenderDetailsMarker (r84039)
        https://bugs.webkit.org/show_bug.cgi?id=58767

        * platform/chromium-win/fast/html/details-add-summary-1-and-click-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-1-and-click-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-10-and-click-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-10-and-click-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-10-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-10-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-2-and-click-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-2-and-click-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-2-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-2-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-3-and-click-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-3-and-click-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-3-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-3-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-4-and-click-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-4-and-click-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-4-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-4-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-5-and-click-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-5-and-click-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-5-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-5-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-6-and-click-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-6-and-click-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-6-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-6-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-7-and-click-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-7-and-click-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-7-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-7-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-8-and-click-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-8-and-click-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-8-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-8-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-9-and-click-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-9-and-click-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-9-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-9-expected.txt:
        * platform/chromium-win/fast/html/details-no-summary1-expected.png:
        * platform/chromium-win/fast/html/details-no-summary1-expected.txt:
        * platform/chromium-win/fast/html/details-no-summary2-expected.png:
        * platform/chromium-win/fast/html/details-no-summary2-expected.txt:
        * platform/chromium-win/fast/html/details-no-summary3-expected.png:
        * platform/chromium-win/fast/html/details-no-summary3-expected.txt:
        * platform/chromium-win/fast/html/details-no-summary4-expected.png:
        * platform/chromium-win/fast/html/details-no-summary4-expected.txt:
        * platform/chromium-win/fast/html/details-open-javascript-expected.png:
        * platform/chromium-win/fast/html/details-open-javascript-expected.txt:
        * platform/chromium-win/fast/html/details-open1-expected.png:
        * platform/chromium-win/fast/html/details-open1-expected.txt:
        * platform/chromium-win/fast/html/details-open2-expected.png:
        * platform/chromium-win/fast/html/details-open2-expected.txt:
        * platform/chromium-win/fast/html/details-open3-expected.png:
        * platform/chromium-win/fast/html/details-open3-expected.txt:
        * platform/chromium-win/fast/html/details-open4-expected.png:
        * platform/chromium-win/fast/html/details-open4-expected.txt:
        * platform/chromium-win/fast/html/details-open5-expected.png:
        * platform/chromium-win/fast/html/details-open5-expected.txt:
        * platform/chromium-win/fast/html/details-open6-expected.png:
        * platform/chromium-win/fast/html/details-open6-expected.txt:
        * platform/chromium-win/fast/html/details-position-expected.png:
        * platform/chromium-win/fast/html/details-position-expected.txt:
        * platform/chromium-win/fast/html/details-remove-summary-1-and-click-expected.png:
        * platform/chromium-win/fast/html/details-remove-summary-1-and-click-expected.txt:
        * platform/chromium-win/fast/html/details-remove-summary-1-expected.png:
        * platform/chromium-win/fast/html/details-remove-summary-1-expected.txt:
        * platform/chromium-win/fast/html/details-remove-summary-2-and-click-expected.png:
        * platform/chromium-win/fast/html/details-remove-summary-2-and-click-expected.txt:
        * platform/chromium-win/fast/html/details-remove-summary-2-expected.png:
        * platform/chromium-win/fast/html/details-remove-summary-2-expected.txt:
        * platform/chromium-win/fast/html/details-remove-summary-3-and-click-expected.png:
        * platform/chromium-win/fast/html/details-remove-summary-3-and-click-expected.txt:
        * platform/chromium-win/fast/html/details-remove-summary-3-expected.png:
        * platform/chromium-win/fast/html/details-remove-summary-3-expected.txt:
        * platform/chromium-win/fast/html/details-remove-summary-4-and-click-expected.png:
        * platform/chromium-win/fast/html/details-remove-summary-4-and-click-expected.txt:
        * platform/chromium-win/fast/html/details-remove-summary-4-expected.png:
        * platform/chromium-win/fast/html/details-remove-summary-4-expected.txt:
        * platform/chromium-win/fast/html/details-remove-summary-5-and-click-expected.png:
        * platform/chromium-win/fast/html/details-remove-summary-5-and-click-expected.txt:
        * platform/chromium-win/fast/html/details-remove-summary-5-expected.png:
        * platform/chromium-win/fast/html/details-remove-summary-5-expected.txt:
        * platform/chromium-win/fast/html/details-remove-summary-6-and-click-expected.png:
        * platform/chromium-win/fast/html/details-remove-summary-6-and-click-expected.txt:
        * platform/chromium-win/fast/html/details-remove-summary-6-expected.png:
        * platform/chromium-win/fast/html/details-remove-summary-6-expected.txt:
        * platform/chromium-win/fast/html/details-writing-mode-expected.png:
        * platform/chromium-win/fast/html/details-writing-mode-expected.txt:
        * platform/chromium/test_expectations.txt:

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

10 years ago2011-04-17 Thierry Reding <thierry.reding@avionic-design.de>
commit-queue@webkit.org [Mon, 18 Apr 2011 06:53:23 +0000 (06:53 +0000)]
2011-04-17  Thierry Reding  <thierry.reding@avionic-design.de>

        Reviewed by Adam Barth.

        Fix build with GCC 4.6.

        * dom/make_names.pl: Execute preprocessor without the -P option. The
        preprocessor in GCC 4.6 eats empty lines, effectively breaking the
        parsing performed by this script. Dropping the -P option when invoking
        the preprocessor keeps the empty lines but as a side-effect also adds
        additional linemarkers.

        From the cpp manpage:

          -P  Inhibit generation of linemarkers in the output from the
              preprocessor. This might be useful when running the preprocessor
              on something that is not C code, and will be sent to a program
              which might be confused by the linemarkers.

        The linemarkers are not problematic, however, because the script
        properly handles them by ignoring all lines starting with a #.

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

10 years agoUpdate Qt specific expected files after r84039.
ossy@webkit.org [Mon, 18 Apr 2011 05:36:40 +0000 (05:36 +0000)]
Update Qt specific expected files after r84039.

* platform/qt/fast/html/details-[...] : Updated.

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

10 years agoReviewed by Dan Bernstein.
cwzwarich@webkit.org [Mon, 18 Apr 2011 05:15:20 +0000 (05:15 +0000)]
Reviewed by Dan Bernstein.

JSC no longer builds with Clang due to -Woverloaded-virtual warning
https://bugs.webkit.org/show_bug.cgi?id=58760

Rename Structure's specificValue overload of put to putSpecificValue to avoid
Clang's warning for overloading a virtual function.

* runtime/Structure.cpp:
(JSC::Structure::addPropertyTransition):
(JSC::Structure::addPropertyWithoutTransition):
(JSC::Structure::putSpecificValue):
* runtime/Structure.h:

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

10 years ago<http://webkit.org/b/58463> Switch HTTP pipelining from user default to private setting
ddkilzer@apple.com [Mon, 18 Apr 2011 04:06:25 +0000 (04:06 +0000)]
<webkit.org/b/58463> Switch HTTP pipelining from user default to private setting
<rdar://problem/9268729>

Reviewed by Dan Bernstein.

This replaces support for the WebKitEnableHTTPPipelining user
default with methods on the WebCore::ResourceRequest class in
WebCore, the WebView class in WebKit1, and the WebContext class
in WebKit2.  It also removes support for the
WebKitForceHTTPPipeliningPriorityHigh user default which was not
needed.

Source/WebCore:

Run these commands if you set the user defaults previously,
replacing "BUNDLE.ID" with your application's bundle ID:

    defaults delete BUNDLE.ID WebKitEnableHTTPPipelining
    defaults delete BUNDLE.ID WebKitForceHTTPPipeliningPriorityHigh

* WebCore.exp.in: Export ResourceRequest::httpPipeliningEnabled()
and ResourceRequest::setHTTPPipeliningEnabled().

* platform/network/ResourceRequestBase.h:
(WebCore::isHTTPPipeliningEnabled): Removed declaration.
(WebCore::shouldForceHTTPPipeliningPriorityHigh): Removed declaration.

* platform/network/cf/ResourceRequest.h:
(WebCore::ResourceRequest::httpPipeliningEnabled): Added declaration.
(WebCore::ResourceRequest::setHTTPPipeliningEnabled): Added declaration.
(WebCore::ResourceRequest::s_httpPipeliningEnabled): Added declaration.

* platform/network/cf/ResourceRequestCFNet.cpp:
(WebCore::ResourceRequest::s_httpPipeliningEnabled): Added.
(WebCore::ResourceRequest::httpPipeliningEnabled): Added.
(WebCore::ResourceRequest::setHTTPPipeliningEnabled): Added.
(WebCore::initializeMaximumHTTPConnectionCountPerHost): Switched
to use ResourceRequest::httpPipeliningEnabled().
(WebCore::readBooleanPreference): Removed.
(WebCore::isHTTPPipeliningEnabled): Removed.
(WebCore::shouldForceHTTPPipeliningPriorityHigh): Removed.

* platform/network/mac/ResourceRequestMac.mm:
(WebCore::ResourceRequest::doUpdateResourceRequest): Switched to
use ResourceRequest::httpPipeliningEnabled().  Removed check for
shouldForceHTTPPipeliningPriorityHigh().
(WebCore::ResourceRequest::doUpdatePlatformRequest): Ditto.

Source/WebKit/mac:

* WebView/WebView.mm:
(+[WebView(WebPrivate) _HTTPPipeliningEnabled]): Added.
(+[WebView(WebPrivate) _setHTTPPipeliningEnabled:]): Added.
* WebView/WebViewPrivate.h:
(+[WebView(WebPrivate) _HTTPPipeliningEnabled]): Added declaration.
(+[WebView(WebPrivate) _setHTTPPipeliningEnabled:]): Added declaration.

Source/WebKit2:

* UIProcess/API/C/WKContext.cpp:
(_WKContextSetHTTPPipeliningEnabled): Added.
* UIProcess/API/C/WKContextPrivate.h:
(_WKContextSetHTTPPipeliningEnabled): Added declaration.
* UIProcess/WebContext.cpp:
(WebKit::WebContext::setHTTPPipeliningEnabled): Added.
(WebKit::WebContext::httpPipeliningEnabled): Added.
* UIProcess/WebContext.h:
(WebKit::WebContext::setHTTPPipeliningEnabled): Added declaration.
(WebKit::WebContext::httpPipeliningEnabled): Added declaration.

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

10 years agoREGRESSION (r84096): <br> moved to the right in fast/block/float/032.html
mitz@apple.com [Mon, 18 Apr 2011 02:10:04 +0000 (02:10 +0000)]
REGRESSION (r84096): <br> moved to the right in fast/block/float/032.html
https://bugs.webkit.org/show_bug.cgi?id=58736

Reviewed by Maciej Stachowiak.

Source/WebCore:

* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::appendFloatingObjectToLastLine): It is enough to extend the float so
that it touches the bottom of the previous line, since RenderBlock::markLinesDirtyInBlockRange()
always dirties the line after the last one in the range.

LayoutTests:

Revert to the correct results.

* platform/chromium-win/fast/block/float/032-expected.txt:
* platform/gtk/fast/block/float/032-expected.txt:
* platform/mac/fast/block/float/032-expected.txt:
* platform/qt/fast/block/float/032-expected.txt:

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

10 years ago2011-04-17 Sam Weinig <sam@webkit.org>
weinig@apple.com [Mon, 18 Apr 2011 00:10:15 +0000 (00:10 +0000)]
2011-04-17  Sam Weinig  <sam@webkit.org>

        Reviewed by Geoffrey Garen.

        Make more strings in WebKit2 localizable
        https://bugs.webkit.org/show_bug.cgi?id=58757

        * UIProcess/API/mac/PDFViewController.mm:
        (-[WKPDFView menuForEvent:]):
        * UIProcess/API/mac/PageClientImpl.mm:
        (WebKit::PageClientImpl::setViewportArguments):
        (WebKit::PageClientImpl::registerEditCommand):
        * UIProcess/WebEditCommandProxy.cpp:
        (WebKit::WebEditCommandProxy::nameForEditAction):
        * UIProcess/WebEditCommandProxy.h:
        Use WebCore's localization macro to make more strings localizable.

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

10 years ago2011-04-17 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sun, 17 Apr 2011 23:58:55 +0000 (23:58 +0000)]
2011-04-17  Patrick Gansterer  <paroga@webkit.org>

        Unreviewed. Add missing include to fix build without precompiled header.

        * rendering/RenderMediaControls.cpp:

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

10 years ago2011-04-17 Daniel Bates <dbates@webkit.org>
dbates@webkit.org [Sun, 17 Apr 2011 23:50:04 +0000 (23:50 +0000)]
2011-04-17  Daniel Bates  <dbates@webkit.org>

        Attempt to fix the Chromium build after changeset 84110 <http://trac.webkit.org/changeset/84110>
        (https://bugs.webkit.org/show_bug.cgi?id=57842).

        * loader/cache/CachedResourceLoader.cpp:
        (WebCore::CachedResourceLoader::canRequest): Rename CachedResource::LinkPrefetch to CachedResource::LinkResource.

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

10 years ago2011-04-17 Daniel Bates <dbates@webkit.org>
dbates@webkit.org [Sun, 17 Apr 2011 23:33:43 +0000 (23:33 +0000)]
2011-04-17  Daniel Bates  <dbates@webkit.org>

        Acknowledge Adam Barth for reviewing the patch committed in changeset
        84114 <http://trac.webkit.org/changeset/84114>. And fix my email address.

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

10 years ago2011-04-17 Daniel Bates <dbates@webkit.com>
dbates@webkit.org [Sun, 17 Apr 2011 23:27:46 +0000 (23:27 +0000)]
2011-04-17  Daniel Bates  <dbates@webkit.com>

        Reviewed by Eric Seidel.

        webkit-patch land hangs if svn prompts for credentials
        https://bugs.webkit.org/show_bug.cgi?id=31500

        Prompt for username and password when using git-svn and there aren't cached SVN credentials.

        * Scripts/webkitpy/common/checkout/scm.py:
          - Added mixin class SVNRepository and made both class SVN and Git inherit from it.
          - Moved SVN.has_authorization_for_realm() to class SVNRepository and removed default value
            for argument realm; modified call sites as needed.
          - Modified AuthenticationError constructor to take optional prompt_for_password argument.
          - Modified {SCM, SVN, Git}.commit_with_message() to take optional password argument.
          - Modified Git._commit_on_branch() to take optional username and password argument.
          - Modified Git.push_local_commits_to_server() to take optional username and password
            argument and to call has_authorization_for_realm().
        * Scripts/webkitpy/common/checkout/scm_unittest.py:
          - Modified SVNTest.test_commit_without_authorization() to take dummy realm argument.
          - Modified SVNTest.test_not_have_authorization_for_realm() to pass realm argument to
            SVN.has_authorization_for_realm().
        * Scripts/webkitpy/common/net/credentials.py:
          - Modified Credentials.read_credentials() to call User.prompt_password() instead
            of using getpass.getpass() directly.
        * Scripts/webkitpy/common/system/user.py:
          - Added User.prompt_password().
        * Scripts/webkitpy/tool/steps/commit.py:
          - Modified Commit.run() to prompt for a password if needed.

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

10 years ago2011-04-17 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sun, 17 Apr 2011 23:08:13 +0000 (23:08 +0000)]
2011-04-17  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Eric Seidel.

        Remove pthread dependency of GCController
        https://bugs.webkit.org/show_bug.cgi?id=54833

        * bindings/js/GCController.cpp:
        (WebCore::GCController::garbageCollectOnAlternateThreadForDebugging):

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

10 years ago2011-04-17 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Sun, 17 Apr 2011 21:49:37 +0000 (21:49 +0000)]
2011-04-17  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Ojan Vafai.

        new-run-webkit-tests: save stderr into the layout-test-results dir
        https://bugs.webkit.org/show_bug.cgi?id=58690

        * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:

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

10 years ago2011-04-17 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Sun, 17 Apr 2011 21:48:01 +0000 (21:48 +0000)]
2011-04-17  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Ojan Vafai.

        new-run-webkit-tests: read stderr from chromium DRT separately
        https://bugs.webkit.org/show_bug.cgi?id=58708

        * Scripts/webkitpy/layout_tests/port/chromium.py:
        * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
        * Scripts/webkitpy/layout_tests/port/mock_drt.py:

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

10 years ago2011-04-17 Gavin Peters <gavinp@chromium.org>
commit-queue@webkit.org [Sun, 17 Apr 2011 21:30:32 +0000 (21:30 +0000)]
2011-04-17  Gavin Peters  <gavinp@chromium.org>

        Reviewed by Adam Barth.

        Add support for link rel type "subresource"
        https://bugs.webkit.org/show_bug.cgi?id=57842

        Link rel=prefetch is great for cache warming for resources on
        subsequent pages, but it launches requests at too low a priority
        to use for subresources of the current page.

        During testing, I was dissapointed to see the results for the http
        test below don't give the subresource priority ordering.  This is
        another instance of https://bugs.webkit.org/show_bug.cgi?id=49238
        which I'll be working on next, and thus fix the test.

        * fast/dom/HTMLLinkElement/subresource-expected.txt: Added.
        * fast/dom/HTMLLinkElement/subresource.html: Added.
        * http/tests/misc/link-rel-prefetch-and-subresource-expected.txt: Added.
        * http/tests/misc/link-rel-prefetch-and-subresource.html: Added.
        * platform/gtk/Skipped:
        * platform/mac/Skipped:
        * platform/qt/Skipped:
        * platform/win/Skipped:
2011-04-17  Gavin Peters  <gavinp@chromium.org>

        Reviewed by Adam Barth.

        Add support for link rel type "subresource"
        https://bugs.webkit.org/show_bug.cgi?id=57842

        Link rel=prefetch is great for cache warming for resources on
        subsequent pages, but it launches requests at too low a priority
        to use for subresources of the current page.

        Particularly after https://bugs.webkit.org/show_bug.cgi?id=51940
        is implemented, a rel type that launches requests at an higher
        priority is going to be very useful.  This rel type is in the
        HTML5 spec at http://wiki.whatwg.org/wiki/RelExtensions .  An
        expected use case will be for servers to provide subresource hints
        in link headers, which will allow servers to help make the web
        faster.

        This feature continues my implementation of the Link header, which
        we've talked about in WebKit-dev in
        https://lists.webkit.org/pipermail/webkit-dev/2011-February/016034.html.

        Tests: fast/dom/HTMLLinkElement/subresource.html
               http/tests/misc/link-rel-prefetch-and-subresource.html

        * html/HTMLLinkElement.cpp:
        (WebCore::HTMLLinkElement::~HTMLLinkElement):
        (WebCore::HTMLLinkElement::tokenizeRelAttribute):
        (WebCore::HTMLLinkElement::process):
        (WebCore::HTMLLinkElement::onloadTimerFired):
        (WebCore::HTMLLinkElement::notifyFinished):
        * html/HTMLLinkElement.h:
        (WebCore::HTMLLinkElement::RelAttribute::RelAttribute):
        * loader/cache/CachedResource.cpp:
        (WebCore::defaultPriorityForResourceType):
        * loader/cache/CachedResource.h:
        (WebCore::CachedResource::isLinkResource):
        * loader/cache/CachedResourceLoader.cpp:
        (WebCore::createResource):
        (WebCore::CachedResourceLoader::requestLinkResource):
        (WebCore::CachedResourceLoader::canRequest):
        (WebCore::CachedResourceLoader::incrementRequestCount):
        (WebCore::CachedResourceLoader::decrementRequestCount):
        * loader/cache/CachedResourceLoader.h:
        * loader/cache/CachedResourceRequest.cpp:
        (WebCore::cachedResourceTypeToTargetType):
        (WebCore::CachedResourceRequest::load):

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

10 years ago2011-04-17 Joseph Pecoraro <joepeck@webkit.org>
joepeck@webkit.org [Sun, 17 Apr 2011 21:09:12 +0000 (21:09 +0000)]
2011-04-17  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by Dan Bernstein.

        Assign to self in WebInspectorWindowController constructors
        https://bugs.webkit.org/show_bug.cgi?id=58749

        * WebCoreSupport/WebInspectorClient.mm:
        (-[WebInspectorWindowController init]):
        (-[WebInspectorWindowController initWithInspectedWebView:]):

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

10 years ago2011-04-17 Joseph Pecoraro <joepeck@webkit.org>
joepeck@webkit.org [Sun, 17 Apr 2011 20:41:32 +0000 (20:41 +0000)]
2011-04-17  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by Timothy Hatcher.

        Move WebNodeHighlighter into its own file
        https://bugs.webkit.org/show_bug.cgi?id=58746

        * WebKit.xcodeproj/project.pbxproj: Add WebNodeHighlighter.{h,mm}.

2011-04-17  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by Timothy Hatcher.

        Move WebNodeHighlighter into its own file
        https://bugs.webkit.org/show_bug.cgi?id=58746

        Extract this class into its own file alongside the
        other WebNodeHighlight files. In doing so do some
        cleanup on WebInspectorClient removing some methods
        that were never called.

        * WebCoreSupport/WebInspectorClient.mm:
        (WebInspectorClient::WebInspectorClient): style fix.
        * WebInspector/WebNodeHighlighter.h: Added.
        * WebInspector/WebNodeHighlighter.mm: Added.
        (-[WebNodeHighlighter initWithInspectedWebView:]): call super init.
        (-[WebNodeHighlighter dealloc]):
        (-[WebNodeHighlighter highlightNode:]):
        (-[WebNodeHighlighter hideHighlight]):
        (-[WebNodeHighlighter didAttachWebNodeHighlight:]):
        (-[WebNodeHighlighter willDetachWebNodeHighlight:]):

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

10 years ago<rdar://problem/9296211> REGRESSION (r83514): Failing fast/repaint/trailing-floats...
mitz@apple.com [Sun, 17 Apr 2011 20:23:14 +0000 (20:23 +0000)]
<rdar://problem/9296211> REGRESSION (r83514): Failing fast/repaint/trailing-floats-root-line-box-overflow.html
https://bugs.webkit.org/show_bug.cgi?id=58745

Reviewed by Joseph Pecoraro.

This is really a regression from r82611, but it went unnoticed due to a mistake in r73385,
which was fixed in r83514.

* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::layoutInlineChildren): Actually assign the bottom visual overflow to the
variable so named, not the top layout overflow.

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

10 years ago2011-04-17 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sun, 17 Apr 2011 19:06:34 +0000 (19:06 +0000)]
2011-04-17  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Barth.

        Remove WTF_PLATFORM_SGL
        https://bugs.webkit.org/show_bug.cgi?id=58743

        WTF_PLATFORM_SGL and PLATFORM(SGL) are not used in the code anywhere.

        * wtf/Platform.h:

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

10 years ago2011-04-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Sun, 17 Apr 2011 19:03:13 +0000 (19:03 +0000)]
2011-04-17  Geoffrey Garen  <ggaren@apple.com>

        Strongly suggested, but not necessarily reviewed, by
        Sam Weinig and Maciej Stachowiak.

        Renamed DOMObject* => JSDOMWrapper*.

        * bindings/js/DOMWrapperWorld.cpp:
        (WebCore::isObservable):
        (WebCore::DOMObjectHandleOwner::finalize):
        * bindings/js/DOMWrapperWorld.h:
        * bindings/js/JSArrayBufferViewHelper.h:
        (WebCore::toJSArrayBufferView):
        * bindings/js/JSCSSRuleCustom.cpp:
        (WebCore::toJS):
        * bindings/js/JSCSSValueCustom.cpp:
        (WebCore::toJS):
        * bindings/js/JSDOMBinding.h:
        (WebCore::JSDOMWrapperWithGlobalPointer::globalObject):
        (WebCore::JSDOMWrapperWithGlobalPointer::JSDOMWrapperWithGlobalPointer):
        (WebCore::DOMConstructorObject::DOMConstructorObject):
        (WebCore::createDOMObjectWrapper):
        (WebCore::getDOMObjectWrapper):
        * bindings/js/JSDOMWrapper.cpp:
        (WebCore::JSDOMWrapper::~JSDOMWrapper):
        * bindings/js/JSDOMWrapper.h:
        (WebCore::JSDOMWrapper::JSDOMWrapper):
        * bindings/js/JSDocumentCustom.cpp:
        (WebCore::JSDocument::location):
        (WebCore::toJS):
        * bindings/js/JSEventCustom.cpp:
        (WebCore::toJS):
        * bindings/js/JSHTMLCollectionCustom.cpp:
        (WebCore::toJS):
        * bindings/js/JSImageDataCustom.cpp:
        (WebCore::toJS):
        * bindings/js/JSSVGPathSegCustom.cpp:
        (WebCore::toJS):
        * bindings/js/JSStyleSheetCustom.cpp:
        (WebCore::toJS):
        * bindings/js/ScriptWrappable.h:
        (WebCore::ScriptWrappable::wrapper):
        (WebCore::ScriptWrappable::setWrapper):
        * bindings/scripts/CodeGeneratorJS.pm:

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

10 years ago2011-04-17 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sun, 17 Apr 2011 18:59:57 +0000 (18:59 +0000)]
2011-04-17  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Barth.

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

        * wtf/Platform.h:
2011-04-17  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Barth.

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

        * config.h:
        * platform/graphics/ca/TransformationMatrixCA.cpp:
        * platform/graphics/cg/ImageBufferDataCG.h:
        * platform/graphics/transforms/TransformationMatrix.h:
        * platform/mac/WebCoreSystemInterface.h:
        * rendering/RenderLayerBacking.cpp:
        (WebCore::RenderLayerBacking::containsPaintedContent):
        * rendering/RenderLayerCompositor.cpp:
        (WebCore::RenderLayerCompositor::updateBacking):
2011-04-17  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Barth.

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

        * WebProcess/WebPage/LayerTreeHost.cpp:
        * WebProcess/WebPage/win/LayerTreeHostWin.cpp:
        (WebKit::LayerTreeHost::supportsAcceleratedCompositing):
2011-04-17  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Barth.

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

        * DumpRenderTree/mac/DumpRenderTree.mm:
        (resetDefaultsToConsistentValues):

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

10 years ago2011-04-17 Young Han Lee <joybro@company100.net>
commit-queue@webkit.org [Sun, 17 Apr 2011 14:29:11 +0000 (14:29 +0000)]
2011-04-17  Young Han Lee  <joybro@company100.net>

        Reviewed by Benjamin Poulain.

        [Texmap] [Qt] Improve readability by using gInVertexAttributeIndex instead of 0.
        https://bugs.webkit.org/show_bug.cgi?id=58739

        gInVertexAttributeIndex is a constant variable to point the location of
        "InVertex" attribute of the vertex shaders.

        * platform/graphics/opengl/TextureMapperGL.cpp:
        (WebCore::TextureMapperGL::drawTexture):
        (WebCore::TextureMapperGL::paintToTarget):

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

10 years ago2011-04-17 Kinuko Yasuda <kinuko@chromium.org>
kinuko@chromium.org [Sun, 17 Apr 2011 11:04:16 +0000 (11:04 +0000)]
2011-04-17  Kinuko Yasuda  <kinuko@chromium.org>

        Not reviewed: Fix copyright (I had submitted the file with wrong
        copyright line).

        * storage/StorageInfo.idl:

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

10 years ago2011-04-17 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sun, 17 Apr 2011 10:04:48 +0000 (10:04 +0000)]
2011-04-17  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Barth.

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

        * wtf/Platform.h:
2011-04-17  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Barth.

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

        * config.h:
        * html/HTMLCanvasElement.cpp:
        (WebCore::HTMLCanvasElement::toDataURL):
        * html/HTMLCanvasElement.h:
        * html/canvas/CanvasRenderingContext2D.cpp:
        (WebCore::CanvasRenderingContext2D::setShadow):
        (WebCore::CanvasRenderingContext2D::drawTextInternal):
        * html/canvas/CanvasRenderingContext2D.h:
        * html/canvas/CanvasStyle.cpp:
        (WebCore::CanvasStyle::applyStrokeColor):
        (WebCore::CanvasStyle::applyFillColor):
        * loader/cache/CachedFont.cpp:
        * loader/cache/CachedImage.cpp:
        (WebCore::CachedImage::createImage):
        * platform/FloatConversion.h:
        * platform/MIMETypeRegistry.cpp:
        (WebCore::initializeSupportedImageMIMETypes):
        (WebCore::initializeSupportedImageMIMETypesForEncoding):
        * platform/graphics/BitmapImage.h:
        * platform/graphics/Color.h:
        * platform/graphics/DashArray.h:
        * platform/graphics/FloatPoint.h:
        * platform/graphics/FloatRect.h:
        * platform/graphics/FloatSize.h:
        * platform/graphics/FontPlatformData.h:
        (WebCore::FontPlatformData::FontPlatformData):
        (WebCore::FontPlatformData::hash):
        * platform/graphics/GlyphBuffer.h:
        (WebCore::GlyphBuffer::advanceAt):
        (WebCore::GlyphBuffer::add):
        (WebCore::GlyphBuffer::expandLastAdvance):
        * platform/graphics/Gradient.h:
        * platform/graphics/GraphicsContext.cpp:
        (WebCore::GraphicsContext::setLegacyShadow):
        * platform/graphics/GraphicsContext.h:
        (WebCore::GraphicsContextState::GraphicsContextState):
        * platform/graphics/GraphicsContext3D.h:
        * platform/graphics/Image.cpp:
        * platform/graphics/Image.h:
        * platform/graphics/ImageBuffer.cpp:
        * platform/graphics/ImageBuffer.h:
        * platform/graphics/ImageBufferData.h:
        * platform/graphics/ImageSource.h:
        * platform/graphics/IntPoint.h:
        * platform/graphics/IntRect.h:
        * platform/graphics/IntSize.h:
        * platform/graphics/Path.h:
        * platform/graphics/Pattern.h:
        * platform/graphics/SimpleFontData.h:
        * platform/graphics/cg/ColorCG.cpp:
        * platform/graphics/cg/FloatPointCG.cpp:
        * platform/graphics/cg/FloatRectCG.cpp:
        * platform/graphics/cg/FloatSizeCG.cpp:
        * platform/graphics/cg/ImageCG.cpp:
        * platform/graphics/cg/ImageSourceCG.cpp:
        * platform/graphics/cg/IntPointCG.cpp:
        * platform/graphics/cg/IntRectCG.cpp:
        * platform/graphics/cg/IntSizeCG.cpp:
        * platform/graphics/cg/PDFDocumentImage.cpp:
        * platform/graphics/cg/PDFDocumentImage.h:
        * platform/graphics/cg/PathCG.cpp:
        * platform/graphics/cg/TransformationMatrixCG.cpp:
        * platform/graphics/chromium/ImageLayerChromium.h:
        * platform/graphics/chromium/LayerRendererChromium.cpp:
        * platform/graphics/chromium/LayerRendererChromium.h:
        * platform/graphics/chromium/PlatformCanvas.cpp:
        (WebCore::PlatformCanvas::resize):
        (WebCore::PlatformCanvas::AutoLocker::AutoLocker):
        (WebCore::PlatformCanvas::Painter::Painter):
        * platform/graphics/chromium/PlatformCanvas.h:
        * platform/graphics/chromium/PlatformImage.cpp:
        (WebCore::PlatformImage::updateFromImage):
        * platform/graphics/opentype/OpenTypeUtilities.cpp:
        * platform/graphics/transforms/AffineTransform.h:
        * platform/graphics/transforms/TransformationMatrix.h:
        * platform/graphics/win/DIBPixelData.h:
        * platform/graphics/win/FontCacheWin.cpp:
        (WebCore::FontCache::platformInit):
        (WebCore::createGDIFont):
        (WebCore::FontCache::createFontPlatformData):
        * platform/graphics/win/FontPlatformDataWin.cpp:
        (WebCore::FontPlatformData::FontPlatformData):
        * platform/graphics/win/GraphicsContextWin.cpp:
        * platform/graphics/win/MediaPlayerPrivateFullscreenWindow.cpp:
        * platform/graphics/win/SimpleFontDataWin.cpp:
        * platform/image-decoders/ImageDecoder.cpp:
        * platform/image-decoders/ImageDecoder.h:
        * rendering/RenderObject.h:
        * rendering/svg/RenderSVGResourceFilter.cpp:
        (WebCore::RenderSVGResourceFilter::postApplyResource):
        * rendering/svg/RenderSVGResourceGradient.cpp:
        (WebCore::RenderSVGResourceGradient::RenderSVGResourceGradient):
        (WebCore::RenderSVGResourceGradient::applyResource):
        * rendering/svg/RenderSVGResourceGradient.h:
        * rendering/svg/RenderSVGResourceMasker.cpp:
        (WebCore::RenderSVGResourceMasker::drawContentIntoMaskImage):
        * rendering/svg/RenderSVGResourcePattern.cpp:
        (WebCore::RenderSVGResourcePattern::applyResource):
2011-04-17  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Barth.

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

        * src/GraphicsContext3DChromium.cpp:
        (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
        (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
        (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
        (WebCore::GraphicsContext3DInternal::reshape):
        * src/GraphicsContext3DInternal.h:
        * src/PlatformBridge.cpp:
        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::doPixelReadbackToCanvas):
2011-04-17  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Barth.

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

        * WebFrame.cpp:
        (WebFrame::spoolPages):
        * WebFrame.h:
        * WebPreferences.cpp:
        (WebPreferences::setFontSmoothing):
        (WebPreferences::setFontSmoothingContrast):
        * WebView.cpp:
        (systemParameterChanged):
2011-04-17  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Barth.

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

        * Shared/ShareableBitmap.h:
        * Shared/WebCoreArgumentCoders.cpp:
        * Shared/WebCoreArgumentCoders.h:
        * Shared/WebGraphicsContext.cpp:
        (WebKit::WebGraphicsContext::WebGraphicsContext):
        * Shared/WebGraphicsContext.h:
        * Shared/win/PlatformCertificateInfo.cpp:
        (WebKit::PlatformCertificateInfo::PlatformCertificateInfo):
        * UIProcess/win/WebView.cpp:
        (WebKit::WebView::setFindIndicator):
        * WebProcess/WebPage/WebPage.cpp:
        (WebKit::WebPage::drawRectToPDF):
        (WebKit::WebPage::drawPagesToPDF):
        * WebProcess/WebPage/win/WebPageWin.cpp:
        (WebKit::WebPage::platformPreferencesDidChange):
        * config.h:
2011-04-17  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Barth.

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

        * DumpRenderTree/PixelDumpSupport.cpp:
        * DumpRenderTree/chromium/WebViewHost.cpp:
        (WebViewHost::paintRect):
        * DumpRenderTree/config.h:
        * DumpRenderTree/win/PixelDumpSupportWin.cpp:
        (createBitmapContextFromWebView):
        * TestWebKitAPI/PlatformWebView.h:
        * WebKitTestRunner/config.h:
        * WebKitTestRunner/win/TestInvocationWin.cpp:

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

10 years ago2011-04-16 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
commit-queue@webkit.org [Sun, 17 Apr 2011 06:29:25 +0000 (06:29 +0000)]
2011-04-16  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>

        Reviewed by Andreas Kling.

        [Qt] Autotest got missed in the handover of the QML WebView element
        https://bugs.webkit.org/show_bug.cgi?id=41449

        Importing WebView QML element test cases from Qt repository. I did some
        style modifications and simplifications in the original code but hopefully
        without changing the behavior.

        Tests that do not pass are marked with QEXPECT_FAIL or QSKIP. The two major
        issues currently are:

        - pixelCache() test checked the usage of pixel cache by using a subclass of
          QDeclarativeWebView. We can't do that right now because this class is not
          exported. We may need a Q_AUTOTEST_EXPORT thing for QtWebKit if we want
          this kind of test.
        - elementAtArea() test uses a function that is not exported. But in this case
          I think we should test it's user, the public method "heuristicZoom".

        * tests/qdeclarativewebview/resources/basic.html: Added.
        * tests/qdeclarativewebview/resources/basic.png: Added.
        * tests/qdeclarativewebview/resources/basic.qml: Added.
        * tests/qdeclarativewebview/resources/elements.html: Added.
        * tests/qdeclarativewebview/resources/elements.qml: Added.
        * tests/qdeclarativewebview/resources/forward.html: Added.
        * tests/qdeclarativewebview/resources/forward.png: Added.
        * tests/qdeclarativewebview/resources/javaScript.html: Added.
        * tests/qdeclarativewebview/resources/javaScript.qml: Added.
        * tests/qdeclarativewebview/resources/loadError.qml: Added.
        * tests/qdeclarativewebview/resources/newwindows.html: Added.
        * tests/qdeclarativewebview/resources/newwindows.qml: Added.
        * tests/qdeclarativewebview/resources/propertychanges.qml: Added.
        * tests/qdeclarativewebview/resources/sethtml.qml: Added.
        * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
        (tst_QDeclarativeWebView::tmpDir):
        (strippedHtml):
        (fileContents):
        (removeRecursive):
        (tst_QDeclarativeWebView::cleanupTestCase):
        (tst_QDeclarativeWebView::basicProperties):
        (tst_QDeclarativeWebView::elementAreaAt):
        (tst_QDeclarativeWebView::historyNav):
        (callEvaluateJavaScript):
        (tst_QDeclarativeWebView::javaScript):
        (tst_QDeclarativeWebView::loadError):
        (tst_QDeclarativeWebView::multipleWindows):
        (tst_QDeclarativeWebView::newWindowComponent):
        (tst_QDeclarativeWebView::newWindowParent):
        (tst_QDeclarativeWebView::pressGrabTime):
        (tst_QDeclarativeWebView::renderingEnabled):
        (tst_QDeclarativeWebView::setHtml):
        (tst_QDeclarativeWebView::settings):
        (tst_QDeclarativeWebView::checkNoErrors):
        * tests/qdeclarativewebview/tst_qdeclarativewebview.qrc:

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

10 years ago2011-04-16 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sun, 17 Apr 2011 02:25:40 +0000 (02:25 +0000)]
2011-04-16  Adam Barth  <abarth@webkit.org>

        Reviewed by Sam Weinig.

        about:blank documents in new tabs can XHR anywhere
        https://bugs.webkit.org/show_bug.cgi?id=58712

        Empty security origins have supposed to be low-privilege, we should
        mark them as having a unique origin.

        * manual-tests/about-blank-xhr.html: Added.
        * page/SecurityOrigin.cpp:
        (WebCore::SecurityOrigin::SecurityOrigin):
        * page/SecurityOrigin.h:

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

10 years agoUpdated results for fast/block/float/032.html after r84096. Filed http://webkit.org...
mitz@apple.com [Sun, 17 Apr 2011 00:20:48 +0000 (00:20 +0000)]
Updated results for fast/block/float/032.html after r84096. Filed webkit.org/b/58736 to
track this change.

* platform/chromium-win/fast/block/float/032-expected.txt:
* platform/gtk/fast/block/float/032-expected.txt:
* platform/mac/fast/block/float/032-expected.txt:
* platform/qt/fast/block/float/032-expected.txt:

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

10 years agoUnreviewed.
kbalazs@webkit.org [Sat, 16 Apr 2011 22:51:49 +0000 (22:51 +0000)]
Unreviewed.

[Qt][WK2] Unskip fast/loader/null-request-after-willSendRequest.html since
it is passing for a long time.

* platform/qt-wk2/Skipped:

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

10 years ago<rdar://problem/9190108> Crash when hiding a float
mitz@apple.com [Sat, 16 Apr 2011 21:59:36 +0000 (21:59 +0000)]
<rdar://problem/9190108> Crash when hiding a float

Reviewed by Simon Fraser.

Source/WebCore:

Test: fast/block/float/overhanging-tall-block.html

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::addOverhangingFloats): Moved the call to childLogicalTop() out of the loop.
Capped the logical bottom so that we get the correct maximum.
* rendering/RenderBlock.h: Decleared appendFloatingObjectToLastLine().
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::appendFloatingObjectToLastLine): Added. Ensures correct bookkeeping by
extending the float if needed so that it touches the line.
(WebCore::RenderBlock::layoutInlineChildren): Changed to call appendFloatingObjectToLastLine().
(WebCore::RenderBlock::checkFloatsInCleanLine): Capped the float height so the we mark the right
range of lines as dirty.
* rendering/RootInlineBox.h:
(WebCore::RootInlineBox::appendFloat): Replaced the floats() accessor with this function, which
allows the creation of the vector to be combined with appending the first float.

LayoutTests:

* fast/block/float/overhanging-tall-block.html: Added.
* platform/mac/fast/block/float/overhanging-tall-block-expected.checksum: Added.
* platform/mac/fast/block/float/overhanging-tall-block-expected.png: Added.
* platform/mac/fast/block/float/overhanging-tall-block-expected.txt: Added.

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

10 years ago2011-04-16 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Sat, 16 Apr 2011 21:22:33 +0000 (21:22 +0000)]
2011-04-16  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Crash when NPP_Write returns -1 when writing the manual stream
        https://bugs.webkit.org/show_bug.cgi?id=58735
        <rdar://problem/9124993>

        If NPP_Write returns -1 we must cancel the stream.

        * WebProcess/Plugins/Netscape/NetscapePluginStream.cpp:
        (WebKit::NetscapePluginStream::deliverDataToPlugin):

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

10 years ago2011-04-16 Sam Weinig <sam@webkit.org>
weinig@apple.com [Sat, 16 Apr 2011 21:19:13 +0000 (21:19 +0000)]
2011-04-16  Sam Weinig  <sam@webkit.org>

        Reviewed by Simon Fraser.

        Windows should use WebCore localized strings
        <rdar://problem/9119405>
        https://bugs.webkit.org/show_bug.cgi?id=58733

        * WebCoreSupport/WebEditorClient.cpp:
        (undoNameForEditAction):
        (WebEditorClient::registerCommandForUndo):
        * WebPreferences.cpp:
        (WebPreferences::initializeDefaultSettings):
        * WebURLResponse.cpp:
        (CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode):
        (WebURLResponse::localizedStringForStatusCode):
        Change to use WEB_UI_STRING.

        * WebCoreSupport/WebPlatformStrategies.cpp:
        * WebCoreSupport/WebPlatformStrategies.h:
        Remove the localization strategy in favor of using the default one.

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

10 years ago2011-04-16 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Sat, 16 Apr 2011 21:15:21 +0000 (21:15 +0000)]
2011-04-16  Simon Fraser  <simon.fraser@apple.com>

        Fix border drawing tests to drop -webkit prefix on border-radius, and make the tests compatible with Firefox
        https://bugs.webkit.org/show_bug.cgi?id=58734

        Add result for new test.

        * platform/mac/fast/borders/webkit-border-radius-expected.checksum: Added.
        * platform/mac/fast/borders/webkit-border-radius-expected.png: Added.
        * platform/mac/fast/borders/webkit-border-radius-expected.txt: Added.

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

10 years ago2011-04-16 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Sat, 16 Apr 2011 21:13:38 +0000 (21:13 +0000)]
2011-04-16  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Sam Weinig.

        Fix border drawing tests to drop -webkit prefix on border-radius, and make the tests compatible with Firefox
        https://bugs.webkit.org/show_bug.cgi?id=58734

        Drop the -webkit prefix on border-radius in the tests, and remove -moz-border-radius,
        since Firefox supports the unprefixed property now. This avoids the problem where
        -moz-border-radius and -webkit-border-radius had different behaviors when given two values.

        Also unprefix box-sizing for WebKit, and add a -moz prefixed version for Firefox.

        Add a test that compares the behavior of -webkit-border-radius and border-radius with
        two values.

        * fast/borders/border-radius-circle.html:
        * fast/borders/border-radius-constraints.html:
        * fast/borders/border-radius-groove-01.html:
        * fast/borders/border-radius-groove-02.html:
        * fast/borders/border-radius-groove-03.html:
        * fast/borders/border-radius-wide-border-01.html:
        * fast/borders/border-radius-wide-border-02.html:
        * fast/borders/border-radius-wide-border-03.html:
        * fast/borders/border-radius-wide-border-04.html:
        * fast/borders/borderRadiusAllStylesAllCorners.html:
        * fast/borders/borderRadiusArcs01.html:
        * fast/borders/borderRadiusDashed01.html:
        * fast/borders/borderRadiusDashed02.html:
        * fast/borders/borderRadiusDashed03.html:
        * fast/borders/borderRadiusDashed04.html:
        * fast/borders/borderRadiusDashed05.html:
        * fast/borders/borderRadiusDashed06.html:
        * fast/borders/borderRadiusDotted01.html:
        * fast/borders/borderRadiusDotted02.html:
        * fast/borders/borderRadiusDotted03.html:
        * fast/borders/borderRadiusDotted04.html:
        * fast/borders/borderRadiusDotted05.html:
        * fast/borders/borderRadiusDotted06.html:
        * fast/borders/borderRadiusDouble02.html:
        * fast/borders/borderRadiusDouble03.html:
        * fast/borders/borderRadiusDouble04.html:
        * fast/borders/borderRadiusDouble05.html:
        * fast/borders/borderRadiusDouble06.html:
        * fast/borders/borderRadiusDouble07.html:
        * fast/borders/borderRadiusDouble08.html:
        * fast/borders/borderRadiusDouble09.html:
        * fast/borders/borderRadiusGroove01.html:
        * fast/borders/borderRadiusGroove02.html:
        * fast/borders/webkit-border-radius.html: Added.
        * platform/mac/fast/borders/border-radius-groove-01-expected.checksum:
        * platform/mac/fast/borders/border-radius-groove-01-expected.png:
        * platform/mac/fast/borders/border-radius-groove-02-expected.png:
        * platform/mac/fast/borders/border-radius-groove-03-expected.checksum:
        * platform/mac/fast/borders/border-radius-groove-03-expected.png:
        * platform/mac/fast/borders/border-radius-inline-flow-expected.png:
        * platform/mac/fast/borders/border-radius-split-inline-expected.png:
        * platform/mac/fast/borders/border-radius-wide-border-01-expected.png:
        * platform/mac/fast/borders/border-radius-wide-border-02-expected.png:
        * platform/mac/fast/borders/border-radius-wide-border-03-expected.checksum:
        * platform/mac/fast/borders/border-radius-wide-border-03-expected.png:
        * platform/mac/fast/borders/border-radius-wide-border-04-expected.checksum:
        * platform/mac/fast/borders/border-radius-wide-border-04-expected.png:
        * platform/mac/fast/borders/borderRadiusDashed01-expected.png:
        * platform/mac/fast/borders/borderRadiusDashed02-expected.png:
        * platform/mac/fast/borders/borderRadiusDashed03-expected.png:
        * platform/mac/fast/borders/borderRadiusDashed04-expected.png:
        * platform/mac/fast/borders/borderRadiusDashed05-expected.png:
        * platform/mac/fast/borders/borderRadiusDashed06-expected.checksum:
        * platform/mac/fast/borders/borderRadiusDashed06-expected.png:
        * platform/mac/fast/borders/borderRadiusDotted01-expected.png:
        * platform/mac/fast/borders/borderRadiusDotted02-expected.png:
        * platform/mac/fast/borders/borderRadiusDotted03-expected.png:
        * platform/mac/fast/borders/borderRadiusDotted04-expected.png:
        * platform/mac/fast/borders/borderRadiusDotted05-expected.png:
        * platform/mac/fast/borders/borderRadiusDotted06-expected.checksum:
        * platform/mac/fast/borders/borderRadiusDotted06-expected.png:
        * platform/mac/fast/borders/borderRadiusDouble01-expected.png:
        * platform/mac/fast/borders/borderRadiusDouble02-expected.png:
        * platform/mac/fast/borders/borderRadiusDouble03-expected.png:
        * platform/mac/fast/borders/borderRadiusDouble04-expected.png:
        * platform/mac/fast/borders/borderRadiusDouble05-expected.checksum:
        * platform/mac/fast/borders/borderRadiusDouble05-expected.png:
        * platform/mac/fast/borders/borderRadiusDouble06-expected.checksum:
        * platform/mac/fast/borders/borderRadiusDouble06-expected.png:
        * platform/mac/fast/borders/borderRadiusDouble07-expected.checksum:
        * platform/mac/fast/borders/borderRadiusDouble07-expected.png:
        * platform/mac/fast/borders/borderRadiusDouble08-expected.checksum:
        * platform/mac/fast/borders/borderRadiusDouble08-expected.png:
        * platform/mac/fast/borders/borderRadiusDouble09-expected.checksum:
        * platform/mac/fast/borders/borderRadiusDouble09-expected.png:
        * platform/mac/fast/borders/borderRadiusGroove01-expected.png:
        * platform/mac/fast/borders/borderRadiusGroove02-expected.png:
        * platform/mac/fast/borders/borderRadiusInset01-expected.png:
        * platform/mac/fast/borders/borderRadiusInvalidColor-expected.png:
        * platform/mac/fast/borders/borderRadiusOutset01-expected.png:
        * platform/mac/fast/borders/borderRadiusRidge01-expected.png:
        * platform/mac/fast/borders/borderRadiusSolid01-expected.png:
        * platform/mac/fast/borders/borderRadiusSolid02-expected.png:
        * platform/mac/fast/borders/borderRadiusSolid03-expected.png:

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

10 years ago2011-04-16 Sam Weinig <sam@webkit.org>
weinig@apple.com [Sat, 16 Apr 2011 19:31:42 +0000 (19:31 +0000)]
2011-04-16  Sam Weinig  <sam@webkit.org>

        Reviewed by Simon Fraser.

        Pages in the PageCache don't have the correct visited link coloring after being restored
        https://bugs.webkit.org/show_bug.cgi?id=58721

        * WebCore.exp.in:
        Add export of markPagesForVistedLinkStyleRecalc for use by WebKit2.

        * history/CachedPage.cpp:
        (WebCore::CachedPage::CachedPage):
        (WebCore::CachedPage::restore):
        (WebCore::CachedPage::clear):
        * history/CachedPage.h:
        (WebCore::CachedPage::markForVistedLinkStyleRecalc):
        Add bit, set by calling markForVistedLinkStyleRecalc, which forces a visited link
        style recalc when being restored.

        * history/PageCache.h:
        * history/PageCache.cpp:
        (WebCore::PageCache::markPagesForVistedLinkStyleRecalc):
        Mark all pages in the page cache as requiring visited link style recalc.

        * page/PageGroup.cpp:
        (WebCore::PageGroup::addVisitedLink):
        (WebCore::PageGroup::removeVisitedLinks):
        (WebCore::PageGroup::removeAllVisitedLinks):
        Set dirty bit when changing any visited link information.

2011-04-16  Sam Weinig  <sam@webkit.org>

        Reviewed by Simon Fraser.

        Pages in the PageCache don't have the correct visited link coloring after being restored
        https://bugs.webkit.org/show_bug.cgi?id=58721

        * WebProcess/WebProcess.cpp:
        (WebKit::WebProcess::visitedLinkStateChanged):
        (WebKit::WebProcess::allVisitedLinkStateChanged):
        Mark all pages in the page cache as needing visited link style recalc
        whenever visited link information changes.

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

10 years ago2011-04-16 Leo Yang <leoyang.webkit@gmail.com>
commit-queue@webkit.org [Sat, 16 Apr 2011 18:37:46 +0000 (18:37 +0000)]
2011-04-16  Leo Yang  <leoyang.webkit@gmail.com>

        Reviewed by Nikolas Zimmermann.

        ASSERT failure when svg <use> element changes href
        https://bugs.webkit.org/show_bug.cgi?id=58726

        Test case to verify assertion at line 509 of SVGUseElement.cpp.
        Test passes if no crash occurs in debug mode.

        * svg/custom/use-crash-when-href-change-expected.txt: Added.
        * svg/custom/use-crash-when-href-change.svg: Added.
2011-04-16  Leo Yang  <leoyang.webkit@gmail.com>

        Reviewed by Nikolas Zimmermann.

        ASSERT failure when svg <use> element changes href
        https://bugs.webkit.org/show_bug.cgi?id=58726

        m_resourceId was not empty after the pending resource
        becomes available. This will trigger the assertion at
        line 509 of SVGUseElement.cpp when the <use> element's
        href becomes empty or invalid.

        This patch makes m_resourceId be empty after the pending
        resource becomes available to avoid assertion failure.

        Test: svg/custom/use-crash-when-href-change.svg

        * svg/SVGUseElement.cpp:
        (WebCore::SVGUseElement::buildPendingResource):

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

10 years ago2011-04-16 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sat, 16 Apr 2011 10:55:49 +0000 (10:55 +0000)]
2011-04-16  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Eric Seidel.

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

        * Source/cmake/OptionsEfl.cmake:

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

10 years ago2011-04-16 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sat, 16 Apr 2011 10:37:01 +0000 (10:37 +0000)]
2011-04-16  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Eric Seidel.

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

        * wtf/Platform.h:
        * wtf/gobject/GTypedefs.h:
2011-04-16  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Eric Seidel.

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

        * CMakeListsEfl.txt:
        * config.h:
        * platform/MIMETypeRegistry.cpp:
        (WebCore::initializeSupportedImageMIMETypesForEncoding):
        * platform/graphics/ContextShadow.h:
        * platform/graphics/DashArray.h:
        * platform/graphics/FloatRect.h:
        * platform/graphics/FontPlatformData.h:
        (WebCore::FontPlatformData::FontPlatformData):
        (WebCore::FontPlatformData::hash):
        (WebCore::FontPlatformData::isHashTableDeletedValue):
        * platform/graphics/GlyphBuffer.h:
        (WebCore::GlyphBuffer::glyphAt):
        (WebCore::GlyphBuffer::add):
        * platform/graphics/Gradient.cpp:
        * platform/graphics/Gradient.h:
        * platform/graphics/GraphicsContext.cpp:
        * platform/graphics/GraphicsContext.h:
        (WebCore::GraphicsContextState::GraphicsContextState):
        * platform/graphics/GraphicsContext3D.h:
        * platform/graphics/ImageBufferData.h:
        * platform/graphics/ImageSource.h:
        * platform/graphics/Path.h:
        * platform/graphics/Pattern.h:
        * platform/graphics/SimpleFontData.h:
        * platform/graphics/cairo/DrawErrorUnderline.h:
        * platform/graphics/cairo/GraphicsContextCairo.cpp:
        * platform/graphics/cairo/ImageCairo.cpp:
        * platform/graphics/gstreamer/ImageGStreamer.h:
        * platform/graphics/transforms/AffineTransform.h:
        * platform/graphics/transforms/TransformationMatrix.h:
        * platform/graphics/win/FontCacheWin.cpp:
        (WebCore::createGDIFont):
        (WebCore::FontCache::createFontPlatformData):
        * platform/graphics/win/FontPlatformDataWin.cpp:
        (WebCore::FontPlatformData::FontPlatformData):
        * platform/graphics/win/GraphicsContextWin.cpp:
        * plugins/win/PluginViewWin.cpp:
        (WebCore::PluginView::paintWindowedPluginIntoContext):
        * rendering/RenderObject.h:
2011-04-16  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Eric Seidel.

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

        * WebFrame.cpp:
        (WebFrame::spoolPages):
        * WebFrame.h:
2011-04-16  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Eric Seidel.

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

        * DumpRenderTree/PixelDumpSupport.cpp:
        * DumpRenderTree/config.h:
        * DumpRenderTree/win/PixelDumpSupportWin.cpp:
        (createBitmapContextFromWebView):
        * WebKitTestRunner/config.h:

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

10 years ago2011-04-16 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sat, 16 Apr 2011 10:12:48 +0000 (10:12 +0000)]
2011-04-16  Patrick Gansterer  <paroga@webkit.org>

        Unreviewed WinCE build fix for r84033.

        * platform/win/LocalizedStringsWin.cpp:
        (WebCore::localizedString):

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

10 years ago2011-04-16 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Sat, 16 Apr 2011 09:33:04 +0000 (09:33 +0000)]
2011-04-16  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Eric Seidel.

        show diffs+test inline in the results page
        https://bugs.webkit.org/show_bug.cgi?id=58723

        Put each row in it's own tbody and sort based on tbodies. That way
        we can append the results to the tbody inline as another table row.

        * Scripts/webkitpy/layout_tests/layout_package/json_results.html:

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

10 years ago2011-04-16 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Sat, 16 Apr 2011 09:02:33 +0000 (09:02 +0000)]
2011-04-16  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Nikolas Zimmermann.

        Tests that we do not crash when adding a list item block child
        as a before child to svg text.
        https://bugs.webkit.org/show_bug.cgi?id=58678

        * svg/text/text-block-child-crash-expected.txt: Added.
        * svg/text/text-block-child-crash.xhtml: Added.
2011-04-16  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Nikolas Zimmermann.

        Only allow inline child for SVG text since we cannot
        handle block childs.
        https://bugs.webkit.org/show_bug.cgi?id=58678

        Test: svg/text/text-block-child-crash.xhtml

        * rendering/svg/RenderSVGText.cpp:
        (WebCore::RenderSVGText::isChildAllowed):
        * rendering/svg/RenderSVGText.h:

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

10 years ago2011-04-16 Sergio Villar Senin <svillar@igalia.com>
sergio@webkit.org [Sat, 16 Apr 2011 08:47:23 +0000 (08:47 +0000)]
2011-04-16  Sergio Villar Senin  <svillar@igalia.com>

        Unreviewed, new GTK+ test expectations after r84039.

        * platform/gtk/fast/html/details-add-summary-1-and-click-expected.txt:
        * platform/gtk/fast/html/details-add-summary-1-expected.txt:
        * platform/gtk/fast/html/details-add-summary-10-and-click-expected.txt:
        * platform/gtk/fast/html/details-add-summary-10-expected.txt:
        * platform/gtk/fast/html/details-add-summary-2-and-click-expected.txt:
        * platform/gtk/fast/html/details-add-summary-2-expected.txt:
        * platform/gtk/fast/html/details-add-summary-3-and-click-expected.txt:
        * platform/gtk/fast/html/details-add-summary-3-expected.txt:
        * platform/gtk/fast/html/details-add-summary-4-and-click-expected.txt:
        * platform/gtk/fast/html/details-add-summary-4-expected.txt:
        * platform/gtk/fast/html/details-add-summary-5-and-click-expected.txt:
        * platform/gtk/fast/html/details-add-summary-5-expected.txt:
        * platform/gtk/fast/html/details-add-summary-6-and-click-expected.txt:
        * platform/gtk/fast/html/details-add-summary-6-expected.txt:
        * platform/gtk/fast/html/details-add-summary-7-and-click-expected.txt:
        * platform/gtk/fast/html/details-add-summary-7-expected.txt:
        * platform/gtk/fast/html/details-add-summary-8-and-click-expected.txt:
        * platform/gtk/fast/html/details-add-summary-8-expected.txt:
        * platform/gtk/fast/html/details-add-summary-9-and-click-expected.txt:
        * platform/gtk/fast/html/details-add-summary-9-expected.txt:
        * platform/gtk/fast/html/details-no-summary1-expected.txt:
        * platform/gtk/fast/html/details-no-summary2-expected.txt:
        * platform/gtk/fast/html/details-no-summary3-expected.txt:
        * platform/gtk/fast/html/details-no-summary4-expected.txt:
        * platform/gtk/fast/html/details-open-javascript-expected.txt:
        * platform/gtk/fast/html/details-open1-expected.txt:
        * platform/gtk/fast/html/details-open2-expected.txt:
        * platform/gtk/fast/html/details-open3-expected.txt:
        * platform/gtk/fast/html/details-open4-expected.txt:
        * platform/gtk/fast/html/details-open5-expected.txt:
        * platform/gtk/fast/html/details-open6-expected.txt:
        * platform/gtk/fast/html/details-position-expected.txt:
        * platform/gtk/fast/html/details-remove-summary-1-and-click-expected.txt:
        * platform/gtk/fast/html/details-remove-summary-1-expected.txt:
        * platform/gtk/fast/html/details-remove-summary-2-and-click-expected.txt:
        * platform/gtk/fast/html/details-remove-summary-2-expected.txt:
        * platform/gtk/fast/html/details-remove-summary-3-and-click-expected.txt:
        * platform/gtk/fast/html/details-remove-summary-3-expected.txt:
        * platform/gtk/fast/html/details-remove-summary-4-and-click-expected.txt:
        * platform/gtk/fast/html/details-remove-summary-4-expected.txt:
        * platform/gtk/fast/html/details-remove-summary-5-and-click-expected.txt:
        * platform/gtk/fast/html/details-remove-summary-5-expected.txt:
        * platform/gtk/fast/html/details-remove-summary-6-and-click-expected.txt:
        * platform/gtk/fast/html/details-remove-summary-6-expected.txt:
        * platform/gtk/fast/html/details-writing-mode-expected.txt:

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

10 years ago2011-04-16 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Sat, 16 Apr 2011 07:28:01 +0000 (07:28 +0000)]
2011-04-16  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Eric Seidel.

        handle new tests in the new results html file
        https://bugs.webkit.org/show_bug.cgi?id=58715

        * Scripts/webkitpy/layout_tests/layout_package/json_results.html:

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

10 years ago2011-04-15 Daniel Bates <dbates@webkit.org>
dbates@webkit.org [Sat, 16 Apr 2011 06:22:35 +0000 (06:22 +0000)]
2011-04-15  Daniel Bates  <dbates@webkit.org>

        Attempt to fix the Qt Linux Release build after changeset 84064 <http://trac.webkit.org/changeset/84064>
        (https://bugs.webkit.org/show_bug.cgi?id=58686).

        * UIProcess/API/qt/qwkpage_p.h: Remove takeFocus().

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

10 years ago2011-04-15 Sheriff Bot <webkit.review.bot@gmail.com>
loislo@chromium.org [Sat, 16 Apr 2011 05:41:56 +0000 (05:41 +0000)]
2011-04-15  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r84067.
        http://trac.webkit.org/changeset/84067
        https://bugs.webkit.org/show_bug.cgi?id=58724

        qt build are failing. (Requested by loislo2 on #webkit).

        * heap/MarkStack.h:
        (JSC::MarkStack::append):
        * runtime/JSValue.h:
        * runtime/WriteBarrier.h:
        (JSC::DeprecatedPtr::DeprecatedPtr):
        (JSC::DeprecatedPtr::get):
        (JSC::DeprecatedPtr::operator*):
        (JSC::DeprecatedPtr::operator->):
        (JSC::DeprecatedPtr::slot):
        (JSC::DeprecatedPtr::operator UnspecifiedBoolType*):
        (JSC::DeprecatedPtr::operator!):
        (JSC::operator==):

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

10 years ago2011-04-15 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Sat, 16 Apr 2011 05:32:07 +0000 (05:32 +0000)]
2011-04-15  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: The list of Database entries is empty if the page opens a database just before Web Inspector.
        https://bugs.webkit.org/show_bug.cgi?id=57833

        * http/tests/inspector-enabled/database-open.html:
2011-04-15  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: The list of Database entries is empty if the page opens a database just before Web Inspector.
        https://bugs.webkit.org/show_bug.cgi?id=57833

        * inspector/Inspector.json:
        * inspector/InspectorDatabaseAgent.cpp:
        (WebCore::InspectorDatabaseAgent::didOpenDatabase):
        (WebCore::InspectorDatabaseAgent::InspectorDatabaseAgent):
        (WebCore::InspectorDatabaseAgent::setFrontend):
        (WebCore::InspectorDatabaseAgent::clearFrontend):
        (WebCore::InspectorDatabaseAgent::enable):
        (WebCore::InspectorDatabaseAgent::disable):
        (WebCore::InspectorDatabaseAgent::getDatabaseTableNames):
        (WebCore::InspectorDatabaseAgent::executeSQL):
        * inspector/InspectorDatabaseAgent.h:
        * inspector/front-end/inspector.js:

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

10 years ago2011-04-15 John Bates <jbates@google.com>
commit-queue@webkit.org [Sat, 16 Apr 2011 04:40:22 +0000 (04:40 +0000)]
2011-04-15  John Bates  <jbates@google.com>

        Reviewed by Kenneth Russell.

        Change WebGraphicsContext3D virtuals to pure virtuals as intended
        https://bugs.webkit.org/show_bug.cgi?id=58479

        * public/WebGraphicsContext3D.h:

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

10 years ago2011-04-15 Jia Pu <jpu@apple.com>
commit-queue@webkit.org [Sat, 16 Apr 2011 04:35:54 +0000 (04:35 +0000)]
2011-04-15  Jia Pu  <jpu@apple.com>

        Reviewed by Dan Bernstein.

        [Mac] WebKit needs to convert the bounding box of autocorrected word to view coordinate.
        https://bugs.webkit.org/show_bug.cgi?id=58717

        Convert the bounding box from window coordinate to view coordinate, which is expected by NSCorrectionPanel.

        * WebCoreSupport/CorrectionPanel.mm:
        (CorrectionPanel::show):

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

10 years ago2011-04-15 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sat, 16 Apr 2011 04:23:59 +0000 (04:23 +0000)]
2011-04-15  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        CSP media-src is missing
        https://bugs.webkit.org/show_bug.cgi?id=58642

        These tests are adapted from the other media loading tests.

        * http/tests/security/contentSecurityPolicy/media-src-allowed-expected.txt: Added.
        * http/tests/security/contentSecurityPolicy/media-src-allowed.html: Added.
        * http/tests/security/contentSecurityPolicy/media-src-blocked-expected.txt: Added.
        * http/tests/security/contentSecurityPolicy/media-src-blocked.html: Added.
2011-04-15  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        CSP media-src is missing
        https://bugs.webkit.org/show_bug.cgi?id=58642

        Yay HTMLMediaElement for having the exact hook we need!

        Tests: http/tests/security/contentSecurityPolicy/media-src-allowed.html
               http/tests/security/contentSecurityPolicy/media-src-blocked.html

        * html/HTMLMediaElement.cpp:
        (WebCore::HTMLMediaElement::isSafeToLoadURL):
            - Although it's tempting to add this branch to the previous
              if-block, that results in the wrong error message being logged to
              the console (covered by the "blocked" test).
        * page/ContentSecurityPolicy.cpp:
        (WebCore::ContentSecurityPolicy::allowMediaFromSource):
        (WebCore::ContentSecurityPolicy::addDirective):
        * page/ContentSecurityPolicy.h:
            - These changes are routine.

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

10 years ago2011-04-15 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Sat, 16 Apr 2011 03:59:35 +0000 (03:59 +0000)]
2011-04-15  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Ojan Vafai.

        old-run-webkit-tests: save the list of tests actually run to a file
        https://bugs.webkit.org/show_bug.cgi?id=58692

        * Scripts/old-run-webkit-tests:

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

10 years ago2011-04-15 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Sat, 16 Apr 2011 03:40:05 +0000 (03:40 +0000)]
2011-04-15  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Ojan Vafai.

        fix MockFileSystem.abspath() on windows
        https://bugs.webkit.org/show_bug.cgi?id=58713

        The existing code was borked on Windows if a path was passed
        in using a drive letter (e.g., "d:\foo.txt"), and would go
        into an infinite recursive loop. While win paths shouldn't
        normally be passed into the mock filesystem, this just
        bulletproofs things a bit (note that "/foo.txt" is considered
        an absolute path on windows python as well.

        * Scripts/webkitpy/common/system/filesystem_mock.py:

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

10 years ago2011-04-15 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Sat, 16 Apr 2011 03:02:45 +0000 (03:02 +0000)]
2011-04-15  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Eric Seidel.

        show stderr files and httpd log files
        https://bugs.webkit.org/show_bug.cgi?id=58714

        * Scripts/webkitpy/layout_tests/layout_package/json_results.html:
        * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:

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

10 years ago2011-04-15 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sat, 16 Apr 2011 02:33:08 +0000 (02:33 +0000)]
2011-04-15  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        CSP should block string arguments to setTimeout and setInterval unless options eval-script
        https://bugs.webkit.org/show_bug.cgi?id=58610

        Herein lies a four-way testing matrix.

        * http/tests/security/contentSecurityPolicy/eval-scripts-setInterval-allowed-expected.txt: Added.
        * http/tests/security/contentSecurityPolicy/eval-scripts-setInterval-allowed.html: Added.
        * http/tests/security/contentSecurityPolicy/eval-scripts-setInterval-blocked-expected.txt: Added.
        * http/tests/security/contentSecurityPolicy/eval-scripts-setInterval-blocked.html: Added.
        * http/tests/security/contentSecurityPolicy/eval-scripts-setTimeout-allowed-expected.txt: Added.
        * http/tests/security/contentSecurityPolicy/eval-scripts-setTimeout-allowed.html: Added.
        * http/tests/security/contentSecurityPolicy/eval-scripts-setTimeout-blocked-expected.txt: Added.
        * http/tests/security/contentSecurityPolicy/eval-scripts-setTimeout-blocked.html: Added.
2011-04-15  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        CSP should block string arguments to setTimeout and setInterval unless options eval-script
        https://bugs.webkit.org/show_bug.cgi?id=58610

        It's somewhat sadness that the JSC and V8 code for setTimeout and
        setInterval are so different.  I struggled for a while with how to
        handle the worker case, but I decided to punt on it for now.

        Tests: http/tests/security/contentSecurityPolicy/eval-scripts-setInterval-allowed.html
               http/tests/security/contentSecurityPolicy/eval-scripts-setInterval-blocked.html
               http/tests/security/contentSecurityPolicy/eval-scripts-setTimeout-allowed.html
               http/tests/security/contentSecurityPolicy/eval-scripts-setTimeout-blocked.html

        * bindings/js/JSDOMWindowCustom.cpp:
        (WebCore::JSDOMWindow::setTimeout):
        (WebCore::JSDOMWindow::setInterval):
        * bindings/js/JSWorkerContextCustom.cpp:
        (WebCore::JSWorkerContext::setTimeout):
        (WebCore::JSWorkerContext::setInterval):
        * bindings/js/ScheduledAction.cpp:
        (WebCore::ScheduledAction::create):
        * bindings/js/ScheduledAction.h:
        * bindings/v8/custom/V8DOMWindowCustom.cpp:
        (WebCore::WindowSetTimeoutImpl):
        * page/ContentSecurityPolicy.cpp:
        (WebCore::ContentSecurityPolicy::allowEval):
        * page/ContentSecurityPolicy.h:

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

10 years ago2011-04-15 Shishir Agrawal <shishir@chromium.org>
commit-queue@webkit.org [Sat, 16 Apr 2011 02:26:26 +0000 (02:26 +0000)]
2011-04-15  Shishir Agrawal  <shishir@chromium.org>

        Reviewed by James Robinson.

        Add a flag to guard Page Visibility API changes.
        https://bugs.webkit.org/show_bug.cgi?id=58464

        Initial draft at:
        http://lists.w3.org/Archives/Public/public-webapps/2011JanMar/0175.html

        * configure.ac:
2011-04-15  Shishir Agrawal  <shishir@chromium.org>

        Reviewed by James Robinson.

        Add a flag to guard Page Visibility API changes.
        https://bugs.webkit.org/show_bug.cgi?id=58464

        * Configurations/FeatureDefines.xcconfig:
2011-04-15  Shishir Agrawal  <shishir@chromium.org>

        Reviewed by James Robinson.

        Add a flag to guard Page Visibility API changes.
        https://bugs.webkit.org/show_bug.cgi?id=58464

        * Configurations/FeatureDefines.xcconfig:
2011-04-15  Shishir Agrawal  <shishir@chromium.org>

        Reviewed by James Robinson.

        Add a flag to guard Page Visibility API changes.
        https://bugs.webkit.org/show_bug.cgi?id=58464

        * features.gypi:
2011-04-15  Shishir Agrawal  <shishir@chromium.org>

        Reviewed by James Robinson.

        Add a flag to guard Page Visibility API changes.
        https://bugs.webkit.org/show_bug.cgi?id=58464

        * Configurations/FeatureDefines.xcconfig:
2011-04-15  Shishir Agrawal  <shishir@chromium.org>

        Reviewed by James Robinson.

        Add a flag to guard Page Visibility API changes.
        https://bugs.webkit.org/show_bug.cgi?id=58464

        * Configurations/FeatureDefines.xcconfig:
2011-04-15  Shishir Agrawal  <shishir@chromium.org>

        Reviewed by James Robinson.

        Add a flag to guard Page Visibility API changes.
        https://bugs.webkit.org/show_bug.cgi?id=58464

        * Scripts/build-webkit:
2011-04-15  Shishir Agrawal  <shishir@chromium.org>

        Reviewed by James Robinson.

        Add a flag to guard Page Visibility API changes.
        https://bugs.webkit.org/show_bug.cgi?id=58464

        * win/tools/vsprops/FeatureDefines.vsprops:

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

10 years ago2011-04-15 Fridrich Strba <fridrich.strba@bluewin.ch>
commit-queue@webkit.org [Sat, 16 Apr 2011 02:06:44 +0000 (02:06 +0000)]
2011-04-15  Fridrich Strba  <fridrich.strba@bluewin.ch>

        Reviewed by Martin Robinson.

        Make plugins compile during WebKit GTK Windows build.
        Ifdef properly relevant parts so that the PluginViewGtk compiles on Windows.
        https://bugs.webkit.org/show_bug.cgi?id=58580

        * plugins/PluginView.cpp:
        (WebCore::PluginView::stop):
        * plugins/PluginView.h:
        * plugins/gtk/PluginViewGtk.cpp:
        (WebCore::PluginView::platformGetValue):
        (WebCore::PluginView::platformStart):

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

10 years ago2011-04-15 Chang Shu <cshu@webkit.org>
commit-queue@webkit.org [Sat, 16 Apr 2011 01:53:00 +0000 (01:53 +0000)]
2011-04-15  Chang Shu  <cshu@webkit.org>

        Reviewed by Alexey Proskuryakov.

        When a message with url embedded is added to console, the "file:" scheme
        and path should be stripped.
        https://bugs.webkit.org/show_bug.cgi?id=58665

        Unskip passed tests.

        * platform/mac-wk2/Skipped:
        * platform/qt-wk2/Skipped:
2011-04-15  Chang Shu  <cshu@webkit.org>

        Reviewed by Alexey Proskuryakov.

        When a message with url embedded is added to console, the "file:" scheme
        and path should be stripped.
        https://bugs.webkit.org/show_bug.cgi?id=58665

        * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
        (WTR::lastFileURLPathComponent):
        (WTR::InjectedBundlePage::willAddMessageToConsole):

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

10 years agoErrrk! - build fix from !x86-64.
barraclough@apple.com [Sat, 16 Apr 2011 01:19:27 +0000 (01:19 +0000)]
Errrk! - build fix from !x86-64.

* dfg/DFGNode.h:

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

10 years agoRevert of r83974.
levin@chromium.org [Sat, 16 Apr 2011 01:16:37 +0000 (01:16 +0000)]
Revert of r83974.

JavaScriptCore shouldn't depend on ../ThirdParty/gtest/xcode/gtest.xcodeproj
https://bugs.webkit.org/show_bug.cgi?id=58716

* JavaScriptCore.xcodeproj/project.pbxproj:
* wtf/tests/RunAllWtfTests.cpp: Removed.
* wtf/tests/StringTests.cpp: Removed.

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

10 years ago2011-04-15 Oliver Hunt <oliver@apple.com>
oliver@apple.com [Sat, 16 Apr 2011 01:11:49 +0000 (01:11 +0000)]
2011-04-15  Oliver Hunt  <oliver@apple.com>

        Reviewed by Gavin Barraclough.

        Remove DeprecatedPtr
        https://bugs.webkit.org/show_bug.cgi?id=58718

        As simple as it sounds.

        * heap/MarkStack.h:
        (JSC::MarkStack::append):
        * runtime/JSValue.h:
        * runtime/WriteBarrier.h:

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

10 years ago2011-04-15 MORITA Hajime <morrita@google.com>
morrita@google.com [Sat, 16 Apr 2011 00:49:25 +0000 (00:49 +0000)]
2011-04-15  MORITA Hajime  <morrita@google.com>

        Reviewed by Simon Fraser.

        Calls to WebCore::Document::mayCauseFlashOfUnstyledContent make frequently-run drawing methods slower
        https://bugs.webkit.org/show_bug.cgi?id=58512

        Manually rolled out r72367 at which mayCauseFlashOfUnstyledContent() was introduced.
        This change keeps an small refactoring on
        FrameView::shouldUpdate(), which doesn't affect on the behavior.

        * dom/Document.cpp:
        * dom/Document.h:
        * page/FrameView.cpp:
        (WebCore::FrameView::invalidateRect):
        (WebCore::FrameView::shouldUpdate):
        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::paintContents):
        * rendering/RenderLayer.cpp:
        (WebCore::RenderLayer::paintLayer):

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

10 years ago2011-04-15 Chris Rogers <crogers@google.com>
crogers@google.com [Sat, 16 Apr 2011 00:42:55 +0000 (00:42 +0000)]
2011-04-15  Chris Rogers  <crogers@google.com>

        Reviewed by Kenneth Russell.

        Reduce default kernel size of SincResampler to favor better speed over quality
        https://bugs.webkit.org/show_bug.cgi?id=58710

        No new tests since audio API is not yet implemented.

        * platform/audio/SincResampler.h:

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

10 years ago2011-04-15 Jeff Miller <jeffm@apple.com>
jeffm@apple.com [Sat, 16 Apr 2011 00:38:05 +0000 (00:38 +0000)]
2011-04-15  Jeff Miller  <jeffm@apple.com>

        Reviewed by Sam Weinig.

        Add takeFocus callback to WKPageUIClient
        https://bugs.webkit.org/show_bug.cgi?id=58686

        On Windows, we need to handle moving focus out of the web view in the client, so add a takeFocus callback to WKPageUIClient
        and stop handling taking focus in the framework in WKView.mm on the Mac.

        * UIProcess/API/C/WKPage.h: Added WKFocusDirection enum and takeFocus to WKPageUIClient.
        * UIProcess/API/mac/PageClientImpl.h: Removed takeFocus().
        * UIProcess/API/mac/PageClientImpl.mm: Removed takeFocus().
        * UIProcess/API/mac/WKView.mm: Removed _takeFocus().
        * UIProcess/API/mac/WKViewInternal.h: Removed _takeFocus().
        * UIProcess/API/qt/ClientImpl.cpp:
        (qt_wk_takeFocus): Added.
        * UIProcess/API/qt/ClientImpl.h: Added qt_wk_takeFocus.
        * UIProcess/API/qt/qwkpage.cpp: Remove takeFocus().
        (QWKPage::QWKPage): Added takeFocus() callback.
        * UIProcess/PageClient.h: Removed takeFocus().
        * UIProcess/WebPageProxy.cpp:
        (WebKit::WebPageProxy::takeFocus): Call m_uiClient to take focus.
        * UIProcess/WebPageProxy.h: Pass FocusDirection as a uint32_t to takeFocus().
        * UIProcess/WebPageProxy.messages.in: Pass FocusDirection as a uint32_t in TakeFocus message.
        * UIProcess/WebUIClient.cpp:
        (WebKit::WebUIClient::takeFocus): Added.
        * UIProcess/WebUIClient.h: Added takeFocus().
        * UIProcess/win/WebView.cpp: Removed takeFocus(), which was never implemented on Windows.
        * UIProcess/win/WebView.h: Removed takeFocus().
        * WebProcess/WebCoreSupport/WebChromeClient.cpp:
        (WebKit::WebChromeClient::takeFocus): Pass FocusDirection as a uint32_t in TakeFocus message.
2011-04-15  Jeff Miller  <jeffm@apple.com>

        Reviewed by Sam Weinig.

        Add takeFocus callback to WKPageUIClient
        https://bugs.webkit.org/show_bug.cgi?id=58686

        Add empty WKPageUIClient entries for the takeFocus callback in the MiniBrowser and WebKitTestRunner.

        * MiniBrowser/mac/BrowserWindowController.m:
        (-[BrowserWindowController awakeFromNib]): Added empty takeFocus entry.
        * MiniBrowser/win/BrowserView.cpp:
        (BrowserView::create): Added empty takeFocus entry.
        * WebKitTestRunner/TestController.cpp:
        (WTR::TestController::createOtherPage): Added empty takeFocus entry.
        (WTR::TestController::initialize): Added empty takeFocus entry.

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

10 years agoAdd a simple tool to gather statistics on whether functions
barraclough@apple.com [Sat, 16 Apr 2011 00:37:09 +0000 (00:37 +0000)]
Add a simple tool to gather statistics on whether functions
are completed through the new or old JIT.

Reviewed by Oliver Hunt.

* dfg/DFGNode.h:
* dfg/DFGNonSpeculativeJIT.cpp:
(JSC::DFG::NonSpeculativeJIT::compile):
* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compile):
* jit/JIT.cpp:
(JSC::JIT::privateCompile):

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

10 years ago Reviewed by Sam Weinig.
ap@apple.com [Sat, 16 Apr 2011 00:33:32 +0000 (00:33 +0000)]
    Reviewed by Sam Weinig.

        WebKit2: Stop using deprecated NSInputManager
        https://bugs.webkit.org/show_bug.cgi?id=58709

        Changed all mouse related functions to give NSInputContext a chance to handle the event,
        added logging. Removed -rightMouseMoved: method, which was added by accident.

        * UIProcess/API/mac/WKView.mm:
        (-[WKView mouseMoved:]):
        (-[WKView mouseDown:]):
        (-[WKView mouseUp:]):
        (-[WKView mouseDragged:]):

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

10 years ago2011-04-15 Fridrich Strba <fridrich.strba@bluewin.ch>
commit-queue@webkit.org [Sat, 16 Apr 2011 00:26:36 +0000 (00:26 +0000)]
2011-04-15  Fridrich Strba  <fridrich.strba@bluewin.ch>

        Reviewed by Martin Robinson.

        Expand the ntohs, ntohl, htons and htonl defines for OS(WINDOWS)
        These have to be defined for Windows in general, since win32 API
        does not provide them.
        https://bugs.webkit.org/show_bug.cgi?id=58582

        * platform/graphics/WOFFFileFormat.cpp:

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

10 years ago2011-04-15 Vsevolod Vlasov <vsevik@chromium.org>
commit-queue@webkit.org [Sat, 16 Apr 2011 00:21:16 +0000 (00:21 +0000)]
2011-04-15  Vsevolod Vlasov  <vsevik@chromium.org>

        Reviewed by Adam Barth.

        Show a console message when X-Frame-Options blocks a load
        https://bugs.webkit.org/show_bug.cgi?id=39087

        Added console message when X-Frame-Options headers block resource loading

        * http/tests/inspector/network/x-frame-options-deny-expected.txt:
        * http/tests/security/XFrameOptions/x-frame-options-deny-expected.txt:
        * http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny-expected.txt:
2011-04-15  Vsevolod Vlasov  <vsevik@chromium.org>

        Reviewed by Adam Barth.

        Show a console message when X-Frame-Options blocks a load
        https://bugs.webkit.org/show_bug.cgi?id=39087

        Added console message when X-Frame-Options headers block resource loading

        * loader/MainResourceLoader.cpp:
        (WebCore::MainResourceLoader::didReceiveResponse):

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

10 years ago2011-04-15 Fridrich Strba <fridrich.strba@bluewin.ch>
commit-queue@webkit.org [Sat, 16 Apr 2011 00:17:33 +0000 (00:17 +0000)]
2011-04-15  Fridrich Strba  <fridrich.strba@bluewin.ch>

        Reviewed by Martin Robinson.

        Evaluate PLATFORM(GTK) before the all-encompassing OS(WINDOWS)
        test. This allows Windows build of WebKit GTK to chose the right
        path.
        https://bugs.webkit.org/show_bug.cgi?id=58576

        * platform/FileSystem.h:

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