WebKit-https.git
9 years ago2010-11-24 Eric Uhrhane <ericu@chromium.org>
commit-queue@webkit.org [Thu, 25 Nov 2010 03:02:44 +0000 (03:02 +0000)]
2010-11-24  Eric Uhrhane  <ericu@chromium.org>

        Reviewed by Tony Chang.

        Fix file-writer-truncate-extend test.
        https://bugs.webkit.org/show_bug.cgi?id=50047

        * fast/filesystem/resources/file-writer-truncate-extend.js:

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

9 years ago2010-11-24 Eric Uhrhane <ericu@chromium.org>
commit-queue@webkit.org [Thu, 25 Nov 2010 02:44:12 +0000 (02:44 +0000)]
2010-11-24  Eric Uhrhane  <ericu@chromium.org>

        Reviewed by David Levin.

        Implement FileWriterSync
        https://bugs.webkit.org/show_bug.cgi?id=49939

        Tests to follow in a separate CL, once the test framework in 47680 goes in.

        Build file changes to add FileWriterBase and FileWriterBaseCallback.
        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:

        FileWriterSync doesn't turn out to need to be an ActiveDOMObject.
        * bindings/scripts/CodeGeneratorV8.pm:

        Added new AsyncFileWriter::waitForOperationToComplete to enable
        synchronous calls.
        * fileapi/AsyncFileWriter.h:

        Added a way to get a FileSystemSync.
        * fileapi/DOMFileSystemSync.cpp:
        * fileapi/FileEntrySync.cpp:
        * fileapi/FileEntrySync.h:
        * fileapi/FileEntrySync.idl:

        Added an error code for OK, rather than just having 0 everywhere.
        * fileapi/FileError.h:

        Turned FileWriterCallback into FileWriterBaseCallback.
        * fileapi/FileSystemCallbacks.cpp:
        * fileapi/FileSystemCallbacks.h:

        Refactored out a common base class, FileWriterBase, for FileWriter and
        FileWriterSync.
        * fileapi/FileWriter.cpp:
        * fileapi/FileWriter.h:
        * fileapi/FileWriterBase.cpp: Added.
        * fileapi/FileWriterBase.h: Added.
        * fileapi/FileWriterBaseCallback.h: Added.
        * fileapi/FileWriterSync.cpp:
        * fileapi/FileWriterSync.h:

        Small tweaks to deal with the base class refactoring.
        * fileapi/DOMFileSystem.cpp:
        * fileapi/DOMFileSystemSync.h:

        Removed "CallWith=ScriptExecutionContext", as FileWriterSync doesn't actually need it.
        * fileapi/FileWriterSync.idl:

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

9 years ago2010-11-24 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 25 Nov 2010 02:26:06 +0000 (02:26 +0000)]
2010-11-24  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        Build fix for GTK+. There were some typos in my last build fix
        and the empty command (semicolon) seems to be necessary for wildcard
        rule chains.

        * GNUmakefile.am: Small build fixes.

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

9 years ago2010-11-24 Jan Erik Hanssen <jhanssen@sencha.com>
commit-queue@webkit.org [Thu, 25 Nov 2010 02:11:06 +0000 (02:11 +0000)]
2010-11-24  Jan Erik Hanssen  <jhanssen@sencha.com>

        Reviewed by Antonio Gomes.

        [Qt] Html autofocus not working with QGraphicsWebView
        https://bugs.webkit.org/show_bug.cgi?id=43169

        Tell the scene to set the webview item as the currently
        focused item. This makes the input field with autofocus get
        focus as it should.

        * QtTestBrowser/webview.cpp:
        (WebViewGraphicsBased::WebViewGraphicsBased):

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

9 years ago2010-11-24 Eric Uhrhane <ericu@chromium.org>
commit-queue@webkit.org [Thu, 25 Nov 2010 01:55:26 +0000 (01:55 +0000)]
2010-11-24  Eric Uhrhane  <ericu@chromium.org>

        Reviewed by David Levin.

        [Chromium] Implement FileWriterSync
        https://bugs.webkit.org/show_bug.cgi?id=49940

        Added waitForOperationToComplete, delegating to the bridge.
        * src/WorkerAsyncFileWriterChromium.cpp:
        * src/WorkerAsyncFileWriterChromium.h:

        Added waitForOperationToComplete and some debug-only code to make sure it's working properly.
        * src/WorkerFileWriterCallbacksBridge.cpp:
        (WebKit::WorkerFileWriterCallbacksBridge::postWriteToMainThread):
        (WebKit::WorkerFileWriterCallbacksBridge::postTruncateToMainThread):
        (WebKit::WorkerFileWriterCallbacksBridge::postAbortToMainThread):
        (WebKit::WorkerFileWriterCallbacksBridge::WorkerFileWriterCallbacksBridge):
        (WebKit::WorkerFileWriterCallbacksBridge::didWriteOnWorkerThread):
        (WebKit::WorkerFileWriterCallbacksBridge::didFailOnWorkerThread):
        (WebKit::WorkerFileWriterCallbacksBridge::didTruncateOnWorkerThread):
        (WebKit::WorkerFileWriterCallbacksBridge::waitForOperationToComplete):
        * src/WorkerFileWriterCallbacksBridge.h:

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

9 years ago2010-11-24 Nico Weber <thakis@chromium.org>
thakis@chromium.org [Thu, 25 Nov 2010 01:46:47 +0000 (01:46 +0000)]
2010-11-24  Nico Weber  <thakis@chromium.org>

        Unreviewed.

        Another new baseline after http://trac.webkit.org/changeset/72689
        https://bugs.webkit.org/show_bug.cgi?id=50040

        * platform/chromium-mac/http/tests/misc/slow-loading-image-in-pattern-expected.checksum:
        * platform/chromium-mac/http/tests/misc/slow-loading-image-in-pattern-expected.png:

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

9 years agoReviewed implicitly by John Sullivan.
beidson@apple.com [Thu, 25 Nov 2010 01:09:21 +0000 (01:09 +0000)]
Reviewed implicitly by John Sullivan.

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

* UIProcess/mac/WebContextMenuProxyMac.mm:
(-[WebUserDataWrapper initWithUserData:WebKit::]): Do the proper self = [super init] dance here.

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

9 years ago2010-11-24 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Thu, 25 Nov 2010 00:56:31 +0000 (00:56 +0000)]
2010-11-24  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Tony Chang.

        nrwt - clean up create_driver interface and print out the
        command line used for DumpRenderTree/TestShell.

        This patch adds a driver_cmd_line() call to the Port class in
        order to retrive the command line to print it out (as part of
        --print config).

        In addition, this patch cleans up the Port.create_driver()
        signature and the Driver constructor interface to take a worker
        number and no longer require the image_path argument (Chromium's
        drivers now synthesize the image_path from the worker number
        internally).

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

        * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
        * Scripts/webkitpy/layout_tests/layout_package/printing.py:
        * Scripts/webkitpy/layout_tests/layout_package/printing_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_unittest.py:
        * Scripts/webkitpy/layout_tests/port/dryrun.py:
        * Scripts/webkitpy/layout_tests/port/port_testcase.py:
        * Scripts/webkitpy/layout_tests/port/test.py:
        * Scripts/webkitpy/layout_tests/port/webkit.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:

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

9 years agoMore of <rdar://problem/8613727> and https://bugs.webkit.org/show_bug.cgi?id=50042
beidson@apple.com [Thu, 25 Nov 2010 00:53:10 +0000 (00:53 +0000)]
More of <rdar://problem/8613727> and https://bugs.webkit.org/show_bug.cgi?id=50042
WK2 Context Menu Items need a user data object and a client callback for selection.

Reviewed by Dan Bernstein.

* Shared/API/c/WKContextMenuItem.cpp:
(WKContextMenuItemGetUserData):
(WKContextMenuItemSetUserData):
* Shared/API/c/WKContextMenuItem.h:

* Shared/WebContextMenuItem.cpp:
(WebKit::WebContextMenuItem::userData):
(WebKit::WebContextMenuItem::setUserData):
* Shared/WebContextMenuItem.h:

* Shared/WebContextMenuItemData.cpp:
(WebKit::WebContextMenuItemData::userData):
(WebKit::WebContextMenuItemData::setUserData):
* Shared/WebContextMenuItemData.h:

* UIProcess/API/C/WKPage.h:

* UIProcess/WebPageContextMenuClient.cpp:
(WebKit::WebPageContextMenuClient::customContextMenuItemSelected): Added for WK2 apps to get a callback.
* UIProcess/WebPageContextMenuClient.h:

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::contextMenuItemSelected):
* UIProcess/mac/WebContextMenuProxyMac.mm:
(-[WebUserDataWrapper initWithUserData:WebKit::]): Add an "APIObject" user data wrapper class to associate with the NSMenuItem.
(-[WebUserDataWrapper WebKit::]):
(-[WebMenuTarget forwardContextMenuAction:]): Include the user data object in the created ContextMenuItemData.
(WebKit::nsMenuItemVector):

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

9 years ago2010-11-24 Nico Weber <thakis@chromium.org>
thakis@chromium.org [Thu, 25 Nov 2010 00:39:34 +0000 (00:39 +0000)]
2010-11-24  Nico Weber  <thakis@chromium.org>

        Unreviewed.

        More new baselines after http://trac.webkit.org/changeset/72689
        https://bugs.webkit.org/show_bug.cgi?id=50040

        * platform/chromium-mac/svg/W3C-SVG-1.1-SE/filters-image-03-f-expected.checksum:
        * platform/chromium-mac/svg/W3C-SVG-1.1-SE/filters-image-03-f-expected.png:
        * platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-30-t-expected.checksum:
        * platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-30-t-expected.png: Added.
        * platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-36-t-expected.checksum:
        * platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-36-t-expected.png:
        * platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-39-t-expected.checksum:
        * platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-39-t-expected.png: Added.
        * platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-40-t-expected.checksum:
        * platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-40-t-expected.png:
        * platform/chromium-mac/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.checksum:
        * platform/chromium-mac/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.png:
        * platform/chromium-mac/svg/W3C-SVG-1.1/filters-displace-01-f-expected.checksum:
        * platform/chromium-mac/svg/W3C-SVG-1.1/filters-displace-01-f-expected.png:
        * platform/chromium-mac/svg/W3C-SVG-1.1/filters-image-01-b-expected.checksum:
        * platform/chromium-mac/svg/W3C-SVG-1.1/filters-image-01-b-expected.png:
        * platform/chromium-mac/svg/W3C-SVG-1.1/masking-path-04-b-expected.checksum:
        * platform/chromium-mac/svg/W3C-SVG-1.1/masking-path-04-b-expected.png:
        * platform/chromium-mac/svg/W3C-SVG-1.1/struct-image-06-t-expected.checksum:
        * platform/chromium-mac/svg/W3C-SVG-1.1/struct-image-06-t-expected.png:
        * platform/chromium-mac/svg/W3C-SVG-1.1/struct-image-08-t-expected.checksum:
        * platform/chromium-mac/svg/W3C-SVG-1.1/struct-image-08-t-expected.png:
        * platform/chromium-mac/svg/W3C-SVG-1.1/struct-image-10-t-expected.checksum: Removed.
        * platform/chromium-mac/svg/W3C-SVG-1.1/struct-image-10-t-expected.png: Removed.
        * platform/chromium-mac/svg/carto.net/scrollbar-expected.checksum:
        * platform/chromium-mac/svg/carto.net/scrollbar-expected.png:
        * platform/chromium-mac/svg/carto.net/selectionlist-expected.checksum:
        * platform/chromium-mac/svg/carto.net/selectionlist-expected.png:
        * platform/chromium-mac/svg/custom/convolution-crash-expected.checksum:
        * platform/chromium-mac/svg/custom/convolution-crash-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/custom/createImageElement-expected.png.
        * platform/chromium-mac/svg/custom/createImageElement-expected.checksum:
        * platform/chromium-mac/svg/custom/createImageElement-expected.png:
        * platform/chromium-mac/svg/custom/image-small-width-height-expected.checksum:
        * platform/chromium-mac/svg/custom/image-small-width-height-expected.png:
        * platform/chromium-mac/svg/custom/js-update-image-and-display-expected.checksum:
        * platform/chromium-mac/svg/custom/js-update-image-and-display-expected.png:
        * platform/chromium-mac/svg/custom/js-update-image-and-display2-expected.checksum:
        * platform/chromium-mac/svg/custom/js-update-image-and-display2-expected.png:
        * platform/chromium-mac/svg/custom/js-update-image-and-display3-expected.checksum:
        * platform/chromium-mac/svg/custom/js-update-image-and-display3-expected.png:
        * platform/chromium-mac/svg/custom/js-update-image-expected.checksum:
        * platform/chromium-mac/svg/custom/js-update-image-expected.png:
        * platform/chromium-mac/svg/custom/pointer-events-image-expected.checksum:
        * platform/chromium-mac/svg/custom/pointer-events-image-expected.png:
        * platform/chromium-mac/svg/custom/text-image-opacity-expected.checksum:
        * platform/chromium-mac/svg/custom/text-image-opacity-expected.png:
        * platform/chromium-mac/svg/filters/feDisplacementMap-expected.checksum:
        * platform/chromium-mac/svg/filters/feDisplacementMap-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/custom/js-update-image-expected.png.

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

9 years ago2010-11-24 Eric Uhrhane <ericu@chromium.org>
commit-queue@webkit.org [Wed, 24 Nov 2010 23:59:32 +0000 (23:59 +0000)]
2010-11-24  Eric Uhrhane  <ericu@chromium.org>

        Reviewed by David Levin.

        Add FileWriter test utilities.
        https://bugs.webkit.org/show_bug.cgi?id=47680

        Cleaning up shared test utility files caused the includes and output of
        a bunch of existing tests change slightly, so I've rebuilt the
        expectation files.

        This is the first test [in DOM and worker versions] to use the new utilities.
        * fast/filesystem/file-writer-truncate-extend-expected.txt: Added.
        * fast/filesystem/file-writer-truncate-extend.html: Added.
        * fast/filesystem/resources/file-writer-truncate-extend.js: Added.
        * fast/filesystem/workers/file-writer-truncate-extend-expected.txt: Added.
        * fast/filesystem/workers/file-writer-truncate-extend.html: Added.

        This is a new utility file for FileWriter tests.
        * fast/filesystem/resources/file-writer-utils.js: Added.

        Touched up a bit
        * fast/filesystem/resources/fs-worker-common.js:

        Removed
        * fast/filesystem/resources/fs-worker-test-post.js:

        * fast/filesystem/resources/fs-worker-test-pre.js:
        renamed to
        * fast/filesystem/resources/fs-worker-test-util.js:

        These tests and their expectations were tweaked slightly to use the new code more cleanly.
        * fast/filesystem/workers/async-operations-expected.txt:
        * fast/filesystem/workers/async-operations.html:
        * fast/filesystem/workers/file-from-file-entry-expected.txt:
        * fast/filesystem/workers/file-from-file-entry-sync-expected.txt:
        * fast/filesystem/workers/file-from-file-entry-sync.html:
        * fast/filesystem/workers/file-from-file-entry.html:
        * fast/filesystem/workers/simple-persistent-expected.txt:
        * fast/filesystem/workers/simple-persistent-sync-expected.txt:
        * fast/filesystem/workers/simple-persistent-sync.html:
        * fast/filesystem/workers/simple-persistent.html:
        * fast/filesystem/workers/simple-temporary-expected.txt:
        * fast/filesystem/workers/simple-temporary-sync-expected.txt:
        * fast/filesystem/workers/simple-temporary-sync.html:
        * fast/filesystem/workers/simple-temporary.html:
        * fast/filesystem/workers/sync-operations-expected.txt:
        * fast/filesystem/workers/sync-operations.html:

        Removed suppression of FileWriter tests, as we now have support in TestShell.
        * platform/chromium/test_expectations.txt:

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

9 years ago2010-11-24 Kenneth Russell <kbr@google.com>
kbr@google.com [Wed, 24 Nov 2010 23:22:34 +0000 (23:22 +0000)]
2010-11-24  Kenneth Russell  <kbr@google.com>

        Reviewed by Darin Fisher.

        [chromium] Disable antialiasing for compositor
        https://bugs.webkit.org/show_bug.cgi?id=50039

        * src/WebViewImpl.cpp:
        (WebCore::getCompositorContextAttributes):
        (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
        (WebKit::WebViewImpl::graphicsContext3D):

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

9 years ago2010-11-24 Nico Weber <thakis@chromium.org>
thakis@chromium.org [Wed, 24 Nov 2010 23:11:18 +0000 (23:11 +0000)]
2010-11-24  Nico Weber  <thakis@chromium.org>

        Unreviewed.

        New baselines after http://trac.webkit.org/changeset/72689
        https://bugs.webkit.org/show_bug.cgi?id=50040

        * platform/chromium-mac/css2.1/t0804-c5510-padn-00-b-ag-expected.checksum:
        * platform/chromium-mac/css2.1/t0905-c414-flt-01-d-g-expected.checksum:
        * platform/chromium-mac/css2.1/t100801-c544-valgn-02-d-agi-expected.checksum:
        * platform/chromium-mac/css2.1/t100801-c544-valgn-03-d-agi-expected.checksum:
        * platform/chromium-mac/css2.1/t100801-c544-valgn-04-d-agi-expected.checksum:
        * platform/chromium-mac/fast/backgrounds/size/backgroundSize01-expected.checksum: Removed.
        * platform/chromium-mac/fast/backgrounds/size/backgroundSize01-expected.png: Removed.
        * platform/chromium-mac/fast/backgrounds/size/backgroundSize05-expected.checksum: Removed.
        * platform/chromium-mac/fast/backgrounds/size/backgroundSize05-expected.png: Removed.
        * platform/chromium-mac/fast/backgrounds/size/backgroundSize06-expected.checksum: Removed.
        * platform/chromium-mac/fast/backgrounds/size/backgroundSize07-expected.checksum: Removed.
        * platform/chromium-mac/fast/backgrounds/size/backgroundSize08-expected.checksum: Removed.
        * platform/chromium-mac/fast/backgrounds/size/backgroundSize09-expected.checksum: Removed.
        * platform/chromium-mac/fast/backgrounds/size/backgroundSize10-expected.checksum: Removed.
        * platform/chromium-mac/fast/backgrounds/size/backgroundSize11-expected.checksum: Removed.
        * platform/chromium-mac/fast/backgrounds/size/backgroundSize12-expected.checksum: Removed.
        * platform/chromium-mac/fast/backgrounds/size/backgroundSize12-expected.png: Removed.
        * platform/chromium-mac/fast/backgrounds/size/backgroundSize16-expected.checksum:
        * platform/chromium-mac/fast/backgrounds/size/backgroundSize16-expected.png:
        * platform/chromium-mac/fast/backgrounds/size/backgroundSize17-expected.checksum:
        * platform/chromium-mac/fast/backgrounds/size/backgroundSize17-expected.png:
        * platform/chromium-mac/fast/backgrounds/size/backgroundSize18-expected.checksum:
        * platform/chromium-mac/fast/backgrounds/size/backgroundSize18-expected.png:
        * platform/chromium-mac/fast/backgrounds/size/backgroundSize19-expected.checksum:
        * platform/chromium-mac/fast/backgrounds/size/backgroundSize19-expected.png:
        * platform/chromium-mac/fast/backgrounds/size/backgroundSize20-expected.checksum:
        * platform/chromium-mac/fast/backgrounds/size/backgroundSize20-expected.png:
        * platform/chromium-mac/fast/backgrounds/size/backgroundSize21-expected.checksum:
        * platform/chromium-mac/fast/backgrounds/size/backgroundSize21-expected.png:
        * platform/chromium-mac/fast/backgrounds/size/backgroundSize22-expected.checksum:
        * platform/chromium-mac/fast/backgrounds/size/backgroundSize22-expected.png:
        * platform/chromium-mac/fast/backgrounds/size/zero-expected.checksum:
        * platform/chromium-mac/fast/backgrounds/size/zero-expected.png:
        * platform/chromium-mac/fast/css/value-list-out-of-bounds-crash-expected.checksum:
        * platform/chromium-mac/fast/events/pointer-events-2-expected.checksum:
        * platform/chromium-mac/fast/events/pointer-events-2-expected.png:
        * platform/chromium-mac/fast/forms/input-type-change-expected.checksum:
        * platform/chromium-mac/fast/repaint/block-layout-inline-children-replaced-expected.checksum:
        * platform/chromium-mac/fast/repaint/block-layout-inline-children-replaced-expected.png:
        * platform/chromium-mac/fast/replaced/image-sizing-expected.checksum:
        * platform/chromium-mac/fast/speech/input-appearance-numberandspeech-expected.checksum:
        * platform/chromium-mac/fast/speech/input-appearance-numberandspeech-expected.png:
        * platform/chromium-mac/fast/speech/input-appearance-searchandspeech-expected.checksum:
        * platform/chromium-mac/fast/speech/input-appearance-searchandspeech-expected.png:
        * platform/chromium-mac/fast/speech/input-appearance-speechbutton-expected.checksum:
        * platform/chromium-mac/fast/speech/input-appearance-speechbutton-expected.png:
        * platform/chromium-mac/svg/custom/image-parent-translation-expected.checksum:
        * platform/chromium-mac/svg/custom/image-parent-translation-expected.png:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEDisplacementMapElement-dom-in-attr-expected.checksum:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEDisplacementMapElement-dom-in-attr-expected.png:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEDisplacementMapElement-dom-in2-attr-expected.checksum:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEDisplacementMapElement-dom-in2-attr-expected.png:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEDisplacementMapElement-dom-scale-attr-expected.checksum:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEDisplacementMapElement-dom-scale-attr-expected.png:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEDisplacementMapElement-dom-xChannelSelector-attr-expected.checksum:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEDisplacementMapElement-dom-xChannelSelector-attr-expected.png:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEDisplacementMapElement-dom-yChannelSelector-attr-expected.checksum:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEDisplacementMapElement-dom-yChannelSelector-attr-expected.png:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEDisplacementMapElement-svgdom-in-prop-expected.checksum:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEDisplacementMapElement-svgdom-in-prop-expected.png:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEDisplacementMapElement-svgdom-in2-prop-expected.checksum:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEDisplacementMapElement-svgdom-in2-prop-expected.png:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEDisplacementMapElement-svgdom-scale-prop-expected.checksum:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEDisplacementMapElement-svgdom-scale-prop-expected.png:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEDisplacementMapElement-svgdom-xChannelSelector-prop-expected.checksum:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEDisplacementMapElement-svgdom-xChannelSelector-prop-expected.png:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEDisplacementMapElement-svgdom-yChannelSelector-prop-expected.checksum:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEDisplacementMapElement-svgdom-yChannelSelector-prop-expected.png:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEImageElement-dom-preserveAspectRatio-attr-expected.checksum:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEImageElement-dom-preserveAspectRatio-attr-expected.png:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEImageElement-svgdom-preserveAspectRatio-prop-expected.checksum:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEImageElement-svgdom-preserveAspectRatio-prop-expected.png:
        * platform/chromium-mac/svg/dynamic-updates/SVGImageElement-dom-height-attr-expected.checksum:
        * platform/chromium-mac/svg/dynamic-updates/SVGImageElement-dom-height-attr-expected.png:
        * platform/chromium-mac/svg/dynamic-updates/SVGImageElement-dom-preserveAspectRatio-attr-expected.checksum:
        * platform/chromium-mac/svg/dynamic-updates/SVGImageElement-dom-preserveAspectRatio-attr-expected.png:
        * platform/chromium-mac/svg/dynamic-updates/SVGImageElement-dom-width-attr-expected.checksum:
        * platform/chromium-mac/svg/dynamic-updates/SVGImageElement-dom-width-attr-expected.png:
        * platform/chromium-mac/svg/dynamic-updates/SVGImageElement-dom-x-attr-expected.checksum:
        * platform/chromium-mac/svg/dynamic-updates/SVGImageElement-dom-x-attr-expected.png:
        * platform/chromium-mac/svg/dynamic-updates/SVGImageElement-dom-y-attr-expected.checksum:
        * platform/chromium-mac/svg/dynamic-updates/SVGImageElement-dom-y-attr-expected.png:
        * platform/chromium-mac/svg/dynamic-updates/SVGImageElement-svgdom-height-prop-expected.checksum:
        * platform/chromium-mac/svg/dynamic-updates/SVGImageElement-svgdom-height-prop-expected.png:
        * platform/chromium-mac/svg/dynamic-updates/SVGImageElement-svgdom-preserveAspectRatio-prop-expected.checksum:
        * platform/chromium-mac/svg/dynamic-updates/SVGImageElement-svgdom-preserveAspectRatio-prop-expected.png:
        * platform/chromium-mac/svg/dynamic-updates/SVGImageElement-svgdom-width-prop-expected.checksum:
        * platform/chromium-mac/svg/dynamic-updates/SVGImageElement-svgdom-width-prop-expected.png:
        * platform/chromium-mac/svg/dynamic-updates/SVGImageElement-svgdom-x-prop-expected.checksum:
        * platform/chromium-mac/svg/dynamic-updates/SVGImageElement-svgdom-x-prop-expected.png:
        * platform/chromium-mac/svg/dynamic-updates/SVGImageElement-svgdom-y-prop-expected.checksum:
        * platform/chromium-mac/svg/dynamic-updates/SVGImageElement-svgdom-y-prop-expected.png:
        * platform/chromium-mac/tables/mozilla/bugs/bug11026-expected.checksum:
        * platform/chromium-mac/tables/mozilla/bugs/bug1188-expected.checksum:
        * platform/chromium-mac/tables/mozilla/bugs/bug1296-expected.checksum:
        * platform/chromium-mac/tables/mozilla/bugs/bug1296-expected.png:
        * platform/chromium-mac/tables/mozilla/bugs/bug1430-expected.checksum:
        * platform/chromium-mac/tables/mozilla/bugs/bug1430-expected.png:
        * platform/chromium-mac/tables/mozilla/bugs/bug14929-expected.checksum: Removed.
        * platform/chromium-mac/tables/mozilla/bugs/bug2981-2-expected.checksum:
        * platform/chromium-mac/tables/mozilla/bugs/bug4093-expected.checksum:
        * platform/chromium-mac/tables/mozilla/bugs/bug4284-expected.checksum:
        * platform/chromium-mac/tables/mozilla/bugs/bug4427-expected.checksum:
        * platform/chromium-mac/tables/mozilla/bugs/bug4427-expected.png:
        * platform/chromium-mac/tables/mozilla/bugs/bug4523-expected.checksum:
        * platform/chromium-mac/tables/mozilla/bugs/bug56563-expected.checksum:
        * platform/chromium-mac/tables/mozilla/bugs/bug6404-expected.checksum:
        * platform/chromium-mac/tables/mozilla/bugs/bug97383-expected.checksum:
        * platform/chromium-mac/tables/mozilla/bugs/bug97383-expected.png:
        * platform/chromium-mac/tables/mozilla/core/col_widths_auto_autoFix-expected.checksum:
        * platform/chromium-mac/tables/mozilla/core/misc-expected.checksum:
        * platform/chromium-mac/tables/mozilla_expected_failures/bugs/bug6933-expected.checksum:

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

9 years ago2010-11-24 James Robinson <jamesr@chromium.org>
vangelis@chromium.org [Wed, 24 Nov 2010 23:00:07 +0000 (23:00 +0000)]
2010-11-24  James Robinson  <jamesr@chromium.org>

        Reviewed by Kenneth Russell.

        [chromium] Compositor needs to manage its VRAM use
        https://bugs.webkit.org/show_bug.cgi?id=49629

        This adds a basic texture manager to the Chromium compositor to limit the amount of VRAM
        used by compositor textures and switches ContentLayerChromium, ImageLayerChromium, and
        RenderSurfaceChromium to use managed LayerTexture.  The other *LayerChromium classes (Canvas,
        Video, and WebGL) and the root layer are still unmanaged.

        The TextureManager works by providing tokens to callers that want to use a managed texture.
        The token can be used to request a texture, see if the previously requested texture is still
        available, and to protect/unprotect textures when they cannot be collected.  Whenever a
        texture is created the manager attempts to free up the least recently used textures until the
        total memory use is below the provided threshhold.  If the manager cannot satisfy the memory
        limit it will not return any new textures until some old textures are released.

        A LayerTexture wraps a TextureManager token, size, and format.  A LayerChromium can check if a
        previously requested texture is still available for use and reserve the LayerTexture's underlying
        storage between the updateContentsIfDirty() and the draw() call.

        Also changes LayerChromium from having separate contentsDirty()/updateContents() calls to a single
        updateContentsIfDirty().

        Tests: compositing/lots-of-img-layers-with-opacity.html
               compositing/lots-of-img-layers.html

        * WebCore.gypi:
        * platform/graphics/chromium/Canvas2DLayerChromium.cpp:
        (WebCore::Canvas2DLayerChromium::updateContentsIfDirty):
        * platform/graphics/chromium/Canvas2DLayerChromium.h:
        * platform/graphics/chromium/ContentLayerChromium.cpp:
        (WebCore::ContentLayerChromium::cleanupResources):
        (WebCore::ContentLayerChromium::updateContentsIfDirty):
        (WebCore::ContentLayerChromium::updateTextureRect):
        (WebCore::ContentLayerChromium::draw):
        * platform/graphics/chromium/ContentLayerChromium.h:
        * platform/graphics/chromium/ImageLayerChromium.cpp:
        (WebCore::ImageLayerChromium::updateContentsIfDirty):
        * platform/graphics/chromium/ImageLayerChromium.h:
        * platform/graphics/chromium/LayerChromium.h:
        (WebCore::LayerChromium::updateContentsIfDirty):
        (WebCore::LayerChromium::draw):
        * platform/graphics/chromium/LayerRendererChromium.cpp:
        (WebCore::LayerRendererChromium::LayerRendererChromium):
        (WebCore::LayerRendererChromium::prepareToDrawLayers):
        (WebCore::LayerRendererChromium::drawLayers):
        (WebCore::LayerRendererChromium::updateLayersRecursive):
        (WebCore::LayerRendererChromium::useRenderSurface):
        (WebCore::LayerRendererChromium::drawLayer):
        (WebCore::LayerRendererChromium::initializeSharedObjects):
        (WebCore::LayerRendererChromium::cleanupSharedObjects):
        * platform/graphics/chromium/LayerRendererChromium.h:
        (WebCore::LayerRendererChromium::renderSurfaceSharedValues):
        (WebCore::LayerRendererChromium::textureManager):
        * platform/graphics/chromium/LayerTexture.cpp: Added.
        (WebCore::LayerTexture::LayerTexture):
        (WebCore::LayerTexture::~LayerTexture):
        (WebCore::LayerTexture::isValid):
        (WebCore::LayerTexture::reserve):
        (WebCore::LayerTexture::unreserve):
        (WebCore::LayerTexture::bindTexture):
        (WebCore::LayerTexture::framebufferTexture2D):
        * platform/graphics/chromium/LayerTexture.h: Added.
        (WebCore::LayerTexture::create):
        * platform/graphics/chromium/PluginLayerChromium.cpp:
        (WebCore::PluginLayerChromium::updateContentsIfDirty):
        * platform/graphics/chromium/PluginLayerChromium.h:
        * platform/graphics/chromium/RenderSurfaceChromium.cpp:
        (WebCore::RenderSurfaceChromium::SharedValues::SharedValues):
        (WebCore::RenderSurfaceChromium::SharedValues::~SharedValues):
        (WebCore::RenderSurfaceChromium::RenderSurfaceChromium):
        (WebCore::RenderSurfaceChromium::cleanupResources):
        (WebCore::RenderSurfaceChromium::prepareContentsTexture):
        (WebCore::RenderSurfaceChromium::draw):
        * platform/graphics/chromium/RenderSurfaceChromium.h:
        (WebCore::RenderSurfaceChromium::SharedValues::shaderProgram):
        (WebCore::RenderSurfaceChromium::SharedValues::shaderSamplerLocation):
        (WebCore::RenderSurfaceChromium::SharedValues::shaderMatrixLocation):
        (WebCore::RenderSurfaceChromium::SharedValues::shaderAlphaLocation):
        (WebCore::RenderSurfaceChromium::SharedValues::initialized):
        * platform/graphics/chromium/TextureManager.cpp: Added.
        (WebCore::memoryUseBytes):
        (WebCore::TextureManager::TextureManager):
        (WebCore::TextureManager::getToken):
        (WebCore::TextureManager::releaseToken):
        (WebCore::TextureManager::hasTexture):
        (WebCore::TextureManager::protectTexture):
        (WebCore::TextureManager::unprotectTexture):
        (WebCore::TextureManager::reduceMemoryToLimit):
        (WebCore::TextureManager::addTexture):
        (WebCore::TextureManager::removeTexture):
        (WebCore::TextureManager::requestTexture):
        * platform/graphics/chromium/TextureManager.h: Added.
        (WebCore::TextureManager::create):
        * platform/graphics/chromium/VideoLayerChromium.cpp:
        (WebCore::VideoLayerChromium::updateContentsIfDirty):
        * platform/graphics/chromium/VideoLayerChromium.h:
        * platform/graphics/chromium/WebGLLayerChromium.cpp:
        (WebCore::WebGLLayerChromium::updateContentsIfDirty):
        * platform/graphics/chromium/WebGLLayerChromium.h:
2010-11-24  James Robinson  <jamesr@chromium.org>

        Reviewed by Kenneth Russell.

        [chromium] Compositor needs to manage its VRAM use
        https://bugs.webkit.org/show_bug.cgi?id=49629

        Adds a few tests involving lots of visible image layers.  The tests are designed
        to require slightly more than 64MB of VRAM.

        * compositing/lots-of-img-layers-with-opacity.html: Added.
        * compositing/lots-of-img-layers.html: Added.
        * platform/chromium-gpu-win/compositing/lots-of-img-layers-expected.checksum: Added.
        * platform/chromium-gpu-win/compositing/lots-of-img-layers-expected.png: Added.
        * platform/chromium-gpu-win/compositing/lots-of-img-layers-expected.txt: Added.
        * platform/chromium-gpu-win/compositing/lots-of-img-layers-with-opacity-expected.checksum: Added.
        * platform/chromium-gpu-win/compositing/lots-of-img-layers-with-opacity-expected.png: Added.
        * platform/chromium-gpu-win/compositing/lots-of-img-layers-with-opacity-expected.txt: Added.
        * platform/chromium-gpu/test_expectations.txt:
        * platform/mac/compositing/lots-of-img-layers-expected.checksum: Added.
        * platform/mac/compositing/lots-of-img-layers-expected.png: Added.
        * platform/mac/compositing/lots-of-img-layers-expected.txt: Added.
        * platform/mac/compositing/lots-of-img-layers-with-opacity-expected.checksum: Added.
        * platform/mac/compositing/lots-of-img-layers-with-opacity-expected.png: Added.
        * platform/mac/compositing/lots-of-img-layers-with-opacity-expected.txt: Added.

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

9 years ago2010-11-24 Tony Chang <tony@chromium.org>
tony@chromium.org [Wed, 24 Nov 2010 22:30:15 +0000 (22:30 +0000)]
2010-11-24  Tony Chang  <tony@chromium.org>

        Unreviewed, updating plugin test expectations now that we've switched
        to the upstream plugin!

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-11-24 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Wed, 24 Nov 2010 22:28:00 +0000 (22:28 +0000)]
2010-11-24  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Tony Chang.

        [chromium] improve memory usage for test results server and store fewer runs
        https://bugs.webkit.org/show_bug.cgi?id=50035

        Store fewer runs and don't pass full files around when we only need bools.
        Greatly improves error rates on test-results.appspot.com.

        * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
        * TestResultServer/handlers/testfilehandler.py:
        * TestResultServer/model/dashboardfile.py:
        * TestResultServer/model/jsonresults.py:

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

9 years ago2010-11-24 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Wed, 24 Nov 2010 21:57:09 +0000 (21:57 +0000)]
2010-11-24  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Tony Chang.

        This patch implements the first part of the manager side of the
        Broker objects - it handles creating threads, waiting for them
        to complete, and running a single-threaded loop as well.

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

        * Scripts/webkitpy/layout_tests/layout_package/message_broker.py:
        * Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:

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

9 years ago2010-11-24 Kristian Amlie <kristian.amlie@nokia.com>
commit-queue@webkit.org [Wed, 24 Nov 2010 21:29:28 +0000 (21:29 +0000)]
2010-11-24  Kristian Amlie  <kristian.amlie@nokia.com>

        Reviewed by Andreas Kling.

        Fixed handling of QInputMethodEvents with nonzero replacementLength.

        These types of events replace text that is already in the widget, but
        WebKit did not check for replacementLength at all.

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

        * Api/qwebpage.cpp:
        (QWebPagePrivate::inputMethodEvent):
        * tests/qwebpage/tst_qwebpage.cpp:
        (tst_QWebPage::inputMethods):

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

9 years ago2010-11-24 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Wed, 24 Nov 2010 20:20:54 +0000 (20:20 +0000)]
2010-11-24  Ilya Tikhonovsky  <loislo@chromium.org>

        Unreviewed. Just assign a bug for compositing/plugin tests.

        * platform/chromium-gpu/test_expectations.txt:

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

9 years ago2010-11-24 Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
commit-queue@webkit.org [Wed, 24 Nov 2010 20:02:41 +0000 (20:02 +0000)]
2010-11-24  Nicolas Dufresne  <nicolas.dufresne@collabora.co.uk>

        Reviewed by Martin Robinson.

        [GTK] response.isNull() assert when using directory file URI
        https://bugs.webkit.org/show_bug.cgi?id=49018

        When using file:/// (or any directory), WebKitGTK use to abort on
        assertion. This test ensure that loading a directory is possible.

        * platform/gtk/fast/loader/crash-display-local-directory-expected.txt: Added.
        * platform/gtk/fast/loader/crash-display-local-directory.html: Added.
        * platform/gtk/fast/loader/resources/directory/keep-empty: Added.
2010-11-24  Nicolas Dufresne  <nicolas.dufresne@collabora.co.uk>

        Reviewed by Martin Robinson.

        [GTK] response.isNull() assert when using directory file URI
        https://bugs.webkit.org/show_bug.cgi?id=49018

        Do ensure that didReceiveResponse happens before any call to
        didReceiveData. That was not true for file:// URIs pointing to
        directories and thus was triggering an assertion.

        Test: platform/gtk/fast/loader/crash-display-local-directory.html

        * platform/network/soup/ResourceHandleSoup.cpp:
        (WebCore::gotHeadersCallback):
        (WebCore::contentSniffedCallback):
        (WebCore::parseDataUrl):
        (WebCore::sendRequestCallback):
        (WebCore::readCallback):

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

9 years ago2010-11-24 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Wed, 24 Nov 2010 19:45:50 +0000 (19:45 +0000)]
2010-11-24  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by David Levin.

        DRT should not generate pixel output for text/plain tests
        https://bugs.webkit.org/show_bug.cgi?id=50002

        Modify Mac, Windows and GTK DRT implementations to disable pixel output
        when encountering a text/plain response (the Chromium one already does
        this, and none of the other ports special-case text/plain output in
        the first place).

        * DumpRenderTree/gtk/DumpRenderTree.cpp:
        (dump):
        * DumpRenderTree/mac/DumpRenderTree.mm:
        (dump):
        * DumpRenderTree/win/DumpRenderTree.cpp:
        (dump):

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

9 years ago2010-11-24 Andrey Kosyakov <caseq@chromium.org>
caseq@chromium.org [Wed, 24 Nov 2010 19:23:48 +0000 (19:23 +0000)]
2010-11-24  Andrey Kosyakov  <caseq@chromium.org>

        Unreviewed, update platform expectations following expectations change in r72683.

        * platform/mac-leopard/inspector/extensions-resources-expected.txt:

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

9 years ago2010-11-24 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Wed, 24 Nov 2010 19:23:27 +0000 (19:23 +0000)]
2010-11-24  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        * bindings/gobject/WebKitDOMBinding.h: fix stlye nit.

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

9 years agoWebCore:
xan@webkit.org [Wed, 24 Nov 2010 19:15:04 +0000 (19:15 +0000)]
WebCore:

2010-11-24  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Make kit() methods return the proper type instead of gpointer
        https://bugs.webkit.org/show_bug.cgi?id=50034

        Change kit() methods to return proper type pointer.

        * bindings/gobject/WebKitDOMBinding.cpp: change implementions of
        kit methods.
        * bindings/gobject/WebKitDOMBinding.h: change their declarations.
        * bindings/scripts/CodeGeneratorGObject.pm: change the generated
        kit() methods.

WebKit/gtk:

2010-11-24  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Make kit() methods return the proper type instead of gpointer
        https://bugs.webkit.org/show_bug.cgi?id=50034

        * WebCoreSupport/EditorClientGtk.cpp:
        (WebKit::EditorClient::shouldDeleteRange): get rid of unneeded cast.
        (WebKit::EditorClient::shouldShowDeleteInterface): ditto.
        (WebKit::EditorClient::shouldBeginEditing): ditto.
        (WebKit::EditorClient::shouldEndEditing): ditto.
        (WebKit::EditorClient::shouldInsertText): ditto.
        (WebKit::EditorClient::shouldChangeSelectedRange): ditto.
        (WebKit::EditorClient::shouldApplyStyle): ditto.
        (WebKit::EditorClient::shouldInsertNode): ditto.
        * webkit/webkitprivate.cpp:
        (WebKit::kit): ditto.
        * webkit/webkitwebview.cpp:
        (webkit_web_view_get_dom_document): ditto.

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

9 years ago2010-11-24 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Wed, 24 Nov 2010 19:08:23 +0000 (19:08 +0000)]
2010-11-24  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] DerivedSources/WebCore/DocTypeStrings.cpp is generated for every build
        https://bugs.webkit.org/show_bug.cgi?id=50032

        Instead of listing two targets for rules that have two outputs, make
        a dependency chain. This fixes the issue where some files are generated
        unconditionally. Also remove all unnecessary semicolons from the file.

        No new tests as this is just a build fix.

        * GNUmakefile.am: Fix GNUmake dependency issue.

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

9 years ago2010-11-24 Nico Weber <nicolasweber@gmx.de>
commit-queue@webkit.org [Wed, 24 Nov 2010 19:01:24 +0000 (19:01 +0000)]
2010-11-24  Nico Weber  <nicolasweber@gmx.de>

        Reviewed by Adam Barth.

        Chromium/Mac: Make scaled images un-ugly when using the webkit image decoders
        https://bugs.webkit.org/show_bug.cgi?id=49965

        Probably covered by existing tests whose expectations were overwritten
        in http://trac.webkit.org/changeset/70858

        * platform/image-decoders/cg/ImageDecoderCG.cpp:
        (WebCore::RGBA32Buffer::asNewNativeImage):

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

9 years ago2010-11-24 Hayato Ito <hayato@chromium.org>
hayato@chromium.org [Wed, 24 Nov 2010 18:54:50 +0000 (18:54 +0000)]
2010-11-24  Hayato Ito  <hayato@chromium.org>

        Reviewed by David Levin.

        Add files which Chromium port generates to .gitignore.

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

        * .gitignore:

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

9 years ago2010-11-24 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Wed, 24 Nov 2010 18:45:53 +0000 (18:45 +0000)]
2010-11-24  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: Crash when inspecting http://alphaarnhem.nl/beta/
        https://bugs.webkit.org/show_bug.cgi?id=50025

        @font-face rules were improperly handled by source data extractor.

        WebCore:
        * css/CSSParser.cpp:
        (WebCore::CSSParser::CSSParser):
        (WebCore::CSSParser::parseDeclaration):
        (WebCore::CSSParser::createStyleRule):
        (WebCore::CSSParser::markRuleBodyStart):
        (WebCore::CSSParser::markPropertyStart):
        (WebCore::CSSParser::markPropertyEnd):
        * css/CSSParser.h:

        LayoutTests:
        * inspector/resources/styles-new-API-1.css:
        (@font-face):

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

9 years ago2010-11-24 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Wed, 24 Nov 2010 18:31:36 +0000 (18:31 +0000)]
2010-11-24  Xan Lopez  <xlopez@igalia.com>

        Update results for some leftover tests now that we have editing
        delegates.

        * platform/gtk/editing/selection/5109817-expected.txt:
        * platform/gtk/editing/selection/extend-by-character-002-expected.txt:
        * platform/gtk/fast/forms/caret-rtl-expected.txt:

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

9 years ago2010-11-24 Cris Neckar <cdn@chromium.org>
inferno@chromium.org [Wed, 24 Nov 2010 18:13:25 +0000 (18:13 +0000)]
2010-11-24  Cris Neckar  <cdn@chromium.org>

        Reviewed by Adam Barth.

        Added check when parsing local fonts to ensure that a value's unit type is either string or ident.
        https://bugs.webkit.org/show_bug.cgi?id=49883

        Test: fast/css/local_font_invalid.html

        * css/CSSParser.cpp:
        (WebCore::CSSParser::parseFontFaceSrc):
2010-11-24  Cris Neckar  <cdn@chromium.org>

        Reviewed by Adam Barth.

        Test for crash with invalid local fonts.
        https://bugs.webkit.org/show_bug.cgi?id=49883

        * fast/css/local_font_invalid-expected.txt: Added.
        * fast/css/local_font_invalid.html: Added.

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

9 years ago2010-11-24 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Wed, 24 Nov 2010 18:06:12 +0000 (18:06 +0000)]
2010-11-24  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: place local modifications to under original
        resource nodes in the resource panel.
        https://bugs.webkit.org/show_bug.cgi?id=50029

        * English.lproj/localizedStrings.js:
        * inspector/Inspector.idl:
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::resourceRetrievedByXMLHttpRequest):
        (WebCore::InspectorController::scriptImported):
        * inspector/InspectorResourceAgent.cpp:
        (WebCore::InspectorResourceAgent::setInitialContent):
        * inspector/InspectorResourceAgent.h:
        * inspector/front-end/CSSStyleModel.js:
        (WebInspector.CSSStyleModel.prototype.setRuleSelector):
        (WebInspector.CSSStyleModel.prototype.addRule):
        (WebInspector.CSSStyleModel.prototype._styleSheetChanged.callback):
        (WebInspector.CSSStyleModel.prototype._styleSheetChanged):
        (WebInspector.CSSStyleDeclaration.prototype.insertPropertyAt):
        (WebInspector.CSSProperty.prototype.setText):
        (WebInspector.CSSProperty.prototype.setDisabled.callback):
        (WebInspector.CSSProperty.prototype.setDisabled):
        (WebInspector.CSSStyleSheet.prototype.setText):
        * inspector/front-end/NetworkPanel.js:
        (WebInspector.NetworkPanel.prototype.refreshResource):
        * inspector/front-end/Resource.js:
        (WebInspector.Resource.prototype.set content):
        (WebInspector.Resource.prototype.get contentTimestamp):
        (WebInspector.Resource.prototype.setInitialContent):
        * inspector/front-end/ResourceManager.js:
        (WebInspector.ResourceManager):
        (WebInspector.ResourceManager.prototype.setInitialContent):
        * inspector/front-end/ResourcesPanel.js:
        (WebInspector.ResourcesPanel):
        (WebInspector.ResourcesPanel.prototype.reset):
        (WebInspector.ResourcesPanel.prototype._innerShowView):
        (WebInspector.FrameResourceTreeElement):
        (WebInspector.FrameResourceTreeElement.prototype._errorsWarningsUpdated):
        (WebInspector.FrameResourceTreeElement.prototype._contentChanged.else.finished):
        (WebInspector.FrameResourceTreeElement.prototype._contentChanged):
        (WebInspector.ResourceRevisionTreeElement):
        * inspector/front-end/SourceFrame.js:
        (WebInspector.SourceFrame.prototype.get scrollTop):
        (WebInspector.SourceFrame.prototype.set scrollTop):
        * inspector/front-end/SourceView.js:
        (WebInspector.SourceView.prototype.get scrollTop):
        (WebInspector.SourceView.prototype.set scrollTop):
        (WebInspector.SourceView.prototype._editLine):
        (WebInspector.SourceView.prototype._editLineComplete):
        * inspector/front-end/StylesSidebarPane.js:
        (WebInspector.StylePropertyTreeElement.prototype):

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

9 years ago2010-11-24 Andrey Kosyakov <caseq@chromium.org>
caseq@chromium.org [Wed, 24 Nov 2010 18:03:41 +0000 (18:03 +0000)]
2010-11-24  Andrey Kosyakov  <caseq@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: extension API cleanup
        https://bugs.webkit.org/show_bug.cgi?id=50019

        * inspector/front-end/ElementsPanel.js:
        (WebInspector.ElementsPanel.this.treeOutline.focusedNodeChanged):
        (WebInspector.ElementsPanel):
        * inspector/front-end/ExtensionAPI.js: See bug for summary of extension API changes.
        (WebInspector.injectedExtensionAPI.Resources.resourceDispatch):
        (WebInspector.injectedExtensionAPI):
        (WebInspector.injectedExtensionAPI.Resources.prototype.getHAR):
        (WebInspector.injectedExtensionAPI.ResourceImpl.prototype.getContent):
        (WebInspector.injectedExtensionAPI.Panels.prototype.create):
        (WebInspector.injectedExtensionAPI.PanelImpl):
        (WebInspector.injectedExtensionAPI.PanelWithSidebarImpl):
        (WebInspector.injectedExtensionAPI.PanelWithSidebarImpl.prototype.createSidebarPane):
        (WebInspector.injectedExtensionAPI.PanelWithSidebarImpl.prototype.createWatchExpressionSidebarPane):
        (WebInspector.injectedExtensionAPI.ElementsPanel):
        (WebInspector.injectedExtensionAPI.ExtensionSidebarPaneImpl.prototype.setHeight):
        (WebInspector.injectedExtensionAPI.Audits.prototype.addCategory):
        (WebInspector.injectedExtensionAPI.AuditCategoryImpl.auditResultDispatch):
        (WebInspector.injectedExtensionAPI.AuditCategoryImpl):
        (WebInspector.injectedExtensionAPI.AuditResultImpl.prototype.get Severity):
        (WebInspector.injectedExtensionAPI.InspectedWindow):
        (WebInspector.injectedExtensionAPI.InspectedWindow.prototype.eval):
        * inspector/front-end/ExtensionCommon.js:
        (WebInspector.commonExtensionSymbols):
        * inspector/front-end/ExtensionServer.js:
        (WebInspector.ExtensionServer):
        (WebInspector.ExtensionServer.prototype.notifyObjectSelected):
        (WebInspector.ExtensionServer.prototype.notifyResourceFinished):
        (WebInspector.ExtensionServer.prototype.notifyPageLoaded):
        (WebInspector.ExtensionServer.prototype.notifyPageDOMContentLoaded):
        (WebInspector.ExtensionServer.prototype._onCreatePanel):
        (WebInspector.ExtensionServer.prototype._onReload):
        (WebInspector.ExtensionServer.prototype._onGetHAR):
        (WebInspector.ExtensionServer.prototype._onGetResourceContent):
        (WebInspector.ExtensionServer.prototype._onAddAuditCategory):
        (WebInspector.ExtensionServer.prototype._buildExtensionAPIInjectedScript):
        * inspector/front-end/HAREntry.js:
        (WebInspector.HARLog):
        (WebInspector.HARLog.prototype.build):
        (WebInspector.HARLog.prototype._convertResource):
        * inspector/front-end/inspector.js:
        (WebInspector.domContentEventFired):
        (WebInspector.loadEventFired):
        (WebInspector.didCommitLoad):

2010-11-24  Andrey Kosyakov  <caseq@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: extension API cleanup
        Improve synchronization between different parts of the test to reduce flakiness.
        https://bugs.webkit.org/show_bug.cgi?id=50019

        * http/tests/inspector/inspector-test2.js: Clean inspected page test output before pushing output from front-end.
        (initialize_InspectorTest.InspectorTest.completeTest): Delay test completion until page's onload is completed after reload.
        (initialize_InspectorTest.InspectorTest.addResult.clearResults):
        (initialize_InspectorTest.InspectorTest.reloadPageIfNeeded):
        (output):
        * inspector/extensions-api-expected.txt:
        * inspector/extensions-audits-api-expected.txt:
        * inspector/extensions-audits-expected.txt:
        * inspector/extensions-audits-tests.js:
        (extension_runAudits):
        (initialize_ExtensionsAuditsTest.InspectorTest.startExtensionAudits.onAuditsDone):
        (initialize_ExtensionsAuditsTest.InspectorTest.startExtensionAudits):
        (initialize_ExtensionsAuditsTest):
        (test):
        * inspector/extensions-eval-expected.txt:
        * inspector/extensions-eval.html:
        * inspector/extensions-events-expected.txt:
        * inspector/extensions-events.html:
        * inspector/extensions-resources-expected.txt:
        * inspector/extensions-resources.html:
        * inspector/extensions-test.js:
        (initialize_ExtensionsTest.InspectorTest.dispatchOnMessage):
        (initialize_ExtensionsTest.InspectorTest.runExtensionTests):
        (initialize_ExtensionsTest.extensionOutput):
        (initialize_ExtensionsTest.dumpSidebarContent):
        (initialize_ExtensionsTest.reloadPage):
        * inspector/extensions.html:
        * inspector/resources/extension-main.html:
        * inspector/resources/extension-main.js:
        (fetchTests.callback):
        (fetchTests):
        (onTestsDone):
        (dispatchOnFrontend):

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

9 years ago2010-11-23 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Wed, 24 Nov 2010 17:57:30 +0000 (17:57 +0000)]
2010-11-23  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Steve Block.

        Fix minor errors in IndexedDB
        https://bugs.webkit.org/show_bug.cgi?id=49970

        * storage/indexeddb/constants-expected.txt:
        * storage/indexeddb/constants.html:
        * storage/indexeddb/createAndRemoveObjectStore-expected.txt: Added.
        * storage/indexeddb/createAndRemoveObjectStore.html: Added.
2010-11-23  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Steve Block.

        Fix minor errors in IndexedDB
        https://bugs.webkit.org/show_bug.cgi?id=49970

        * Remove SNAPSHOT_READ per spec.
        * Assert that the transaction that changes the db is a setVersion
          transaction.
        * When an objectStore already exists, throw a CONSTRAINT_ERR.
        * When not in a setVersion transaction, throw a NOT_ALLOWED_ERR.

        Test: storage/indexeddb/createAndRemoveObjectStore.html

        * storage/IDBDatabase.cpp:
        (WebCore::IDBDatabase::createObjectStore):
        * storage/IDBDatabaseBackendImpl.cpp:
        (WebCore::IDBDatabaseBackendImpl::createObjectStore):
        * storage/IDBTransaction.h:
        * storage/IDBTransaction.idl:

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

9 years ago2010-11-24 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Wed, 24 Nov 2010 17:51:25 +0000 (17:51 +0000)]
2010-11-24  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        Fix crashes in GTK+ bots. Use kit() instead of wrapFoo, otherwise
        the DOM objects won't be in the cache and we'll ASSERT when
        unreffing them.

        * WebCoreSupport/EditorClientGtk.cpp:
        (WebKit::EditorClient::shouldDeleteRange): use kit to get the
        GObject wrapper for the DOM object.
        (WebKit::EditorClient::shouldShowDeleteInterface): ditto.
        (WebKit::EditorClient::shouldBeginEditing): ditto.
        (WebKit::EditorClient::shouldEndEditing): ditto.
        (WebKit::EditorClient::shouldInsertText): ditto.
        (WebKit::EditorClient::shouldChangeSelectedRange): ditto.
        (WebKit::EditorClient::shouldApplyStyle): ditto.
        (WebKit::EditorClient::shouldInsertNode): ditto.

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

9 years ago2010-11-24 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Wed, 24 Nov 2010 17:49:19 +0000 (17:49 +0000)]
2010-11-24  Philippe Normand  <pnormand@igalia.com>

        Reviewed by Xan Lopez.

        [GStreamer] pause webkitvideosink during fullscreen video playback
        https://bugs.webkit.org/show_bug.cgi?id=48824

        Added an identity element before the webkitvideosink so that when
        fullscreen video is active the element can drop the incoming
        buffers so that webkitvideosink appears paused.

        * platform/graphics/gstreamer/GStreamerGWorld.cpp:
        (WebCore::GStreamerGWorld::enterFullscreen):
        (WebCore::GStreamerGWorld::exitFullscreen):
        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
        (WebCore::MediaPlayerPrivateGStreamer::createGSTPlayBin):

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

9 years ago2010-11-24 Alejandro G. Castro <alex@igalia.com>
alex@webkit.org [Wed, 24 Nov 2010 17:45:15 +0000 (17:45 +0000)]
2010-11-24  Alejandro G. Castro  <alex@igalia.com>

        Unreviewed, skip mathml/presentation again, apparently the issue
        is still happening in the bots.

        * platform/gtk/Skipped:

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

9 years ago2010-11-24 Avi Drissman <avi@google.com>
commit-queue@webkit.org [Wed, 24 Nov 2010 17:20:26 +0000 (17:20 +0000)]
2010-11-24  Avi Drissman  <avi@google.com>

        Reviewed by Antonio Gomes.

        Add preference to not select when right-clicked
        https://bugs.webkit.org/show_bug.cgi?id=23351

        * editing/selection/context-menu-text-selection-expected.txt: Added.
        * editing/selection/context-menu-text-selection.html: Added.
2010-11-24  Avi Drissman  <avi@google.com>

        Reviewed by Antonio Gomes.

        Add preference to not select when right-clicked
        https://bugs.webkit.org/show_bug.cgi?id=23351

        Test: editing/selection/context-menu-text-selection.html

        * editing/EditingBehavior.h:
        (WebCore::EditingBehavior::shouldSelectOnContextualMenuClick):
        * page/EventHandler.cpp:
        (WebCore::EventHandler::sendContextMenuEvent):

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

9 years ago2010-11-24 Andras Becsi <abecsi@inf.u-szeged.hu>
abecsi@webkit.org [Wed, 24 Nov 2010 17:18:52 +0000 (17:18 +0000)]
2010-11-24  Andras Becsi  <abecsi@inf.u-szeged.hu>

        Unreviewed.

        Add my other email address to committers.py.

        * Scripts/webkitpy/common/config/committers.py:

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

9 years ago2010-11-24 Andras Becsi <abecsi@inf.u-szeged.hu>
commit-queue@webkit.org [Wed, 24 Nov 2010 17:07:12 +0000 (17:07 +0000)]
2010-11-24  Andras Becsi  <abecsi@inf.u-szeged.hu>

        Reviewed by Csaba Osztrogonác.

        Make build-webkit --minimal build with ENABLE_INSPECTOR=0.
        https://bugs.webkit.org/show_bug.cgi?id=49975

        No new tests needed.

        * features.pri: Make the Qt buildsystem aware
        that the inspector is enabled by default.
2010-11-24  Andras Becsi  <abecsi@inf.u-szeged.hu>

        Reviewed by Csaba Osztrogonác.

        Make build-webkit --minimal build with ENABLE_INSPECTOR=0
        https://bugs.webkit.org/show_bug.cgi?id=49975

        * Scripts/build-webkit: Add ENABLE_INSPECTOR define to features,
        to enable the script to define it 0 in case of a minimal build.

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

9 years ago2010-11-24 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Wed, 24 Nov 2010 16:43:50 +0000 (16:43 +0000)]
2010-11-24  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] The WebKitWebView should expose a set of signals encapsulating the behavior of the EditorClient
        https://bugs.webkit.org/show_bug.cgi?id=49143

        Unskip passing editing tests.

        * platform/gtk/Skipped:
        * platform/gtk/Skipped.rej: Added.
        * platform/gtk/editing/deleting/collapse-whitespace-3587601-fix-expected.txt:
        * platform/gtk/editing/deleting/delete-3608430-fix-expected.txt:
        * platform/gtk/editing/deleting/delete-3608445-fix-expected.txt:
        * platform/gtk/editing/deleting/delete-3608462-fix-expected.txt:
        * platform/gtk/editing/deleting/delete-3775172-fix-expected.txt:
        * platform/gtk/editing/deleting/delete-3800834-fix-expected.txt:
        * platform/gtk/editing/deleting/delete-3959464-fix-expected.txt:
        * platform/gtk/editing/deleting/delete-and-undo-expected.txt:
        * platform/gtk/editing/deleting/delete-block-contents-001-expected.txt:
        * platform/gtk/editing/deleting/delete-block-contents-002-expected.txt:
        * platform/gtk/editing/deleting/delete-block-contents-003-expected.txt:
        * platform/gtk/editing/deleting/delete-block-merge-contents-010-expected.txt:
        * platform/gtk/editing/deleting/delete-block-merge-contents-012-expected.txt:
        * platform/gtk/editing/deleting/delete-block-merge-contents-013-expected.txt:
        * platform/gtk/editing/deleting/delete-block-merge-contents-014-expected.txt:
        * platform/gtk/editing/deleting/delete-block-merge-contents-015-expected.txt:
        * platform/gtk/editing/deleting/delete-block-merge-contents-016-expected.txt:
        * platform/gtk/editing/deleting/delete-block-merge-contents-017-expected.txt:
        * platform/gtk/editing/deleting/delete-br-001-expected.txt:
        * platform/gtk/editing/deleting/delete-br-002-expected.txt:
        * platform/gtk/editing/deleting/delete-br-003-expected.txt:
        * platform/gtk/editing/deleting/delete-br-004-expected.txt:
        * platform/gtk/editing/deleting/delete-br-005-expected.txt:
        * platform/gtk/editing/deleting/delete-br-006-expected.txt:
        * platform/gtk/editing/deleting/delete-br-007-expected.txt:
        * platform/gtk/editing/deleting/delete-br-010-expected.txt:
        * platform/gtk/editing/deleting/delete-contiguous-ws-001-expected.txt:
        * platform/gtk/editing/deleting/delete-image-004-expected.txt:
        * platform/gtk/editing/deleting/delete-leading-ws-001-expected.txt:
        * platform/gtk/editing/deleting/delete-line-001-expected.txt:
        * platform/gtk/editing/deleting/delete-line-002-expected.txt:
        * platform/gtk/editing/deleting/delete-line-005-expected.txt:
        * platform/gtk/editing/deleting/delete-line-006-expected.txt:
        * platform/gtk/editing/deleting/delete-line-007-expected.txt:
        * platform/gtk/editing/deleting/delete-line-008-expected.txt:
        * platform/gtk/editing/deleting/delete-line-009-expected.txt:
        * platform/gtk/editing/deleting/delete-line-010-expected.txt:
        * platform/gtk/editing/deleting/delete-line-011-expected.txt:
        * platform/gtk/editing/deleting/delete-line-012-expected.txt:
        * platform/gtk/editing/deleting/delete-line-013-expected.txt:
        * platform/gtk/editing/deleting/delete-line-014-expected.txt:
        * platform/gtk/editing/deleting/delete-line-end-ws-001-expected.txt:
        * platform/gtk/editing/deleting/delete-line-end-ws-002-expected.txt:
        * platform/gtk/editing/deleting/delete-listitem-001-expected.txt:
        * platform/gtk/editing/deleting/delete-listitem-002-expected.txt:
        * platform/gtk/editing/deleting/delete-select-all-002-expected.txt:
        * platform/gtk/editing/deleting/delete-tab-002-expected.txt:
        * platform/gtk/editing/deleting/delete-tab-004-expected.txt:
        * platform/gtk/editing/deleting/delete-to-end-of-paragraph-expected.txt:
        * platform/gtk/editing/deleting/delete-to-select-table-expected.txt:
        * platform/gtk/editing/deleting/delete-trailing-ws-002-expected.txt:
        * platform/gtk/editing/deleting/delete-ws-fixup-001-expected.txt:
        * platform/gtk/editing/deleting/delete-ws-fixup-002-expected.txt:
        * platform/gtk/editing/deleting/forward-delete-expected.txt:
        * platform/gtk/editing/deleting/smart-delete-003-expected.txt:
        * platform/gtk/editing/deleting/smart-delete-004-expected.txt:
        * platform/gtk/editing/execCommand/4641880-1-expected.txt: Added.
        * platform/gtk/editing/execCommand/4641880-2-expected.txt: Added.
        * platform/gtk/editing/execCommand/create-list-with-hr-expected.txt: Added.
        * platform/gtk/editing/execCommand/find-after-replace-expected.txt: Added.
        * platform/gtk/editing/execCommand/findString-2-expected.txt: Added.
        * platform/gtk/editing/execCommand/findString-diacriticals-expected.txt: Added.
        * platform/gtk/editing/execCommand/findString-expected.txt: Added.
        * platform/gtk/editing/execCommand/format-block-with-trailing-br-expected.txt: Added.
        * platform/gtk/editing/execCommand/indent-empty-root-expected.txt: Added.
        * platform/gtk/editing/execCommand/indent-list-item-expected.txt: Added.
        * platform/gtk/editing/execCommand/indent-paragraphs-expected.txt: Removed.
        * platform/gtk/editing/execCommand/indent-selection-expected.txt: Added.
        * platform/gtk/editing/execCommand/insert-list-and-stitch-expected.txt: Added.
        * platform/gtk/editing/execCommand/insertHorizontalRule-expected.txt: Added.
        * platform/gtk/editing/execCommand/insertImage-expected.txt: Added.
        * platform/gtk/editing/execCommand/nsresponder-indent-expected.txt: Added.
        * platform/gtk/editing/execCommand/nsresponder-outdent-expected.txt: Added.
        * platform/gtk/editing/execCommand/outdent-blockquote-test1-expected.txt: Added.
        * platform/gtk/editing/execCommand/outdent-blockquote-test2-expected.txt: Added.
        * platform/gtk/editing/execCommand/outdent-blockquote-test3-expected.txt: Added.
        * platform/gtk/editing/execCommand/outdent-blockquote-test4-expected.txt: Added.
        * platform/gtk/editing/execCommand/outdent-selection-expected.txt: Added.
        * platform/gtk/editing/execCommand/paste-1-expected.txt: Added.
        * platform/gtk/editing/execCommand/paste-2-expected.txt: Added.
        * platform/gtk/editing/execCommand/remove-list-from-range-selection-expected.txt: Added.
        * platform/gtk/editing/execCommand/remove-list-item-1-expected.txt: Added.
        * platform/gtk/editing/execCommand/selectAll-expected.txt: Added.
        * platform/gtk/editing/inserting/insert-3654864-fix-expected.txt:
        * platform/gtk/editing/inserting/insert-3775316-fix-expected.txt:
        * platform/gtk/editing/inserting/insert-3800346-fix-expected.txt:
        * platform/gtk/editing/inserting/insert-3851164-fix-expected.txt:
        * platform/gtk/editing/inserting/insert-3907422-fix-expected.txt:
        * platform/gtk/editing/inserting/insert-after-delete-001-expected.txt:
        * platform/gtk/editing/inserting/insert-br-005-expected.txt:
        * platform/gtk/editing/inserting/insert-div-001-expected.txt:
        * platform/gtk/editing/inserting/insert-div-002-expected.txt:
        * platform/gtk/editing/inserting/insert-div-003-expected.txt:
        * platform/gtk/editing/inserting/insert-div-004-expected.txt:
        * platform/gtk/editing/inserting/insert-div-005-expected.txt:
        * platform/gtk/editing/inserting/insert-div-009-expected.txt:
        * platform/gtk/editing/inserting/insert-div-024-expected.txt:
        * platform/gtk/editing/inserting/insert-space-in-empty-doc-expected.txt:
        * platform/gtk/editing/inserting/insert-text-with-newlines-expected.txt:
        * platform/gtk/editing/inserting/redo-expected.txt:
        * platform/gtk/editing/inserting/typing-001-expected.txt:
        * platform/gtk/editing/inserting/typing-002-expected.txt:
        * platform/gtk/editing/inserting/typing-003-expected.txt:
        * platform/gtk/editing/inserting/typing-around-br-001-expected.txt:
        * platform/gtk/editing/inserting/typing-around-image-001-expected.txt:
        * platform/gtk/editing/pasteboard/4076267-2-expected.txt:
        * platform/gtk/editing/pasteboard/4076267-3-expected.txt:
        * platform/gtk/editing/pasteboard/4076267-expected.txt:
        * platform/gtk/editing/pasteboard/5368833-expected.txt: Added.
        * platform/gtk/editing/pasteboard/cut-text-001-expected.txt:
        * platform/gtk/editing/pasteboard/drag-drop-dead-frame-expected.txt:
        * platform/gtk/editing/pasteboard/drag-drop-modifies-page-expected.txt:
        * platform/gtk/editing/pasteboard/drag-selected-image-to-contenteditable-expected.txt:
        * platform/gtk/editing/pasteboard/drop-text-without-selection-expected.txt:
        * platform/gtk/editing/pasteboard/paste-text-001-expected.txt:
        * platform/gtk/editing/pasteboard/paste-text-002-expected.txt:
        * platform/gtk/editing/pasteboard/paste-text-003-expected.txt:
        * platform/gtk/editing/pasteboard/paste-text-004-expected.txt:
        * platform/gtk/editing/pasteboard/paste-text-005-expected.txt:
        * platform/gtk/editing/pasteboard/paste-text-006-expected.txt:
        * platform/gtk/editing/pasteboard/paste-text-007-expected.txt:
        * platform/gtk/editing/pasteboard/paste-text-008-expected.txt:
        * platform/gtk/editing/pasteboard/paste-text-009-expected.txt:
        * platform/gtk/editing/pasteboard/paste-text-010-expected.txt:
        * platform/gtk/editing/pasteboard/paste-text-013-expected.txt: Added.
        * platform/gtk/editing/pasteboard/paste-text-015-expected.txt:
        * platform/gtk/editing/pasteboard/paste-xml-expected.txt:
        * platform/gtk/editing/pasteboard/subframe-dragndrop-1-expected.txt:
        * platform/gtk/editing/selection/4889598-expected.txt:
        * platform/gtk/editing/selection/4947387-expected.txt: Added.
        * platform/gtk/editing/selection/5195166-2-expected.txt: Added.
        * platform/gtk/editing/selection/extend-by-character-002-expected.txt:
        * platform/gtk/editing/selection/extend-by-character-003-expected.txt:
        * platform/gtk/editing/selection/extend-by-character-004-expected.txt:
        * platform/gtk/editing/selection/extend-by-character-005-expected.txt:
        * platform/gtk/editing/selection/extend-selection-bidi-expected.txt: Added.
        * platform/gtk/editing/selection/fake-drag-expected.txt:
        * platform/gtk/editing/selection/iframe-expected.txt:
        * platform/gtk/editing/selection/inline-table-expected.txt:
        * platform/gtk/editing/selection/move-backwords-by-word-001-expected.txt:
        * platform/gtk/editing/selection/move-between-blocks-no-001-expected.txt:
        * platform/gtk/editing/selection/move-between-blocks-yes-001-expected.txt:
        * platform/gtk/editing/selection/move-by-character-001-expected.txt:
        * platform/gtk/editing/selection/move-by-character-002-expected.txt:
        * platform/gtk/editing/selection/move-by-character-003-expected.txt:
        * platform/gtk/editing/selection/move-by-character-004-expected.txt:
        * platform/gtk/editing/selection/move-by-character-005-expected.txt:
        * platform/gtk/editing/selection/move-by-sentence-001-expected.txt:
        * platform/gtk/editing/selection/move-past-trailing-space-expected.txt:
        * platform/gtk/editing/selection/select-box-expected.txt:
        * platform/gtk/editing/selection/selection-actions-expected.txt:
        * platform/gtk/editing/spelling/spelling-expected.txt:
        * platform/gtk/editing/style/block-style-003-expected.txt:
        * platform/gtk/editing/style/relative-font-size-change-001-expected.txt:
        * platform/gtk/editing/style/style-3681552-fix-001-expected.txt:
        * platform/gtk/editing/style/style-3681552-fix-002-expected.txt:
        * platform/gtk/editing/style/typing-style-001-expected.txt:
        * platform/gtk/editing/style/typing-style-002-expected.txt:
        * platform/gtk/editing/style/unbold-in-bold-expected.txt:
        * platform/gtk/editing/undo/4063751-expected.txt:
        * platform/gtk/editing/undo/redo-typing-001-expected.txt:
        * platform/gtk/editing/undo/undo-combined-delete-boundary-expected.txt:
        * platform/gtk/editing/undo/undo-combined-delete-expected.txt:
        * platform/gtk/editing/undo/undo-delete-boundary-expected.txt:
        * platform/gtk/editing/undo/undo-delete-expected.txt:
        * platform/gtk/editing/undo/undo-forward-delete-boundary-expected.txt:
        * platform/gtk/editing/undo/undo-forward-delete-expected.txt:
        * platform/gtk/editing/undo/undo-misspellings-expected.txt:
2010-11-24  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] The WebKitWebView should expose a set of signals encapsulating the behavior of the EditorClient
        https://bugs.webkit.org/show_bug.cgi?id=49143

        * platform/gtk/GtkVersioning.c:
        (g_signal_accumulator_first_wins): Add g_signal_accumulator_first_wins for versions of
        GLib before 2.28.
        * platform/gtk/GtkVersioning.h:
2010-11-24  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] The WebKitWebView should expose a set of signals encapsulating the behavior of the EditorClient
        https://bugs.webkit.org/show_bug.cgi?id=49143

        Add signals that encapsulate the functionality of the Mac EditingDelegate. These signals
        are private for now, but DRT consumes them to produce proper output for editing tests.
        After some time, these may be part of the public API.

        * WebCoreSupport/EditorClientGtk.cpp:
        (WebKit::EditorClient::shouldDeleteRange): Fire the appropriate editing signal.
        (WebKit::EditorClient::shouldShowDeleteInterface): Ditto.
        (WebKit::EditorClient::shouldBeginEditing): Ditto.
        (WebKit::EditorClient::shouldEndEditing): Ditto.
        (WebKit::kit): Added helper function.
        (WebKit::EditorClient::shouldInsertText): Fire the appropriate editing signal.
        (WebKit::EditorClient::shouldChangeSelectedRange): Ditto.
        (WebKit::EditorClient::shouldApplyStyle): Ditto.
        (WebKit::EditorClient::didBeginEditing): Ditto.
        (WebKit::EditorClient::respondToChangedContents): Ditto.
        (WebKit::EditorClient::respondToChangedSelection): Ditto.
        (WebKit::EditorClient::didEndEditing): Ditto.
        (WebKit::EditorClient::shouldInsertNode): Ditto.
        * webkit/webkitwebview.cpp:
        (webkit_web_view_real_should_allow_editing_action): Added this default signal
        callback which explicitly allows cancellable editing actions.
        (webkit_web_view_class_init): Add new editing signal declarations to the view.
        * webkit/webkitwebview.h:
        * webkitmarshal.list: Added some new marshaling definitions.
2010-11-24  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] The WebKitWebView should expose a set of signals encapsulating the behavior of the EditorClient
        https://bugs.webkit.org/show_bug.cgi?id=49143

        * DumpRenderTree/gtk/DumpRenderTree.cpp:
        (createWebView): Call the new connectEditingCallbacks function.
        * DumpRenderTree/gtk/EditingCallbacks.cpp: Added.
        (dumpNodePath):
        (dumpRange):
        (insertActionString):
        (selectionAffinityString):
        (shouldBeginEditing):
        (shouldEndEditing):
        (shouldInsertNode):
        (shouldInsertText):
        (shouldDeleteRange):
        (shouldShowDeleteInterfaceForElement):
        (shouldChangeSelectedRange):
        (shouldApplyStyle):
        (editingBegan):
        (userChangedContents):
        (editingEnded):
        (selectionChanged):
        (connectEditingCallbacks):
        * DumpRenderTree/gtk/EditingCallbacks.h: Added.
        * GNUmakefile.am: Added EditingCallbacks.{h,cpp} to the source list.

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

9 years ago2010-11-24 Alejandro G. Castro <alex@igalia.com>
alex@webkit.org [Wed, 24 Nov 2010 16:21:51 +0000 (16:21 +0000)]
2010-11-24  Alejandro G. Castro  <alex@igalia.com>

        Unreviewed, rebaselined mathml/presentation using bots results.

        * platform/gtk/mathml/presentation/attributes-expected.txt:
        * platform/gtk/mathml/presentation/fenced-expected.txt:
        * platform/gtk/mathml/presentation/fenced-mi-expected.txt:
        * platform/gtk/mathml/presentation/fractions-expected.txt:
        * platform/gtk/mathml/presentation/fractions-vertical-alignment-expected.txt:
        * platform/gtk/mathml/presentation/mo-expected.txt:
        * platform/gtk/mathml/presentation/over-expected.txt:
        * platform/gtk/mathml/presentation/roots-expected.txt:
        * platform/gtk/mathml/presentation/row-alignment-expected.txt:
        * platform/gtk/mathml/presentation/row-expected.txt:
        * platform/gtk/mathml/presentation/style-expected.txt:
        * platform/gtk/mathml/presentation/sub-expected.txt:
        * platform/gtk/mathml/presentation/subsup-expected.txt:
        * platform/gtk/mathml/presentation/sup-expected.txt:
        * platform/gtk/mathml/presentation/tables-expected.txt:
        * platform/gtk/mathml/presentation/tokenElements-expected.txt:
        * platform/gtk/mathml/presentation/under-expected.txt:
        * platform/gtk/mathml/presentation/underover-expected.txt:

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

9 years ago2010-11-24 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Wed, 24 Nov 2010 15:56:49 +0000 (15:56 +0000)]
2010-11-24  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r72499.
        http://trac.webkit.org/changeset/72499
        https://bugs.webkit.org/show_bug.cgi?id=50022

        This change is causing crashes on the bots. (Requested by
        mrobinson on #webkit).

        * accessibility/AccessibilityMenuListOption.cpp:
        (WebCore::AccessibilityMenuListOption::nameForMSAA):
        * accessibility/AccessibilityMenuListOption.h:
        * accessibility/gtk/AXObjectCacheAtk.cpp:
        (WebCore::AXObjectCache::postPlatformNotification):
        * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
        (setAtkStateSetFromCoreObject):
        (optionFromList):
        (optionFromSelection):
        (webkit_accessible_selection_add_selection):
        (webkit_accessible_selection_clear_selection):
        (webkit_accessible_selection_get_selection_count):
        (webkit_accessible_selection_is_child_selected):
        (webkit_accessible_selection_remove_selection):
        (webkit_accessible_text_get_text):
        (getInterfaceMaskFromObject):
        * platform/gtk/PopupMenuGtk.cpp:
        (WebCore::PopupMenuGtk::show):
2010-11-24  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r72499.
        http://trac.webkit.org/changeset/72499
        https://bugs.webkit.org/show_bug.cgi?id=50022

        This change is causing crashes on the bots. (Requested by
        mrobinson on #webkit).

        * tests/testatk.c:
        (main):

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

9 years ago2010-11-24 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Wed, 24 Nov 2010 15:51:54 +0000 (15:51 +0000)]
2010-11-24  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Csaba Osztrogonác.

        Simplify makeprop.pl
        https://bugs.webkit.org/show_bug.cgi?id=49925

        Don't generate CSSPropertyNamesHash.h.
        Instead generate CSSPropertyNames directly.

        * GNUmakefile.am: Removed rule for CSSPropertyNamesHash.h.
        * css/makeprop.pl:

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

9 years ago2010-11-24 Yi Shen <yi.4.shen@nokia.com>
commit-queue@webkit.org [Wed, 24 Nov 2010 15:49:03 +0000 (15:49 +0000)]
2010-11-24  Yi Shen  <yi.4.shen@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] Make QtTestBrowser remember the selected user agent
        https://bugs.webkit.org/show_bug.cgi?id=50021

        Set user agent for a new page by using the old page's

        * QtTestBrowser/mainwindow.cpp:
        (MainWindow::setPage):

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

9 years ago2010-11-24 Alejandro G. Castro <alex@igalia.com>
alex@webkit.org [Wed, 24 Nov 2010 15:38:29 +0000 (15:38 +0000)]
2010-11-24  Alejandro G. Castro  <alex@igalia.com>

        Unreviewed, unskipped and rebaselined mathml/presentation tests
        after r72413

        * platform/gtk/Skipped:
        * platform/gtk/mathml/presentation/attributes-expected.checksum:
        * platform/gtk/mathml/presentation/attributes-expected.png:
        * platform/gtk/mathml/presentation/attributes-expected.txt:
        * platform/gtk/mathml/presentation/fenced-expected.checksum:
        * platform/gtk/mathml/presentation/fenced-expected.png:
        * platform/gtk/mathml/presentation/fenced-expected.txt:
        * platform/gtk/mathml/presentation/fenced-mi-expected.checksum:
        * platform/gtk/mathml/presentation/fenced-mi-expected.png:
        * platform/gtk/mathml/presentation/fenced-mi-expected.txt:
        * platform/gtk/mathml/presentation/fractions-expected.checksum:
        * platform/gtk/mathml/presentation/fractions-expected.png:
        * platform/gtk/mathml/presentation/fractions-expected.txt:
        * platform/gtk/mathml/presentation/fractions-vertical-alignment-expected.checksum:
        * platform/gtk/mathml/presentation/fractions-vertical-alignment-expected.png:
        * platform/gtk/mathml/presentation/fractions-vertical-alignment-expected.txt:
        * platform/gtk/mathml/presentation/mo-expected.checksum:
        * platform/gtk/mathml/presentation/mo-expected.png:
        * platform/gtk/mathml/presentation/mo-expected.txt:
        * platform/gtk/mathml/presentation/over-expected.checksum:
        * platform/gtk/mathml/presentation/over-expected.png:
        * platform/gtk/mathml/presentation/over-expected.txt:
        * platform/gtk/mathml/presentation/roots-expected.checksum:
        * platform/gtk/mathml/presentation/roots-expected.png:
        * platform/gtk/mathml/presentation/roots-expected.txt:
        * platform/gtk/mathml/presentation/row-alignment-expected.checksum:
        * platform/gtk/mathml/presentation/row-alignment-expected.png:
        * platform/gtk/mathml/presentation/row-alignment-expected.txt:
        * platform/gtk/mathml/presentation/row-expected.checksum:
        * platform/gtk/mathml/presentation/row-expected.png:
        * platform/gtk/mathml/presentation/row-expected.txt:
        * platform/gtk/mathml/presentation/style-expected.checksum:
        * platform/gtk/mathml/presentation/style-expected.png:
        * platform/gtk/mathml/presentation/style-expected.txt:
        * platform/gtk/mathml/presentation/sub-expected.checksum:
        * platform/gtk/mathml/presentation/sub-expected.png:
        * platform/gtk/mathml/presentation/sub-expected.txt:
        * platform/gtk/mathml/presentation/subsup-expected.checksum:
        * platform/gtk/mathml/presentation/subsup-expected.png:
        * platform/gtk/mathml/presentation/subsup-expected.txt:
        * platform/gtk/mathml/presentation/sup-expected.checksum:
        * platform/gtk/mathml/presentation/sup-expected.png:
        * platform/gtk/mathml/presentation/sup-expected.txt:
        * platform/gtk/mathml/presentation/tables-expected.checksum:
        * platform/gtk/mathml/presentation/tables-expected.png:
        * platform/gtk/mathml/presentation/tables-expected.txt:
        * platform/gtk/mathml/presentation/tokenElements-expected.checksum:
        * platform/gtk/mathml/presentation/tokenElements-expected.png:
        * platform/gtk/mathml/presentation/tokenElements-expected.txt:
        * platform/gtk/mathml/presentation/under-expected.checksum:
        * platform/gtk/mathml/presentation/under-expected.png:
        * platform/gtk/mathml/presentation/under-expected.txt:
        * platform/gtk/mathml/presentation/underover-expected.checksum:
        * platform/gtk/mathml/presentation/underover-expected.png:
        * platform/gtk/mathml/presentation/underover-expected.txt:

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

9 years ago2010-11-24 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Wed, 24 Nov 2010 15:35:55 +0000 (15:35 +0000)]
2010-11-24  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Csaba Osztrogonác.

        Remove Bakefile build system files
        https://bugs.webkit.org/show_bug.cgi?id=49983

        r53757 only removed the content, but not the files.
        This patch removes that empty files.

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

9 years ago[Qt] GraphicsContext: Clean up Qt/WebCore type conversion functions
reni@webkit.org [Wed, 24 Nov 2010 15:21:31 +0000 (15:21 +0000)]
[Qt] GraphicsContext: Clean up Qt/WebCore type conversion functions
https://bugs.webkit.org/show_bug.cgi?id=49919

Reviewed by Andreas Kling.

Add ASSERT_NOT_REACHED() if the given WebCore type doesn't have an equivalent type in Qt.
Also change the return value of toQtLineJoin() from Qt::MiterJoin to the default Qt::SvgMiterJoin,
because the previous one doesn't work currently.

No new test is needed.

* platform/graphics/qt/GraphicsContextQt.cpp:
(WebCore::GraphicsContext::toQtCompositionMode):
(WebCore::toQtLineCap):
(WebCore::toQtLineJoin):
(WebCore::toQPenStyle):
(WebCore::toQtFillRule):

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

9 years ago2010-11-24 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Wed, 24 Nov 2010 14:51:14 +0000 (14:51 +0000)]
2010-11-24  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Csaba Osztrogonác.

        Simplify makevalues.pl
        https://bugs.webkit.org/show_bug.cgi?id=49926

        Don't generate CSSValueKeywordsHash.h.
        Instead generate CSSValueKeywords.cpp directly.

        * GNUmakefile.am: Removed rule for CSSValueKeywordsHash.h.
        * css/makevalues.pl:

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

9 years ago2010-11-24 Andras Becsi <abecsi@inf.u-szeged.hu>
abecsi@webkit.org [Wed, 24 Nov 2010 14:38:47 +0000 (14:38 +0000)]
2010-11-24  Andras Becsi  <abecsi@inf.u-szeged.hu>

        Reviewed by Kenneth Rohde Christiansen.

        Make WebKit2 compile with !ENABLE(INSPECTOR).
        https://bugs.webkit.org/show_bug.cgi?id=49973

        No new tests needed.

        * bindings/js/ScriptHeapSnapshot.h:
        * bindings/js/ScriptProfile.cpp:
        * bindings/js/ScriptProfile.h:
        * inspector/InspectorDebuggerAgent.cpp:
        * inspector/InspectorDebuggerAgent.h:
        * inspector/InspectorProfilerAgent.cpp:
        * inspector/InspectorProfilerAgent.h:
        * inspector/ScriptBreakpoint.h:
2010-11-24  Andras Becsi  <abecsi@inf.u-szeged.hu>

        Reviewed by Kenneth Rohde Christiansen.

        Make WebKit2 compile with !ENABLE(INSPECTOR).
        https://bugs.webkit.org/show_bug.cgi?id=49973

        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
        (DumpRenderTreeSupportQt::setJavaScriptProfilingEnabled):
2010-11-24  Andras Becsi  <abecsi@inf.u-szeged.hu>

        Reviewed by Kenneth Rohde Christiansen.

        Make WebKit2 compile with !ENABLE(INSPECTOR).
        https://bugs.webkit.org/show_bug.cgi?id=49973

        * Shared/API/c/WKSharedAPICast.h:
        (WebKit::toAPI):
        (WebKit::toImpl):
        * UIProcess/API/C/WKAPICast.h:
        * UIProcess/API/C/WKInspector.cpp:
        * UIProcess/API/C/WKInspector.h:
        * UIProcess/API/C/WKPage.cpp:
        * UIProcess/API/C/WKPage.h:
        * UIProcess/WebInspectorProxy.cpp:
        * UIProcess/WebInspectorProxy.h:
        * UIProcess/WebInspectorProxy.messages.in:
        * UIProcess/WebPageProxy.cpp:
        (WebKit::WebPageProxy::close):
        (WebKit::WebPageProxy::didReceiveMessage):
        (WebKit::WebPageProxy::didReceiveSyncMessage):
        (WebKit::WebPageProxy::processDidCrash):
        * UIProcess/WebPageProxy.h:
        * UIProcess/mac/WebInspectorProxyMac.mm:
        * UIProcess/qt/WebInspectorProxyQt.cpp:
        * UIProcess/win/WebInspectorProxyWin.cpp:
        * WebProcess/WebCoreSupport/WebInspectorClient.cpp:
        * WebProcess/WebCoreSupport/WebInspectorClient.h:
        * WebProcess/WebCoreSupport/WebInspectorFrontendClient.cpp:
        * WebProcess/WebCoreSupport/WebInspectorFrontendClient.h:
        * WebProcess/WebPage/WebInspector.cpp:
        * WebProcess/WebPage/WebInspector.h:
        * WebProcess/WebPage/WebInspector.messages.in:
        * WebProcess/WebPage/WebPage.cpp:
        (WebKit::WebPage::WebPage):
        (WebKit::WebPage::close):
        (WebKit::WebPage::windowIsFocused):
        (WebKit::WebPage::didReceiveMessage):
        * WebProcess/WebPage/WebPage.h:
        * WebProcess/WebPage/qt/WebInspectorQt.cpp:
        * WebProcess/WebPage/win/WebInspectorWin.cpp:

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

9 years ago2010-11-24 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Wed, 24 Nov 2010 13:47:57 +0000 (13:47 +0000)]
2010-11-24  Andreas Kling  <kling@webkit.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt][WK2] Make deep copies of tile images

        We need the tile images we get from UpdateChunk::createImage() to persist,
        so we should take a copy() of them.

        * UIProcess/qt/TiledDrawingAreaTileQt.cpp:
        (WebKit::TiledDrawingAreaTile::updateFromChunk):

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

9 years ago2010-11-24 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Wed, 24 Nov 2010 13:26:59 +0000 (13:26 +0000)]
2010-11-24  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Csaba Osztrogonác.

        Simplify make-hash-tools.pl
        https://bugs.webkit.org/show_bug.cgi?id=49922

        HashTools.h does not need to be generated, because it only contains static code.

        * html/DocTypeStrings.gperf: Include findDoctypeEntry function.
        * make-hash-tools.pl: Do not generate HashTools.h.
        * platform/ColorData.gperf: Include findColor function.
        * platform/HashTools.h: Added.

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

9 years ago2010-11-24 Gabor Loki <loki@webkit.org>
loki@webkit.org [Wed, 24 Nov 2010 13:04:35 +0000 (13:04 +0000)]
2010-11-24  Gabor Loki  <loki@webkit.org>

        Reviewed by Csaba Osztrogonác.

        Merge the usage of jumps and calls at ARM-JIT
        https://bugs.webkit.org/show_bug.cgi?id=50008

        Those JmpSrc objects which represent jumps (not calls) should point to
        after the jump instruction.

        * assembler/ARMAssembler.h:
        (JSC::ARMAssembler::blx):
        (JSC::ARMAssembler::loadBranchTarget):
        (JSC::ARMAssembler::getAbsoluteJumpAddress):
        (JSC::ARMAssembler::linkJump):
        (JSC::ARMAssembler::relinkJump):
        (JSC::ARMAssembler::linkCall):
        (JSC::ARMAssembler::relinkCall):
        (JSC::ARMAssembler::getRelocatedAddress):
        (JSC::ARMAssembler::getDifferenceBetweenLabels):
        (JSC::ARMAssembler::getCallReturnOffset):
        * assembler/MacroAssemblerARM.h:
        (JSC::MacroAssemblerARM::call):

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

9 years ago2010-11-24 Carlos Garcia Campos <cgarcia@igalia.com>
commit-queue@webkit.org [Wed, 24 Nov 2010 12:51:02 +0000 (12:51 +0000)]
2010-11-24  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Optimize foldCase, toLower and toUpper methods in glib unicode backend
        https://bugs.webkit.org/show_bug.cgi?id=48625

        GLib methods use UTF-8 strings, so we have to convert from UTF-16 to
        UTF-8 to perform the case operations and then convert back the result to
        UTF-16. GLib conversion methods return a new allocated string, so we
        have to memcpy the result into the destination buffer too. Using our
        own methods to convert between UTF-8 and UTF-16 from wtf/unicode/UTF8.h
        we don't need such memcpy, since they take an already allocated buffer
        rather than returning a new one. There's another optimization for the
        case when the destination buffer is not large enough. In that case,
        methods should return the expected destination buffer size and are
        called again with a new buffer. We can avoid the conversion to UTF-16 by
        pre-calculating the required size for the destination buffer.

        * wtf/unicode/glib/UnicodeGLib.cpp:
        (WTF::Unicode::getUTF16LengthFromUTF8):
        (WTF::Unicode::convertCase):
        (WTF::Unicode::foldCase):
        (WTF::Unicode::toLower):
        (WTF::Unicode::toUpper):

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

9 years ago2010-11-24 Satish Sampath <satish@chromium.org>
satish@chromium.org [Wed, 24 Nov 2010 12:29:25 +0000 (12:29 +0000)]
2010-11-24  Satish Sampath  <satish@chromium.org>

        Reviewed by Steve Block.

        Re-enabled layout tests which were disabled during an API migration.
        https://bugs.webkit.org/show_bug.cgi?id=50013

        * platform/chromium/test_expectations.txt:
2010-11-24  Satish Sampath  <satish@chromium.org>

        Reviewed by Steve Block.

        Remove API migration code which is no longer used.
        https://bugs.webkit.org/show_bug.cgi?id=50013

        * public/WebSpeechInputControllerMock.h:

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

9 years ago2010-11-24 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Wed, 24 Nov 2010 12:04:41 +0000 (12:04 +0000)]
2010-11-24  Andreas Kling  <kling@webkit.org>

        Reviewed by Simon Hausmann.

        [Qt] Pass Qt::TextBypassShaping flag when calculating shadow layer rects

        Without this, we could end up with a slightly too small shadow layer
        for some string/font combinations.

        * platform/graphics/qt/FontQt.cpp:
        (WebCore::drawTextCommon):

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

9 years ago2010-11-24 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Wed, 24 Nov 2010 12:00:08 +0000 (12:00 +0000)]
2010-11-24  Ilya Tikhonovsky  <loislo@chromium.org>

        Unreviewed. chromium expectation fix.

        BUG49967 MAC : font-size-zero.html = TEXT
        was restored.

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-11-24 Steve block <steveblock@google.com>
steveblock@google.com [Wed, 24 Nov 2010 11:42:20 +0000 (11:42 +0000)]
2010-11-24  Steve block  <steveblock@google.com>

        Reviewed by Jeremy Orlow.

        LayoutTest fast/dom/DeviceOrientation/event-after-navigation.html is flaky
        https://bugs.webkit.org/show_bug.cgi?id=49384

        This is an asynchronous script test which navigates the main page but
        relies on js-test-post.js calling LayoutTestController.waitUntilDone().
        It's possible for the main page to be navigated and hence the load of
        js-test-post.js to be cancelled before
        LayoutTestController.waitUntilDone() is called, which causes the test to
        fail.

        * fast/dom/DeviceOrientation/script-tests/event-after-navigation.js:

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

9 years ago2010-11-22 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Wed, 24 Nov 2010 11:04:22 +0000 (11:04 +0000)]
2010-11-22  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: add timing tab to the network item view.
        https://bugs.webkit.org/show_bug.cgi?id=49920

        * WebCore.gypi:
        * WebCore.vcproj/WebCore.vcproj:
        * inspector/front-end/NetworkItemView.js:
        (WebInspector.NetworkItemView):
        * inspector/front-end/NetworkPanel.js:
        (WebInspector.NetworkPanel.prototype._showPopover):
        * inspector/front-end/Resource.js:
        (WebInspector.Resource.prototype.set timing):
        * inspector/front-end/ResourceTimingView.js: Added.
        (WebInspector.ResourceTimingView):
        (WebInspector.ResourceTimingView.prototype.show):
        (WebInspector.ResourceTimingView.prototype._refresh):
        (WebInspector.ResourceTimingView.createTimingTable):
        * inspector/front-end/WebKit.qrc:
        * inspector/front-end/inspector.html:
        * inspector/front-end/networkPanel.css:
        (#network-views .network-item-view .tabbed-pane-header):
        (.resource-timing-view):
        (.resource-timing-view table):
        (.resource-timing-view .network-timing-bar):
        (.resource-timing-view .network-timing-bar.proxy):
        (.resource-timing-view .network-timing-bar.dns):
        (.resource-timing-view .network-timing-bar.connecting):
        (.resource-timing-view .network-timing-bar.ssl):
        (.resource-timing-view .network-timing-bar.sending):
        (.resource-timing-view .network-timing-bar.waiting):
        (.resource-timing-view .network-timing-bar.receiving):
        (.resource-timing-view.visible):

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

9 years ago2010-11-24 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Wed, 24 Nov 2010 10:59:12 +0000 (10:59 +0000)]
2010-11-24  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed. Follow up to r72652 (style id change in inspector).

        * inspector/front-end/AuditRules.js:
        (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.evalCallback.selectorsCallback):

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

9 years ago2010-11-22 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Wed, 24 Nov 2010 10:36:12 +0000 (10:36 +0000)]
2010-11-22  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: refactor ResourceView hierarchy.
        https://bugs.webkit.org/show_bug.cgi?id=49864

        This refactoring splits ResourceView.js into:
            NetworkItemView.js (tabbed pane)
            ResourceHeadersView.js (header tab)
            ResourceCookiesView.js (cookies tab)
            ResourceView.js (base class for content tab).
        CookiesTable was extracted from CookieItemsView and
        brushed up. headersVisible flag has been removed.

        * English.lproj/localizedStrings.js:
        * WebCore.gypi:
        * WebCore.vcproj/WebCore.vcproj:
        * inspector/front-end/CookieItemsView.js:
        (WebInspector.CookieItemsView):
        (WebInspector.CookieItemsView.prototype.get statusBarItems):
        (WebInspector.CookieItemsView.prototype.hide):
        (WebInspector.CookieItemsView.prototype.resize):
        (WebInspector.CookieItemsView.prototype._updateWithCookies):
        (WebInspector.CookieItemsView.prototype._filterCookiesForDomain):
        (WebInspector.CookieItemsView.prototype._deleteCookie):
        (WebInspector.CookieItemsView.prototype._deleteButtonClicked):
        (WebInspector.CookieItemsView.prototype._refreshButtonClicked):
        (WebInspector.SimpleCookiesTable):
        (WebInspector.SimpleCookiesTable.prototype.setCookies):
        (WebInspector.SimpleCookiesTable.prototype.resize):
        * inspector/front-end/CookiesTable.js: Added.
        (WebInspector.CookiesTable):
        (WebInspector.CookiesTable.prototype.updateWidths):
        (WebInspector.CookiesTable.prototype.setCookies):
        (WebInspector.CookiesTable.prototype.addCookiesFolder):
        (WebInspector.CookiesTable.prototype.get selectedCookie):
        (WebInspector.CookiesTable.prototype._rebuildTable):
        (WebInspector.CookiesTable.prototype.reset):
        (WebInspector.CookiesTable.prototype._populateNode):
        (WebInspector.CookiesTable.prototype._totalSize):
        (WebInspector.CookiesTable.prototype._sortCookies.localeCompare):
        (WebInspector.CookiesTable.prototype._sortCookies.numberCompare):
        (WebInspector.CookiesTable.prototype._sortCookies.expiresCompare):
        (WebInspector.CookiesTable.prototype._sortCookies):
        (WebInspector.CookiesTable.prototype._createGridNode):
        (WebInspector.CookiesTable.prototype._onDeleteFromGrid):
        * inspector/front-end/FileSystemView.js:
        (WebInspector.FileSystemView.prototype._selectFileSystemTab):
        (WebInspector.FileSystemView.prototype.selectTemporaryFileSystemTab):
        * inspector/front-end/FontView.js:
        (WebInspector.FontView.prototype.hasContent):
        (WebInspector.FontView.prototype._createContentIfNeeded):
        (WebInspector.FontView.prototype.show):
        (WebInspector.FontView.prototype.updateFontPreviewSize):
        * inspector/front-end/ImageView.js:
        (WebInspector.ImageView.prototype.hasContent):
        (WebInspector.ImageView.prototype.show):
        * inspector/front-end/NetworkItemView.js: Added.
        (WebInspector.NetworkItemView):
        (WebInspector.NetworkItemView.prototype.show):
        (WebInspector.NetworkItemView.prototype._selectTab):
        (WebInspector.NetworkItemView.prototype._tabSelected):
        (WebInspector.NetworkItemView.prototype.resize):
        (WebInspector.NetworkItemView.prototype.selectContentTab):
        * inspector/front-end/NetworkPanel.js:
        (WebInspector.NetworkPanel.prototype.show):
        (WebInspector.NetworkPanel.prototype.refreshResource):
        (WebInspector.NetworkPanel.prototype._showResource):
        (WebInspector.NetworkPanel.prototype._closeVisibleResource):
        * inspector/front-end/ResourceCookiesView.js: Added.
        (WebInspector.ResourceCookiesView):
        (WebInspector.ResourceCookiesView.prototype.show):
        * inspector/front-end/ResourceHeadersView.js: Added.
        (WebInspector.ResourceHeadersView):
        (WebInspector.ResourceHeadersView.prototype._refreshURL):
        (WebInspector.ResourceHeadersView.prototype._refreshQueryString):
        (WebInspector.ResourceHeadersView.prototype._refreshFormData):
        (WebInspector.ResourceHeadersView.prototype._refreshRequestPayload):
        (WebInspector.ResourceHeadersView.prototype._refreshParms):
        (WebInspector.ResourceHeadersView.prototype._toggleURLdecoding):
        (WebInspector.ResourceHeadersView.prototype._getHeaderValue):
        (WebInspector.ResourceHeadersView.prototype._refreshRequestHeaders):
        (WebInspector.ResourceHeadersView.prototype._refreshResponseHeaders):
        (WebInspector.ResourceHeadersView.prototype._refreshHTTPInformation):
        (WebInspector.ResourceHeadersView.prototype._refreshHeaders):
        * inspector/front-end/ResourceView.js:
        (WebInspector.ResourceView):
        (WebInspector.ResourceView.prototype.hasContent):
        * inspector/front-end/ResourcesPanel.js:
        (WebInspector.ResourcesPanel.prototype.show):
        (WebInspector.ResourcesPanel.prototype.showResource):
        (WebInspector.ResourcesPanel.prototype._showResourceView):
        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel.prototype.show):
        (WebInspector.ScriptsPanel.prototype._showScriptOrResource):
        * inspector/front-end/SourceView.js:
        (WebInspector.SourceView):
        (WebInspector.SourceView.prototype.show):
        (WebInspector.SourceView.prototype.hide):
        (WebInspector.SourceView.prototype.resize):
        (WebInspector.SourceView.prototype.setupSourceFrameIfNeeded):
        (WebInspector.SourceView.prototype.hasContent):
        (WebInspector.SourceView.prototype.updateLocalContent):
        (WebInspector.SourceView.prototype.selectLocalContentTab):
        * inspector/front-end/StylesSidebarPane.js:
        * inspector/front-end/TabbedPane.js:
        (WebInspector.TabbedPane):
        (WebInspector.TabbedPane.prototype.appendTab):
        (WebInspector.TabbedPane.prototype.selectTab):
        (WebInspector.TabbedPane.prototype._showTab):
        (WebInspector.TabbedPane.prototype._hideTab):
        * inspector/front-end/WebKit.qrc:
        * inspector/front-end/inspector.css:
        (.webkit-line-gutter-backdrop):
        (.resource-view):
        (.resource-view.visible):
        (.resource-view.font):
        (.resource-view.image > .image):
        (.resource-view.image > .info):
        (.storage-view):
        (.storage-view .data-grid):
        (.storage-empty-view, .storage-view .storage-table-error):
        (.storage-view .storage-table-error):
        * inspector/front-end/inspector.html:
        * inspector/front-end/networkPanel.css:
        (.network-cell-subtitle):
        (.network-header-subtitle):
        (#network-views .network-item-view .tabbed-pane-header):
        (#network-views.small .network-item-view .tabbed-pane-header):
        (.network-item-view):
        (.network-item-view.visible):
        (.network-item-view .tabbed-pane-header):
        (.network-item-view .scope-bar li):
        (.resource-headers-view):
        (.resource-headers-view.visible):
        (.resource-headers-view .outline-disclosure .parent):
        (.resource-headers-view .outline-disclosure .children li):
        (.resource-headers-view .outline-disclosure li.expanded .header-count):
        (.resource-headers-view .outline-disclosure .header-name):
        (.resource-headers-view .outline-disclosure .header-value):
        (.resource-headers-view .outline-disclosure .raw-form-data):
        (.resource-cookies-view):
        (.resource-cookies-view.visible):
        (.resource-cookies-view .data-grid):
        (.resource-cookies-view .data-grid .row-group):

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

9 years ago2010-11-24 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Wed, 24 Nov 2010 10:28:27 +0000 (10:28 +0000)]
2010-11-24  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: add "Locally modified" group into the resource panel.
        https://bugs.webkit.org/show_bug.cgi?id=50005

        * English.lproj/localizedStrings.js:
        * inspector/front-end/ResourcesPanel.js:
        (WebInspector.ResourcesPanel):
        (WebInspector.ResourcesPanel.prototype.reset):
        (WebInspector.ResourcesPanel.prototype.addLocallyModifiedRevision):
        (WebInspector.ResourcesPanel.prototype._innerShowView):
        (WebInspector.BaseStorageTreeElement.prototype.set titleText):
        (WebInspector.LocallyModifiedResourceTreeElement):
        (WebInspector.LocallyModifiedResourceTreeElement.prototype.onselect):
        (WebInspector.LocallyModifiedResourceTreeElement.prototype.gcRevisions):
        (WebInspector.LocallyModifiedRevisionTreeElement):
        (WebInspector.LocallyModifiedRevisionTreeElement.prototype.onattach):
        (WebInspector.LocallyModifiedRevisionTreeElement.prototype.onselect):
        (WebInspector.LocallyModifiedRevisionTreeElement.prototype._ondragstart):

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

9 years ago2010-11-24 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Wed, 24 Nov 2010 10:24:02 +0000 (10:24 +0000)]
2010-11-24  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r72650.
        http://trac.webkit.org/changeset/72650
        https://bugs.webkit.org/show_bug.cgi?id=50010

        breaks focus in scenes focus item other than graphicswebiview
        (Requested by tronical_ on #webkit).

        * Api/qgraphicswebview.cpp:
        (QGraphicsWebViewPrivate::QGraphicsWebViewPrivate):
        (QGraphicsWebView::QGraphicsWebView):
        (QGraphicsWebView::itemChange):
        * Api/qgraphicswebview.h:
        * tests/qgraphicswebview/tst_qgraphicswebview.cpp:

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

9 years ago2010-11-24 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Wed, 24 Nov 2010 10:11:39 +0000 (10:11 +0000)]
2010-11-24  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: pass style id to front-end as Object, not string.
        https://bugs.webkit.org/show_bug.cgi?id=49971

        * inspector/Inspector.idl:
        * inspector/InspectorCSSAgent.cpp:
        (WebCore::InspectorCSSAgent::getStylesForNode2):
        (WebCore::InspectorCSSAgent::getStyleSheetText2):
        (WebCore::InspectorCSSAgent::setPropertyText2):
        (WebCore::InspectorCSSAgent::toggleProperty2):
        (WebCore::InspectorCSSAgent::setRuleSelector2):
        * inspector/InspectorCSSAgent.h:
        * inspector/InspectorStyleSheet.cpp:
        (WebCore::InspectorStyle::buildObjectForStyle):
        (WebCore::InspectorStyleSheet::finalURL):
        (WebCore::InspectorStyleSheet::ruleForId):
        (WebCore::InspectorStyleSheet::buildObjectForStyleSheet):
        (WebCore::InspectorStyleSheet::buildObjectForRule):
        (WebCore::InspectorStyleSheet::text):
        (WebCore::InspectorStyleSheet::ruleOrStyleId):
        (WebCore::InspectorStyleSheetForInlineStyle::InspectorStyleSheetForInlineStyle):
        (WebCore::InspectorStyleSheetForInlineStyle::text):
        * inspector/InspectorStyleSheet.h:
        (WebCore::InspectorCSSId::InspectorCSSId):
        (WebCore::InspectorCSSId::isEmpty):
        (WebCore::InspectorCSSId::styleSheetId):
        (WebCore::InspectorCSSId::ordinal):
        (WebCore::InspectorCSSId::asInspectorValue):
        (WebCore::InspectorStyleSheet::id):
        (WebCore::InspectorStyleSheetForInlineStyle::styleForId):
        * inspector/front-end/CSSStyleModel.js:
        (WebInspector.CSSStyleModel.prototype.setRuleSelector):
        (WebInspector.CSSStyleModel.prototype.addRule):
        (WebInspector.CSSStyleModel.prototype._styleSheetChanged):
        (WebInspector.CSSStyleDeclaration.prototype.insertPropertyAt):
        (WebInspector.CSSProperty.prototype.setText):
        (WebInspector.CSSProperty.prototype.setDisabled.callback):
        (WebInspector.CSSProperty.prototype.setDisabled):
        (WebInspector.CSSStyleSheet.createForId):
        (WebInspector.CSSStyleSheet.prototype.setText):

2010-11-23  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: pass style id to front-end as Object, not string.
        https://bugs.webkit.org/show_bug.cgi?id=49971

        * inspector/styles-new-API.html:

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

9 years ago2010-11-24 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Wed, 24 Nov 2010 09:47:17 +0000 (09:47 +0000)]
2010-11-24  Andreas Kling  <kling@webkit.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Fix uninitialized variable in QGraphicsWKViewPrivate

        Always initialize QGWKVP::m_isChangingScale in the constructor.

        * UIProcess/API/qt/qgraphicswkview.cpp:
        (QGraphicsWKViewPrivate::QGraphicsWKViewPrivate):

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

9 years ago2010-11-24 Jan Erik Hanssen <jhanssen@sencha.com>
commit-queue@webkit.org [Wed, 24 Nov 2010 09:34:56 +0000 (09:34 +0000)]
2010-11-24  Jan Erik Hanssen  <jhanssen@sencha.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Html autofocus not working with QGraphicsWebView
        https://bugs.webkit.org/show_bug.cgi?id=43169

        QGraphicsScene does not propagate Qt::ActivateWindowFocusReason focus
        events when there are no active items.

        * Api/qgraphicswebview.cpp:
        (QGraphicsWebViewPrivate::QGraphicsWebViewPrivate):
        (QGraphicsWebView::QGraphicsWebView):
        (QGraphicsWebView::eventFilter):
        (QGraphicsWebView::itemChange):
        * Api/qgraphicswebview.h:
        * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
        (FocusPage::FocusPage):
        (FocusPage::event):
        (FocusPage::gotFocus):
        (tst_QGraphicsWebView::receivesFocusInOnShow):

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

9 years ago2010-11-24 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Wed, 24 Nov 2010 09:25:30 +0000 (09:25 +0000)]
2010-11-24  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r72647.
        http://trac.webkit.org/changeset/72647
        https://bugs.webkit.org/show_bug.cgi?id=50009

        breaks the http layout tests (Requested by philn-tp on
        #webkit).

        * platform/network/soup/ResourceHandleSoup.cpp:
        (WebCore::sendRequestCallback):
        (WebCore::startHttp):
        (WebCore::ResourceHandle::platformSetDefersLoading):

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

9 years ago2010-11-23 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Wed, 24 Nov 2010 08:32:21 +0000 (08:32 +0000)]
2010-11-23  Ilya Tikhonovsky  <loislo@chromium.org>

        Unreviewed. Fix for chromium expectations.

        composited-plugin.html is crashing on MAC.
        small-to-large-composited-plugin.html is crashing on MAC.
        font-size-zero.html is passing.

        * platform/chromium-gpu/test_expectations.txt:
        * platform/chromium/test_expectations.txt:

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

9 years ago2010-11-23 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Wed, 24 Nov 2010 08:24:26 +0000 (08:24 +0000)]
2010-11-23  Philippe Normand  <pnormand@igalia.com>

        Reviewed by Martin Robinson.

        [soup] implement ResourceHandle::platformSetDefersLoading
        https://bugs.webkit.org/show_bug.cgi?id=44158

        * platform/network/soup/ResourceHandleSoup.cpp:
        (WebCore::ResourceHandle::platformSetDefersLoading): Implemented
        using the soup_session_{,un}pause_message APIs.

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

9 years ago2010-11-23 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Wed, 24 Nov 2010 06:35:38 +0000 (06:35 +0000)]
2010-11-23  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by David Levin.

        Add WebKit2 VisualStudio files to .gitattributes
        https://bugs.webkit.org/show_bug.cgi?id=49969

        * .gitattributes:

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

9 years ago2010-11-23 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Wed, 24 Nov 2010 04:44:44 +0000 (04:44 +0000)]
2010-11-23  Abhishek Arya  <inferno@chromium.org>

        Unreviewed.

        Drag and drop not working properly. Skipping just like other similar drag
        and drop tests. E.g. similar test drag-image-in-about-blank-frame.html.

        * platform/qt/Skipped:

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

9 years ago2010-11-22 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Wed, 24 Nov 2010 04:14:40 +0000 (04:14 +0000)]
2010-11-22  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Adam Barth.

        r71925 broke the chrome new tab page. r71925 blocked drag and drop
        of same security origin objects onto themselves if their origin is
        marked unique. We need to allow drag and drop in that scenario.
        https://bugs.webkit.org/show_bug.cgi?id=49098

        Test: http/tests/security/drag-drop-same-unique-origin.html

        * page/SecurityOrigin.cpp:
        (WebCore::SecurityOrigin::canReceiveDragData):
2010-11-23  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Adam Barth.

        Tests that drag and drop is allowed across the same security origin object,
        even if they are marked unique.

        * http/tests/security/drag-drop-same-unique-origin-expected.txt: Added.
        * http/tests/security/drag-drop-same-unique-origin.html: Added.
        * http/tests/security/resources/drag-drop-allowed.html: Added.

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

9 years ago2010-11-23 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Wed, 24 Nov 2010 00:22:32 +0000 (00:22 +0000)]
2010-11-23  Ryosuke Niwa  <rniwa@webkit.org>

        Unreviewed update of GTK's skipped list.

        Disabled editing/deleting/delete-by-word-001.html and editing/deleting/delete-by-word-002.html
        because they require editing delegates dump which haven't been implemented in GTK.

        * platform/gtk/Skipped:

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

9 years ago2010-11-23 Tony Chang <tony@chromium.org>
tony@chromium.org [Wed, 24 Nov 2010 00:19:53 +0000 (00:19 +0000)]
2010-11-23  Tony Chang  <tony@chromium.org>

        Unreviewed, [chromium] merge the plugin failures in test_expectations
        https://bugs.webkit.org/show_bug.cgi?id=49993

        * platform/chromium/drt_expectations.txt: Remove plugin failures
        * platform/chromium/test_expectations.txt: Move them into this file
            with expectations that are valid for either plugin.

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

9 years ago2010-11-23 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Wed, 24 Nov 2010 00:15:16 +0000 (00:15 +0000)]
2010-11-23  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Tony Chang.

        This patch cleans up the logic used to shard tests into groups a
        bit and adds the --worker-model flag to NRWT. The flag is only
        used at the moment to control whether to run single-threaded or
        not, but eventually will also allow toggling between threads and
        processes.

        Also add a minor cleanup with _test_is_slow(), which just
        eliminates some repetition and gives slightly better encapsulation.

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

        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:

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

9 years ago2010-11-23 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Wed, 24 Nov 2010 00:12:39 +0000 (00:12 +0000)]
2010-11-23  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Tony Chang.

        Rebaseline server: list current baselines and platforms
        https://bugs.webkit.org/show_bug.cgi?id=49991

        List existing baselines (with Trac links) for tests.

        Add dropdowns for choosing with platform baselines to target (and what
        to do with existing ones).

        Also fix MockFileSystem.join to behave more like os.path.join (unit
        test was ending up with two consecutive slashes in a layout test
        path).

        * Scripts/webkitpy/common/system/filesystem_mock.py:
        * Scripts/webkitpy/tool/commands/data/rebaselineserver/index.html:
        * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.css:
        * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.js:
        * Scripts/webkitpy/tool/commands/data/rebaselineserver/queue.js:
        * Scripts/webkitpy/tool/commands/data/rebaselineserver/util.js:
        * Scripts/webkitpy/tool/commands/rebaselineserver.py:
        * Scripts/webkitpy/tool/commands/rebaselineserver_unittest.py: Added.

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

9 years ago2010-11-23 Cris Neckar <cdn@chromium.org>
inferno@chromium.org [Wed, 24 Nov 2010 00:12:00 +0000 (00:12 +0000)]
2010-11-23  Cris Neckar  <cdn@chromium.org>

        Reviewed by Dimitri Glazkov.

        Removed unneeded conversions to RenderBlock.
        https://bugs.webkit.org/show_bug.cgi?id=49896

        Test: fast/css/input-search-table-column-crash.html

        * rendering/RenderTextControlSingleLine.cpp:
        (WebCore::RenderTextControlSingleLine::adjustControlHeightBasedOnLineHeight):
2010-11-23  Cris Neckar  <cdn@chromium.org>

        Reviewed by Dimitri Glazkov.

        Test for crash with input type search and table column style.
        https://bugs.webkit.org/show_bug.cgi?id=49896

        * fast/css/input-search-table-column-crash-expected.txt: Added.
        * fast/css/input-search-table-column-crash.html: Added.

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

9 years ago2010-11-23 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Tue, 23 Nov 2010 23:59:46 +0000 (23:59 +0000)]
2010-11-23  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Adam Barth.

        XMLDocumentParser::notifyFinished calls ScriptController's executeScript without updating isEvaluated flag
        https://bugs.webkit.org/show_bug.cgi?id=49701

        Fixed the bug by calling ScriptElement's executeScript, which sets isEvaluated flag to true.

        Test: fast/dom/script-clone-rerun-src.xhtml

        * dom/XMLDocumentParser.cpp:
        (WebCore::XMLDocumentParser::notifyFinished):
2010-11-23  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Adam Barth.

        XMLDocumentParser::notifyFinished calls ScriptController's executeScript without updating isEvaluated flag
        https://bugs.webkit.org/show_bug.cgi?id=49701

        Added a test to ensure WebKit doesn't run the script twice when a script element with an external script file
        is cloned in a XML document.

        * fast/dom/resources/script-clone-rerun-src.js: Added.
        * fast/dom/script-clone-rerun-src.xhtml: Added.

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

9 years ago2010-11-23 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Tue, 23 Nov 2010 23:39:43 +0000 (23:39 +0000)]
2010-11-23  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Tony Chang.

        dumpAsText conversion: editing/deleting/delete-by-word-001.html and delete-by-word-002.html
        https://bugs.webkit.org/show_bug.cgi?id=48130

        Converted editing/deleting/delete-by-word-001.html and delete-by-word-002.html to dumpAsText tests
        by replacing calls to runEditingTest by runDumpAsTextEditingTest.

        * editing/deleting/delete-by-word-001-expected.txt: Added.
        * editing/deleting/delete-by-word-001.html:
        * editing/deleting/delete-by-word-002-expected.txt: Added.
        * editing/deleting/delete-by-word-002.html:
        * platform/chromium-linux/editing/deleting/delete-by-word-001-expected.checksum: Removed.
        * platform/chromium-linux/editing/deleting/delete-by-word-001-expected.png: Removed.
        * platform/chromium-linux/editing/deleting/delete-by-word-002-expected.checksum: Removed.
        * platform/chromium-linux/editing/deleting/delete-by-word-002-expected.png: Removed.
        * platform/chromium-win/editing/deleting/delete-by-word-001-expected.checksum: Removed.
        * platform/chromium-win/editing/deleting/delete-by-word-001-expected.png: Removed.
        * platform/chromium-win/editing/deleting/delete-by-word-001-expected.txt: Removed.
        * platform/chromium-win/editing/deleting/delete-by-word-002-expected.checksum: Removed.
        * platform/chromium-win/editing/deleting/delete-by-word-002-expected.png: Removed.
        * platform/chromium-win/editing/deleting/delete-by-word-002-expected.txt: Removed.
        * platform/gtk/editing/deleting/delete-by-word-001-expected.txt: Removed.
        * platform/mac/editing/deleting/delete-by-word-001-expected.checksum: Removed.
        * platform/mac/editing/deleting/delete-by-word-001-expected.png: Removed.
        * platform/mac/editing/deleting/delete-by-word-001-expected.txt: Removed.
        * platform/mac/editing/deleting/delete-by-word-002-expected.checksum: Removed.
        * platform/mac/editing/deleting/delete-by-word-002-expected.png: Removed.
        * platform/mac/editing/deleting/delete-by-word-002-expected.txt: Removed.
        * platform/qt/editing/deleting/delete-by-word-001-expected.checksum: Removed.
        * platform/qt/editing/deleting/delete-by-word-001-expected.png: Removed.
        * platform/qt/editing/deleting/delete-by-word-001-expected.txt: Removed.
        * platform/qt/editing/deleting/delete-by-word-002-expected.checksum: Removed.
        * platform/qt/editing/deleting/delete-by-word-002-expected.png: Removed.
        * platform/qt/editing/deleting/delete-by-word-002-expected.txt: Removed.

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

9 years ago2010-11-23 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Tue, 23 Nov 2010 23:39:29 +0000 (23:39 +0000)]
2010-11-23  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Tony Chang.

        remove timeout argument to urlopen
        https://bugs.webkit.org/show_bug.cgi?id=49995

        Apparently the version of python we have on the bots doesn't accept a timeout argument.

        * Scripts/webkitpy/layout_tests/layout_package/test_results_uploader.py:

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

9 years ago2010-11-23 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Tue, 23 Nov 2010 23:36:38 +0000 (23:36 +0000)]
2010-11-23  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r72628.
        http://trac.webkit.org/changeset/72628
        https://bugs.webkit.org/show_bug.cgi?id=49994

        This patch is causing layout-test failtures on GTK Linux
        64-bit Debug (Requested by ctguil on #webkit).

        * accessibility/iframe-has-document-expected.txt: Removed.
        * accessibility/iframe-has-document.html: Removed.
        * platform/win/Skipped:
2010-11-23  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r72628.
        http://trac.webkit.org/changeset/72628
        https://bugs.webkit.org/show_bug.cgi?id=49994

        This patch is causing layout-test failtures on GTK Linux
        64-bit Debug (Requested by ctguil on #webkit).

        * accessibility/AccessibilityRenderObject.cpp:
        (WebCore::AccessibilityRenderObject::renderParentObject):
        (WebCore::AccessibilityRenderObject::addChildren):
        * accessibility/AccessibilityRenderObject.h:
        * accessibility/chromium/AccessibilityObjectChromium.cpp:
        (WebCore::AccessibilityObject::accessibilityIgnoreAttachment):
2010-11-23  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r72628.
        http://trac.webkit.org/changeset/72628
        https://bugs.webkit.org/show_bug.cgi?id=49994

        This patch is causing layout-test failtures on GTK Linux
        64-bit Debug (Requested by ctguil on #webkit).

        * public/WebAccessibilityObject.h:
        * src/WebAccessibilityObject.cpp:
        (WebKit::WebAccessibilityObject::parentObject):
2010-11-23  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r72628.
        http://trac.webkit.org/changeset/72628
        https://bugs.webkit.org/show_bug.cgi?id=49994

        This patch is causing layout-test failtures on GTK Linux
        64-bit Debug (Requested by ctguil on #webkit).

        * DumpRenderTree/chromium/AccessibilityUIElement.cpp:
        (AccessibilityUIElement::AccessibilityUIElement):
        (AccessibilityUIElement::parentElementCallback):
        * DumpRenderTree/chromium/AccessibilityUIElement.h:
        * DumpRenderTree/chromium/CppBoundClass.cpp:
        * DumpRenderTree/chromium/CppBoundClass.h:

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

9 years agoWebCore:
xan@webkit.org [Tue, 23 Nov 2010 23:15:06 +0000 (23:15 +0000)]
WebCore:

2010-11-23  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Fix IFrame DOM bindings API
        https://bugs.webkit.org/show_bug.cgi?id=49980

        Fix IFrame API naming. It needs special casing because of the two
        consecutive capital letters.

        * bindings/scripts/CodeGeneratorGObject.pm:

WebKit/gtk:

2010-11-23  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Fix IFrame DOM bindings API
        https://bugs.webkit.org/show_bug.cgi?id=49980

        * tests/testdomdocument.c:
        (test_dom_document_garbage_collection): change to use the fixed
        IFrame APIs.

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

9 years ago2010-11-22 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Tue, 23 Nov 2010 22:59:58 +0000 (22:59 +0000)]
2010-11-22  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Tony Chang.

        speculative fix for upload errors: stop using mechanize to upload to test-results.appspot.com
        https://bugs.webkit.org/show_bug.cgi?id=49944

        * Scripts/webkitpy/layout_tests/layout_package/test_results_uploader.py:

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

9 years agoUnreviewed, fixing chromium gpu_test expectations.
jparent@chromium.org [Tue, 23 Nov 2010 22:55:54 +0000 (22:55 +0000)]
Unreviewed, fixing chromium gpu_test expectations.

Remove entries for tests that no longer exist, removed in r71822.
Remove duplicates introduced in r72613.

* platform/chromium-gpu/test_expectations.txt:

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

9 years ago2010-11-23 Shimeng (Simon) Wang <swang@google.com>
commit-queue@webkit.org [Tue, 23 Nov 2010 22:54:45 +0000 (22:54 +0000)]
2010-11-23  Shimeng (Simon) Wang  <swang@google.com>

        Reviewed by Steve Block.

        Use platform bridge to set scroll position.
        https://bugs.webkit.org/show_bug.cgi?id=49550

        Refactoring only.  Existing tests shall suffice.

        * platform/android/PlatformBridge.h:
        * platform/android/ScrollViewAndroid.cpp:
        (WebCore::ScrollView::platformSetScrollPosition):

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

9 years ago2010-11-23 Andreas Kling <kling@webkit.org>
commit-queue@webkit.org [Tue, 23 Nov 2010 22:51:43 +0000 (22:51 +0000)]
2010-11-23  Andreas Kling  <kling@webkit.org>

        Reviewed by Tor Arne Vestbø.

        [Qt] Selecting shadowed text causes rendering artifacts
        https://bugs.webkit.org/show_bug.cgi?id=49990

        When selecting text starting from the end of a word, we need to use
        the X coordinate of the start of the substring when calculating the
        bounding rect for a ContextShadow.

        * platform/graphics/qt/FontQt.cpp:
        (WebCore::drawTextCommon):

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

9 years ago2010-11-23 Chris Rogers <crogers@google.com>
crogers@google.com [Tue, 23 Nov 2010 22:43:30 +0000 (22:43 +0000)]
2010-11-23  Chris Rogers  <crogers@google.com>

        Unreviewed.

        Disable new XMLHttpRequest layout tests for Qt and gtk since they require ArrayBuffer support
        https://bugs.webkit.org/show_bug.cgi?id=49992

        * platform/gtk/Skipped:
        * platform/qt/Skipped:

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

9 years ago2010-11-23 Chris Guillory <chris.guillory@google.com>
commit-queue@webkit.org [Tue, 23 Nov 2010 22:33:49 +0000 (22:33 +0000)]
2010-11-23  Chris Guillory  <chris.guillory@google.com>

        Reviewed by Dimitri Glazkov.

        Include the FrameView widget of a RenderWidget in the accessibility tree.
        https://bugs.webkit.org/show_bug.cgi?id=49106

        * accessibility/iframe-has-document-expected.txt: Added.
        * accessibility/iframe-has-document.html: Added.
        * platform/win/Skipped:
2010-11-23  Chris Guillory  <chris.guillory@google.com>

        Reviewed by Dimitri Glazkov.

        Include the FrameView widget of a RenderWidget in the accessibility tree.
        https://bugs.webkit.org/show_bug.cgi?id=49106

        Include render widget children in the accessibility tree for not mac webkit ports.

        Test: accessibility/iframe-has-document.html

        * accessibility/AccessibilityRenderObject.cpp:
        (WebCore::AccessibilityRenderObject::renderParentObject):
        (WebCore::AccessibilityRenderObject::addChildren):
        (WebCore::AccessibilityRenderObject::addRenderWidgetChildren):
        * accessibility/AccessibilityRenderObject.h:
        * accessibility/chromium/AccessibilityObjectChromium.cpp:
        (WebCore::AccessibilityObject::accessibilityIgnoreAttachment):
2010-11-23  Chris Guillory  <chris.guillory@google.com>

        Reviewed by Dimitri Glazkov.

        Include the FrameView widget of a RenderWidget in the accessibility tree.
        https://bugs.webkit.org/show_bug.cgi?id=49106

        * public/WebAccessibilityObject.h:
        * src/WebAccessibilityObject.cpp:
        (WebKit::WebAccessibilityObject::equals):
        (WebKit::WebAccessibilityObject::parentObject):
2010-11-23  Chris Guillory  <chris.guillory@google.com>

        Reviewed by Dimitri Glazkov.

        Include the FrameView widget of a RenderWidget in the accessibility tree.
        https://bugs.webkit.org/show_bug.cgi?id=49106

        * DumpRenderTree/chromium/AccessibilityUIElement.cpp:
        (AccessibilityUIElement::AccessibilityUIElement):
        (AccessibilityUIElement::parentElementCallback):
        (AccessibilityUIElement::isEqualCallback):
        * DumpRenderTree/chromium/AccessibilityUIElement.h:
        * DumpRenderTree/chromium/CppBoundClass.cpp:
        (CppBoundClass::getFromCppVariant):
        * DumpRenderTree/chromium/CppBoundClass.h:

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

9 years ago2010-11-23 Tony Chang <tony@chromium.org>
tony@chromium.org [Tue, 23 Nov 2010 22:00:07 +0000 (22:00 +0000)]
2010-11-23  Tony Chang  <tony@chromium.org>

        Reviewed by Ojan Vafai.

        [chromium] update plugin expectations
        https://bugs.webkit.org/show_bug.cgi?id=49988

        * platform/chromium/drt_expectations.txt: These tests are passing on the bot
        * platform/chromium/test_expectations.txt: Group and sort alphabetically

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

9 years ago2010-11-23 Chris Rogers <crogers@google.com>
crogers@google.com [Tue, 23 Nov 2010 21:51:00 +0000 (21:51 +0000)]
2010-11-23  Chris Rogers  <crogers@google.com>

        Reviewed by Alexey Proskuryakov.

        Add .responseType and .response to XMLHttpRequest
        https://bugs.webkit.org/show_bug.cgi?id=49633

        Tests: fast/xmlhttprequest/xmlhttprequest-responsetype-abort.html
               fast/xmlhttprequest/xmlhttprequest-responsetype-arraybuffer.html
               fast/xmlhttprequest/xmlhttprequest-responsetype-document.html
               fast/xmlhttprequest/xmlhttprequest-responsetype-text.html

        * bindings/js/JSXMLHttpRequestCustom.cpp:
        (WebCore::JSXMLHttpRequest::markChildren):
        (WebCore::JSXMLHttpRequest::open):
        (WebCore::JSXMLHttpRequest::response):
        * bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
        (WebCore::V8XMLHttpRequest::responseAccessorGetter):
        * xml/XMLHttpRequest.cpp:
        (WebCore::XMLHttpRequest::XMLHttpRequest):
        (WebCore::XMLHttpRequest::responseText):
        (WebCore::XMLHttpRequest::responseXML):
        (WebCore::XMLHttpRequest::responseBlob):
        (WebCore::XMLHttpRequest::responseArrayBuffer):
        (WebCore::XMLHttpRequest::setResponseType):
        (WebCore::XMLHttpRequest::responseType):
        (WebCore::XMLHttpRequest::setAsBlob):
        (WebCore::XMLHttpRequest::open):
        (WebCore::XMLHttpRequest::clearResponse):
        (WebCore::XMLHttpRequest::didFinishLoading):
        (WebCore::XMLHttpRequest::didReceiveData):
        * xml/XMLHttpRequest.h:
        (WebCore::XMLHttpRequest::asBlob):
        (WebCore::XMLHttpRequest::optionalResponseXML):
        (WebCore::XMLHttpRequest::optionalResponseBlob):
        (WebCore::XMLHttpRequest::responseTypeCode):
        (WebCore::XMLHttpRequest::optionalResponseArrayBuffer):
        * xml/XMLHttpRequest.idl:
2010-11-23  Chris Rogers  <crogers@google.com>

        Reviewed by Alexey Proskuryakov.

        Add .responseType and .response to XMLHttpRequest
        https://bugs.webkit.org/show_bug.cgi?id=49633

        * fast/xmlhttprequest/xmlhttprequest-responsetype-abort-expected.txt: Added.
        * fast/xmlhttprequest/xmlhttprequest-responsetype-abort.html: Added.
        * fast/xmlhttprequest/xmlhttprequest-responsetype-arraybuffer-expected.txt: Added.
        * fast/xmlhttprequest/xmlhttprequest-responsetype-arraybuffer.html: Added.
        * fast/xmlhttprequest/xmlhttprequest-responsetype-document-expected.txt: Added.
        * fast/xmlhttprequest/xmlhttprequest-responsetype-document.html: Added.
        * fast/xmlhttprequest/xmlhttprequest-responsetype-text-expected.txt: Added.
        * fast/xmlhttprequest/xmlhttprequest-responsetype-text.html: Added.
        * http/tests/resources/balls-of-the-orient.aif: Added.

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

9 years ago2010-11-23 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Tue, 23 Nov 2010 21:34:29 +0000 (21:34 +0000)]
2010-11-23  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Adam Barth.

        dispatchEvent call in EventSource endRequest can lead to calling endRequest
        again which frees up the pending activity. Make sure we have request in flight
        to prevent that from happening.
        https://bugs.webkit.org/show_bug.cgi?id=49448

        Test: http/tests/eventsource/eventsource-status-error-iframe-crash.html

        * page/EventSource.cpp:
        (WebCore::EventSource::endRequest):
        (WebCore::EventSource::close):
2010-11-23  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Adam Barth.

        Tests that we do not crash on EventSource status errors inside an iframe.
        https://bugs.webkit.org/show_bug.cgi?id=49448

        * http/tests/eventsource/eventsource-status-error-iframe-crash-expected.txt: Added.
        * http/tests/eventsource/eventsource-status-error-iframe-crash.html: Added.
        * http/tests/eventsource/resources/request-status-error.htm: Added.

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

9 years ago2010-11-23 John Knottenbelt <jknotten@chromium.org>
commit-queue@webkit.org [Tue, 23 Nov 2010 21:30:41 +0000 (21:30 +0000)]
2010-11-23  John Knottenbelt  <jknotten@chromium.org>

        Reviewed by Darin Fisher.

        [Chromium] Introduce wrapper types for WebCore::GeolocationError, WebCore::GeolocationPosition.
        https://bugs.webkit.org/show_bug.cgi?id=49735

        Introduce WebKit API types so that the browser implementation can feed
        position and error updates to the WebCore::GeolocationController.

        * WebKit.gyp:
        * public/WebGeolocationError.h: Added.
        (WebKit::WebGeolocationError::WebGeolocationError):
        (WebKit::WebGeolocationError::~WebGeolocationError):
        * public/WebGeolocationPosition.h: Added.
        (WebKit::WebGeolocationPosition::WebGeolocationPosition):
        (WebKit::WebGeolocationPosition::~WebGeolocationPosition):
        * src/WebGeolocationError.cpp: Added.
        (WebKit::WebGeolocationError::assign):
        (WebKit::WebGeolocationError::reset):
        (WebKit::WebGeolocationError::WebGeolocationError):
        (WebKit::WebGeolocationError::operator=):
        (WebKit::WebGeolocationError::operator WTF::PassRefPtr<WebCore::GeolocationError>):
        * src/WebGeolocationPosition.cpp: Added.
        (WebKit::WebGeolocationPosition::assign):
        (WebKit::WebGeolocationPosition::reset):
        (WebKit::WebGeolocationPosition::operator=):
        (WebKit::WebGeolocationPosition::operator PassRefPtr<WebCore::GeolocationPosition>):

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

9 years ago2010-11-23 Jonathan Backer <backer@chromium.org>
commit-queue@webkit.org [Tue, 23 Nov 2010 21:07:11 +0000 (21:07 +0000)]
2010-11-23  Jonathan Backer  <backer@chromium.org>

        Reviewed by Kenneth Russell.

        Renderer is resizing IOSurfaces when accelerated compositing is disabled.
        https://bugs.webkit.org/show_bug.cgi?id=49827

        - IOSurfaces are only presented when accelerated compositing is enabled.
        - Slight performance increase (and clean-up for using this path for Linux and Windows).

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

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

9 years ago2010-11-23 Sheriff Bot <webkit.review.bot@gmail.com>
jparent@chromium.org [Tue, 23 Nov 2010 20:50:02 +0000 (20:50 +0000)]
2010-11-23  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r72618.
        http://trac.webkit.org/changeset/72618
        https://bugs.webkit.org/show_bug.cgi?id=49987

        "Newly added test is failing on Chromium-linux, patch author
        said to rollout" (Requested by jparent on #webkit).

        * editing/EditingBehavior.h:
        * page/EventHandler.cpp:
        (WebCore::EventHandler::sendContextMenuEvent):
2010-11-23  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r72618.
        http://trac.webkit.org/changeset/72618
        https://bugs.webkit.org/show_bug.cgi?id=49987

        "Newly added test is failing on Chromium-linux, patch author
        said to rollout" (Requested by jparent on #webkit).

        * editing/selection/context-menu-text-selection-expected.txt: Removed.
        * editing/selection/context-menu-text-selection.html: Removed.

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

9 years ago2010-11-23 Carlos Garcia Campos <cgarcia@igalia.com>
mrobinson@webkit.org [Tue, 23 Nov 2010 20:40:34 +0000 (20:40 +0000)]
2010-11-23  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        focus issue with links that have tooltips
        https://bugs.webkit.org/show_bug.cgi?id=49498

        Set the area of the widget where the tooltip should be shown when
        a new tooltip is set. Since the widget is the same (the view), if
        the tooltip area is not set and a new tooltip is triggered while
        the previous one is still visible, the text of the tooltip is
        updated but its position doesn't change.

        * WebCoreSupport/ChromeClientGtk.cpp:
        (WebKit::ChromeClient::mouseDidMoveOverElement):
        * webkit/webkitprivate.h:
        * webkit/webkitwebview.cpp:
        (webkit_web_view_query_tooltip):

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

9 years ago2010-11-23 Grace Kloba <klobag@chromium.org>
commit-queue@webkit.org [Tue, 23 Nov 2010 20:33:07 +0000 (20:33 +0000)]
2010-11-23  Grace Kloba  <klobag@chromium.org>

        Reviewed by Kenneth Russell.

        [chromium] Accumulated scroll damage rect should be in the content space
        https://bugs.webkit.org/show_bug.cgi?id=49842

        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::scrollRootLayerRect): Adjust the previous scroll damage with the scroll delta before union it with the new damage rect.

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

9 years agoUnreviewed, fixing chromium baselines.
jparent@chromium.org [Tue, 23 Nov 2010 20:14:37 +0000 (20:14 +0000)]
Unreviewed, fixing chromium baselines.
Adding back baselines that were removed in r72542 due to r72527, because
r72527 was rolled ou in r72582.

* platform/chromium-mac/fast/lists/001-vertical-expected.checksum:
* platform/chromium-mac/fast/lists/001-vertical-expected.png:

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

9 years ago2010-11-23 Avi Drissman <avi@google.com>
commit-queue@webkit.org [Tue, 23 Nov 2010 19:33:57 +0000 (19:33 +0000)]
2010-11-23  Avi Drissman  <avi@google.com>

        Reviewed by Antonio Gomes.

        Add preference to not select when right-clicked
        https://bugs.webkit.org/show_bug.cgi?id=23351

        * editing/selection/context-menu-text-selection-expected.txt: Added.
        * editing/selection/context-menu-text-selection.html: Added.
2010-11-23  Avi Drissman  <avi@google.com>

        Reviewed by Antonio Gomes.

        Add preference to not select when right-clicked
        https://bugs.webkit.org/show_bug.cgi?id=23351

        Test: editing/selection/context-menu-text-selection.html

        * editing/EditingBehavior.h:
        (WebCore::EditingBehavior::shouldSelectOnContextualMenuClick):
        * page/EventHandler.cpp:
        (WebCore::EventHandler::sendContextMenuEvent):

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

9 years ago2010-11-23 Alex Grilo <abgrilo@profusion.mobi>
commit-queue@webkit.org [Tue, 23 Nov 2010 19:02:28 +0000 (19:02 +0000)]
2010-11-23  Alex Grilo  <abgrilo@profusion.mobi>

        Reviewed by Kenneth Rohde Christiansen.

        [EFL] Add tiled backing store to EWebLauncher
        https://bugs.webkit.org/show_bug.cgi?id=45777

        Allow EWebLauncher to choose between single and tiled backing store

        * EWebLauncher/main.c:
        (on_key_down):
        (browserCreate):
        (main):

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

9 years ago2010-11-18 Darin Fisher <darin@chromium.org>
darin@chromium.org [Tue, 23 Nov 2010 18:35:28 +0000 (18:35 +0000)]
2010-11-18  Darin Fisher  <darin@chromium.org>

        Reviewed by Dimitri Glazkov.

        Add a mechanism for creating a WebURLLoader that is associated with a
        particular WebFrame.
        https://bugs.webkit.org/show_bug.cgi?id=49764

        This will be used by code that calls webKitClient()->createURLLoader()
        from within the Chromium source tree.

        An associated WebURLLoader should be treated like a subresource of the
        WebFrame's document.

        * WebKit.gyp:
        * public/WebFrame.h:
        * src/AssociatedURLLoader.cpp: Added.
        (WebKit::AssociatedURLLoader::AssociatedURLLoader):
        (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
        (WebKit::AssociatedURLLoader::loadSynchronously):
        (WebKit::AssociatedURLLoader::loadAsynchronously):
        (WebKit::AssociatedURLLoader::cancel):
        (WebKit::AssociatedURLLoader::setDefersLoading):
        (WebKit::AssociatedURLLoader::PrepareRequest):
        * src/AssociatedURLLoader.h: Added.
        * src/WebFrameImpl.cpp:
        (WebKit::WebFrameImpl::createAssociatedURLLoader):
        * src/WebFrameImpl.h:

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

9 years ago2010-11-23 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Tue, 23 Nov 2010 18:31:05 +0000 (18:31 +0000)]
2010-11-23  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: [STYLES] invalid color values are not marked as such.
        https://bugs.webkit.org/show_bug.cgi?id=49960

        Properties having a valid structure but invalid values will also
        be marked as non-parsedOk in the Styles pane.

        WebCore:
        * css/CSSGrammar.y:
        * inspector/InspectorStyleSheet.cpp:
        (WebCore::InspectorStyle::populateObjectWithStyleProperties):

        LayoutTests:
        * inspector/resources/styles-new-API.css:
        (body):
        * inspector/styles-new-API-expected.txt:
        * inspector/styles-source-offsets-expected.txt:

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