WebKit-https.git
8 years agoRemove an unnecessary extra computeLogicalWidth() from line layout
mitz@apple.com [Sat, 2 Apr 2011 21:37:11 +0000 (21:37 +0000)]
Remove an unnecessary extra computeLogicalWidth() from line layout
https://bugs.webkit.org/show_bug.cgi?id=57711

Reviewed by Dave Hyatt.

Source/WebCore:

Changes in behavior (MathML progression) covered by existing layout tests.

* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::computeInlineDirectionPositionsForLine): Removed a
call to computeLogicalWidth(). Because of <http://webkit.org/b/57700>, this
actually prevents MathML rows from reverting to an incorrect width.

LayoutTests:

These updated expected results show progressions in MathML tests.
fast/table/colspanMinWidth-vertical results changed to show that text controls
still do not handle vertical writing modes correctly.

* platform/mac/fast/table/colspanMinWidth-vertical-expected.checksum:
* platform/mac/fast/table/colspanMinWidth-vertical-expected.png:
* platform/mac/fast/table/colspanMinWidth-vertical-expected.txt:
* platform/mac/mathml/presentation/fractions-expected.checksum:
* platform/mac/mathml/presentation/fractions-expected.png:
* platform/mac/mathml/presentation/fractions-expected.txt:
* platform/mac/mathml/presentation/fractions-vertical-alignment-expected.checksum:
* platform/mac/mathml/presentation/fractions-vertical-alignment-expected.png:
* platform/mac/mathml/presentation/fractions-vertical-alignment-expected.txt:
* platform/mac/mathml/presentation/roots-expected.checksum:
* platform/mac/mathml/presentation/roots-expected.png:
* platform/mac/mathml/presentation/roots-expected.txt:
* platform/mac/mathml/presentation/row-alignment-expected.checksum:
* platform/mac/mathml/presentation/row-alignment-expected.png:
* platform/mac/mathml/presentation/row-alignment-expected.txt:
* platform/mac/mathml/presentation/subsup-expected.checksum:
* platform/mac/mathml/presentation/subsup-expected.png:
* platform/mac/mathml/presentation/subsup-expected.txt:

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

8 years ago2011-04-02 Dominic Cooney <dominicc@google.com>
commit-queue@webkit.org [Sat, 2 Apr 2011 20:56:11 +0000 (20:56 +0000)]
2011-04-02  Dominic Cooney  <dominicc@google.com>

        Reviewed by Martin Robinson.

        Add layoutTestController.shadowRoot to GTK DumpRenderTree.
        https://bugs.webkit.org/show_bug.cgi?id=57551

        * platform/gtk/Skipped: unskip test that accesses shadowRoot
2011-04-02  Dominic Cooney  <dominicc@google.com>

        Reviewed by Martin Robinson.

        Add layoutTestController.shadowRoot to GTK DumpRenderTree.
        https://bugs.webkit.org/show_bug.cgi?id=57551

        * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
        (DumpRenderTreeSupportGtk::shadowRoot):
        * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2011-04-02  Dominic Cooney  <dominicc@google.com>

        Reviewed by Martin Robinson.

        Add layoutTestController.shadowRoot to GTK DumpRenderTree.
        https://bugs.webkit.org/show_bug.cgi?id=57551

        * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
        (LayoutTestController::shadowRoot):

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

8 years ago2011-04-02 Sam Weinig <sam@webkit.org>
weinig@apple.com [Sat, 2 Apr 2011 20:30:01 +0000 (20:30 +0000)]
2011-04-02  Sam Weinig  <sam@webkit.org>

        Reviewed by Dan Bernstein.

        Implement WKBundleFrameHasHorizontalScrollbar/WKBundleFrameHasVerticalScrollbar
        <rdar://problem/9225772>
        https://bugs.webkit.org/show_bug.cgi?id=57709

        * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
        (WKBundleFrameHasHorizontalScrollbar):
        (WKBundleFrameHasVerticalScrollbar):
        * WebProcess/InjectedBundle/API/c/WKBundleFrame.h:
        * WebProcess/WebPage/WebFrame.cpp:
        (WebKit::WebFrame::hasHorizontalScrollbar):
        (WebKit::WebFrame::hasVerticalScrollbar):
        * WebProcess/WebPage/WebFrame.h:

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

8 years ago2011-04-02 Ryuan Choi <ryuan.choi@samsung.com>
commit-queue@webkit.org [Sat, 2 Apr 2011 19:22:07 +0000 (19:22 +0000)]
2011-04-02  Ryuan Choi  <ryuan.choi@samsung.com>

        Reviewed by Martin Robinson.

        [GTK] Fix leaked pointer in FontGtk.cpp
        https://bugs.webkit.org/show_bug.cgi?id=57307

        Fix a memory leak.

        No new functionality, so no new tests.

        * platform/graphics/gtk/FontGtk.cpp:
        (WebCore::utf16ToUtf8): Rename utf16_to_utf8 and fix indentation.
        (WebCore::convertUniCharToUTF8):

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

8 years ago2011-04-02 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sat, 2 Apr 2011 12:15:35 +0000 (12:15 +0000)]
2011-04-02  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Eric Seidel.

        Remove AbstractStep._run_script and move script names to ports.py
        https://bugs.webkit.org/show_bug.cgi?id=57704

        Replace deprecated _run_script with _tool.executive.run_and_throw_if_fail.

        * Scripts/webkitpy/common/config/ports.py:
        * Scripts/webkitpy/tool/commands/download_unittest.py:
        * Scripts/webkitpy/tool/commands/roll_unittest.py:
        * Scripts/webkitpy/tool/commands/upload_unittest.py:
        * Scripts/webkitpy/tool/steps/abstractstep.py:
        * Scripts/webkitpy/tool/steps/checkstyle.py:
        * Scripts/webkitpy/tool/steps/preparechangelog.py:
        * Scripts/webkitpy/tool/steps/preparechangelogfordepsroll.py:
        * Scripts/webkitpy/tool/steps/preparechangelogforrevert.py:

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

8 years ago2011-04-02 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sat, 2 Apr 2011 11:18:57 +0000 (11:18 +0000)]
2011-04-02  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Eric Seidel.

        Emulate shebang on Win32
        https://bugs.webkit.org/show_bug.cgi?id=55927

        Scripts on Windows work only if they are called with the explicit interpreter.
        Read the first line of scripts to detect the correct executable.

        * Scripts/webkitpy/common/config/ports.py:
        * Scripts/webkitpy/common/system/executive.py: Added interpreter_for_script().
        * Scripts/webkitpy/common/system/executive_unittest.py:

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

8 years ago2011-04-02 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Sat, 2 Apr 2011 07:48:27 +0000 (07:48 +0000)]
2011-04-02  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: we should be able to have in and out arguments of a command with same name.
        https://bugs.webkit.org/show_bug.cgi?id=57701

        * inspector/CodeGeneratorInspector.pm:
        * inspector/Inspector.json:

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

8 years ago2011-04-01 Anantanarayanan G Iyengar <ananta@chromium.org>
commit-queue@webkit.org [Sat, 2 Apr 2011 06:52:44 +0000 (06:52 +0000)]
2011-04-01  Anantanarayanan G Iyengar  <ananta@chromium.org>

        Reviewed by Eric Seidel.

        https://bugs.webkit.org/show_bug.cgi?id=57693
        Skipped the windowless_plugin_paint_test.html layout test on Webkit Windows.

        * platform/win/Skipped:

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

8 years ago2011-04-01 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Sat, 2 Apr 2011 06:02:09 +0000 (06:02 +0000)]
2011-04-01  Ilya Tikhonovsky  <loislo@chromium.org>

        Not reviewed trivial change.

        Web Inspector: The page agent should be enabled even if JAVASCRIPT_DEBUGGER is off.
        Followup change for r82281.
        https://bugs.webkit.org/show_bug.cgi?id=57327

        * inspector/InspectorPageAgent.cpp:
        * inspector/InspectorPageAgent.h:

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

8 years ago2011-04-01 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sat, 2 Apr 2011 05:20:53 +0000 (05:20 +0000)]
2011-04-01  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        apos entities shouldn't show up in ChangeLogs when using webkit-patch
        https://bugs.webkit.org/show_bug.cgi?id=57692

        Previously, we were using BeautifulSoup to process XML from
        bugs.webkit.org, but that's incorrect.  We should be using
        BeautifulStoneSoup to process the XML.  We were getting the &apos;
        entity wrong because &apos; is an XML entity but not an HTML entity.

        * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
        * Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py:

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

8 years ago2011-04-01 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Sat, 2 Apr 2011 03:44:20 +0000 (03:44 +0000)]
2011-04-01  Dimitri Glazkov  <dglazkov@chromium.org>

        Skip the test landed in r82758, since WebKitTestRunner doesn't implement
        displayInvalidatedRegion.

        * platform/mac-wk2/Skipped: Skipped the test.

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

8 years ago2011-04-01 Michael Saboff <msaboff@apple.com>
msaboff@apple.com [Sat, 2 Apr 2011 03:32:19 +0000 (03:32 +0000)]
2011-04-01  Michael Saboff  <msaboff@apple.com>

        Reviewed by Darin Adler.

        Cached Resource Overhead Space Usage and Accounting Inaccurate
        https://bugs.webkit.org/show_bug.cgi?id=57488

        Fixed windows test failures.
        Changed the fixed overhead value for ResourceResponse to 3800 bytes.
        Modified ResourceResponse::platformLazyInit() to handle "base" level
        attributes or all attributes.  The base attributes, like URL, status
        code, mime type and a few header fields (mostly cache related) are
        suitable for most resources.  This reduces the per resource memory
        needs by over 1K bytes per resource thus saving memory in the cache.
        Collectively, these two changes bring the overhead memory calculation
        in line with reality.

        No new tests added due to existing tests cover areas of change and
        there is no functional change.  The change is limited to reducing
        memory usage along existing paths.

        * loader/cache/CachedResource.cpp:
        (WebCore::CachedResource::canUseCacheValidator):
        * platform/network/ResourceResponseBase.cpp:
        (WebCore::ResourceResponseBase::adopt):
        (WebCore::ResourceResponseBase::isHTTP):
        (WebCore::ResourceResponseBase::url):
        (WebCore::ResourceResponseBase::setURL):
        (WebCore::ResourceResponseBase::mimeType):
        (WebCore::ResourceResponseBase::setMimeType):
        (WebCore::ResourceResponseBase::expectedContentLength):
        (WebCore::ResourceResponseBase::setExpectedContentLength):
        (WebCore::ResourceResponseBase::textEncodingName):
        (WebCore::ResourceResponseBase::setTextEncodingName):
        (WebCore::ResourceResponseBase::suggestedFilename):
        (WebCore::ResourceResponseBase::setSuggestedFilename):
        (WebCore::ResourceResponseBase::httpStatusCode):
        (WebCore::ResourceResponseBase::setHTTPStatusCode):
        (WebCore::ResourceResponseBase::httpStatusText):
        (WebCore::ResourceResponseBase::setHTTPStatusText):
        (WebCore::ResourceResponseBase::httpHeaderField):
        (WebCore::ResourceResponseBase::setHTTPHeaderField):
        (WebCore::ResourceResponseBase::httpHeaderFields):
        (WebCore::ResourceResponseBase::parseCacheControlDirectives):
        (WebCore::ResourceResponseBase::hasCacheValidatorFields):
        (WebCore::ResourceResponseBase::date):
        (WebCore::ResourceResponseBase::age):
        (WebCore::ResourceResponseBase::expires):
        (WebCore::ResourceResponseBase::lastModified):
        (WebCore::ResourceResponseBase::isAttachment):
        (WebCore::ResourceResponseBase::setLastModifiedDate):
        (WebCore::ResourceResponseBase::lastModifiedDate):
        (WebCore::ResourceResponseBase::wasCached):
        (WebCore::ResourceResponseBase::connectionReused):
        (WebCore::ResourceResponseBase::setConnectionReused):
        (WebCore::ResourceResponseBase::connectionID):
        (WebCore::ResourceResponseBase::setConnectionID):
        (WebCore::ResourceResponseBase::resourceLoadTiming):
        (WebCore::ResourceResponseBase::setResourceLoadTiming):
        (WebCore::ResourceResponseBase::resourceLoadInfo):
        (WebCore::ResourceResponseBase::setResourceLoadInfo):
        (WebCore::ResourceResponseBase::lazyInit):
        * platform/network/ResourceResponseBase.h:
        (WebCore::ResourceResponseBase::platformLazyInit):
        * platform/network/cf/ResourceResponse.h:
        (WebCore::ResourceResponse::ResourceResponse):
        (WebCore::ResourceResponse::memoryUsage):
        * platform/network/cf/ResourceResponseCFNet.cpp:
        (WebCore::ResourceResponse::platformLazyInit):
        * platform/network/mac/ResourceResponseMac.mm:
        (WebCore::ResourceResponse::platformLazyInit):

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

8 years ago2011-04-01 Jon Lee <jonlee@apple.com>
commit-queue@webkit.org [Sat, 2 Apr 2011 02:43:24 +0000 (02:43 +0000)]
2011-04-01  Jon Lee  <jonlee@apple.com>

        Reviewed by Darin Adler.

        WebKit2: Type-to-select doesn't work in open <select> menu (53023)
        https://bugs.webkit.org/show_bug.cgi?id=53023
        <rdar://problem/8907678>

        * UIProcess/WebPageProxy.h:
        * UIProcess/WebPageProxy.messages.in: adding new setPopupMenuSelectedIndex message for windows platform
        * UIProcess/win/WebPageProxyWin.cpp:
        (WebKit::WebPageProxy::setPopupMenuSelectedIndex):
        * UIProcess/win/WebPopupMenuProxyWin.h: moving setFocusedIndex() into public method
        * WebProcess/WebCoreSupport/WebPopupMenu.cpp:
        (WebKit::WebPopupMenu::updateFromElement): send message back to UIProcess to update the selected element

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

8 years ago2011-04-01 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Sat, 2 Apr 2011 02:43:07 +0000 (02:43 +0000)]
2011-04-01  Dirk Pranke  <dpranke@chromium.org>

        Unreviewed, expectations change.

        Skipping fast/workers/dedicated-worker-lifecycle instead of
        treating it as SLOW. It appears to be downright flaky.

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

        * platform/mac/test_expectations.txt:

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

8 years ago2011-04-01 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sat, 2 Apr 2011 02:42:31 +0000 (02:42 +0000)]
2011-04-01  Adam Barth  <abarth@webkit.org>

        This test fails by timing out.

        * platform/chromium/test_expectations.txt:

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

8 years agofix bug number
dpranke@chromium.org [Sat, 2 Apr 2011 02:23:17 +0000 (02:23 +0000)]
fix bug number

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

8 years ago2011-04-01 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Sat, 2 Apr 2011 02:18:28 +0000 (02:18 +0000)]
2011-04-01  Dirk Pranke  <dpranke@chromium.org>

        Unreviewed, expectations change.

        Suppress some flaky bidi- and editing-related test failures on
        SL Mac NRWT runs. See:

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

        * platform/mac/test_expectations.txt:

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

8 years ago2011-04-01 Anantanarayanan G Iyengar <ananta@chromium.org>
commit-queue@webkit.org [Sat, 2 Apr 2011 02:03:23 +0000 (02:03 +0000)]
2011-04-01  Anantanarayanan G Iyengar  <ananta@chromium.org>

        Reviewed by Adam Barth.

        https://bugs.webkit.org/show_bug.cgi?id=45855
        Windowless plugins added dynamically to the DOM should receive paint events.
        This is done by ensuring that the plugin widget is marked for painting when
        it is added. Added a layout test which verifies that a dynamically added plugin
        receives a paint event. This test has to be skipped on chromium mac/linux and
        on gtk and qt as it relies on support for the displayInvalidatedRegion function
        in the LayoutTestController

        * platform/chromium/test_expectations.txt:
        * platform/gtk/Skipped:
        * platform/qt/Skipped:
        * plugins/windowless_plugin_paint_test-expected.txt: Added.
        * plugins/windowless_plugin_paint_test.html: Added.
2011-04-01  Anantanarayanan G Iyengar  <ananta@chromium.org>

        Reviewed by Adam Barth.

        https://bugs.webkit.org/show_bug.cgi?id=45855
        Windowless plugins added dynamically to the DOM should receive paint events.
        This is done by ensuring that the plugin widget is marked for painting when
        it is added.

        Test: plugins/windowless_plugin_paint_test.html

        * rendering/RenderWidget.cpp:
        (WebCore::RenderWidget::setWidget):

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

8 years ago2011-04-01 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Sat, 2 Apr 2011 01:45:45 +0000 (01:45 +0000)]
2011-04-01  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r82721.
        http://trac.webkit.org/changeset/82721
        https://bugs.webkit.org/show_bug.cgi?id=57687

        This patch introduced assertion failures on the GTK+ bots.
        (Requested by mrobinson on #webkit).

        * platform/gtk/Skipped:
2011-04-01  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r82721.
        http://trac.webkit.org/changeset/82721
        https://bugs.webkit.org/show_bug.cgi?id=57687

        This patch introduced assertion failures on the GTK+ bots.
        (Requested by mrobinson on #webkit).

        * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
        * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2011-04-01  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r82721.
        http://trac.webkit.org/changeset/82721
        https://bugs.webkit.org/show_bug.cgi?id=57687

        This patch introduced assertion failures on the GTK+ bots.
        (Requested by mrobinson on #webkit).

        * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
        (LayoutTestController::shadowRoot):

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

8 years agoUnreviewed buildfix.
ossy@webkit.org [Sat, 2 Apr 2011 01:43:31 +0000 (01:43 +0000)]
Unreviewed buildfix.

[Qt][WK2] Build Webkit2 using "-2" option on Qt
https://bugs.webkit.org/show_bug.cgi?id=55074

* Scripts/build-webkit: Ensure that "-2" isn't passed to qmake.
(The isWK2() function removes it from @ARGV, but not from @options.)

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

8 years ago2011-04-01 Keith Kyzivat <keith.kyzivat@nokia.com>
commit-queue@webkit.org [Sat, 2 Apr 2011 01:40:56 +0000 (01:40 +0000)]
2011-04-01  Keith Kyzivat  <keith.kyzivat@nokia.com>

        Reviewed by Csaba Osztrogonác.

        [Qt] [WK2] MiniBrowser.qrc not found - regression from rev 82671
        https://bugs.webkit.org/show_bug.cgi?id=57666

        * MiniBrowser/qt/MiniBrowser.qrc: Renamed from Tools/MiniBrowser/MiniBrowser.qrc.

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

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

        Attempt to fix the Chromium build using the great and powerful git.
        This patch should be the remaining part of reverting Jeremy's ill-fated
        refactoring.

        * src/IDBDatabaseProxy.cpp:
        (WebCore::IDBDatabaseProxy::create):
        (WebCore::IDBDatabaseProxy::IDBDatabaseProxy):
        (WebCore::IDBDatabaseProxy::~IDBDatabaseProxy):
        (WebCore::IDBDatabaseProxy::name):
        (WebCore::IDBDatabaseProxy::version):
        (WebCore::IDBDatabaseProxy::objectStoreNames):
        (WebCore::IDBDatabaseProxy::createObjectStore):
        (WebCore::IDBDatabaseProxy::deleteObjectStore):
        (WebCore::IDBDatabaseProxy::setVersion):
        (WebCore::IDBDatabaseProxy::transaction):
        (WebCore::IDBDatabaseProxy::close):
        (WebCore::IDBDatabaseProxy::open):
        * src/IDBDatabaseProxy.h:
        * src/IDBObjectStoreProxy.cpp:
        (WebCore::IDBObjectStoreProxy::create):
        (WebCore::IDBObjectStoreProxy::IDBObjectStoreProxy):
        (WebCore::IDBObjectStoreProxy::~IDBObjectStoreProxy):
        (WebCore::IDBObjectStoreProxy::name):
        (WebCore::IDBObjectStoreProxy::keyPath):
        (WebCore::IDBObjectStoreProxy::indexNames):
        (WebCore::IDBObjectStoreProxy::get):
        (WebCore::IDBObjectStoreProxy::put):
        (WebCore::IDBObjectStoreProxy::deleteFunction):
        (WebCore::IDBObjectStoreProxy::clear):
        (WebCore::IDBObjectStoreProxy::createIndex):
        (WebCore::IDBObjectStoreProxy::index):
        (WebCore::IDBObjectStoreProxy::deleteIndex):
        (WebCore::IDBObjectStoreProxy::openCursor):

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

8 years ago2011-04-01 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Sat, 2 Apr 2011 00:55:22 +0000 (00:55 +0000)]
2011-04-01  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Adam Barth.

        new-run-webkit-tests: fix feature detection, skipped platform lists on mac

        We apparently never implemented the code to skip tests based on
        what was compiled into DRT. Also, change the logic used to skip
        platform directories to match what old-run-webkit-tests does:
        skip every test not in a directory in the baseline search path.

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

        * Scripts/webkitpy/layout_tests/port/mac.py:
        * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
        * Scripts/webkitpy/layout_tests/port/webkit.py:

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

8 years ago<http://webkit.org/b/56730> new-run-webkit-tests fails on Lion seed
mrowe@apple.com [Sat, 2 Apr 2011 00:40:02 +0000 (00:40 +0000)]
<webkit.org/b/56730> new-run-webkit-tests fails on Lion seed

Reviewed by Jon Honeycutt.

Teach new-run-webkit-tests about the concept of an unreleased version of Mac OS X.

* Scripts/webkitpy/layout_tests/port/chromium_mac.py:
* Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
* Scripts/webkitpy/layout_tests/port/mac.py:
* Scripts/webkitpy/layout_tests/port/mac_unittest.py:

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

8 years ago2011-04-01 Mike Reed <reed@google.com>
commit-queue@webkit.org [Sat, 2 Apr 2011 00:36:18 +0000 (00:36 +0000)]
2011-04-01  Mike Reed  <reed@google.com>

        Reviewed by James Robinson.

        always use native font rendering on skia_gpu
        fixes a crash when SKIA_GPU is enabled, as we can't call getTopPlatformDevice()
        https://bugs.webkit.org/show_bug.cgi?id=57663

        No new tests. existing rendering tests will exercise this

        * platform/graphics/skia/PlatformContextSkia.cpp:
        (WebCore::PlatformContextSkia::isNativeFontRenderingAllowed):

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

8 years ago2011-04-01 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sat, 2 Apr 2011 00:35:59 +0000 (00:35 +0000)]
2011-04-01  Adam Barth  <abarth@webkit.org>

        Move these files back to their old locations.  I'm not sure why the
        rollout didn't move them properly.

        * src/IDBDatabaseBackendProxy.cpp: Removed.
        * src/IDBDatabaseBackendProxy.h: Removed.
        * src/IDBDatabaseProxy.cpp: Copied from Source/WebKit/chromium/src/IDBDatabaseBackendProxy.cpp.
        * src/IDBDatabaseProxy.h: Copied from Source/WebKit/chromium/src/IDBDatabaseBackendProxy.h.
        * src/IDBObjectStoreBackendProxy.cpp: Removed.
        * src/IDBObjectStoreProxy.cpp: Copied from Source/WebKit/chromium/src/IDBObjectStoreBackendProxy.cpp.

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

8 years ago Reviewed by Darin Adler.
ap@apple.com [Sat, 2 Apr 2011 00:27:29 +0000 (00:27 +0000)]
    Reviewed by Darin Adler.

        REGRESSION: Assertion failure when executing a complex custom key binding
        https://bugs.webkit.org/show_bug.cgi?id=57681

        Also completes the fix for
        <rdar://problem/9063782> WebKit2: Text fields in Safari don't honor custom key bindings

        * UIProcess/API/mac/WKView.mm: (-[WKView hasMarkedText]): There is no need to execute saved
        commands when they can't possibly change the result.

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

8 years ago2011-04-01 Sheriff Bot <webkit.review.bot@gmail.com>
abarth@webkit.org [Sat, 2 Apr 2011 00:09:38 +0000 (00:09 +0000)]
2011-04-01  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r82738.
        http://trac.webkit.org/changeset/82738
        https://bugs.webkit.org/show_bug.cgi?id=57684

        Broke storage/indexeddb/objectstore-autoincrement.html and
        InjectIDBKey (Requested by abarth|gardening on #webkit).

        * WebKit.gyp:
        * src/IDBCallbacksProxy.cpp:
        (WebCore::IDBCallbacksProxy::create):
        (WebCore::IDBCallbacksProxy::IDBCallbacksProxy):
        (WebCore::IDBCallbacksProxy::onError):
        (WebCore::IDBCallbacksProxy::onSuccess):
        * src/IDBCallbacksProxy.h:
        * src/IDBCursorBackendProxy.cpp:
        (WebCore::IDBCursorBackendProxy::create):
        (WebCore::IDBCursorBackendProxy::IDBCursorBackendProxy):
        * src/IDBCursorBackendProxy.h:
        * src/IDBDatabaseCallbacksProxy.cpp:
        (WebCore::IDBDatabaseCallbacksProxy::create):
        (WebCore::IDBDatabaseCallbacksProxy::IDBDatabaseCallbacksProxy):
        * src/IDBDatabaseCallbacksProxy.h:
        * src/IDBDatabaseProxy.cpp: Renamed from Source/WebKit/chromium/src/IDBDatabaseBackendProxy.cpp.
        (WebCore::IDBDatabaseProxy::create):
        (WebCore::IDBDatabaseProxy::IDBDatabaseProxy):
        (WebCore::IDBDatabaseProxy::~IDBDatabaseProxy):
        (WebCore::IDBDatabaseProxy::name):
        (WebCore::IDBDatabaseProxy::version):
        (WebCore::IDBDatabaseProxy::objectStoreNames):
        (WebCore::IDBDatabaseProxy::createObjectStore):
        (WebCore::IDBDatabaseProxy::deleteObjectStore):
        (WebCore::IDBDatabaseProxy::setVersion):
        (WebCore::IDBDatabaseProxy::transaction):
        (WebCore::IDBDatabaseProxy::close):
        (WebCore::IDBDatabaseProxy::open):
        * src/IDBDatabaseProxy.h: Renamed from Source/WebKit/chromium/src/IDBDatabaseBackendProxy.h.
        * src/IDBFactoryBackendProxy.cpp:
        (WebCore::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
        (WebCore::IDBFactoryBackendProxy::open):
        * src/IDBFactoryBackendProxy.h:
        * src/IDBIndexBackendProxy.cpp:
        (WebCore::IDBIndexBackendProxy::create):
        (WebCore::IDBIndexBackendProxy::IDBIndexBackendProxy):
        * src/IDBIndexBackendProxy.h:
        * src/IDBObjectStoreBackendProxy.h: Removed.
        * src/IDBObjectStoreProxy.cpp: Renamed from Source/WebKit/chromium/src/IDBObjectStoreBackendProxy.cpp.
        (WebCore::IDBObjectStoreProxy::create):
        (WebCore::IDBObjectStoreProxy::IDBObjectStoreProxy):
        (WebCore::IDBObjectStoreProxy::~IDBObjectStoreProxy):
        (WebCore::IDBObjectStoreProxy::name):
        (WebCore::IDBObjectStoreProxy::keyPath):
        (WebCore::IDBObjectStoreProxy::indexNames):
        (WebCore::IDBObjectStoreProxy::get):
        (WebCore::IDBObjectStoreProxy::put):
        (WebCore::IDBObjectStoreProxy::deleteFunction):
        (WebCore::IDBObjectStoreProxy::clear):
        (WebCore::IDBObjectStoreProxy::createIndex):
        (WebCore::IDBObjectStoreProxy::index):
        (WebCore::IDBObjectStoreProxy::deleteIndex):
        (WebCore::IDBObjectStoreProxy::openCursor):
        * src/IDBObjectStoreProxy.h: Added.
        * src/IDBTransactionBackendProxy.cpp:
        (WebCore::IDBTransactionBackendProxy::create):
        (WebCore::IDBTransactionBackendProxy::IDBTransactionBackendProxy):
        (WebCore::IDBTransactionBackendProxy::objectStore):
        * src/IDBTransactionBackendProxy.h:
        (WebCore::IDBTransactionBackendProxy::getWebIDBTransaction):
        * src/IDBTransactionCallbacksProxy.cpp:
        (WebCore::IDBTransactionCallbacksProxy::create):
        (WebCore::IDBTransactionCallbacksProxy::IDBTransactionCallbacksProxy):
        * src/IDBTransactionCallbacksProxy.h:
        * src/WebIDBCallbacksImpl.cpp:
        (WebCore::WebIDBCallbacksImpl::onError):
        (WebCore::WebIDBCallbacksImpl::onSuccess):
        * src/WebIDBCallbacksImpl.h:
        * src/WebIDBCursorImpl.cpp:
        * src/WebIDBCursorImpl.h:
        * src/WebIDBDatabaseCallbacksImpl.cpp:
        (WebCore::WebIDBDatabaseCallbacksImpl::onVersionChange):
        * src/WebIDBDatabaseCallbacksImpl.h:
        * src/WebIDBDatabaseError.cpp:
        * src/WebIDBDatabaseImpl.cpp:
        * src/WebIDBDatabaseImpl.h:
        * src/WebIDBFactoryImpl.cpp:
        (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
        * src/WebIDBFactoryImpl.h:
        * src/WebIDBIndexImpl.cpp:
        * src/WebIDBIndexImpl.h:
        * src/WebIDBKey.cpp:
        (WebKit::WebIDBKey::createFromValueAndKeyPath):
        (WebKit::WebIDBKey::injectIDBKeyIntoSerializedValue):
        * src/WebIDBKeyPath.cpp:
        (WebKit::WebIDBKeyPath::operator const WTF::Vector<WebCore::IDBKeyPathElement, 0>&):
        * src/WebIDBKeyRange.cpp:
        * src/WebIDBObjectStoreImpl.cpp:
        * src/WebIDBObjectStoreImpl.h:
        * src/WebIDBTransactionCallbacksImpl.cpp:
        * src/WebIDBTransactionCallbacksImpl.h:
        * src/WebIDBTransactionImpl.cpp:
        * src/WebIDBTransactionImpl.h:

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

8 years ago2011-04-01 Sheriff Bot <webkit.review.bot@gmail.com>
abarth@webkit.org [Fri, 1 Apr 2011 23:59:08 +0000 (23:59 +0000)]
2011-04-01  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r82712, r82729, and r82746.
        http://trac.webkit.org/changeset/82712
        http://trac.webkit.org/changeset/82729
        http://trac.webkit.org/changeset/82746
        https://bugs.webkit.org/show_bug.cgi?id=57682

        fast/frames/frame-programmatic-noresize.html is failing on
        Windows bots. Will look into this offline. (Requested by dydx
        on #webkit).

        * html/HTMLFrameElement.cpp:
        (WebCore::HTMLFrameElement::HTMLFrameElement):
        (WebCore::HTMLFrameElement::attach):
        (WebCore::HTMLFrameElement::parseMappedAttribute):
        * html/HTMLFrameElement.h:
        (WebCore::HTMLFrameElement::noResize):
        * rendering/RenderFrame.cpp:
        * rendering/RenderFrame.h:
        * rendering/RenderFrameSet.cpp:
        * rendering/RenderFrameSet.h:
2011-04-01  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r82712, r82729, and r82746.
        http://trac.webkit.org/changeset/82712
        http://trac.webkit.org/changeset/82729
        http://trac.webkit.org/changeset/82746
        https://bugs.webkit.org/show_bug.cgi?id=57682

        fast/frames/frame-programmatic-noresize.html is failing on
        Windows bots. Will look into this offline. (Requested by dydx
        on #webkit).

        * fast/frames/frame-inherit-noresize-from-frameset-expected.txt: Removed.
        * fast/frames/frame-inherit-noresize-from-frameset.html: Removed.
        * fast/frames/frame-programmatic-noresize-expected.txt: Removed.
        * fast/frames/frame-programmatic-noresize.html: Removed.
        * fast/frames/frame-with-noresize-can-be-resized-after-removal-of-noresize-expected.txt: Removed.
        * fast/frames/frame-with-noresize-can-be-resized-after-removal-of-noresize.html: Removed.
        * fast/frames/frame-with-noresize-can-be-resized-after-setting-noResize-to-false-expected.txt: Removed.
        * fast/frames/frame-with-noresize-can-be-resized-after-setting-noResize-to-false.html: Removed.
        * fast/frames/resources/frame-programmatic-resize.js: Removed.
        * platform/chromium/test_expectations.txt:

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

8 years ago2011-04-01 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Fri, 1 Apr 2011 23:40:58 +0000 (23:40 +0000)]
2011-04-01  Adam Barth  <abarth@webkit.org>

        Mark failing test as failing.

        * platform/chromium/test_expectations.txt:

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

8 years ago2011-04-01 Chang Shu <cshu@webkit.org>
commit-queue@webkit.org [Fri, 1 Apr 2011 23:38:52 +0000 (23:38 +0000)]
2011-04-01  Chang Shu  <cshu@webkit.org>

        Reviewed by Csaba Osztrogonác.

        [Qt][WK2] Build Webkit2 using "-2" option on Qt
        https://bugs.webkit.org/show_bug.cgi?id=55074

        * Scripts/build-webkit:

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

8 years agoCrash when calling WebPageProxy::setMemoryCacheClientCallsEnabled with an invalid...
bweinstein@apple.com [Fri, 1 Apr 2011 23:33:26 +0000 (23:33 +0000)]
Crash when calling WebPageProxy::setMemoryCacheClientCallsEnabled with an invalid Web Process
https://bugs.webkit.org/show_bug.cgi?id=57680
<rdar://problem/9202909>

Reviewed by Anders Carlsson.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::setMemoryCacheClientCallsEnabled): Add an isValid check before sending
    the message.

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

8 years ago2011-04-01 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Fri, 1 Apr 2011 23:33:05 +0000 (23:33 +0000)]
2011-04-01  Martin Robinson  <mrobinson@igalia.com>

        Unreviewed, rolling out r82708.
        http://trac.webkit.org/changeset/82708
        https://bugs.webkit.org/show_bug.cgi?id=53644

        This tests fails consistently when run along with other tests

        * platform/gtk/Skipped:
        * platform/gtk/editing/deleting/5408255-expected.checksum:
        * platform/gtk/editing/deleting/5408255-expected.png:
        * platform/gtk/editing/deleting/5408255-expected.txt:

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

8 years agoVersioning.
mrowe@apple.com [Fri, 1 Apr 2011 23:19:39 +0000 (23:19 +0000)]
Versioning.

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

8 years ago2011-04-01 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Fri, 1 Apr 2011 23:19:11 +0000 (23:19 +0000)]
2011-04-01  Adam Barth  <abarth@webkit.org>

        Reviewed by Tony Chang.

        Valgrind error in _ZN7WebCore8Document11updateTitleERKNS_19StringWithDirectionE
        https://bugs.webkit.org/show_bug.cgi?id=57656

        We should initialize memory when constructing objects.

        * platform/text/StringWithDirection.h:
        (WebCore::StringWithDirection::StringWithDirection):

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

8 years ago2011-04-01 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Fri, 1 Apr 2011 23:12:42 +0000 (23:12 +0000)]
2011-04-01  Dirk Pranke  <dpranke@chromium.org>

        Unreviewed, expectations change.

        Update mac new-run-webkit-tests expectations with SLOW tests.

        * platform/mac/test_expectations.txt:

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

8 years ago2011-03-30 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Fri, 1 Apr 2011 23:12:07 +0000 (23:12 +0000)]
2011-03-30  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Nate Chapin.

        Clean up IndexedDB WebKit API
        https://bugs.webkit.org/show_bug.cgi?id=57507

        Rename the backend proxy files that didn't have Backend in their name.
        Everything in WebKit should be in the WebKit namespace.
        Put everything behind the feature flag so we're consistient.
        Put the feature flag #if above includes.

        * WebKit.gyp:
        * src/IDBCallbacksProxy.cpp:
        (WebKit::IDBCallbacksProxy::create):
        (WebKit::IDBCallbacksProxy::IDBCallbacksProxy):
        (WebKit::IDBCallbacksProxy::onError):
        (WebKit::IDBCallbacksProxy::onSuccess):
        * src/IDBCallbacksProxy.h:
        * src/IDBCursorBackendProxy.cpp:
        (WebKit::IDBCursorBackendProxy::create):
        (WebKit::IDBCursorBackendProxy::IDBCursorBackendProxy):
        * src/IDBCursorBackendProxy.h:
        * src/IDBDatabaseBackendProxy.cpp:
        (WebKit::IDBDatabaseBackendProxy::create):
        (WebKit::IDBDatabaseBackendProxy::IDBDatabaseBackendProxy):
        (WebKit::IDBDatabaseBackendProxy::~IDBDatabaseBackendProxy):
        (WebKit::IDBDatabaseBackendProxy::name):
        (WebKit::IDBDatabaseBackendProxy::version):
        (WebKit::IDBDatabaseBackendProxy::objectStoreNames):
        (WebKit::IDBDatabaseBackendProxy::createObjectStore):
        (WebKit::IDBDatabaseBackendProxy::deleteObjectStore):
        (WebKit::IDBDatabaseBackendProxy::setVersion):
        (WebKit::IDBDatabaseBackendProxy::transaction):
        (WebKit::IDBDatabaseBackendProxy::close):
        (WebKit::IDBDatabaseBackendProxy::open):
        * src/IDBDatabaseCallbacksProxy.cpp:
        (WebKit::IDBDatabaseCallbacksProxy::create):
        (WebKit::IDBDatabaseCallbacksProxy::IDBDatabaseCallbacksProxy):
        * src/IDBDatabaseCallbacksProxy.h:
        * src/IDBFactoryBackendProxy.cpp:
        (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
        (WebKit::IDBFactoryBackendProxy::open):
        * src/IDBFactoryBackendProxy.h:
        * src/IDBIndexBackendProxy.cpp:
        (WebKit::IDBIndexBackendProxy::create):
        (WebKit::IDBIndexBackendProxy::IDBIndexBackendProxy):
        * src/IDBIndexBackendProxy.h:
        * src/IDBObjectStoreBackendProxy.cpp:
        (WebKit::IDBObjectStoreBackendProxy::create):
        (WebKit::IDBObjectStoreBackendProxy::IDBObjectStoreBackendProxy):
        (WebKit::IDBObjectStoreBackendProxy::~IDBObjectStoreBackendProxy):
        (WebKit::IDBObjectStoreBackendProxy::name):
        (WebKit::IDBObjectStoreBackendProxy::keyPath):
        (WebKit::IDBObjectStoreBackendProxy::indexNames):
        (WebKit::IDBObjectStoreBackendProxy::get):
        (WebKit::IDBObjectStoreBackendProxy::put):
        (WebKit::IDBObjectStoreBackendProxy::deleteFunction):
        (WebKit::IDBObjectStoreBackendProxy::clear):
        (WebKit::IDBObjectStoreBackendProxy::createIndex):
        (WebKit::IDBObjectStoreBackendProxy::index):
        (WebKit::IDBObjectStoreBackendProxy::deleteIndex):
        (WebKit::IDBObjectStoreBackendProxy::openCursor):
        * src/IDBObjectStoreBackendProxy.h: Added.
        * src/IDBObjectStoreProxy.h: Removed.
        * src/IDBTransactionBackendProxy.cpp:
        (WebKit::IDBTransactionBackendProxy::create):
        (WebKit::IDBTransactionBackendProxy::IDBTransactionBackendProxy):
        (WebKit::IDBTransactionBackendProxy::objectStore):
        * src/IDBTransactionBackendProxy.h:
        (WebKit::IDBTransactionBackendProxy::getWebIDBTransaction):
        * src/IDBTransactionCallbacksProxy.cpp:
        (WebKit::IDBTransactionCallbacksProxy::create):
        (WebKit::IDBTransactionCallbacksProxy::IDBTransactionCallbacksProxy):
        * src/IDBTransactionCallbacksProxy.h:
        * src/WebIDBCallbacksImpl.cpp:
        (WebKit::WebIDBCallbacksImpl::onError):
        (WebKit::WebIDBCallbacksImpl::onSuccess):
        * src/WebIDBCallbacksImpl.h:
        * src/WebIDBCursorImpl.cpp:
        * src/WebIDBCursorImpl.h:
        * src/WebIDBDatabaseCallbacksImpl.cpp:
        (WebKit::WebIDBDatabaseCallbacksImpl::onVersionChange):
        * src/WebIDBDatabaseCallbacksImpl.h:
        * src/WebIDBDatabaseError.cpp:
        * src/WebIDBDatabaseImpl.cpp:
        * src/WebIDBDatabaseImpl.h:
        * src/WebIDBFactoryImpl.cpp:
        (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
        * src/WebIDBFactoryImpl.h:
        * src/WebIDBIndexImpl.cpp:
        * src/WebIDBIndexImpl.h:
        * src/WebIDBKey.cpp:
        (WebKit::WebIDBKey::createFromValueAndKeyPath):
        (WebKit::WebIDBKey::injectIDBKeyIntoSerializedValue):
        * src/WebIDBKeyPath.cpp:
        (WebKit::WebIDBKeyPath::operator const WTF::Vector<IDBKeyPathElement, 0>&):
        * src/WebIDBKeyRange.cpp:
        * src/WebIDBObjectStoreImpl.cpp:
        * src/WebIDBObjectStoreImpl.h:
        * src/WebIDBTransactionCallbacksImpl.cpp:
        * src/WebIDBTransactionCallbacksImpl.h:
        * src/WebIDBTransactionImpl.cpp:
        * src/WebIDBTransactionImpl.h:

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

8 years ago2011-03-31 Jer Noble <jer.noble@apple.com>
jer.noble@apple.com [Fri, 1 Apr 2011 23:07:36 +0000 (23:07 +0000)]
2011-03-31  Jer Noble  <jer.noble@apple.com>

        Reviewed by Dan Bernstein.

        WebKit2: Save as PDF in Safari provides Untitled as default file name
        https://bugs.webkit.org/show_bug.cgi?id=57529

        Set the NSPrintOperation's jobTitle to the printing frame's title.

        * UIProcess/API/mac/WKView.mm:
        (-[WKView printOperationWithPrintInfo:forFrame:]):

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

8 years ago2011-04-01 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Fri, 1 Apr 2011 23:05:42 +0000 (23:05 +0000)]
2011-04-01  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Tony Chang.

        new-run-webkit-tests: remove spurious port version override in webkit.py
        base.py provides a default implementation so this is just
        breaking things.

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

        * Scripts/webkitpy/layout_tests/port/webkit.py:
        * Scripts/webkitpy/layout_tests/port/mac_unittest.py:

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

8 years ago2011-04-01 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Fri, 1 Apr 2011 23:02:03 +0000 (23:02 +0000)]
2011-04-01  Adam Barth  <abarth@webkit.org>

        Skip platform/mac/plugins/convert-point.html because it relies on code
        that only exists in the test plugin for Apple's Mac port.  We generally
        ignore most of the tests in platform/mac, although we do run them to
        detect crashes.  In this case, however, the test does crash, but it
        crashes in the test plug-in, which doesn't matter to us.

        * platform/chromium/test_expectations.txt:

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

8 years ago2011-04-01 Csaba Osztrogonác <ossy@webkit.org>
ossy@webkit.org [Fri, 1 Apr 2011 22:57:43 +0000 (22:57 +0000)]
2011-04-01  Csaba Osztrogonác  <ossy@webkit.org>

        Reviewed by Adam Roben.

        Make view results on waterfall direct link to results.html
        https://bugs.webkit.org/show_bug.cgi?id=57671

        * BuildSlaveSupport/build.webkit.org-config/master.cfg: Add "/results.html" to the URL.
        * Scripts/old-run-webkit-tests: Add links to httpd access and error logs.

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

8 years ago2011-04-01 Jer Noble <jer.noble@apple.com>
jer.noble@apple.com [Fri, 1 Apr 2011 22:53:02 +0000 (22:53 +0000)]
2011-04-01  Jer Noble  <jer.noble@apple.com>

        Reviewed by Darin Adler.

        WebKit2: Link from PDF opens in a new tab instead of in the same tab
        https://bugs.webkit.org/show_bug.cgi?id=57528

        * WebCore.exp.in: Export MouseEvent::create().
2011-04-01  Jer Noble  <jer.noble@apple.com>

        Reviewed by Darin Adler.

        WebKit2: Link from PDF opens in a new tab instead of in the same tab
        https://bugs.webkit.org/show_bug.cgi?id=57528

        Notify the WebProcess that a link has been clicked so that the normal policy
        lookup can occur.

        * Shared/WebEvent.cpp:
        (WebKit::WebEvent::WebEvent): Initialize ivars in the default constructor.
        * Shared/WebEvent.h: Add WebEvent::NoType to Type enum.
        * Shared/WebMouseEvent.cpp:
        (WebKit::WebMouseEvent::WebMouseEvent): Ditto.
        * UIProcess/API/mac/PDFViewController.mm:
        (-[WKPDFView PDFViewWillClickOnLink:withURL:]): Handle the delegate
            function and override the PDFView default behavior.
        * UIProcess/WebPageProxy.cpp:
        (WebKit::WebPageProxy::didReceiveEvent): Handle the new WebEvent::NoType enum.
        (WebKit::WebPageProxy::linkClicked): Added.  Send event through to WebPage.
        * UIProcess/WebPageProxy.h:
        * WebProcess/WebPage/WebPage.cpp:
        (WebKit::WebPage::linkClicked): Added.  Call loadFrameRequest().
        * WebProcess/WebPage/WebPage.h:
        * WebProcess/WebPage/WebPage.messages.in: Added LinkClicked.

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

8 years agoFix windows build.
weinig@apple.com [Fri, 1 Apr 2011 22:50:44 +0000 (22:50 +0000)]
Fix windows build.

* TestWebKitAPI/Tests/WebKit2/win/HideFindIndicator.cpp:
(TestWebKitAPI::TEST):
* TestWebKitAPI/Tests/WebKit2/win/ResizeViewWhileHidden.cpp:
(TestWebKitAPI::flushMessages):

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

8 years agoRemove unnecessary static keyword.
weinig@apple.com [Fri, 1 Apr 2011 22:39:42 +0000 (22:39 +0000)]
Remove unnecessary static keyword.

Reviewed by Adam "Keyword Slasher" Roben.

* UIProcess/API/cpp/WKRetainPtr.h:
(WebKit::adoptWK):

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

8 years ago2011-04-01 Sam Weinig <sam@webkit.org>
weinig@apple.com [Fri, 1 Apr 2011 22:35:39 +0000 (22:35 +0000)]
2011-04-01  Sam Weinig  <sam@webkit.org>

        Reviewed by Adam Roben.

        Add adoptWK to WKRetainPtr.h
        https://bugs.webkit.org/show_bug.cgi?id=57670

        * UIProcess/API/cpp/WKRetainPtr.h:
        (WebKit::adoptWK):
        Add shared implementation of adoptWK. Previously both WebKitTestRunner
        and TestWebKitAPI had separate versions of it.
2011-04-01  Sam Weinig  <sam@webkit.org>

        Reviewed by Adam Roben.

        Add adoptWK to WKRetainPtr.h
        https://bugs.webkit.org/show_bug.cgi?id=57670

        * TestWebKitAPI/PlatformUtilities.h:
        * TestWebKitAPI/Tests/WebKit2/AboutBlankLoad.cpp:
        * TestWebKitAPI/Tests/WebKit2/CanHandleRequest.cpp:
        * TestWebKitAPI/Tests/WebKit2/CanHandleRequest_Bundle.cpp:
        * TestWebKitAPI/Tests/WebKit2/CookieManager.cpp:
        * TestWebKitAPI/Tests/WebKit2/HitTestResultNodeHandle.cpp:
        * TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp:
        * TestWebKitAPI/Tests/WebKit2/ResponsivenessTimerDoesntFireEarly.cpp:
        * TestWebKitAPI/Tests/WebKit2/RestoreSessionStateContainingFormData.cpp:
        (TestWebKitAPI::createSessionStateContainingFormData):
        * WebKitTestRunner/StringFunctions.h:
        Replace custom versions of adoptWK with the API on in WebKit2/WKRetainPtr.h.

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

8 years ago2011-04-01 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Fri, 1 Apr 2011 22:29:51 +0000 (22:29 +0000)]
2011-04-01  Adam Barth  <abarth@webkit.org>

        Reviewed by Daniel Bates.

        Test assigning false to noResize instead of undefined
        https://bugs.webkit.org/show_bug.cgi?id=57668

        Apparently the V8 bindings have a bug when assigning undefined to a
        boolean attribute.  I've filed
        https://bugs.webkit.org/show_bug.cgi?id=57669 about that issue, which
        I'll address in another patch (obviously with a test).  In the
        meantime, this patch changes this test to test "false" instead of
        "undefined".

        * fast/frames/frame-programmatic-noresize-expected.txt:
        * fast/frames/frame-programmatic-noresize.html:

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

8 years ago2011-04-01 John Bauman <jbauman@chromium.org>
commit-queue@webkit.org [Fri, 1 Apr 2011 22:28:11 +0000 (22:28 +0000)]
2011-04-01  John Bauman  <jbauman@chromium.org>

        Reviewed by Kenneth Russell.

        Avoid decoding images twice in texImage2D
        https://bugs.webkit.org/show_bug.cgi?id=51498

        Make sure to redecode the image only if it's not opaque and texImage2D
        wouldn't premultiply it anyway.

        * platform/graphics/BitmapImage.h:
        * platform/graphics/cg/GraphicsContext3DCG.cpp:
        (WebCore::GraphicsContext3D::getImageData):
        * platform/graphics/skia/GraphicsContext3DSkia.cpp:
        (WebCore::GraphicsContext3D::getImageData):

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

8 years agoFix leak noticed by Adam Roben in LayoutTestController::shadowRoot.
weinig@apple.com [Fri, 1 Apr 2011 22:19:07 +0000 (22:19 +0000)]
Fix leak noticed by Adam Roben in LayoutTestController::shadowRoot.

Reviewed by Adam Roben.

* WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
(WTR::LayoutTestController::shadowRoot):
Make judicious use of adoptWK().

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

8 years agoRemove bogus ChangeLog entry.
andersca@apple.com [Fri, 1 Apr 2011 22:12:18 +0000 (22:12 +0000)]
Remove bogus ChangeLog entry.

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

8 years agoFix extract-localizable-strings for macro change from UI_STRING -> WEB_UI_STRING.
weinig@apple.com [Fri, 1 Apr 2011 22:11:13 +0000 (22:11 +0000)]
Fix extract-localizable-strings for macro change from UI_STRING -> WEB_UI_STRING.

Reviewed by Timothy Hatcher.

* Scripts/extract-localizable-strings:

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

8 years ago2011-04-01 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Fri, 1 Apr 2011 21:55:22 +0000 (21:55 +0000)]
2011-04-01  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Shockwave plug-in doesn't accept mouse events
        https://bugs.webkit.org/show_bug.cgi?id=57653
        <rdar://problem/8483273>

        Fix an unrelated bug found by the added test.

        * Plugins/WebBaseNetscapePluginView.mm:
        (-[WebBaseNetscapePluginView convertFromX:andY:space:toX:andY:space:]):
        Make sure to always set destX and destY.
2011-04-01  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Shockwave plug-in doesn't accept mouse events
        https://bugs.webkit.org/show_bug.cgi?id=57653
        <rdar://problem/8483273>

        Add a missing break.

        * WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
        (WebKit::NetscapePlugin::convertPoint):
2011-04-01  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Shockwave plug-in doesn't accept mouse events
        https://bugs.webkit.org/show_bug.cgi?id=57653
        <rdar://problem/8483273>

        Add test.

        * platform/mac/plugins/convert-point-expected.txt: Added.
        * platform/mac/plugins/convert-point.html: Added.
2011-02-09  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Repro crash with Sony Google TV ad at Gizmodo
        https://bugs.webkit.org/show_bug.cgi?id=54150
        <rdar://problem/8782346>

        Add a new plug-in test that runs JavaScript that destroys the plug-in from within its NPN_DestroyStream callback.

        * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
        * DumpRenderTree/TestNetscapePlugIn/Tests/EvaluateJSDestroyingPluginFromDestroyStream.cpp: Added.
        (EvaluateJSDestroyingPluginFromDestroyStream::EvaluateJSDestroyingPluginFromDestroyStream):
        (EvaluateJSDestroyingPluginFromDestroyStream::NPP_Destroy):
        (EvaluateJSDestroyingPluginFromDestroyStream::NPP_DestroyStream):
        * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
        * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:

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

8 years ago[WinCairo] Unreviewed build fix.
bfulgham@webkit.org [Fri, 1 Apr 2011 21:42:22 +0000 (21:42 +0000)]
[WinCairo] Unreviewed build fix.

Define DEBUG_ALL for WinCairo debug builds so that the correct
labeled DLLs ("*_debug.dll") are linked for testing runs.

* win/tools/vsprops/debug_wincairo.vsprops:

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

8 years ago2011-04-01 Dominic Cooney <dominicc@google.com>
commit-queue@webkit.org [Fri, 1 Apr 2011 21:36:20 +0000 (21:36 +0000)]
2011-04-01  Dominic Cooney  <dominicc@google.com>

        Reviewed by Martin Robinson.

        Add layoutTestController.shadowRoot to GTK DumpRenderTree.
        https://bugs.webkit.org/show_bug.cgi?id=57551

        * platform/gtk/Skipped: unskip test that accesses shadowRoot
2011-04-01  Dominic Cooney  <dominicc@google.com>

        Reviewed by Martin Robinson.

        Add layoutTestController.shadowRoot to GTK DumpRenderTree.
        https://bugs.webkit.org/show_bug.cgi?id=57551

        * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
        (DumpRenderTreeSupportGtk::shadowRoot):
        * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2011-04-01  Dominic Cooney  <dominicc@google.com>

        Reviewed by Martin Robinson.

        Add layoutTestController.shadowRoot to GTK DumpRenderTree.
        https://bugs.webkit.org/show_bug.cgi?id=57551

        * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
        (LayoutTestController::shadowRoot):

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

8 years ago 32-bit Mac build fix.
ap@apple.com [Fri, 1 Apr 2011 21:26:44 +0000 (21:26 +0000)]
    32-bit Mac build fix.

        * dom/KeyboardEvent.h: (WebCore::KeypressCommand::KeypressCommand): Use 0U to index a String
        to avoid ambiguity.

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

8 years ago2011-04-01 Sam Weinig <sam@webkit.org>
weinig@apple.com [Fri, 1 Apr 2011 21:26:07 +0000 (21:26 +0000)]
2011-04-01  Sam Weinig  <sam@webkit.org>

        Reviewed by Anders Carlsson.

        WebKitTestRunner needs layoutTestController.shadowRoot
        https://bugs.webkit.org/show_bug.cgi?id=57661

        * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
        * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
        (WTR::LayoutTestController::shadowRoot):
        * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
        Implement layoutTestController.shadowRoot for WebKit2.
2011-04-01  Sam Weinig  <sam@webkit.org>

        Reviewed by Anders Carlsson.

        WebKitTestRunner needs layoutTestController.shadowRoot
        https://bugs.webkit.org/show_bug.cgi?id=57661

        * WebProcess/InjectedBundle/API/c/WKBundleNodeHandle.cpp:
        (WKBundleNodeHandleGetRenderRect):
        (WKBundleNodeHandleGetElementBounds):
        (WKBundleNodeHandleCopyElementShadowRoot):
        * WebProcess/InjectedBundle/API/c/WKBundleNodeHandlePrivate.h:
        * WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp:
        (WebKit::InjectedBundleNodeHandle::elementShadowRoot):
        * WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.h:
        Add accessor for the shadowRoot of an element in the bundle.

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

8 years ago2011-04-01 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Fri, 1 Apr 2011 21:24:52 +0000 (21:24 +0000)]
2011-04-01  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Oliver Hunt.

        Removed some complexity from HandleHeap
        https://bugs.webkit.org/show_bug.cgi?id=57650

        Eliminated pointer-tagging flags.

        Tied being weak to having a finalizer (or at least a finalizer sentinel).

        * collector/handles/HandleHeap.cpp:
        (JSC::HandleHeap::clearWeakPointers): Removed the special self-destroying
        flag. It was unused. If we bring it back, we'll probably use a shared
        autodeallocating finalizer instead.

        * collector/handles/HandleHeap.h:
        (JSC::HandleHeap::makeWeak): makeWeak and adding a finalizer are now
        a single, atomic operation -- this makes the relationship between
        finalizers and weak pointers clearer, and impossible to get wrong.

        (JSC::HandleHeap::Node::Node):
        (JSC::HandleHeap::Node::handleHeap): No more flags.

        (JSC::HandleHeap::Node::makeWeak):
        (JSC::HandleHeap::Node::isWeak): Ditto above. We use a special sentienl
        value in the finalizer slot to indicate that a handle is weak but doesn't
        require an external function call for finalization.

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

8 years ago Reviewed by Darin Adler.
ap@apple.com [Fri, 1 Apr 2011 21:11:44 +0000 (21:11 +0000)]
    Reviewed by Darin Adler.

        Make WebKit2 text input handling more like WebKit1
        https://bugs.webkit.org/show_bug.cgi?id=57649

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

8 years ago2011-04-01 Sheriff Bot <webkit.review.bot@gmail.com>
abarth@webkit.org [Fri, 1 Apr 2011 21:08:06 +0000 (21:08 +0000)]
2011-04-01  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r82711.
        http://trac.webkit.org/changeset/82711
        https://bugs.webkit.org/show_bug.cgi?id=57657

        Made every test crash on XP and Win7 (Requested by
        abarth|gardening on #webkit).

        * loader/cache/CachedResource.cpp:
        (WebCore::CachedResource::canUseCacheValidator):
        * platform/network/ResourceResponseBase.cpp:
        (WebCore::ResourceResponseBase::adopt):
        (WebCore::ResourceResponseBase::isHTTP):
        (WebCore::ResourceResponseBase::url):
        (WebCore::ResourceResponseBase::setURL):
        (WebCore::ResourceResponseBase::mimeType):
        (WebCore::ResourceResponseBase::setMimeType):
        (WebCore::ResourceResponseBase::expectedContentLength):
        (WebCore::ResourceResponseBase::setExpectedContentLength):
        (WebCore::ResourceResponseBase::textEncodingName):
        (WebCore::ResourceResponseBase::setTextEncodingName):
        (WebCore::ResourceResponseBase::suggestedFilename):
        (WebCore::ResourceResponseBase::setSuggestedFilename):
        (WebCore::ResourceResponseBase::httpStatusCode):
        (WebCore::ResourceResponseBase::setHTTPStatusCode):
        (WebCore::ResourceResponseBase::httpStatusText):
        (WebCore::ResourceResponseBase::setHTTPStatusText):
        (WebCore::ResourceResponseBase::httpHeaderField):
        (WebCore::ResourceResponseBase::setHTTPHeaderField):
        (WebCore::ResourceResponseBase::httpHeaderFields):
        (WebCore::ResourceResponseBase::parseCacheControlDirectives):
        (WebCore::ResourceResponseBase::date):
        (WebCore::ResourceResponseBase::age):
        (WebCore::ResourceResponseBase::expires):
        (WebCore::ResourceResponseBase::lastModified):
        (WebCore::ResourceResponseBase::isAttachment):
        (WebCore::ResourceResponseBase::setLastModifiedDate):
        (WebCore::ResourceResponseBase::lastModifiedDate):
        (WebCore::ResourceResponseBase::wasCached):
        (WebCore::ResourceResponseBase::connectionReused):
        (WebCore::ResourceResponseBase::setConnectionReused):
        (WebCore::ResourceResponseBase::connectionID):
        (WebCore::ResourceResponseBase::setConnectionID):
        (WebCore::ResourceResponseBase::resourceLoadTiming):
        (WebCore::ResourceResponseBase::setResourceLoadTiming):
        (WebCore::ResourceResponseBase::resourceLoadInfo):
        (WebCore::ResourceResponseBase::setResourceLoadInfo):
        (WebCore::ResourceResponseBase::lazyInit):
        * platform/network/ResourceResponseBase.h:
        (WebCore::ResourceResponseBase::platformLazyInit):
        * platform/network/cf/ResourceResponse.h:
        (WebCore::ResourceResponse::ResourceResponse):
        (WebCore::ResourceResponse::memoryUsage):
        * platform/network/cf/ResourceResponseCFNet.cpp:
        (WebCore::ResourceResponse::platformLazyInit):
        * platform/network/mac/ResourceResponseMac.mm:
        (WebCore::ResourceResponse::platformLazyInit):

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

8 years ago2011-04-01 Matthew Delaney <mdelaney@apple.com>
mdelaney@apple.com [Fri, 1 Apr 2011 20:59:35 +0000 (20:59 +0000)]
2011-04-01  Matthew Delaney  <mdelaney@apple.com>

        Reviewed by Simon Fraser.

        Behavior of isAccelerated() for a IOSurface-backed canvas should be consistent with accelerated status of its ImageBuffer
        https://bugs.webkit.org/show_bug.cgi?id=57651

        No new tests. This patch does not affect outward behavior.

        * html/canvas/CanvasRenderingContext2D.cpp:
        (WebCore::CanvasRenderingContext2D::isAccelerated):
        * platform/graphics/ImageBuffer.h:
        (WebCore::ImageBuffer::isAccelerated):

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

8 years agoFix the Mac build on Lion.
timothy@apple.com [Fri, 1 Apr 2011 20:32:51 +0000 (20:32 +0000)]
Fix the Mac build on Lion.

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

8 years agoRemoved some more executable bits from files that don't need them.
darin@apple.com [Fri, 1 Apr 2011 20:31:41 +0000 (20:31 +0000)]
Removed some more executable bits from files that don't need them.
These often creep in when someone is working on Windows, which uses
executable bits differently from Unix systems.

* editing/execCommand/align-in-span.html: Removed property svn:executable.
* editing/selection/extend-byline-withfloat.html: Removed property svn:executable.
* fast/canvas/webgl/data-view-test.html: Removed property svn:executable.
* fast/canvas/webgl/resources/gray-ramp-default-gamma.png: Removed property svn:executable.
* fast/canvas/webgl/resources/gray-ramp-gamma0.1.png: Removed property svn:executable.
* fast/canvas/webgl/resources/gray-ramp-gamma1.0.png: Removed property svn:executable.
* fast/canvas/webgl/resources/gray-ramp-gamma2.0.png: Removed property svn:executable.
* fast/canvas/webgl/resources/gray-ramp-gamma4.0.png: Removed property svn:executable.
* fast/canvas/webgl/resources/gray-ramp-gamma9.0.png: Removed property svn:executable.
* fast/canvas/webgl/resources/gray-ramp.png: Removed property svn:executable.
* fast/canvas/webgl/resources/zero-alpha.png: Removed property svn:executable.
* fast/css/inline-element-line-break.html: Removed property svn:executable.
* fast/css/pseudo-element-line-break.html: Removed property svn:executable.
* fast/dom/HTMLScriptElement/async-inline-script-expected.txt: Removed property svn:executable.
* fast/dom/HTMLScriptElement/async-onbeforeload-expected.txt: Removed property svn:executable.
* fast/dom/HTMLScriptElement/async-write-expected.txt: Removed property svn:executable.
* fast/dom/HTMLScriptElement/defer-inline-script-expected.txt: Removed property svn:executable.
* fast/events/before-unload-remove-and-add-subframe.html: Removed property svn:executable.
* fast/events/change-frame-focus.html: Removed property svn:executable.
* fast/files/resources/binary-file: Removed property svn:executable.
* fast/frames/iframe-reparenting.html: Removed property svn:executable.
* fast/frames/resources/iframe-reparenting-frame1.html: Removed property svn:executable.
* fast/frames/resources/iframe-reparenting-frame2.html: Removed property svn:executable.
* fast/frames/resources/iframe-reparenting-iframe-content.html: Removed property svn:executable.
* fast/harness/resources/cached-page-1.html: Removed property svn:executable.
* fast/harness/resources/cached-page-2.html: Removed property svn:executable.
* fast/harness/use-page-cache.html: Removed property svn:executable.
* fast/history/same-document-iframes-changing-fragment-expected.txt: Removed property svn:executable.
* fast/history/same-document-iframes-changing-fragment.html: Removed property svn:executable.
* fast/history/same-document-iframes-changing-pushstate-expected.txt: Removed property svn:executable.
* fast/history/same-document-iframes-changing-pushstate.html: Removed property svn:executable.
* fast/images/resources/cmyk-jpeg.jpg: Removed property svn:executable.
* fast/inline/inline-position-top-align.html: Removed property svn:executable.
* fast/inline/resources/gradient.png: Removed property svn:executable.
* fast/js/script-tests/toInt32UInt32.js: Removed property svn:executable.
* fast/lists/resources/dump-list.js: Removed property svn:executable.
* fast/lists/w3-css3-list-styles-alphabetic-expected.txt: Removed property svn:executable.
* fast/lists/w3-css3-list-styles-alphabetic.html: Removed property svn:executable.
* fast/lists/w3-css3-list-styles-numeric-expected.txt: Removed property svn:executable.
* fast/lists/w3-css3-list-styles-numeric.html: Removed property svn:executable.
* fast/parser/remove-misnested-iframe-in-beforeload-expected.txt: Removed property svn:executable.
* fast/parser/remove-misnested-iframe-parent-in-beforeload-expected.txt: Removed property svn:executable.
* fast/parser/x-frame-options-detached-document-crash-expected.txt: Removed property svn:executable.
* fast/regex/script-tests/ecma-regex-examples.js: Removed property svn:executable.
* fast/repaint/canvas-putImageData-expected.txt: Removed property svn:executable.
* fast/repaint/canvas-putImageData.html: Removed property svn:executable.
* http/tests/history/redirect-302.html: Removed property svn:executable.
* http/tests/history/redirect-303.html: Removed property svn:executable.
* http/tests/history/redirect-307.html: Removed property svn:executable.
* http/tests/inspector/console-test.js: Removed property svn:executable.
* http/tests/inspector/console-xhr-logging.html: Removed property svn:executable.
* http/tests/inspector/elements-test.js: Removed property svn:executable.
* http/tests/inspector/extensions-resources-redirect.html: Removed property svn:executable.
* http/tests/inspector/extensions-resources-test.js: Removed property svn:executable.
* http/tests/inspector/network-preflight-options.html: Removed property svn:executable.
* http/tests/inspector/network/network-size-chunked.html: Removed property svn:executable.
* http/tests/inspector/resource-parameters.html: Removed property svn:executable.
* http/tests/inspector/resources-test.js: Removed property svn:executable.
* http/tests/inspector/resources/iframe-from-different-domain-data.html: Removed property svn:executable.
* http/tests/inspector/resources/resource-form-data-receiver-iframe.html: Removed property svn:executable.
* http/tests/misc/async-and-defer-script-expected.txt: Removed property svn:executable.
* http/tests/misc/script-async-expected.txt: Removed property svn:executable.
* http/tests/security/cross-origin-script-window-onerror-redirected.html: Removed property svn:executable.
* http/tests/security/cross-origin-script-window-onerror.html: Removed property svn:executable.
* http/tests/security/resources/cross-origin-script.txt: Removed property svn:executable.
* inspector/audits/audits-test.js: Removed property svn:executable.
* inspector/audits/resources/abe.png: Removed property svn:executable.
* inspector/audits/resources/audits-script1.js: Removed property svn:executable.
* inspector/audits/resources/audits-script2.js: Removed property svn:executable.
* inspector/audits/resources/audits-style1.css: Removed property svn:executable.
* inspector/console/console-assert.html: Removed property svn:executable.
* inspector/console/console-dir.html: Removed property svn:executable.
* inspector/console/console-dirxml.html: Removed property svn:executable.
* inspector/console/console-format.html: Removed property svn:executable.
* inspector/console/console-log-syntax-error.html: Removed property svn:executable.
* inspector/console/console-nested-group.html: Removed property svn:executable.
* inspector/console/console-substituted.html: Removed property svn:executable.
* inspector/console/console-tests.html: Removed property svn:executable.
* inspector/console/console-trace-in-eval.html: Removed property svn:executable.
* inspector/console/console-trace.html: Removed property svn:executable.
* inspector/console/console-uncaught-exception-in-eval.html: Removed property svn:executable.
* inspector/console/console-uncaught-exception.html: Removed property svn:executable.
* inspector/cookie-parser.html: Removed property svn:executable.
* inspector/debugger/debugger-cyclic-ref.html: Removed property svn:executable.
* inspector/debugger/debugger-expand-scope.html: Removed property svn:executable.
* inspector/elements/elements-delete-inline-style-expected.txt: Removed property svn:executable.
* inspector/elements/elements-delete-inline-style.html: Removed property svn:executable.
* inspector/elements/elements-panel-search.html: Removed property svn:executable.
* inspector/elements/elements-panel-structure.html: Removed property svn:executable.
* inspector/evaluate-in-page.html: Removed property svn:executable.
* inspector/extensions/extensions-audits-api.html: Removed property svn:executable.
* inspector/extensions/extensions-audits.html: Removed property svn:executable.
* inspector/extensions/extensions-eval.html: Removed property svn:executable.
* inspector/extensions/extensions-events.html: Removed property svn:executable.
* inspector/extensions/extensions-resources.html: Removed property svn:executable.
* inspector/extensions/resources/abe.png: Removed property svn:executable.
* inspector/extensions/resources/audits-style1.css: Removed property svn:executable.
* inspector/styles/resources/styles-iframe-data.html: Removed property svn:executable.
* inspector/styles/resources/styles-new-API-1.css: Removed property svn:executable.
* inspector/styles/resources/styles-url-linkify-iframe.html: Removed property svn:executable.
* inspector/styles/resources/styles-url-linkify.css: Removed property svn:executable.
* inspector/styles/styles-disable-then-change-expected.txt: Removed property svn:executable.
* inspector/styles/styles-disable-then-change.html: Removed property svn:executable.
* inspector/styles/styles-iframe.html: Removed property svn:executable.
* inspector/styles/styles-source-lines.html: Removed property svn:executable.
* inspector/styles/styles-update-from-js-expected.txt: Removed property svn:executable.
* inspector/styles/styles-update-from-js.html: Removed property svn:executable.
* inspector/styles/styles-url-linkify.html: Removed property svn:executable.
* inspector/utilities.html: Removed property svn:executable.
* platform/chromium-linux/editing/deleting/delete-br-013-expected.checksum: Removed property svn:executable.
* platform/chromium-linux/editing/pasteboard/paste-blockquote-after-blockquote-expected.checksum: Removed property svn:executable.
* platform/chromium-linux/editing/selection/range-between-block-and-inline-expected.checksum: Removed property svn:executable.
* platform/chromium-linux/editing/selection/range-between-block-and-inline-expected.png: Removed property svn:executable.
* platform/chromium-linux/editing/selection/range-between-block-and-inline-expected.txt: Removed property svn:executable.
* platform/chromium-linux/fast/clip/overflow-border-radius-clip-expected.checksum: Removed property svn:executable.
* platform/chromium-linux/fast/css/font-face-in-shadow-DOM-expected.png: Removed property svn:executable.
* platform/chromium-linux/fast/repaint/block-no-inflow-children-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/css1/box_properties/float_elements_in_series-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/css1/box_properties/float_elements_in_series-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/css1/text_properties/text_align-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/css1/text_properties/text_align-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/css2.1/t0805-c5518-brdr-t-01-e-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/css2.1/t0805-c5518-brdr-t-01-e-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/css2.1/t1202-counter-03-b-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/css2.1/t1202-counter-03-b-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/css2.1/t1202-counter-04-b-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/css2.1/t1202-counter-04-b-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/css2.1/t1202-counter-04-b-expected.txt: Removed property svn:executable.
* platform/chromium-mac-leopard/css2.1/t1202-counters-03-b-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/css2.1/t1202-counters-03-b-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/css2.1/t1202-counters-04-b-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/css2.1/t1202-counters-04-b-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/css2.1/t1202-counters-04-b-expected.txt: Removed property svn:executable.
* platform/chromium-mac-leopard/css2.1/t1602-c43-center-00-d-ag-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/css2.1/t1602-c43-center-00-d-ag-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/css2.1/t1602-c546-txt-align-00-b-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/css2.1/t1602-c546-txt-align-00-b-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/editing/selection/4397952-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/editing/selection/4397952-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/editing/selection/extend-selection-bidi-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/editing/selection/extend-selection-bidi-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/blockflow/border-vertical-lr-expected.txt: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/css/beforeSelectorOnCodeElement-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/css/beforeSelectorOnCodeElement-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/css/font-face-default-font-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/css/font-face-default-font-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/css/rtl-ordering-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/css/rtl-ordering-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/css/text-input-with-webkit-border-radius-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/css/text-input-with-webkit-border-radius-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/css/text-overflow-ellipsis-bidi-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/css/text-overflow-ellipsis-bidi-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/css/text-security-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/css/text-security-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/dom/HTMLTableColElement/resize-table-using-col-width-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/dom/HTMLTableColElement/resize-table-using-col-width-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/dynamic/008-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/dynamic/008-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/events/context-no-deselect-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/events/context-no-deselect-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/forms/basic-buttons-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/forms/basic-buttons-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/forms/basic-selects-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/forms/basic-selects-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/forms/basic-selects-expected.txt: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/forms/button-sizes-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/forms/button-sizes-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/forms/file-input-direction-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/forms/file-input-direction-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/forms/file-input-direction-expected.txt: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/forms/input-appearance-bkcolor-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/forms/input-appearance-bkcolor-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/forms/input-button-sizes-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/forms/input-button-sizes-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/forms/input-file-re-render-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/forms/input-file-re-render-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/forms/menulist-option-wrap-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/forms/menulist-option-wrap-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/forms/menulist-restrict-line-height-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/forms/menulist-restrict-line-height-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/forms/menulist-style-color-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/forms/menulist-style-color-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/forms/placeholder-position-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/forms/placeholder-position-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/forms/search-transformed-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/forms/search-transformed-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/forms/select-visual-hebrew-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/forms/select-visual-hebrew-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/forms/visual-hebrew-text-field-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/forms/visual-hebrew-text-field-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/html/keygen-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/html/keygen-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/inline/inline-box-background-long-image-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/inline/inline-box-background-long-image-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/lists/dynamic-marker-crash-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/lists/dynamic-marker-crash-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/multicol/float-avoidance-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/multicol/float-avoidance-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/overflow/scroll-nested-positioned-layer-in-overflow-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/overflow/scroll-nested-positioned-layer-in-overflow-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-1-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-1-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-10-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-10-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-2-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-2-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-3-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-3-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-4-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-4-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-5-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-5-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-6-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-6-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-7-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-7-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-8-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-8-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-9-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-9-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/replaced/width100percent-textarea-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/replaced/width100percent-textarea-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/bidi-embedding-pop-and-push-same-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/bidi-embedding-pop-and-push-same-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/in-rendered-text-rtl-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/in-rendered-text-rtl-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-AN-after-L-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-AN-after-L-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-AN-after-L-expected.txt: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-L2-run-reordering-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-L2-run-reordering-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-LDB-2-CSS-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-LDB-2-CSS-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-LDB-2-HTML-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-LDB-2-HTML-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-LDB-2-formatting-characters-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-LDB-2-formatting-characters-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-european-terminators-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-european-terminators-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-ignored-for-first-child-inline-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-ignored-for-first-child-inline-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-innertext-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-innertext-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-layout-across-linebreak-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-layout-across-linebreak-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-linebreak-001-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-linebreak-001-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-linebreak-002-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-linebreak-002-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-linebreak-003-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-linebreak-003-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-listbox-atsui-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-listbox-atsui-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-listbox-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-listbox-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-mirror-he-ar-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-mirror-he-ar-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-mirror-he-ar-expected.txt: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-neutral-run-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-neutral-run-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-neutral-run-expected.txt: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-override-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/bidi-override-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/hebrew-vowels-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/hebrew-vowels-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/hindi-spacing-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/hindi-spacing-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/pop-up-button-text-alignment-and-direction-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/pop-up-button-text-alignment-and-direction-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/rtl-caret-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/rtl-caret-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/rtl-white-space-pre-wrap-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/rtl-white-space-pre-wrap-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/text-combine-image-test-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/text-combine-image-test-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/international/text-combine-image-test-expected.txt: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/justified-selection-at-edge-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/justified-selection-at-edge-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/justify-ideograph-simple-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/justify-ideograph-simple-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/justify-ideograph-vertical-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/justify-ideograph-vertical-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/justify-nbsp-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fast/text/justify-nbsp-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/fonts/sans-serif-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/fonts/sans-serif-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/svg/custom/animate-path-discrete-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/svg/custom/animate-path-discrete-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/svg/custom/inline-svg-in-xhtml-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/svg/custom/inline-svg-in-xhtml-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/svg/custom/svg-fonts-in-html-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/svg/custom/svg-fonts-in-html-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/svg/custom/text-dom-01-f-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/svg/custom/text-dom-01-f-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/svg/hixie/mixed/003-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/svg/hixie/mixed/003-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug113424-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug113424-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug1188-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug1188-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug2479-2-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug2479-2-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/tables/mozilla/core/bloomberg-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/tables/mozilla/core/bloomberg-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/tables/mozilla/core/misc-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/tables/mozilla/core/misc-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/tables/mozilla/marvin/x_tbody_align_justify-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/tables/mozilla/marvin/x_tbody_align_justify-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/tables/mozilla/marvin/x_td_align_justify-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/tables/mozilla/marvin/x_td_align_justify-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/tables/mozilla/marvin/x_tfoot_align_justify-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/tables/mozilla/marvin/x_tfoot_align_justify-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/tables/mozilla/marvin/x_th_align_justify-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/tables/mozilla/marvin/x_th_align_justify-expected.png: Removed property svn:executable.
* platform/chromium-mac-leopard/tables/mozilla/marvin/x_tr_align_justify-expected.checksum: Removed property svn:executable.
* platform/chromium-mac-leopard/tables/mozilla/marvin/x_tr_align_justify-expected.png: Removed property svn:executable.
* platform/chromium-mac/fast/repaint/block-no-inflow-children-expected.checksum: Removed property svn:executable.
* platform/chromium-mac/http/tests/xmlhttprequest/xmlhttprequest-missing-file-exception-expected.txt: Removed property svn:executable.
* platform/chromium-win/editing/deleting/delete-br-013-expected.checksum: Removed property svn:executable.
* platform/chromium-win/editing/pasteboard/paste-blockquote-after-blockquote-expected.checksum: Removed property svn:executable.
* platform/chromium-win/editing/pasteboard/paste-blockquote-into-blockquote-3-expected.checksum: Removed property svn:executable.
* platform/chromium-win/editing/selection/range-between-block-and-inline-expected.checksum: Removed property svn:executable.
* platform/chromium-win/editing/selection/range-between-block-and-inline-expected.png: Removed property svn:executable.
* platform/chromium-win/editing/selection/range-between-block-and-inline-expected.txt: Removed property svn:executable.
* platform/chromium-win/fast/borders/fieldsetBorderRadius-expected.checksum: Removed property svn:executable.
* platform/chromium-win/fast/repaint/block-no-inflow-children-expected.checksum: Removed property svn:executable.
* platform/chromium-win/fast/repaint/block-no-inflow-children-expected.txt: Removed property svn:executable.
* platform/chromium-win/fast/repaint/canvas-putImageData-expected.checksum: Removed property svn:executable.
* platform/chromium-win/fast/repaint/canvas-putImageData-expected.png: Removed property svn:executable.
* platform/chromium-win/platform/mac/fast/forms/input-list-button-size-expected.checksum: Removed property svn:executable.
* platform/chromium-win/platform/qt/fast/events/event-sender-keydown-frame-expected.checksum: Removed property svn:executable.
* platform/chromium-win/plugins/plugin-initiate-popup-window-expected.txt: Removed property svn:executable.
* platform/chromium/compositing/layout-width-change.html: Removed property svn:executable.
* platform/chromium/html5lib/runner-expected.txt: Removed property svn:executable.
* platform/chromium/inspector/console/console-eval-global-expected.txt: Removed property svn:executable.
* platform/chromium/inspector/console/console-object-constructor-name-expected.txt: Removed property svn:executable.
* platform/chromium/inspector/console/console-trace-in-eval-expected.txt: Removed property svn:executable.
* platform/chromium/inspector/console/console-uncaught-exception-expected.txt: Removed property svn:executable.
* platform/chromium/inspector/console/console-uncaught-exception-in-eval-expected.txt: Removed property svn:executable.
* platform/chromium/inspector/debugger/debugger-autocontinue-on-syntax-error-expected.txt: Removed property svn:executable.
* platform/chromium/inspector/debugger/debugger-expand-scope-expected.txt: Removed property svn:executable.
* platform/chromium/test_expectations.txt: Removed property svn:executable.
* platform/mac-leopard/css2.1/t0905-c5525-fltcont-00-d-g-expected.checksum: Removed property svn:executable.
* platform/mac-leopard/css2.1/t0905-c5525-fltcont-00-d-g-expected.png: Removed property svn:executable.
* platform/mac-leopard/editing/selection/caret-rtl-2-expected.checksum: Removed property svn:executable.
* platform/mac-leopard/editing/selection/caret-rtl-2-expected.png: Removed property svn:executable.
* platform/mac-leopard/editing/selection/caret-rtl-2-left-expected.checksum: Removed property svn:executable.
* platform/mac-leopard/editing/selection/caret-rtl-2-left-expected.png: Removed property svn:executable.
* platform/mac-leopard/editing/selection/caret-rtl-expected.checksum: Removed property svn:executable.
* platform/mac-leopard/editing/selection/caret-rtl-expected.png: Removed property svn:executable.
* platform/mac-leopard/editing/selection/caret-rtl-right-expected.checksum: Removed property svn:executable.
* platform/mac-leopard/editing/selection/caret-rtl-right-expected.png: Removed property svn:executable.
* platform/mac-leopard/fast/forms/text-style-color-expected.checksum: Removed property svn:executable.
* platform/mac-leopard/fast/forms/text-style-color-expected.png: Removed property svn:executable.
* platform/mac-leopard/fast/inline/inline-box-background-expected.checksum: Removed property svn:executable.
* platform/mac-leopard/fast/inline/inline-box-background-expected.png: Removed property svn:executable.
* platform/mac-leopard/fast/inline/inline-box-background-repeat-x-expected.checksum: Removed property svn:executable.
* platform/mac-leopard/fast/inline/inline-box-background-repeat-x-expected.png: Removed property svn:executable.
* platform/mac-leopard/fast/inline/inline-box-background-repeat-y-expected.checksum: Removed property svn:executable.
* platform/mac-leopard/fast/inline/inline-box-background-repeat-y-expected.png: Removed property svn:executable.
* platform/mac-leopard/fast/multicol/shadow-breaking-expected.checksum: Removed property svn:executable.
* platform/mac-leopard/fast/multicol/shadow-breaking-expected.png: Removed property svn:executable.
* platform/mac-leopard/fast/text/atsui-negative-spacing-features-expected.checksum: Removed property svn:executable.
* platform/mac-leopard/fast/text/atsui-negative-spacing-features-expected.png: Removed property svn:executable.
* platform/mac-leopard/fast/text/atsui-spacing-features-expected.checksum: Removed property svn:executable.
* platform/mac-leopard/fast/text/atsui-spacing-features-expected.png: Removed property svn:executable.
* platform/mac/fast/css/focus-ring-outline-color-expected.checksum: Removed property svn:executable.
* platform/mac/fast/css/focus-ring-outline-color-expected.png: Removed property svn:executable.
* platform/mac/fast/css/focus-ring-outline-color-expected.txt: Removed property svn:executable.
* platform/mac/fast/css/focus-ring-outline-offset-expected.checksum: Removed property svn:executable.
* platform/mac/fast/css/focus-ring-outline-offset-expected.png: Removed property svn:executable.
* platform/mac/fast/css/focus-ring-outline-offset-expected.txt: Removed property svn:executable.
* platform/mac/fast/css/focus-ring-outline-width-expected.checksum: Removed property svn:executable.
* platform/mac/fast/css/focus-ring-outline-width-expected.png: Removed property svn:executable.
* platform/mac/fast/css/focus-ring-outline-width-expected.txt: Removed property svn:executable.
* platform/win-xp/fast/text/international/bidi-control-chars-treated-as-ZWS-expected.txt: Removed property svn:executable.
* platform/win-xp/transforms/2d/hindi-rotated-expected.checksum: Removed property svn:executable.
* platform/win-xp/transforms/2d/hindi-rotated-expected.png: Removed property svn:executable.
* platform/win-xp/transforms/2d/hindi-rotated-expected.txt: Removed property svn:executable.
* platform/win/accessibility/text-role-expected.txt: Removed property svn:executable.
* platform/win/accessibility/text-role.html: Removed property svn:executable.
* platform/win/fast/events/panScroll-nested-divs.html: Removed property svn:executable.
* svg/custom/animate-use-crash.xhtml: Removed property svn:executable.
* svg/filters/feColorMatrix-offset.svg: Removed property svn:executable.
* transforms/2d/hindi-rotated.html: Removed property svn:executable.

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

8 years ago2011-04-01 Daniel Bates <dbates@rim.com>
dbates@webkit.org [Fri, 1 Apr 2011 20:07:23 +0000 (20:07 +0000)]
2011-04-01  Daniel Bates  <dbates@rim.com>

        Reviewed by Darin Adler.

        Frame's noResize attribute can not be set by JavaScript
        https://bugs.webkit.org/show_bug.cgi?id=14845

        Tests: fast/frames/frame-inherit-noresize-from-frameset.html
               fast/frames/frame-programmatic-noresize.html
               fast/frames/frame-with-noresize-can-be-resized-after-removal-of-noresize.html
               fast/frames/frame-with-noresize-can-be-resized-after-setting-noResize-to-false.html

        Implements support to programmatically allow and disallow frame resizing.

        Currently, HTMLFrameElement::parseMappedAttribute() is hardcoded to disallow frame resize (i.e.
        m_noResize = true) when either the noresize DOM attribute is specified (or existed at some
        point in time) or the value of the noResize attribute is modified. Instead we should allow/disallow
        frame resize depending on the presence of the noresize DOM attribute/the value of the noResize
        attribute.

        * html/HTMLFrameElement.cpp:
        (WebCore::HTMLFrameElement::HTMLFrameElement):
        (WebCore::HTMLFrameElement::noResize): Made this a non-inline function since this
        code path isn't performance critical.
        (WebCore::HTMLFrameElement::attach): Removed code to inherit noresize attribute from
        parent <frameset> since this functionality is part of RenderFrameSet::computeEdgeInfo().
        (WebCore::HTMLFrameElement::parseMappedAttribute):
        * html/HTMLFrameElement.h:
        * rendering/RenderFrame.cpp:
        (WebCore::RenderFrame::updateFromElement): Added.
        * rendering/RenderFrame.h:
        * rendering/RenderFrameSet.cpp:
        (WebCore::RenderFrameSet::notifyFrameEdgeInfoChanged): Added.
        * rendering/RenderFrameSet.h:
2011-04-01  Daniel Bates  <dbates@rim.com>

        Reviewed by Darin Adler.

        Frame's noResize attribute can not be set by JavaScript
        https://bugs.webkit.org/show_bug.cgi?id=14845

        Tests that frame resizing is allowed and disallowed depending on the value of the noResize property.

        Also, tests to ensure that frame resizing is allowed and disallowed when programmatically
        removing and adding the noresize attribute, respectively.

        * fast/frames/frame-inherit-noresize-from-frameset-expected.txt: Added.
        * fast/frames/frame-inherit-noresize-from-frameset.html: Added. See <https://bugs.webkit.org/show_bug.cgi?id=57604>.
        * fast/frames/frame-programmatic-noresize-expected.txt: Added.
        * fast/frames/frame-programmatic-noresize.html: Added.
        * fast/frames/frame-with-noresize-can-be-resized-after-removal-of-noresize-expected.txt: Added.
        * fast/frames/frame-with-noresize-can-be-resized-after-removal-of-noresize.html: Added.
        * fast/frames/frame-with-noresize-can-be-resized-after-setting-noResize-to-false-expected.txt: Added.
        * fast/frames/frame-with-noresize-can-be-resized-after-setting-noResize-to-false.html: Added.
        * fast/frames/resources/frame-programmatic-resize.js: Added.
        (setTestFrameById):
        (deltaWidth):
        (shouldAllowFrameResize):
        (shouldDisallowFrameResize):
        (shouldDisallowFrameResizeAfterProcessingFrame):
        (shouldAllowFrameResizeAfterProcessingFrame):
        (checkTestFrameWidthEquals):
        (resizeTestFrameBy):
        (log):
        (description):

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

8 years ago2011-04-01 Michael Saboff <msaboff@apple.com>
msaboff@apple.com [Fri, 1 Apr 2011 20:00:38 +0000 (20:00 +0000)]
2011-04-01  Michael Saboff  <msaboff@apple.com>

        Reviewed by Darin Adler.

        Cached Resource Overhead Space Usage and Accounting Inaccurate
        https://bugs.webkit.org/show_bug.cgi?id=57488

        Changed the fixed overhead value for ResourceResponse to 3800 bytes.
        Modified ResourceResponse::platformLazyInit() to handle "base" level
        attributes or all attributes.  The base attributes, like URL, status
        code, mime type and a few header fields (mostly cache related) are
        suitable for most resources.  This reduces the per resource memory
        needs by over 1K bytes per resource thus saving memory in the cache.
        Collectively, these two changes bring the overhead memory calculation
        in line with reality.

        No new tests added due to existing tests cover areas of change and
        there is no functional change.  The change is limited to reducing
        memory usage along existing paths.

        * loader/cache/CachedResource.cpp:
        (WebCore::CachedResource::canUseCacheValidator):
        * platform/network/ResourceResponseBase.cpp:
        (WebCore::ResourceResponseBase::isHTTP):
        (WebCore::ResourceResponseBase::url):
        (WebCore::ResourceResponseBase::setURL):
        (WebCore::ResourceResponseBase::mimeType):
        (WebCore::ResourceResponseBase::setMimeType):
        (WebCore::ResourceResponseBase::expectedContentLength):
        (WebCore::ResourceResponseBase::setExpectedContentLength):
        (WebCore::ResourceResponseBase::textEncodingName):
        (WebCore::ResourceResponseBase::setTextEncodingName):
        (WebCore::ResourceResponseBase::suggestedFilename):
        (WebCore::ResourceResponseBase::setSuggestedFilename):
        (WebCore::ResourceResponseBase::httpStatusCode):
        (WebCore::ResourceResponseBase::setHTTPStatusCode):
        (WebCore::ResourceResponseBase::httpHeaderField):
        (WebCore::ResourceResponseBase::setHTTPHeaderField):
        (WebCore::ResourceResponseBase::parseCacheControlDirectives):
        (WebCore::ResourceResponseBase::hasCacheValidatorFields):
        (WebCore::ResourceResponseBase::date):
        (WebCore::ResourceResponseBase::age):
        (WebCore::ResourceResponseBase::expires):
        (WebCore::ResourceResponseBase::lastModified):
        (WebCore::ResourceResponseBase::lazyInit):
        * platform/network/ResourceResponseBase.h:
        (WebCore::ResourceResponseBase::platformLazyInit):
        * platform/network/cf/ResourceResponse.h:
        (WebCore::ResourceResponse::ResourceResponse):
        (WebCore::ResourceResponse::memoryUsage):
        * platform/network/cf/ResourceResponseCFNet.cpp:
        * platform/network/mac/ResourceResponseMac.mm:
        (WebCore::ResourceResponse::platformLazyInit):

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

8 years ago2011-04-01 Chang Shu <cshu@webkit.org>
commit-queue@webkit.org [Fri, 1 Apr 2011 19:59:27 +0000 (19:59 +0000)]
2011-04-01  Chang Shu  <cshu@webkit.org>

        Reviewed by Darin Adler.

        WebKitTestRunner needs layoutTestController.setDatabaseQuota
        https://bugs.webkit.org/show_bug.cgi?id=57568

        Update tests.

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

        Reviewed by Darin Adler.

        WebKitTestRunner needs layoutTestController.setDatabaseQuota
        https://bugs.webkit.org/show_bug.cgi?id=57568

        * WebProcess/InjectedBundle/API/c/WKBundle.cpp:
        (WKBundleSetDatabaseQuota):
        * WebProcess/InjectedBundle/API/c/WKBundlePrivate.h:
        * WebProcess/InjectedBundle/InjectedBundle.cpp:
        (WebKit::InjectedBundle::setDatabaseQuota):
        * WebProcess/InjectedBundle/InjectedBundle.h:
        * WebProcess/WebCoreSupport/WebDatabaseManager.h:
2011-04-01  Chang Shu  <cshu@webkit.org>

        Reviewed by Darin Adler.

        WebKitTestRunner needs layoutTestController.setDatabaseQuota
        https://bugs.webkit.org/show_bug.cgi?id=57568

        * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
        * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
        (WTR::LayoutTestController::setDatabaseQuota):
        * WebKitTestRunner/InjectedBundle/LayoutTestController.h:

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

8 years agoMake momentum scroll event latching work in WebKit2 on Mac.
timothy@apple.com [Fri, 1 Apr 2011 19:57:53 +0000 (19:57 +0000)]
Make momentum scroll event latching work in WebKit2 on Mac.

<rdar://problem/8751861>

Reviewed by Darin Adler.

Source/WebCore:

* WebCore.exp.in: Remove _wkIsLatchingWheelEvent, add _wkGetNSEventMomentumPhase.
* page/EventHandler.cpp:
(WebCore::EventHandler::handleWheelEvent): Set m_useLatchedWheelEventNode based on the
event's momentumPhase.
* page/mac/EventHandlerMac.mm:
(WebCore::EventHandler::wheelEvent): Remove the setting of m_useLatchedWheelEventNode.
It is now done in EventHandler::handleWheelEvent.
* platform/mac/WebCoreSystemInterface.h: Remove wkIsLatchingWheelEvent, add wkGetNSEventMomentumPhase.
* platform/mac/WebCoreSystemInterface.mm: Ditto.
* platform/mac/WheelEventMac.mm:
(WebCore::momentumPhaseForEvent): Return a phase on older Mac system by using wkGetNSEventMomentumPhase.

Source/WebKit/mac:

* WebCoreSupport/WebSystemInterface.mm:
(InitWebCoreSystemInterface): Remove IsLatchingWheelEvent, add GetNSEventMomentumPhase.
* WebView/WebDynamicScrollBarsView.mm:
(-[WebDynamicScrollBarsView scrollWheel:]): Use WKGetNSEventMomentumPhase to set isLatchingEvent.

Source/WebKit2:

* Shared/mac/WebEventFactory.mm:
(WebKit::momentumPhaseForEvent): Return a phase on older Mac system by using WKGetNSEventMomentumPhase.
* WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
(InitWebCoreSystemInterface): Remove IsLatchingWheelEvent, add GetNSEventMomentumPhase.

WebKitLibraries:

* WebKitSystemInterface.h:
* libWebKitSystemInterfaceLeopard.a: Updated to remove WKIsLatchingWheelEvent and add WKGetNSEventMomentumPhase.
* libWebKitSystemInterfaceSnowLeopard.a: Ditto.

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

8 years ago2011-04-01 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Fri, 1 Apr 2011 19:50:16 +0000 (19:50 +0000)]
2011-04-01  Martin Robinson  <mrobinson@igalia.com>

        [GTK] editing/deleting/5408255.html results are incorrect
        https://bugs.webkit.org/show_bug.cgi?id=53644

        Unskip this test and update the results, it appears to be passing now without any issue.

        * platform/gtk/Skipped: Unskip a test.
        * platform/gtk/editing/deleting/5408255-expected.checksum:
        * platform/gtk/editing/deleting/5408255-expected.png:
        * platform/gtk/editing/deleting/5408255-expected.txt:

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

8 years ago2011-04-01 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Fri, 1 Apr 2011 19:22:45 +0000 (19:22 +0000)]
2011-04-01  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Tony Chang.

        This patch completes the cleanup of
        rebaseline-chromium-webkit-tests to work with all of the
        variants of a platform (we can now rebaseline gpu- and non-gpu
        files at the same time).

        When the rebaselining is complete, any lines declared as
        REBASELINE in the expectations file that matches a test that was
        actually rebaselined will be deleted, even if only one of the
        variants was actually rebaselined. This may cause odd problems,
        but is better than where we're at today.

        This change removes the -g flag and deprecates -w. The -g flag is gone
        because GPU baselines are handled just like any other variant.
        The -w flag is deprecated because this tool now only works
        against the canaries, since that's the only place we have a full
        set of bots. It will be trivial to change this to
        build.webkit.org if we decide that's where we want them to be.

        Also, this patch deletes a lot of cruft that is no longer needed
        in the test_expectations code and the port-specific code.

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

        * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
        * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
        * Scripts/webkitpy/layout_tests/port/base.py:
        * Scripts/webkitpy/layout_tests/port/base_unittest.py:
        * Scripts/webkitpy/layout_tests/port/chromium.py:
        * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
        * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
        * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
        * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
        * Scripts/webkitpy/layout_tests/port/chromium_win.py:
        * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
        * Scripts/webkitpy/layout_tests/port/mac.py:
        * Scripts/webkitpy/layout_tests/port/test.py:
        * Scripts/webkitpy/layout_tests/port/webkit.py:
        * Scripts/webkitpy/layout_tests/port/win.py:
        * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
        * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:

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

8 years ago2011-04-01 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Fri, 1 Apr 2011 19:18:45 +0000 (19:18 +0000)]
2011-04-01  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Adam Barth.

        rebaseline-chromium-webkit-tests does not work correctly with
        version-specific baselines. This patch updates the tool to use
        all of the version-specific bots on the canaries, and will now
        attempt to rebaseline all of the versions by default, although
        it will not update both GPU and CPU versions.

        Also, it will no longer modify the test_expectations.txt file
        *at all*. You will have to manually delete the REBASELINE lines
        after running the tool and determining that it did what you
        wanted it to do. This should be fixed in a separate bug - see
        webkit bug #55191.

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

        * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
        * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
        * Scripts/webkitpy/layout_tests/port/chromium.py:
        * Scripts/webkitpy/layout_tests/port/test.py:
        * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
        * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:

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

8 years ago2011-04-01 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Fri, 1 Apr 2011 19:08:31 +0000 (19:08 +0000)]
2011-04-01  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Oliver Hunt.

        Removed WeakGCMap::deprecatedRemove because it was deprecated and unused
        https://bugs.webkit.org/show_bug.cgi?id=57648

        * runtime/WeakGCMap.h:

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

8 years ago2011-04-01 Steve Block <steveblock@google.com>
steveblock@google.com [Fri, 1 Apr 2011 19:04:57 +0000 (19:04 +0000)]
2011-04-01  Steve Block  <steveblock@google.com>

        Reviewed by Jeremy Orlow.

        JavaClass should be an interface and free of JNI types
        https://bugs.webkit.org/show_bug.cgi?id=57533

        This patch fixes JavaClass for V8 only.

        It factors out a JavaClass interface which does not use JNI types.
        This will allow the Java bridge to be used with objects that
        don't use JNI directly. The existing jobject-backed
        implementation is moved to a new JavaClassJobject class which
        implements the interface.

        No new tests, refactoring only.

        * Android.v8bindings.mk:
        * WebCore.gypi:
        * bridge/jni/v8/JavaClassJobjectV8.cpp:
        (JavaClassJobject::JavaClassJobject):
        (JavaClassJobject::~JavaClassJobject):
        (JavaClassJobject::methodsNamed):
        (JavaClassJobject::fieldNamed):
        * bridge/jni/v8/JavaClassJobjectV8.h: Copied from Source/WebCore/bridge/jni/v8/JavaClassV8.h.
        * bridge/jni/v8/JavaClassV8.h:
        (JSC::Bindings::JavaClass::~JavaClass):
        * bridge/jni/v8/JavaInstanceV8.cpp:
        (JavaInstance::getClass):

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

8 years ago2011-04-01 Jaehun Lim <ljaehun.lim@samsung.com>
commit-queue@webkit.org [Fri, 1 Apr 2011 19:02:37 +0000 (19:02 +0000)]
2011-04-01  Jaehun Lim  <ljaehun.lim@samsung.com>

        Unreviewed build fix.

        Fix build break when font backend is Pango.
        Pango is missed in changeset 80589.

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

        * platform/graphics/pango/FontPlatformData.h:
        (WebCore::FontPlatformData::setOrientation):

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

8 years ago2011-04-01 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Fri, 1 Apr 2011 18:45:23 +0000 (18:45 +0000)]
2011-04-01  Adam Barth  <abarth@webkit.org>

        Update expected results to document more passes.

        * platform/chromium/test_expectations.txt:

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

8 years ago2011-04-01 MORITA Hajime <morrita@google.com>
morrita@google.com [Fri, 1 Apr 2011 18:38:25 +0000 (18:38 +0000)]
2011-04-01  MORITA Hajime  <morrita@google.com>

        Unreviewed expectations update which follows r82693.

        * platform/gtk/fast/dom/HTMLMeterElement/meter-boundary-values-expected.txt:
        * platform/gtk/fast/dom/HTMLMeterElement/meter-element-expected.txt:
        * platform/gtk/fast/dom/HTMLMeterElement/meter-optimums-expected.txt:
        * platform/gtk/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.txt:
        * platform/gtk/fast/dom/HTMLMeterElement/meter-styles-expected.txt:

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

8 years ago2011-04-01 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Fri, 1 Apr 2011 18:05:04 +0000 (18:05 +0000)]
2011-04-01  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r82687.
        http://trac.webkit.org/changeset/82687
        https://bugs.webkit.org/show_bug.cgi?id=57643

        This patch broke accessibility aria-treegrid test in Mac
        (Requested by msanchez on #webkit).

        * accessibility/AccessibilityARIAGrid.cpp:
        * accessibility/AccessibilityARIAGrid.h:
        * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
        (atkRole):
        * accessibility/mac/AccessibilityObjectWrapper.mm:

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

8 years ago* http/tests/local/formdata/form-data-with-unknown-file-extension-expected.txt: Remov...
darin@apple.com [Fri, 1 Apr 2011 17:49:05 +0000 (17:49 +0000)]
* http/tests/local/formdata/form-data-with-unknown-file-extension-expected.txt: Removed property svn:executable.
* http/tests/local/formdata/form-data-with-unknown-file-extension.html: Removed property svn:executable.

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

8 years agoMaintain the invariant that Lexer::m_current is set to -1 when at the end of the...
aroben@apple.com [Fri, 1 Apr 2011 17:36:14 +0000 (17:36 +0000)]
Maintain the invariant that Lexer::m_current is set to -1 when at the end of the code buffer

Covered by existing tests.

Fixes <http://webkit.org/b/56699>.

Reviewed by Oliver Hunt.

* parser/Lexer.h:
(JSC::Lexer::setOffset): Copied code from Lexer::shift to update m_current, because
supposedly the idiom that function uses is fast.

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

8 years agoRemove the WebView's "this" pointer from its HWND when WM_DESTROY is received
aroben@apple.com [Fri, 1 Apr 2011 17:35:43 +0000 (17:35 +0000)]
Remove the WebView's "this" pointer from its HWND when WM_DESTROY is received

This will ensure we don't try to process any window messages after the window has been
destroyed.

Covered by existing tests.

Fixes <http://webkit.org/b/55054>.

Reviewed by Steve Falkenburg and John Sullivan.

* WebView.cpp:
(WebView::setIsBeingDestroyed): Moved here from the header file, and added a call to clear
out the this pointer from the HWND.
(WebView::WebViewWndProc): Changed a runtime check into an assertion.

* WebView.h: Moved setIsBeingDestroyed from here to the .cpp file.

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

8 years ago2011-04-01 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Fri, 1 Apr 2011 17:33:00 +0000 (17:33 +0000)]
2011-04-01  Pavel Podivilov  <podivilov@chromium.org>

        Unreviewed, rebaseline chromium expectations for HTMLMeterElement tests updated in r82686.

        * platform/chromium-linux/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.checksum:
        * platform/chromium-linux/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.png:
        * platform/chromium-linux/fast/dom/HTMLMeterElement/meter-styles-expected.checksum:
        * platform/chromium-linux/fast/dom/HTMLMeterElement/meter-styles-expected.png:
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-appearances-capacity-expected.txt:
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-appearances-rating-relevancy-expected.txt:
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-boundary-values-expected.txt:
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-element-expected.checksum:
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-element-expected.png:
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-element-expected.txt: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-optimums-expected.txt:
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.checksum:
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.png:
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.txt:
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-styles-expected.checksum:
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-styles-expected.png:
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-styles-expected.txt:

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

8 years ago2011-04-01 MORITA Hajime <morrita@google.com>
morrita@google.com [Fri, 1 Apr 2011 17:28:53 +0000 (17:28 +0000)]
2011-04-01 MORITA Hajime  <morrita@google.com>

        Unreviewed unskipping. This will make some tests fail on GTK port, whoese
        results should be updated using layout-test-results.zip compiled by the buildbot.

        * platform/gtk/Skipped:

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

8 years ago Reviewed by Anders Carlsson.
ap@apple.com [Fri, 1 Apr 2011 17:25:25 +0000 (17:25 +0000)]
    Reviewed by Anders Carlsson.

        Assertion failure (type == event.type()) after a web process crash
        https://bugs.webkit.org/show_bug.cgi?id=56228
        <rdar://problem/8806106>

        This partially un-confuses the UI process about key processing state after a web process
        crash. It may not be pefect yet - sending a KeyUp to a new process that never saw a KeyDown
        seems weird.

        * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::processDidCrash):

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

8 years ago2011-04-01 MORITA Hajime <morrita@google.com>
morrita@google.com [Fri, 1 Apr 2011 17:15:35 +0000 (17:15 +0000)]
2011-04-01  MORITA Hajime  <morrita@google.com>

        Unreviewed expectation/skip update that follows r82686.

        - Updated expectataions for gtk port.
        - Skipped some win tests whose expectations are need to be updated but
          the result isn't available from build.webit.org.

        * platform/gtk/fast/dom/HTMLMeterElement/meter-appearances-capacity-expected.txt:
        * platform/gtk/fast/dom/HTMLMeterElement/meter-appearances-rating-relevancy-expected.txt:
        * platform/win/Skipped:

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

8 years ago2011-03-31 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Fri, 1 Apr 2011 17:12:04 +0000 (17:12 +0000)]
2011-03-31  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Andreas Kling.

        Whenever a relayout is trigger for SVGPath, make sure
        to clear its previous marker layout info. This helps
        to prevent removed markers from being used.
        https://bugs.webkit.org/show_bug.cgi?id=57492

        Test: svg/dom/path-marker-removed-crash.svg

        * rendering/svg/RenderSVGPath.cpp:
        (WebCore::RenderSVGPath::layout):
        * rendering/svg/SVGMarkerLayoutInfo.cpp:
        (WebCore::SVGMarkerLayoutInfo::clear):
        * rendering/svg/SVGMarkerLayoutInfo.h:
2011-03-31  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Andreas Kling.

        Tests that we do not crash when trying to paint a removed
        svg marker element.
        https://bugs.webkit.org/show_bug.cgi?id=57492

        * svg/dom/path-marker-removed-crash-expected.txt: Added.
        * svg/dom/path-marker-removed-crash.svg: Added.

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

8 years ago2011-04-01 Rob Buis <rwlbuis@gmail.com>
rwlbuis@webkit.org [Fri, 1 Apr 2011 16:48:59 +0000 (16:48 +0000)]
2011-04-01  Rob Buis  <rwlbuis@gmail.com>

        Reviewed by Nikolas Zimmermann.

        https://bugs.webkit.org/show_bug.cgi?id=55750
        SVG <image> referenced by <use> is displayed incorrectly

        Reintroduce old behaviour for valid base URI, for invalid
        keep using document base URI.
        Fixes regression of W3C-SVG-1.1/struct-image-07-t.svg.

        Test: svg/custom/image-base-uri.svg

        * svg/SVGImageLoader.cpp:
        (WebCore::SVGImageLoader::sourceURI):

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

8 years ago2011-03-31 Tony Chang <tony@chromium.org>
tony@chromium.org [Fri, 1 Apr 2011 16:37:44 +0000 (16:37 +0000)]
2011-03-31  Tony Chang  <tony@chromium.org>

        Reviewed by Ojan Vafai.

        [chromium] update the rebaseline tool to know about pngs with checksums
        https://bugs.webkit.org/show_bug.cgi?id=57481

        * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: Skip over .checksum files if the checksum is already in the png
        * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:

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

8 years ago2011-04-01 Mario Sanchez Prada <msanchez@igalia.com>
mario@webkit.org [Fri, 1 Apr 2011 16:15:58 +0000 (16:15 +0000)]
2011-04-01  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Chris Fleizach.

        ARIA Grid tables should return GridRole in roleValue() method
        https://bugs.webkit.org/show_bug.cgi?id=57614

        This change does not need any test since it doesn't change anything
        from the point of view of the consumers (Assistive Technoglogies).
        It's just an internal change to simplify identifying HTML and ARIA
        tables by calling to the AccessibilityObject::roleValue method.

        * accessibility/AccessibilityARIAGrid.h:
        * accessibility/AccessibilityARIAGrid.cpp:
        (WebCore::AccessibilityARIAGrid::roleValue): Return GridRole.

        * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
        (atkRole): Removed unneeded comment.

        * accessibility/mac/AccessibilityObjectWrapper.mm: Map GridRole to
        NSAccessibilityTableRole, to keep the same behaviour.

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

8 years ago2011-04-01 MORITA Hajime <morrita@google.com>
morrita@google.com [Fri, 1 Apr 2011 15:59:19 +0000 (15:59 +0000)]
2011-04-01  MORITA Hajime  <morrita@google.com>

        Reviewed by Dimitri Glazkov.

        Reviewed by Dimitri Glazkov.

        <meter> can only support horizontal indicator
        https://bugs.webkit.org/show_bug.cgi?id=56001

        - Simpflied some test cases which had vertical indicators.
        - Updated expectations due to shadow structure change
        - Skipped tetsts which need expectations update.

        * fast/dom/HTMLMeterElement/meter-element.html:
        * fast/dom/HTMLMeterElement/meter-styles-changing-pseudo.html:
        * fast/dom/HTMLMeterElement/meter-styles.html:
        * platform/gtk/Skipped:
        * platform/mac/fast/dom/HTMLMeterElement/meter-appearances-capacity-expected.txt:
        * platform/mac/fast/dom/HTMLMeterElement/meter-appearances-rating-relevancy-expected.txt:
        * platform/mac/fast/dom/HTMLMeterElement/meter-boundary-values-expected.checksum:
        * platform/mac/fast/dom/HTMLMeterElement/meter-boundary-values-expected.png:
        * platform/mac/fast/dom/HTMLMeterElement/meter-boundary-values-expected.txt:
        * platform/mac/fast/dom/HTMLMeterElement/meter-element-expected.checksum:
        * platform/mac/fast/dom/HTMLMeterElement/meter-element-expected.png:
        * platform/mac/fast/dom/HTMLMeterElement/meter-element-expected.txt:
        * platform/mac/fast/dom/HTMLMeterElement/meter-optimums-expected.txt:
        * platform/mac/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.checksum:
        * platform/mac/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.png:
        * platform/mac/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.txt:
        * platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.checksum:
        * platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.png:
        * platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.txt:
        * platform/qt/Skipped:
        * platform/win/Skipped:
2011-04-01  MORITA Hajime  <morrita@google.com>

        Reviewed by Dimitri Glazkov.

        <meter> can only support horizontal indicator
        https://bugs.webkit.org/show_bug.cgi?id=56001

        - Removed code which deals with the direction and
          left the horizontal path.
        - Removed "horizontal" from related names which is now
          redundant.

        * css/CSSSelector.cpp:
        (WebCore::CSSSelector::pseudoId):
        (WebCore::nameToPseudoTypeMap):
        (WebCore::CSSSelector::extractPseudoType):
        * css/CSSSelector.h:
        * css/html.css:
        (meter::-webkit-meter-bar):
        (meter::-webkit-meter-optimum-value):
        (meter::-webkit-meter-suboptimal-value):
        (meter::-webkit-meter-even-less-good-value):
        * rendering/RenderMeter.cpp:
        (WebCore::RenderMeter::~RenderMeter):
        (WebCore::RenderMeter::createPart):
        (WebCore::RenderMeter::updateFromElement):
        (WebCore::RenderMeter::layoutParts):
        (WebCore::RenderMeter::styleDidChange):
        (WebCore::RenderMeter::shouldHaveParts):
        (WebCore::RenderMeter::valuePartRect):
        (WebCore::RenderMeter::valuePseudoId):
        (WebCore::RenderMeter::barPseudoId):
        (WebCore::RenderMeter::detachShadows):
        (WebCore::RenderMeter::updateShadows):
        * rendering/RenderMeter.h:
        (WebCore::RenderMeter::shadowAttached):
        * rendering/RenderTheme.cpp:
        (WebCore::RenderTheme::supportsMeter):
        * rendering/RenderTheme.h:
        * rendering/RenderThemeMac.h:
        * rendering/RenderThemeMac.mm:
        (WebCore::RenderThemeMac::paintMeter):
        (WebCore::RenderThemeMac::supportsMeter):
        * rendering/style/RenderStyleConstants.h:

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

8 years ago2011-03-23 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Fri, 1 Apr 2011 15:26:06 +0000 (15:26 +0000)]
2011-03-23  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: fix reveal line in formatted script.
        https://bugs.webkit.org/show_bug.cgi?id=56941

        * inspector/front-end/BreakpointsSidebarPane.js:
        (WebInspector.JavaScriptBreakpointsSidebarPane):
        (WebInspector.JavaScriptBreakpointsSidebarPane.prototype._breakpointClicked):
        * inspector/front-end/DebuggerPresentationModel.js:
        (WebInspector.DebuggerPresentationModel.prototype.sourceFileForScriptURL):
        * inspector/front-end/NetworkPanel.js:
        (WebInspector.NetworkPanel.prototype.canShowAnchorLocation):
        (WebInspector.NetworkPanel.prototype.showAnchorLocation):
        * inspector/front-end/Panel.js:
        (WebInspector.Panel.prototype.canShowAnchorLocation):
        (WebInspector.Panel.prototype.showAnchorLocation):
        * inspector/front-end/ResourcesPanel.js:
        (WebInspector.ResourcesPanel.prototype.canShowAnchorLocation):
        (WebInspector.ResourcesPanel.prototype.showAnchorLocation):
        (WebInspector.ResourcesPanel.prototype.showResource):
        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel):
        (WebInspector.ScriptsPanel.prototype.canShowAnchorLocation):
        (WebInspector.ScriptsPanel.prototype.showAnchorLocation):
        (WebInspector.ScriptsPanel.prototype._showSourceLine):
        * inspector/front-end/SourceFrame.js:
        (WebInspector.SourceFrame.prototype.highlightLine):
        (WebInspector.SourceFrame.prototype._createTextViewer):
        * inspector/front-end/inspector.js:
        (WebInspector.documentClick.followLink):
        (WebInspector.documentClick):
        (WebInspector._showAnchorLocation):

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

8 years agoDisable inspector/debugger/debug-inlined-scripts.html
aroben@apple.com [Fri, 1 Apr 2011 15:22:08 +0000 (15:22 +0000)]
Disable inspector/debugger/debug-inlined-scripts.html

It is flaky. The flakiness is tracked by <http://webkit.org/b/56584>.

* inspector/debugger/debug-inlined-scripts.html-disabled: Renamed from LayoutTests/inspector/debugger/debug-inlined-scripts.html.

* platform/mac-wk2/Skipped: Removed the now-disabled test.

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

8 years ago2011-04-01 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Fri, 1 Apr 2011 15:19:38 +0000 (15:19 +0000)]
2011-04-01  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: make editScriptSource a Script's method.
        https://bugs.webkit.org/show_bug.cgi?id=57615

        * inspector/front-end/DebuggerModel.js:
        (WebInspector.DebuggerModel.prototype.editScriptSource):
        (WebInspector.DebuggerModel.prototype._didEditScriptSource):
        * inspector/front-end/Script.js:
        (WebInspector.Script.prototype.requestSource):
        (WebInspector.Script.prototype.editSource):

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

8 years agoRetrieve revision numbers from the build's got_revision property in Leaks Viewer
aroben@apple.com [Fri, 1 Apr 2011 15:17:08 +0000 (15:17 +0000)]
Retrieve revision numbers from the build's got_revision property in Leaks Viewer

Previously, we were getting the revision of the first revision that triggered a build.
Choosing the last revision would have been more accurate. But got_revision is what is used
everywhere else on build.webkit.org, and should work even when there were no changes that
triggered a build (e.g., if someone clicked the Force Build button).

Fixes <http://webkit.org/b/57630> Leaks viewer gets some revision numbers wrong in the
recent builds list

Reviewed by Anders Carlsson.

* BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/RecentBuildsLoader.js:
(RecentBuildsLoader.prototype.start): Pull the revision number out of the got_revision
property, rather than out of the first (i.e., earliest) change in the sourceStamp object.

* BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/Utilities.js:
(Array.prototype.first): Added this helper function to return the first element in an array
that matches the given predicate, or null if no such element exists.

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

8 years agoPrefer (but don't require) bug URLs to be on their own line when parsing bug numbers...
aroben@apple.com [Fri, 1 Apr 2011 15:13:10 +0000 (15:13 +0000)]
Prefer (but don't require) bug URLs to be on their own line when parsing bug numbers from ChangeLogs

Fixes <http://webkit.org/b/57579> webkit-patch is too strict about bug URL formatting

Reviewed by Darin Adler.

* Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
(parse_bug_id_from_changelog): Fall back to parse_bug_id if we weren't able to find a bug
URL on its own line.

* Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py:
(BugzillaTest.test_parse_bug_id_from_changelog): Updated expected results for test
progression, and added a new test that uses a short bug URL while I was at it.

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

8 years ago2011-04-01 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Fri, 1 Apr 2011 14:10:24 +0000 (14:10 +0000)]
2011-04-01  Pavel Feldman  <pfeldman@google.com>

        Reviewed by Yury Semikhatsky.

        Web Inspector: event should have "data" attribute, not "body"
        https://bugs.webkit.org/show_bug.cgi?id=57628

        * inspector/protocol/console-agent-expected.txt:
2011-04-01  Pavel Feldman  <pfeldman@google.com>

        Reviewed by Yury Semikhatsky.

        Web Inspector: event should have "data" attribute, not "body"
        https://bugs.webkit.org/show_bug.cgi?id=57628

        * inspector/CodeGeneratorInspector.pm:

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

8 years agoMark .vcproj/.vsprops/.sln files as being Windows-only
aroben@apple.com [Fri, 1 Apr 2011 14:10:00 +0000 (14:10 +0000)]
Mark .vcproj/.vsprops/.sln files as being Windows-only

Fixes <http://webkit.org/b/57489> Mac builders built 82512, but shouldn't have

Reviewed by Anders Carlsson.

* Scripts/webkitpy/common/config/build.py:
(_should_file_trigger_build): Added patterns to mark .vcproj/.vsprops/.sln files and .vcproj
directories as Windows-only.

* Scripts/webkitpy/common/config/build_unittest.py:
(ShoulBuildTest): Added test cases for the above.

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

8 years ago2011-04-01 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Fri, 1 Apr 2011 13:58:13 +0000 (13:58 +0000)]
2011-04-01  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: checkboxes are broken in xhr breakpoints sidebar pane.
        https://bugs.webkit.org/show_bug.cgi?id=57610

        * inspector/debugger/xhr-breakpoints-expected.txt:
        * inspector/debugger/xhr-breakpoints.html:
2011-04-01  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: checkboxes are broken in xhr breakpoints sidebar pane.
        https://bugs.webkit.org/show_bug.cgi?id=57610

        * inspector/front-end/BreakpointsSidebarPane.js:
        (WebInspector.XHRBreakpointsSidebarPane.prototype._checkboxClicked):

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

8 years agoCairo build fix
aroben@apple.com [Fri, 1 Apr 2011 13:44:51 +0000 (13:44 +0000)]
Cairo build fix

* WebProcess/WebPage/LayerTreeHost.cpp: Only pull in the LayerTreeHostCA derived classes for
PLATFORM(CA) ports.

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

8 years ago2011-04-01 Carol Szabo <carol.szabo@nokia.com>
carol.szabo@nokia.com [Fri, 1 Apr 2011 13:38:33 +0000 (13:38 +0000)]
2011-04-01  Carol Szabo  <carol.szabo@nokia.com>

        Reviewed by Benjamin Poulain.

        Changed QWebFramePrivate::renderFromTiledBackingStore to call directly into
        Scrollbar/PanIcon rendering, bypassing the potential relayout in renderRelativeCoords.

        Tiled painting still causes synchronous layout when
        accelerated compositing and texture mapper are enabled
        https://bugs.webkit.org/show_bug.cgi?id=56929

        * Api/qwebframe.cpp:
        (QWebFramePrivate::renderFromTiledBackingStore):
        (QWebFramePrivate::renderRelativeCoords):
        (QWebFramePrivate::renderFrameWidgets):
        * Api/qwebframe_p.h:

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

8 years agoSplit LayerTreeHostCA into a base class and derived Mac and Win classes
aroben@apple.com [Fri, 1 Apr 2011 13:26:52 +0000 (13:26 +0000)]
Split LayerTreeHostCA into a base class and derived Mac and Win classes

This will make it easier to customize the Mac and Windows implementations without adding too
many #ifdefs.

Fixes <http://webkit.org/b/57606> Windows and Mac should use separate LayerTreeHost classes

Reviewed by Anders Carlsson.

* WebKit2.xcodeproj/project.pbxproj: Added LayerTreeHostCAMac.h.

* WebProcess/WebPage/LayerTreeHost.cpp:
(WebKit::LayerTreeHost::create): Create a LayerTreeHostCAMac on Mac, and LayerTreeHostCAWin
on Windows.

* WebProcess/WebPage/ca/LayerTreeHostCA.cpp:
(WebKit::LayerTreeHostCA::LayerTreeHostCA): Moved some code from here...
(WebKit::LayerTreeHostCA::initialize): ...to here. This function will be called after the
constructor returns, and thus can safely call functions that are pure virtual in this class
and its base class. We now pass our LayerTreeContext to platformInitialize so that our
derived classes can initialize it.
(WebKit::LayerTreeHostCA::~LayerTreeHostCA): Removed Mac-specific code.

(WebKit::LayerTreeHostCA::invalidate):
(WebKit::LayerTreeHostCA::sizeDidChange):
(WebKit::LayerTreeHostCA::forceRepaint):
(WebKit::LayerTreeHostCA::didPerformScheduledLayerFlush):
Removed platform* calls. Derived classes can just override these functions to do what they
need.

* WebProcess/WebPage/ca/LayerTreeHostCA.h: Removed Mac-specific pieces. Made some functions
virtual so that derived classes can override them.

* WebProcess/WebPage/ca/mac/LayerTreeHostCAMac.h: Added.

* WebProcess/WebPage/ca/mac/LayerTreeHostCAMac.mm:
(WebKit::LayerTreeHostCAMac::create): Create and initialize a host.
(WebKit::LayerTreeHostCAMac::LayerTreeHostCAMac): Simple constructor.
(WebKit::LayerTreeHostCAMac::~LayerTreeHostCAMac): Moved code here from LayerTreeHostCA
destructor.
(WebKit::LayerTreeHostCAMac::platformInitialize): Removed direct uses of LayerTreeHostCA
data members.

(WebKit::LayerTreeHostCAMac::invalidate):
(WebKit::LayerTreeHostCAMac::sizeDidChange):
(WebKit::LayerTreeHostCAMac::forceRepaint):
(WebKit::LayerTreeHostCAMac::didPerformScheduledLayerFlush):
Renamed from platform*. Now call up to the base class.

(WebKit::LayerTreeHostCAMac::flushPendingLayerChangesRunLoopObserverCallback): Updated type.

* WebProcess/WebPage/ca/win/LayerTreeHostCAWin.cpp:
(WebKit::LayerTreeHostCAWin::create): Create and initialize a host.

(WebKit::LayerTreeHostCAWin::LayerTreeHostCAWin):
(WebKit::LayerTreeHostCAWin::~LayerTreeHostCAWin):
(WebKit::LayerTreeHostCAWin::platformInitialize):
(WebKit::LayerTreeHostCAWin::scheduleLayerFlush):
Stubbed out.

* WebProcess/WebPage/ca/win/LayerTreeHostCAWin.h: Added.

* win/WebKit2.vcproj: Added LayerTreeHostCAWin.h

* win/WebKit2Apple.vsprops: Added WebProcess/WebPage/ca/win to the include path.

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

8 years ago2011-04-01 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Fri, 1 Apr 2011 13:14:24 +0000 (13:14 +0000)]
2011-04-01  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: up/down keys are not treating hex numbers properly while editing styles.
        https://bugs.webkit.org/show_bug.cgi?id=40522

Drive-by: fix inc/dec for numbers like ".5"
        Test: inspector/styles/up-down-numerics-and-colors.html

        WebCore:
        * inspector/front-end/StylesSidebarPane.js:
        (WebInspector.StylePropertyTreeElement.prototype):

        LayoutTests:
        * http/tests/inspector/inspector-test.js:
        (initialize_InspectorTest.InspectorTest.createKeyEvent): Added arguments for key modifiers.
        * inspector/styles/up-down-numerics-and-colors-expected.txt: Added.
        * inspector/styles/up-down-numerics-and-colors.html: Added.

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

8 years ago2011-04-01 Nancy Piedra <nancy.piedra@nokia.com>
commit-queue@webkit.org [Fri, 1 Apr 2011 12:32:34 +0000 (12:32 +0000)]
2011-04-01  Nancy Piedra  <nancy.piedra@nokia.com>

        Reviewed by Benjamin Poulain.

        [Qt] DragClientQt.h has coding-style errors
        https://bugs.webkit.org/show_bug.cgi?id=40425

        * WebCoreSupport/DragClientQt.h:

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

8 years ago2011-04-01 Grzegorz Czajkowski <g.czajkowski@samsung.com>
commit-queue@webkit.org [Fri, 1 Apr 2011 12:22:19 +0000 (12:22 +0000)]
2011-04-01  Grzegorz Czajkowski  <g.czajkowski@samsung.com>

        Reviewed by Kenneth Rohde Christiansen.

        [EFL] Synchronization between WebCore's ContextMenuItem.h and ewk_contextmenu.h
        https://bugs.webkit.org/show_bug.cgi?id=57000

        * ewk/ewk_contextmenu.h:

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