WebKit-https.git
8 years ago2011-06-14 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Wed, 15 Jun 2011 03:44:36 +0000 (03:44 +0000)]
2011-06-14  Ryosuke Niwa  <rniwa@webkit.org>

        Skip editing/inserting/return-key-span-start.html added by r88890 on Mac WebKit2
        since TestRunner doesn't implement eventSender.keyDown.

        * platform/mac-wk2/Skipped:

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

8 years ago2011-06-14 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Wed, 15 Jun 2011 03:41:24 +0000 (03:41 +0000)]
2011-06-14  Kent Tamura  <tkent@chromium.org>

        Reviewed by Hajime Morita.

        REGRESSION(r88757): [Chromium] Vertical position of media slider thumb is wrong.
        https://bugs.webkit.org/show_bug.cgi?id=62685

        No new tests. Covered by existing tests.

        * rendering/RenderSlider.cpp:
        (WebCore::RenderSlider::layout): Center the thumb position.
        * rendering/RenderSlider.h:

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

8 years ago2011-06-14 Gyuyoung Kim <gyuyoung.kim@samsung.com>
gyuyoung.kim@samsung.com [Wed, 15 Jun 2011 02:41:58 +0000 (02:41 +0000)]
2011-06-14  Gyuyoung Kim  <gyuyoung.kim@samsung.com>

        Reviewed by Kent Tamura.

        [EFL] Change color initialization with clear color constant
        https://bugs.webkit.org/show_bug.cgi?id=62691

        Some color values are initialized by rbg value. Color constant value is more clear than
        rgb value.

        * platform/efl/RenderThemeEfl.cpp:
        (WebCore::RenderThemeEfl::RenderThemeEfl):

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

8 years ago2011-06-14 Julien Chaffraix <jchaffraix@webkit.org>
jchaffraix@webkit.org [Wed, 15 Jun 2011 02:40:25 +0000 (02:40 +0000)]
2011-06-14  Julien Chaffraix  <jchaffraix@webkit.org>

        Reviewed by James Robinson.

        Fix LayoutTests/canvas/philip/tests/2d.composite.uncovered.fill.destination-in.html
        https://bugs.webkit.org/show_bug.cgi?id=48293

        And

        Fix LayoutTests/canvas/philip/tests/2d.composite.uncovered.pattern.destination-in.html
        https://bugs.webkit.org/show_bug.cgi?id=48303

        * canvas/philip/tests/2d.composite.uncovered.pattern.destination-in-expected.txt:
        Added a trailing line.

        * fast/canvas/canvas-composite-alpha.html:
        Updated now that we clear what is outside the source.

        * platform/chromium/test_expectations.txt:
        * platform/gtk/Skipped:
        * platform/mac/Skipped:
        * platform/qt/Skipped:
        Update platform skipped lists.
2011-06-14  Julien Chaffraix  <jchaffraix@webkit.org>

        Reviewed by James Robinson.

        Fix LayoutTests/canvas/philip/tests/2d.composite.uncovered.fill.destination-in.html
        https://bugs.webkit.org/show_bug.cgi?id=48293

        And

        Fix LayoutTests/canvas/philip/tests/2d.composite.uncovered.pattern.destination-in.html
        https://bugs.webkit.org/show_bug.cgi?id=48303

        * html/canvas/CanvasRenderingContext2D.cpp:
        (WebCore::CanvasRenderingContext2D::shouldDisplayTransparencyElsewhere): Added CompositeDestinationIn
        as this is the only one that needs a specific treatment.

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

8 years ago2011-06-14 Naoki Takano <takano.naoki@gmail.com>
takano.naoki@gmail.com [Wed, 15 Jun 2011 02:10:33 +0000 (02:10 +0000)]
2011-06-14  Naoki Takano  <takano.naoki@gmail.com>

        Reviewed by Kent Tamura.

        [Chromium] Forward modifiers + up/down key events to text field when autofill popup window is shown.
        https://bugs.webkit.org/show_bug.cgi?id=62350
        http://code.google.com/p/chromium/issues/detail?id=61349

        Manual test: autofill-popup-shiftupdown.html

        * manual-tests/chromium/autofill-popup-shiftupdown.hml: Added to check modifier + up/down key is working correctly for text area in autofill popup is shown.
        * platform/chromium/PopupMenuChromium.cpp:
        (WebCore::PopupListBox::handleKeyEvent): Check modifier key and menu style to decide if the event should be forwarded or not.

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

8 years ago2011-06-14 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Wed, 15 Jun 2011 02:03:27 +0000 (02:03 +0000)]
2011-06-14  Ryosuke Niwa  <rniwa@webkit.org>

        GTK rebaseline for r88883.

        * platform/gtk/fast/forms/basic-textareas-expected.txt:
        * platform/gtk/fast/forms/basic-textareas-quirks-expected.txt:

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

8 years agohttps://bugs.webkit.org/show_bug.cgi?id=43841
barraclough@apple.com [Wed, 15 Jun 2011 01:56:43 +0000 (01:56 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=43841
SegmentedVector::operator== typo

Reviewed by Sam Weinig.

* wtf/SegmentedVector.h:
(WTF::SegmentedVectorIterator::operator==):
(WTF::SegmentedVectorIterator::operator!=):

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

8 years ago2011-06-14 Annie Sullivan <sullivan@chromium.org>
commit-queue@webkit.org [Wed, 15 Jun 2011 01:51:54 +0000 (01:51 +0000)]
2011-06-14  Annie Sullivan  <sullivan@chromium.org>

        Reviewed by Ryosuke Niwa.

        Span ID duplicated when pressing enter at beginning of span
        https://bugs.webkit.org/show_bug.cgi?id=62621

        Added test for span id not getting duplicated when span is cloned.

        * editing/inserting/return-key-span-start-expected.txt: Added.
        * editing/inserting/return-key-span-start.html: Added.
2011-06-14  Annie Sullivan  <sullivan@chromium.org>

        Reviewed by Ryosuke Niwa.

        Span ID duplicated when pressing enter at beginning of span
        https://bugs.webkit.org/show_bug.cgi?id=62621

        Strip id from cloned span, so that it is not duplicated.

        Test: editing/inserting/return-key-span-start.html

        * editing/InsertParagraphSeparatorCommand.cpp:
        (WebCore::InsertParagraphSeparatorCommand::cloneHierarchyUnderNewBlock):

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

8 years ago2011-06-14 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Wed, 15 Jun 2011 01:33:56 +0000 (01:33 +0000)]
2011-06-14  Ryosuke Niwa  <rniwa@webkit.org>

        Mac, Windows, and Chromium rebaseline for r88883.

        * platform/chromium-linux/fast/forms/basic-textareas-expected.png:
        * platform/chromium-win/fast/forms/basic-textareas-expected.png:
        * platform/chromium-win/fast/forms/basic-textareas-expected.txt:
        * platform/chromium-win/fast/forms/basic-textareas-quirks-expected.txt:
        * platform/mac/fast/forms/basic-textareas-expected.png:
        * platform/win/fast/forms/basic-textareas-expected.txt:
        * platform/win/fast/forms/basic-textareas-quirks-expected.txt:

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

8 years ago2011-06-14 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Wed, 15 Jun 2011 01:13:16 +0000 (01:13 +0000)]
2011-06-14  Kent Tamura  <tkent@chromium.org>

        [Chromium][Qt] Assign new bug numbers for slider failures, and skip a test on Qt.

        * platform/chromium/test_expectations.txt:
        * platform/qt/Skipped:

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

8 years agoUnreviewed. Fixing skip list.
cfleizach@apple.com [Wed, 15 Jun 2011 01:11:10 +0000 (01:11 +0000)]
Unreviewed. Fixing skip list.

VoiceOver cannot navigate the itunes album view table
https://bugs.webkit.org/show_bug.cgi?id=62335

* platform/mac-leopard/Skipped:

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

8 years ago2011-06-14 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Wed, 15 Jun 2011 00:48:59 +0000 (00:48 +0000)]
2011-06-14  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Use new byte array encoding/decoding functions for WTF argument coders
        https://bugs.webkit.org/show_bug.cgi?id=62682

        * Platform/CoreIPC/ArgumentCoders.cpp:
        (CoreIPC::::encode):
        (CoreIPC::::decode):
        Use the new functions for the string argument coders.

        * Platform/CoreIPC/ArgumentCoders.h:
        (CoreIPC::SimpleArgumentCoder::encode):
        (CoreIPC::SimpleArgumentCoder::decode):
        Use the new functions to avoid encoding/decoding the size when it's known at decode time.

        * Platform/CoreIPC/ArgumentDecoder.cpp:
        (CoreIPC::roundUpToAlignment):
        Assert that the alignment is a power of 2.

        (CoreIPC::decodeFixedLengthData):
        Alignment comes before the size.

        * UIProcess/cf/WebBackForwardListCF.cpp:
        (WebKit::WebBackForwardList::createCFDictionaryRepresentation):
        Add a FIXME about now using the internal CoreIPC encoding format here.

        * UIProcess/cf/WebPageProxyCF.cpp:
        Bump the current session state data version number.

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

8 years ago2011-06-13 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Wed, 15 Jun 2011 00:19:39 +0000 (00:19 +0000)]
2011-06-13  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by David Hyatt.

        Trailing tabs in a textarea become unselectable under certain conditions
        https://bugs.webkit.org/show_bug.cgi?id=54598

        The bug was caused by WebKit's erroneously collapsing leading whitespace when white-space is
        set to pre-wrap. Per CSS 2.1 spec section 16.1.1, leading whitespace should not be removed
        in this case.

        See also: http://www.w3.org/TR/CSS2/text.html#white-space-model

        Fixed the bug by adding an extra argument to shouldCollapseWhiteSpace, indicating whether
        whitespace is leading or trailing. It defaults to leading because 16.1.1 does not allow allow
        collapsing of whitespace anywhere but at the end of each line.

        Test: fast/text/pre-wrap-trailing-tab.html

        * rendering/RenderBlockLineLayout.cpp:
        (WebCore::shouldCollapseWhiteSpace): Added WhitespacePosition as an argument. Returns false
        when whitespacePosition is not TrailingWhitespace even if white-space is pre-wrap.
        (WebCore::requiresLineBox): Takes WhitespacePosition as an argument and passes it to
        shouldCollapseWhiteSpace.
        (WebCore::RenderBlock::generatesLineBoxesForInlineChild): Calls requiresLineBox.
        (WebCore::RenderBlock::LineBreaker::skipTrailingWhitespace): Ditto.
        (WebCore::RenderBlock::LineBreaker::skipLeadingWhitespace): Ditto.
2011-06-13  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by David Hyatt.

        Trailing tabs in a textarea become unselectable under certain conditions
        https://bugs.webkit.org/show_bug.cgi?id=54598

        Added a test to ensure Webkit renders leading whitespace when white-space is set to pre-wrap
        and word-wrap is set to break-word.

        Also rebaselined few tests because WebKit now renders leading whitespace in those tests.

        * fast/text/pre-wrap-trailing-tab-expected.txt: Added.
        * fast/text/pre-wrap-trailing-tab.html: Added.
        * http/tests/misc/acid3-expected.txt:
        * platform/mac/fast/forms/basic-textareas-expected.txt:
        * platform/mac/fast/forms/basic-textareas-quirks-expected.txt

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

8 years ago2011-06-14 No'am Rosenthal <noam.rosenthal@nokia.com>
noam.rosenthal@nokia.com [Wed, 15 Jun 2011 00:12:26 +0000 (00:12 +0000)]
2011-06-14  No'am Rosenthal  <noam.rosenthal@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Implement accelerated compositing on WK2 Qt port
        https://bugs.webkit.org/show_bug.cgi?id=56935

        Expose viewportVisibleRect(), so that we can detect which parts of a texture actually
        need to be uploaded.

        Together with Viatcheslav Ostapenko.

        * UIProcess/API/qt/qwkpage.cpp:
        (QWKPagePrivate::viewportVisibleRect):
        * UIProcess/API/qt/qwkpage_p.h:
        * UIProcess/PageClient.h:
        * UIProcess/WebPageProxy.h:
        * UIProcess/qt/WebPageProxyQt.cpp:
        (WebKit::WebPageProxy::viewportVisibleRect):

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

8 years ago2011-06-14 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Wed, 15 Jun 2011 00:12:11 +0000 (00:12 +0000)]
2011-06-14  Ryosuke Niwa  <rniwa@webkit.org>

        Qt rebaseline after r88757.

        * platform/qt/fast/forms/range-thumb-height-percentage-expected.txt:
        * platform/qt/fast/forms/thumbslider-no-parent-slider-expected.txt:
        * platform/qt/fast/multicol/client-rects-expected.txt:

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

8 years agohttps://bugs.webkit.org/show_bug.cgi?id=62678
bdakin@apple.com [Wed, 15 Jun 2011 00:09:01 +0000 (00:09 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=62678
When the window is small enough, the scrollbars are misplaced with painting
artifacts, after changing the scrollbar appearance
-and corresponding-
<rdar://problem/9414015>

Reviewed by Dan Bernstein.

Get rid of the FrameView implementation of scrollbarStyleChanged(). Its approach
is just not good.
* page/FrameView.cpp:
* page/FrameView.h:

Implement scrollbarStyleChanged() on ScrollView instead. And just call
updatedScrollbars().
* platform/ScrollView.cpp:
(WebCore::ScrollView::scrollbarStyleChanged):
* platform/ScrollView.h:

Invalidate the old scrollbar before changing it to the new scrollbar. This way
when the scrollbar gets smaller, the older, larger pieces still repaint properly.
* platform/mac/ScrollAnimatorMac.mm:
(WebCore::ScrollAnimatorMac::updateScrollerStyle):

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

8 years ago2011-06-14 Oliver Hunt <oliver@apple.com>
oliver@apple.com [Tue, 14 Jun 2011 23:39:25 +0000 (23:39 +0000)]
2011-06-14  Oliver Hunt  <oliver@apple.com>

        Reviewed by Gavin Barraclough.

        Constant array literals result in unnecessarily large amounts of code
        https://bugs.webkit.org/show_bug.cgi?id=62658

        Add a new version of op_new_array that simply copies values from a buffer
        we hang off of the CodeBlock, rather than generating code to place each
        entry into the registerfile, and then copying it from the registerfile into
        the array.  This is a slight improvement on some sunspider tests, but no
        measurable overall change.  That's okay though as our goal was to reduce
        code size without hurting performance.

        * bytecode/CodeBlock.cpp:
        (JSC::CodeBlock::dump):
        * bytecode/CodeBlock.h:
        (JSC::CodeBlock::addImmediateBuffer):
        (JSC::CodeBlock::immediateBuffer):
        * bytecode/Opcode.h:
        * bytecompiler/BytecodeGenerator.cpp:
        (JSC::BytecodeGenerator::addImmediateBuffer):
        (JSC::BytecodeGenerator::emitNewArray):
        * bytecompiler/BytecodeGenerator.h:
        * bytecompiler/NodesCodegen.cpp:
        (JSC::ArrayNode::emitBytecode):
        * interpreter/Interpreter.cpp:
        (JSC::Interpreter::privateExecute):
        * jit/JIT.cpp:
        (JSC::JIT::privateCompileMainPass):
        * jit/JIT.h:
        * jit/JITOpcodes.cpp:
        (JSC::JIT::emit_op_new_array):
        (JSC::JIT::emit_op_new_array_buffer):
        * jit/JITOpcodes32_64.cpp:
        * jit/JITStubs.cpp:
        (JSC::DEFINE_STUB_FUNCTION):
        * jit/JITStubs.h:

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

8 years ago2011-06-14 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Tue, 14 Jun 2011 23:35:43 +0000 (23:35 +0000)]
2011-06-14  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Remove G_CONST_RETURN usage
        https://bugs.webkit.org/show_bug.cgi?id=62673

        Change G_CONST_RETURN for a simple "const" throughout the
        codebase, since G_CONST_RETURN is deprecated now. This should be
        totally equivalent since for all practical purposes the macro is
        always expanded to const.

        * webkit/webkitapplicationcache.cpp:
        (webkit_application_cache_get_database_directory_path): use const
        instead of G_CONST_RETURN.
        * webkit/webkitapplicationcache.h:
        * webkit/webkiticondatabase.cpp:
        (webkit_icon_database_get_path): ditto.
        * webkit/webkiticondatabase.h:
        * webkit/webkitnetworkrequest.cpp:
        (webkit_network_request_get_uri): ditto.
        * webkit/webkitnetworkrequest.h:
        * webkit/webkitnetworkresponse.cpp:
        (webkit_network_response_get_uri): ditto.
        * webkit/webkitnetworkresponse.h:
        * webkit/webkitsecurityorigin.cpp:
        (webkit_security_origin_get_protocol): ditto.
        (webkit_security_origin_get_host): ditto.
        * webkit/webkitsecurityorigin.h:
        * webkit/webkitwebdatabase.cpp:
        (webkit_web_database_get_name): ditto.
        (webkit_web_database_get_display_name): ditto.
        (webkit_web_database_get_filename): ditto.
        (webkit_get_web_database_directory_path): ditto.
        * webkit/webkitwebdatabase.h:
        * webkit/webkitwebdatasource.cpp:
        (webkit_web_data_source_get_encoding): ditto.
        (webkit_web_data_source_get_unreachable_uri): ditto.
        * webkit/webkitwebdatasource.h:
        * webkit/webkitwebframe.cpp:
        (webkit_web_frame_get_title): ditto.
        (webkit_web_frame_get_uri): ditto.
        (webkit_web_frame_get_name): ditto.
        * webkit/webkitwebframe.h:
        * webkit/webkitwebhistoryitem.cpp:
        (webkit_web_history_item_get_title): ditto.
        (webkit_web_history_item_get_alternate_title): ditto.
        (webkit_web_history_item_get_uri): ditto.
        (webkit_web_history_item_get_original_uri): ditto.
        (webkit_web_history_item_get_target): ditto.
        * webkit/webkitwebhistoryitem.h:
        * webkit/webkitwebhistoryitemprivate.h:
        * webkit/webkitwebnavigationaction.cpp:
        (webkit_web_navigation_action_get_target_frame): ditto.
        * webkit/webkitwebnavigationaction.h:
        * webkit/webkitwebresource.cpp:
        (webkit_web_resource_get_uri): ditto.
        (webkit_web_resource_get_mime_type): ditto.
        (webkit_web_resource_get_encoding): ditto.
        (webkit_web_resource_get_frame_name): ditto.
        * webkit/webkitwebresource.h:
        * webkit/webkitwebsettings.cpp:
        (webkit_web_settings_get_user_agent): ditto.
        * webkit/webkitwebsettings.h:
        * webkit/webkitwebview.cpp:
        (webkit_web_view_get_title): ditto.
        (webkit_web_view_get_uri): ditto.
        (webkit_web_view_get_icon_uri): ditto.
        * webkit/webkitwebview.h:
        * webkit/webkitwebviewcommon.h:

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

8 years ago2011-06-14 Michael Saboff <msaboff@apple.com>
msaboff@apple.com [Tue, 14 Jun 2011 23:29:51 +0000 (23:29 +0000)]
2011-06-14  Michael Saboff  <msaboff@apple.com>

        Reviewed by Joseph Pecoraro.

        Incorrect #if[n]def for building without DISPATCH_VM_PRESSURE
        https://bugs.webkit.org/show_bug.cgi?id=62649

        Take 2.
        The #ifdef DISPATCH_VM_PRESSURE doesn't work.  Combined the code
        inside this #ifdef with the prior #ifndef DISPATCH_SOURCE_TYPE_VM.

        No functional changes, fixing build issue therefore no tests.

        * platform/mac/MemoryPressureHandlerMac.mm:

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

8 years ago2011-06-14 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Tue, 14 Jun 2011 23:25:45 +0000 (23:25 +0000)]
2011-06-14  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Start using the new encode/decode functions
        https://bugs.webkit.org/show_bug.cgi?id=62676

        * Platform/CoreIPC/DataReference.cpp:
        (CoreIPC::DataReference::encode):
        Use encodeVariableLengthByteArray.

        * Shared/UserMessageCoders.h:
        (WebKit::UserMessageEncoder::baseEncode):
        Use encodeVariableLengthByteArray and the new dataReference accessors.

        (WebKit::UserMessageDecoder::baseDecode):
        Use decodeVariableLengthByteArray.

        * Shared/WebData.h:
        (WebKit::WebData::dataReference):
        Return a reference to the data.

        * Shared/WebSerializedScriptValue.h:
        (WebKit::WebSerializedScriptValue::dataReference):
        Ditto.

        * Shared/cf/ArgumentCodersCF.cpp:
        (CoreIPC::encode):
        Use encodeVariableLengthByteArray.

        * Shared/mac/SandboxExtensionMac.mm:
        (WebKit::SandboxExtension::Handle::encode):
        Use encodeVariableLengthByteArray.

        * WebProcess/WebPage/DecoderAdapter.cpp:
        (WebKit::DecoderAdapter::decodeBytes):
        Use decodeVariableLengthByteArray.

        * WebProcess/WebPage/EncoderAdapter.cpp:
        (WebKit::EncoderAdapter::dataReference):
        Rename data() to dataReference() to indicate that it returns a reference to the data.

        (WebKit::EncoderAdapter::encodeBytes):
        Use encodeVariableLengthByteArray.

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

8 years ago2011-06-14 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Tue, 14 Jun 2011 23:13:03 +0000 (23:13 +0000)]
2011-06-14  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Add encodeVariableLengthByteArray and decodeVariableLengthByteArray
        https://bugs.webkit.org/show_bug.cgi?id=62674

        Rename the ArgumentDecoder::decodeBytes overload that takes a DataReference to
        decodeVariableLengthByteArray, to match the added encodeVariableLengthByteArray.

        * Platform/CoreIPC/ArgumentDecoder.cpp:
        (CoreIPC::ArgumentDecoder::decodeVariableLengthByteArray):
        * Platform/CoreIPC/ArgumentDecoder.h:
        * Platform/CoreIPC/ArgumentEncoder.cpp:
        (CoreIPC::ArgumentEncoder::encodeFixedLengthData):
        (CoreIPC::ArgumentEncoder::encodeVariableLengthByteArray):
        * Platform/CoreIPC/ArgumentEncoder.h:
        * Platform/CoreIPC/DataReference.cpp:
        (CoreIPC::DataReference::decode):
        * Shared/mac/SandboxExtensionMac.mm:
        (WebKit::SandboxExtension::Handle::decode):

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

8 years ago2011-06-14 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Tue, 14 Jun 2011 23:05:40 +0000 (23:05 +0000)]
2011-06-14  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r88841.
        http://trac.webkit.org/changeset/88841
        https://bugs.webkit.org/show_bug.cgi?id=62672

        Caused many tests to crash (Requested by rniwa on #webkit).

        * bytecode/CodeBlock.cpp:
        (JSC::CodeBlock::dump):
        * bytecode/CodeBlock.h:
        * bytecode/Opcode.h:
        * bytecompiler/BytecodeGenerator.cpp:
        (JSC::BytecodeGenerator::emitNewArray):
        * bytecompiler/BytecodeGenerator.h:
        * bytecompiler/NodesCodegen.cpp:
        (JSC::ArrayNode::emitBytecode):
        * interpreter/Interpreter.cpp:
        (JSC::Interpreter::privateExecute):
        * jit/JIT.cpp:
        (JSC::JIT::privateCompileMainPass):
        * jit/JIT.h:
        * jit/JITOpcodes.cpp:
        (JSC::JIT::emit_op_new_array):
        * jit/JITOpcodes32_64.cpp:
        (JSC::JIT::emit_op_new_array):
        * jit/JITStubs.cpp:
        * jit/JITStubs.h:

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

8 years ago2011-06-14 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Tue, 14 Jun 2011 22:57:22 +0000 (22:57 +0000)]
2011-06-14  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Add functions for converting between DataReferences and vectors
        https://bugs.webkit.org/show_bug.cgi?id=62671

        * Platform/CoreIPC/DataReference.h:
        (CoreIPC::DataReference::DataReference):
        New implicit constructor that takes a vector.

        (CoreIPC::DataReference::vector):
        New function that returns a new vector.

        * Shared/WebBackForwardListItem.cpp:
        (WebKit::WebBackForwardListItem::encode):
        Use implicit constructor.

        * WebProcess/WebPage/WebPage.cpp:
        (WebKit::WebPage::runJavaScriptInMainFrame):
        Ditto.

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

8 years ago2011-06-14 Lucas Forschler <lforschler@apple.com>
lforschler@apple.com [Tue, 14 Jun 2011 22:23:36 +0000 (22:23 +0000)]
2011-06-14  Lucas Forschler  <lforschler@apple.com>

        Reviewed by Stephanie Lewis.

        https://bugs.webkit.org/show_bug.cgi?id=62495
        Bug 62495 - combine windows and mac kill-old-processes script
        Add a platform agnostic script.  Remove the recently added mac flavor.
        Note: Leaving the windows one alone, since it is currently used by the WebKit bots.

        * BuildSlaveSupport/kill-old-processes: Added.
        * BuildSlaveSupport/mac: Removed.
        * BuildSlaveSupport/mac/kill-old-processes: Removed.

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

8 years ago<https://bugs.webkit.org/show_bug.cgi?id=62666>
sullivan@apple.com [Tue, 14 Jun 2011 22:18:05 +0000 (22:18 +0000)]
<https://bugs.webkit.org/show_bug.cgi?id=62666>
<rdar://problem/9606676>
Callers should be robust against WebImage::create() returning an image with a null snapshot

Reviewed by Dan Bernstein.

* Shared/API/c/cg/WKImageCG.cpp:
(WKImageCreateCGImage):
Return 0 if no bitmap was created.
(WKImageCreateFromCGImage):
Ditto.

* Shared/UserMessageCoders.h:
(WebKit::UserMessageEncoder::baseEncode):
Check for null before dereferencing image->bitmap() in two places.

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::snapshotInViewCoordinates):
Return 0 if no bitmap was created.
(WebKit::WebPage::scaledSnapshotInDocumentCoordinates):
Ditto.
(WebKit::WebPage::createSnapshotOfVisibleContent):
Bail out if no bitmap was created.

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

8 years ago2011-06-14 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Tue, 14 Jun 2011 22:07:25 +0000 (22:07 +0000)]
2011-06-14  Dimitri Glazkov  <dglazkov@chromium.org>

        [Chromium] Turns out, inspector/cookie-parser.html can timeout out.

        * platform/chromium/test_expectations.txt: Added expectation of TIMEOUT.

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

8 years ago2011-06-14 Jeffrey Pfau <jpfau@apple.com>
commit-queue@webkit.org [Tue, 14 Jun 2011 21:51:29 +0000 (21:51 +0000)]
2011-06-14  Jeffrey Pfau  <jpfau@apple.com>

        Reviewed by David Hyatt.

        Null dereference in WebCore::RenderBlock::splitFlow regarding use of multicol, inline-block, and spanning elements
        https://bugs.webkit.org/show_bug.cgi?id=60028

        Added test for spanning elements within an inline-block child of a multicol element.

        * fast/multicol/span/span-as-nested-inline-block-child.html: Added.
        * platform/chromium/test_expectations.txt:
        * platform/mac/fast/multicol/span/span-as-nested-inline-block-child-expected.png: Added.
        * platform/mac/fast/multicol/span/span-as-nested-inline-block-child-expected.txt: Added.
2011-06-14  Jeffrey Pfau  <jpfau@apple.com>

        Reviewed by David Hyatt.

        Null dereference in WebCore::RenderBlock::splitFlow regarding use of multicol, inline-block, and spanning elements
        https://bugs.webkit.org/show_bug.cgi?id=60028

        Ensure that the parent block of a spanning element, if it is not itself
        a multicol element, is not inline.

        Test: fast/multicol/span/span-as-nested-inline-block-child.html

        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::columnsBlockForSpanningElement):

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

8 years ago2011-06-14 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Tue, 14 Jun 2011 21:39:32 +0000 (21:39 +0000)]
2011-06-14  Anders Carlsson  <andersca@apple.com>

        Reviewed by Darin Adler.

        Add functions for encoding/decoding data with a known size and alignment
        https://bugs.webkit.org/show_bug.cgi?id=62663

        * Platform/CoreIPC/ArgumentDecoder.cpp:
        (CoreIPC::ArgumentDecoder::decodeFixedLengthData):
        * Platform/CoreIPC/ArgumentDecoder.h:
        * Platform/CoreIPC/ArgumentEncoder.cpp:
        (CoreIPC::ArgumentEncoder::encodeFixedLengthData):
        (CoreIPC::ArgumentEncoder::encodeVariableLengthData):
        * Platform/CoreIPC/ArgumentEncoder.h:

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

8 years ago2011-06-14 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Tue, 14 Jun 2011 20:51:11 +0000 (20:51 +0000)]
2011-06-14  Dimitri Glazkov  <dglazkov@chromium.org>

        [Chromium] Record expectation of crash for inspector/cookie-parser.html.

        * platform/chromium/test_expectations.txt: Recorded.

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

8 years ago2011-06-14 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Tue, 14 Jun 2011 20:36:57 +0000 (20:36 +0000)]
2011-06-14  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Tony Chang.

        nrwt: handle worker exceptions cleanly
        https://bugs.webkit.org/show_bug.cgi?id=62614

        This change modifiers new-run-webkit-tests to handle exceptions
        raised by worker threads better, by:
        - capturing the worker's stack and logging it in the manager
        - propagating the worker's exception in the caller correctly
        - attempting to cancel the workers and clean up even when
          we get an unexpected exception

        * Scripts/webkitpy/layout_tests/layout_package/manager.py:
        * Scripts/webkitpy/layout_tests/layout_package/worker.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:

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

8 years ago2011-06-14 Jer Noble <jer.noble@apple.com>
jer.noble@apple.com [Tue, 14 Jun 2011 20:35:15 +0000 (20:35 +0000)]
2011-06-14  Jer Noble  <jer.noble@apple.com>

        Reviewed by Eric Carlson.

        REGRESSION: Drawing video into canvas gets about one frame every 5 seconds (AVFoundation)
        https://bugs.webkit.org/show_bug.cgi?id=62655

        No new tests; we don't have any media-engine specific tests.

        AVAssetImageGenerator will, by default, return the nearest keyframe.  To get the generator to return
        the image from the current time instead of the nearest keyframe, set the requested time tolerance to
        zero (which defaults to infinity).

        * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm:
        (WebCore::MediaPlayerPrivateAVFoundationObjC::createContextVideoRenderer):

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

8 years ago2011-06-14 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Tue, 14 Jun 2011 20:20:55 +0000 (20:20 +0000)]
2011-06-14  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Move string ArgumentCoder template specializations out into a .cpp file
        https://bugs.webkit.org/show_bug.cgi?id=62660

        * GNUmakefile.am:
        * Platform/CoreIPC/ArgumentCoders.cpp: Added.
        (CoreIPC::::encode):
        (CoreIPC::::decode):
        * Platform/CoreIPC/ArgumentCoders.h:
        * WebKit2.pro:
        * WebKit2.xcodeproj/project.pbxproj:
        * win/WebKit2.vcproj:

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

8 years ago2011-06-14 Eric Uhrhane <ericu@chromium.org>
ericu@chromium.org [Tue, 14 Jun 2011 20:01:19 +0000 (20:01 +0000)]
2011-06-14  Eric Uhrhane  <ericu@chromium.org>

        Reviewed by Darin Fisher.

        Clean up filesystem base path code.
        https://bugs.webkit.org/show_bug.cgi?id=60218

        Change a bunch of url-held-in-a-string parameters into real KURLS and
        WebURLs.

        No new tests--no change in functionality.

        * fileapi/DOMFileSystem.cpp:
        (WebCore::DOMFileSystem::createWriter):
        (WebCore::DOMFileSystem::createFile):
        * fileapi/DOMFileSystemBase.cpp:
        (WebCore::DOMFileSystemBase::getMetadata):
        (WebCore::DOMFileSystemBase::move):
        (WebCore::DOMFileSystemBase::copy):
        (WebCore::DOMFileSystemBase::remove):
        (WebCore::DOMFileSystemBase::removeRecursively):
        (WebCore::DOMFileSystemBase::getParent):
        (WebCore::DOMFileSystemBase::getFile):
        (WebCore::DOMFileSystemBase::getDirectory):
        (WebCore::DOMFileSystemBase::readDirectory):
        * fileapi/DOMFileSystemSync.cpp:
        (WebCore::DOMFileSystemSync::createFile):
        (WebCore::DOMFileSystemSync::createWriter):
        * platform/AsyncFileSystem.cpp:
        (WebCore::AsyncFileSystem::openFileSystem):
        * platform/AsyncFileSystem.h:
        (WebCore::AsyncFileSystem::AsyncFileSystem):
2011-06-14  Eric Uhrhane  <ericu@chromium.org>

        Reviewed by Darin Fisher.

        Clean up filesystem base path code.
        https://bugs.webkit.org/show_bug.cgi?id=60218

        Change a bunch of url-held-in-a-string parameters into real KURLS and
        WebURLs.  Also add a #define to make it easier to stage this change, as
        it involves both Chromium and WebKit changes that would ideally be
        simultaneous.

        No new tests--no change in functionality.

        * public/WebFileSystem.h:
        * public/WebFileSystemCallbacks.h:
        * public/WebFrame.h:
        * src/AsyncFileSystemChromium.cpp:
        * src/AsyncFileSystemChromium.h:
        * src/WebFileSystemCallbacksImpl.cpp:
        * src/WebFileSystemCallbacksImpl.h:
        * src/WebFrameImpl.cpp:
        * src/WorkerAsyncFileSystemChromium.cpp:
        * src/WorkerAsyncFileSystemChromium.h:
        * src/WorkerAsyncFileWriterChromium.cpp:
        * src/WorkerAsyncFileWriterChromium.h:
        * src/WorkerFileSystemCallbacksBridge.cpp:
        * src/WorkerFileSystemCallbacksBridge.h:
        * src/WorkerFileWriterCallbacksBridge.cpp:
        * src/WorkerFileWriterCallbacksBridge.h:

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

8 years agoUnreviewed.
cfleizach@apple.com [Tue, 14 Jun 2011 19:54:49 +0000 (19:54 +0000)]
Unreviewed.

VoiceOver cannot navigate the itunes album view table
https://bugs.webkit.org/show_bug.cgi?id=62335

Tables are not supported on Leopard for accessibility.

* platform/mac-leopard/Skipped:

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

8 years ago2011-06-14 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Tue, 14 Jun 2011 19:37:06 +0000 (19:37 +0000)]
2011-06-14  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Remove PluginInfoStore::Plugin typedef
        https://bugs.webkit.org/show_bug.cgi?id=62657

        * UIProcess/Plugins/PluginInfoStore.h:
        * UIProcess/Plugins/win/PluginInfoStoreWin.cpp:
        (WebKit::PluginInfoStore::getPluginInfo):
        (WebKit::PluginInfoStore::shouldUsePlugin):

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

8 years ago2011-06-14 Oliver Hunt <oliver@apple.com>
oliver@apple.com [Tue, 14 Jun 2011 19:10:20 +0000 (19:10 +0000)]
2011-06-14  Oliver Hunt  <oliver@apple.com>

        Reviewed by Gavin Barraclough.

        Constant array literals result in unnecessarily large amounts of code
        https://bugs.webkit.org/show_bug.cgi?id=62658

        Add a new version of op_new_array that simply copies values from a buffer
        we hang off of the CodeBlock, rather than generating code to place each
        entry into the registerfile, and then copying it from the registerfile into
        the array.  This is a slight improvement on some sunspider tests, but no
        measurable overall change.  That's okay though as our goal was to reduce
        code size without hurting performance.

        * bytecode/CodeBlock.cpp:
        (JSC::CodeBlock::dump):
        * bytecode/CodeBlock.h:
        (JSC::CodeBlock::addImmediateBuffer):
        (JSC::CodeBlock::immediateBuffer):
        * bytecode/Opcode.h:
        * bytecompiler/BytecodeGenerator.cpp:
        (JSC::BytecodeGenerator::addImmediateBuffer):
        (JSC::BytecodeGenerator::emitNewArray):
        * bytecompiler/BytecodeGenerator.h:
        * bytecompiler/NodesCodegen.cpp:
        (JSC::ArrayNode::emitBytecode):
        * interpreter/Interpreter.cpp:
        (JSC::Interpreter::privateExecute):
        * jit/JIT.cpp:
        (JSC::JIT::privateCompileMainPass):
        * jit/JIT.h:
        * jit/JITOpcodes.cpp:
        (JSC::JIT::emit_op_new_array):
        (JSC::JIT::emit_op_new_array_buffer):
        * jit/JITOpcodes32_64.cpp:
        * jit/JITStubs.cpp:
        (JSC::DEFINE_STUB_FUNCTION):
        * jit/JITStubs.h:

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

8 years ago2011-06-14 Wyatt Carss <wcarss@google.com>
commit-queue@webkit.org [Tue, 14 Jun 2011 18:48:55 +0000 (18:48 +0000)]
2011-06-14  Wyatt Carss  <wcarss@google.com>

        Reviewed by Ryosuke Niwa.

        dump-as-text conversion: editing/deleting/5300379.html
        https://bugs.webkit.org/show_bug.cgi?id=62620

        Converted from pixel test to dump-as-text. This tests that delete backward
        by word does not hang inside an empty div, and that delete backward by word
        deletes exactly one word.

        * editing/deleting/5300379-expected.txt: Added.
        * editing/deleting/5300379.html:
        * platform/chromium-win/editing/deleting/5300379-expected.txt: Removed.
        * platform/chromium-win/editing/deleting/5300379-expected.png: Removed.
        * platform/gtk/editing/deleting/5300379-expected.txt: Removed.
        * platform/gtk/editing/deleting/5300379-expected.png: Removed.
        * platform/mac/editing/deleting/5300379-expected.txt: Removed.
        * platform/mac/editing/deleting/5300379-expected.png: Removed.
        * platform/qt/editing/deleting/5300379-expected.txt: Removed.
        * platform/qt/editing/deleting/5300379-expected.png: Removed.

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

8 years ago2011-06-14 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Tue, 14 Jun 2011 18:45:33 +0000 (18:45 +0000)]
2011-06-14  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Create the PluginModuleInfo class and reverse the typedef so that PluginInfoStore::Plugin is now a typedef
        https://bugs.webkit.org/show_bug.cgi?id=62654

        * UIProcess/Plugins/PluginInfoStore.cpp:
        (WebKit::PluginInfoStore::loadPluginsIfNecessary):
        (WebKit::PluginInfoStore::loadPlugin):
        (WebKit::PluginInfoStore::findPluginForMIMEType):
        (WebKit::PluginInfoStore::findPluginForExtension):
        (WebKit::PluginInfoStore::findPlugin):
        (WebKit::PluginInfoStore::infoForPluginWithPath):
        * UIProcess/Plugins/PluginInfoStore.h:
        * UIProcess/Plugins/PluginProcessManager.cpp:
        (WebKit::PluginProcessManager::getPluginProcessConnection):
        * UIProcess/Plugins/PluginProcessProxy.cpp:
        (WebKit::PluginProcessProxy::PluginProcessProxy):
        * UIProcess/Plugins/WebPluginSiteDataManager.cpp:
        (WebKit::WebPluginSiteDataManager::getSitesWithData):
        (WebKit::WebPluginSiteDataManager::clearSiteData):
        * UIProcess/Plugins/mac/PluginInfoStoreMac.mm:
        (WebKit::PluginInfoStore::getPluginInfo):
        (WebKit::PluginInfoStore::shouldUsePlugin):
        * UIProcess/Plugins/unix/PluginInfoStoreUnix.cpp:
        (WebKit::PluginInfoStore::getPluginInfo):
        (WebKit::PluginInfoStore::shouldUsePlugin):
        * UIProcess/Plugins/win/PluginInfoStoreWin.cpp:
        (WebKit::isOldWindowsMediaPlayerPlugin):
        (WebKit::isNewWindowsMediaPlayerPlugin):
        (WebKit::PluginInfoStore::shouldUsePlugin):

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

8 years ago2011-06-14 Qi Zhang <qi.2.zhang@nokia.com>
qi.2.zhang@nokia.com [Tue, 14 Jun 2011 18:44:25 +0000 (18:44 +0000)]
2011-06-14  Qi Zhang  <qi.2.zhang@nokia.com>

        Reviewed by Laszlo Gombos.

        [Qt] fast/dom/HTMLScriptElement/nested-execution.html failed
        https://bugs.webkit.org/show_bug.cgi?id=62227

        * platform/qt/Skipped:
2011-06-14  Qi Zhang  <qi.2.zhang@nokia.com>

        Reviewed by Laszlo Gombos.

        [Qt] fast/dom/HTMLScriptElement/nested-execution.html failed
        https://bugs.webkit.org/show_bug.cgi?id=62227

        QtWebkit does not yet support different CacheModels. This change will
        expose setCacheModel() with a stub implementation, which is enough to pass the LayoutTest.

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

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

8 years ago2011-06-14 James Robinson <jamesr@chromium.org>
commit-queue@webkit.org [Tue, 14 Jun 2011 18:32:36 +0000 (18:32 +0000)]
2011-06-14  James Robinson  <jamesr@chromium.org>

        Reviewed by Stephen White.

        [chromium] Compositor shader initialization is inefficient
        https://bugs.webkit.org/show_bug.cgi?id=62618

        This fixes several issues causing slowdowns in compositor shader initialization, mostly due to lack of
        parallelism:

        - Avoid initializing all programs eagerly. We only use two programs on every page, the other programs depend on
        content and are constructed on demand.

        - Defer querying uniform locations until draw time.  For the eagerly constructed programs (render surface +
        tiler) this means that the GPU process has a chance to compile the shader while the renderer is busy
        painting+uploading instead of blocking on shader compilation in order to get uniform locations.

        - Calls to query COMPILE_STATUS/LINK_STATUS moved behind #ifndef NDEBUG guards since these should never fail in
        release builds and force synchronous compilation/linking.

        This also adds a number of TRACE_EVENT()s to make analysing the performance of this bit of code easier.

        * platform/graphics/chromium/LayerRendererChromium.cpp:
        (WebCore::LayerRendererChromium::updateLayers):
        (WebCore::LayerRendererChromium::initializeSharedObjects):
        (WebCore::LayerRendererChromium::borderProgram):
        (WebCore::LayerRendererChromium::headsUpDisplayProgram):
        (WebCore::LayerRendererChromium::renderSurfaceProgram):
        (WebCore::LayerRendererChromium::renderSurfaceMaskProgram):
        (WebCore::LayerRendererChromium::tilerProgram):
        (WebCore::LayerRendererChromium::canvasLayerProgram):
        (WebCore::LayerRendererChromium::pluginLayerProgram):
        (WebCore::LayerRendererChromium::videoLayerRGBAProgram):
        (WebCore::LayerRendererChromium::videoLayerYUVProgram):
        * platform/graphics/chromium/LayerRendererChromium.h:
        * platform/graphics/chromium/LayerTextureSubImage.cpp:
        (WebCore::LayerTextureSubImage::uploadWithTexSubImage):
        (WebCore::LayerTextureSubImage::uploadWithMapTexSubImage):
        * platform/graphics/chromium/ProgramBinding.cpp:
        (WebCore::ProgramBindingBase::init):
        (WebCore::ProgramBindingBase::loadShader):
        (WebCore::ProgramBindingBase::createShaderProgram):
        * platform/graphics/chromium/ProgramBinding.h:
        (WebCore::ProgramBinding::ProgramBinding):
        (WebCore::ProgramBinding::initialize):
        * platform/graphics/chromium/ShaderChromium.cpp:
        (WebCore::VertexShaderPosTex::init):
        (WebCore::VertexShaderPosTexYUVStretch::init):
        (WebCore::VertexShaderPos::init):
        (WebCore::VertexShaderPosTexTransform::init):
        (WebCore::FragmentTexAlphaBinding::init):
        (WebCore::FragmentShaderRGBATexAlphaMask::init):
        (WebCore::FragmentShaderYUVVideo::init):
        (WebCore::FragmentShaderColor::init):
        * platform/graphics/chromium/ShaderChromium.h:
2011-06-14  James Robinson  <jamesr@chromium.org>

        Reviewed by Stephen White.

        [chromium] Compositor shader initialization is inefficient
        https://bugs.webkit.org/show_bug.cgi?id=62618

        Add a TRACE_EVENT() around initial compositor initialization.

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

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

8 years ago2011-06-14 Claudio Saavedra <csaavedra@igalia.com>
commit-queue@webkit.org [Tue, 14 Jun 2011 18:31:03 +0000 (18:31 +0000)]
2011-06-14  Claudio Saavedra  <csaavedra@igalia.com>

        Reviewed by Xan Lopez.

        Broken reference to webkitsoupauthdialog.c
        https://bugs.webkit.org/show_bug.cgi?id=62650

        * POTFILES: Fix reference to webkitsoupauthdialog.cpp

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

8 years ago<rdar://problem/9511169>
slewis@apple.com [Tue, 14 Jun 2011 18:30:39 +0000 (18:30 +0000)]
<rdar://problem/9511169>
Update order files.

Rubber stamped by Oliver Hunt.

Source/JavaScriptCore:

* JavaScriptCore.order:

Source/WebCore:

Build system change, no change in functionality so no new tests.

* WebCore.order:

Source/WebKit/mac:

* WebKit.order:

Source/WebKit2:

* mac/WebKit2.order:

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

8 years agoSource/WebCore: VoiceOver cannot navigate the iTunes album view table
cfleizach@apple.com [Tue, 14 Jun 2011 18:20:28 +0000 (18:20 +0000)]
Source/WebCore: VoiceOver cannot navigate the iTunes album view table
https://bugs.webkit.org/show_bug.cgi?id=62335

Reviewed by David Kilzer.

This is a regression from https://bugs.webkit.org/show_bug.cgi?id=57463.
Part of that patch made a change so that an ARIA table will only look at it's children and grandchildren
for possible rows. That however, doesn't allow arbitrary hierarchies to work with ARIA, like in iTunes album view.

Test: platform/mac/accessibility/aria-grid-with-strange-hierarchy.html

* accessibility/AccessibilityARIAGrid.cpp:
(WebCore::AccessibilityARIAGrid::addChild):
(WebCore::AccessibilityARIAGrid::addChildren):
* accessibility/AccessibilityARIAGrid.h:

LayoutTests: VoiceOver cannot navigate the itunes album view table
https://bugs.webkit.org/show_bug.cgi?id=62335

Reviewed by David Kilzer.

* platform/mac/accessibility/aria-grid-with-strange-hierarchy-expected.txt: Added.
* platform/mac/accessibility/aria-grid-with-strange-hierarchy.html: Added.

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

8 years ago2011-06-14 Sheriff Bot <webkit.review.bot@gmail.com>
aestes@apple.com [Tue, 14 Jun 2011 18:17:21 +0000 (18:17 +0000)]
2011-06-14  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r88823.
        http://trac.webkit.org/changeset/88823
        https://bugs.webkit.org/show_bug.cgi?id=62652

        Broke the Lion build (Requested by estes on #webkit).

        * platform/mac/MemoryPressureHandlerMac.mm:

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

8 years ago2011-06-14 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Tue, 14 Jun 2011 18:03:08 +0000 (18:03 +0000)]
2011-06-14  Anders Carlsson  <andersca@apple.com>

        Reviewed by Dan Bernstein.

        Start replacing PluginInfoStore::Plugin with PluginModuleInfo
        https://bugs.webkit.org/show_bug.cgi?id=62651

        * UIProcess/Plugins/PluginInfoStore.cpp:
        (WebKit::PluginInfoStore::plugins):
        (WebKit::PluginInfoStore::findPluginForMIMEType):
        (WebKit::PluginInfoStore::findPluginForExtension):
        (WebKit::PluginInfoStore::infoForPluginWithPath):
        * UIProcess/Plugins/PluginInfoStore.h:
        * UIProcess/Plugins/PluginProcessManager.cpp:
        (WebKit::PluginProcessManager::getPluginProcessConnection):
        (WebKit::PluginProcessManager::getSitesWithData):
        (WebKit::PluginProcessManager::clearSiteData):
        (WebKit::PluginProcessManager::getOrCreatePluginProcess):
        * UIProcess/Plugins/PluginProcessManager.h:
        * UIProcess/Plugins/PluginProcessProxy.cpp:
        (WebKit::PluginProcessProxy::create):
        * UIProcess/Plugins/PluginProcessProxy.h:
        (WebKit::PluginProcessProxy::pluginInfo):
        * UIProcess/Plugins/mac/PluginProcessProxyMac.mm:
        (WebKit::PluginProcessProxy::pluginNeedsExecutableHeap):
        (WebKit::PluginProcessProxy::createPropertyListFile):

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

8 years ago2011-06-14 Michael Saboff <msaboff@apple.com>
msaboff@apple.com [Tue, 14 Jun 2011 17:54:55 +0000 (17:54 +0000)]
2011-06-14  Michael Saboff  <msaboff@apple.com>

        Reviewed by Joseph Pecoraro.

        Incorrect #if[n]def for building without DISPATCH_VM_PRESSURE
        https://bugs.webkit.org/show_bug.cgi?id=62649

        The #ifdef DISPATCH_VM_PRESSURE actually needs to be #ifndef
        to handle when DISPATCH_VM_PRESSURE is NOT defined in the
        system header files.

        No functional changes, fixing build issue therefore no tests.

        * platform/mac/MemoryPressureHandlerMac.mm:

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

8 years ago2011-06-13 Adrienne Walker <enne@google.com>
enne@google.com [Tue, 14 Jun 2011 17:44:45 +0000 (17:44 +0000)]
2011-06-13  Adrienne Walker  <enne@google.com>

        Reviewed by James Robinson.

        [chromium] Disable drawing for huge mask layers
        https://bugs.webkit.org/show_bug.cgi?id=62607

        * platform/chromium/compositing/huge-mask-layer-expected.txt: Added.
        * platform/chromium/compositing/huge-mask-layer.html: Added.
2011-06-13  Adrienne Walker  <enne@google.com>

        Reviewed by James Robinson.

        [chromium] Disable drawing for huge mask layers
        https://bugs.webkit.org/show_bug.cgi?id=62607

        Because masks have a different layer size than the layer they are
        masking, they are untiled.  If they are too large to be contained
        within a single texture, then they should just be disabled.

        Test: platform/chromium/compositing/huge-mask-layer.html

        * platform/graphics/chromium/ContentLayerChromium.cpp:
        (WebCore::ContentLayerChromium::drawsContent):
        (WebCore::ContentLayerChromium::paintContentsIfDirty):
        * platform/graphics/chromium/LayerTilerChromium.h:
        (WebCore::LayerTilerChromium::getSingleTexture):
        (WebCore::LayerTilerChromium::numTiles):

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

8 years agoFix dumping of constants to have the correct constant number.
weinig@apple.com [Tue, 14 Jun 2011 17:41:02 +0000 (17:41 +0000)]
Fix dumping of constants to have the correct constant number.

Reviewed by Geoffrey Garen.

* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::dump):

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

8 years ago2011-06-14 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Tue, 14 Jun 2011 17:37:25 +0000 (17:37 +0000)]
2011-06-14  Anders Carlsson  <andersca@apple.com>

        Reviewed by Darin Adler.

        Add PluginModuleInfo header and prepare for renaming of PluginInfoStore::Plugin to PluginModuleInfo
        https://bugs.webkit.org/show_bug.cgi?id=62647

        Make PluginModuleInfo a typedef of PluginInfoStore::Plugin for now; eventually it should be its own class,
        and PluginInfoStore::Plugin should go away.

        * GNUmakefile.am:
        * Shared/Plugins/Netscape/NetscapePluginModule.h:
        * Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm:
        (WebKit::getPluginArchitecture):
        (WebKit::getMIMETypesFromPluginBundle):
        (WebKit::getPluginInfoFromPropertyLists):
        (WebKit::getPluginInfoFromCarbonResources):
        (WebKit::NetscapePluginModule::getPluginInfo):
        (WebKit::NetscapePluginModule::determineQuirks):
        * Shared/Plugins/PluginModuleInfo.cpp: Added.
        * Shared/Plugins/PluginModuleInfo.h: Added.
        * WebKit2.pro:
        * WebKit2.xcodeproj/project.pbxproj:
        * win/WebKit2.vcproj:

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

8 years ago2011-06-14 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Tue, 14 Jun 2011 17:20:20 +0000 (17:20 +0000)]
2011-06-14  Dimitri Glazkov  <dglazkov@chromium.org>

        [Chromium] Add expectations for flaky tests.

        * platform/chromium/test_expectations.txt: Recorded flakiness.

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

8 years ago2011-06-14 Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com>
commit-queue@webkit.org [Tue, 14 Jun 2011 17:13:03 +0000 (17:13 +0000)]
2011-06-14  Viatcheslav Ostapenko  <ostapenko.viatcheslav@nokia.com>

        Reviewed by Laszlo Gombos.

        [Qt] [Symbian] GraphicsLayer: support plugins on symbian
        https://bugs.webkit.org/show_bug.cgi?id=57418

        Implement graphics layer for plugins on Symbian.

        * plugins/PluginView.h:
        * plugins/qt/PluginViewQt.cpp:
        (WebCore::PluginView::shouldUseAcceleratedCompositing):
        (WebCore::PluginView::platformStart):
        * plugins/symbian/PluginViewSymbian.cpp:
        (WebCore::PluginGraphicsLayerQt::PluginGraphicsLayerQt):
        (WebCore::PluginGraphicsLayerQt::~PluginGraphicsLayerQt):
        (WebCore::PluginGraphicsLayerQt::paint):
        (WebCore::PluginView::shouldUseAcceleratedCompositing):
        (WebCore::PluginView::paint):
        (WebCore::PluginView::invalidateRect):
        (WebCore::PluginView::platformStart):
        (WebCore::PluginView::platformLayer):

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

8 years ago2011-06-14 Sreeram Ramachandran <sreeram@chromium.org>
commit-queue@webkit.org [Tue, 14 Jun 2011 17:03:38 +0000 (17:03 +0000)]
2011-06-14  Sreeram Ramachandran  <sreeram@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: Allow the console to persist on page refresh or navigation
        https://bugs.webkit.org/show_bug.cgi?id=53359

        Tests that console messages are preserved upon navigation.

        * inspector/console/console-preserve-log-expected.txt: Added.
        * inspector/console/console-preserve-log.html: Added.
2011-06-14  Sreeram Ramachandran  <sreeram@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: Allow the console to persist on page refresh or navigation
        https://bugs.webkit.org/show_bug.cgi?id=53359

        Adds a context menu checkbox to preserve the console log across
        navigations. However, the underlying messages and objects are actually
        deleted from the backend, so they are not expandable; their continued
        display in the console frontend is merely cosmetic.

        Test: inspector/console/console-preserve-log.html

        * English.lproj/localizedStrings.js:
        * inspector/front-end/ConsoleView.js:
        (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher.dispatcher.messagesCleared):
        (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher):
        (WebInspector.ConsoleView.prototype.requestClearMessages):
        (WebInspector.ConsoleView.prototype._handleContextMenuEvent.monitoringXHRItemAction):
        (WebInspector.ConsoleView.prototype._handleContextMenuEvent.preserveLogItemAction):
        (WebInspector.ConsoleView.prototype._handleContextMenuEvent):
        * inspector/front-end/Settings.js:
        (WebInspector.Settings):
        * inspector/front-end/inspector.js:
        (WebInspector.reset):

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

8 years ago2011-06-14 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 14 Jun 2011 16:46:49 +0000 (16:46 +0000)]
2011-06-14  Adam Barth  <abarth@webkit.org>

        Reviewed by Darin Fisher.

        WebFrame::url() should use the one true URL
        https://bugs.webkit.org/show_bug.cgi?id=62610

        The Document's URL is the one true URL.  Thou shalt have no URLs before
        Document::url().

        * src/WebFrameImpl.cpp:
        (WebKit::WebFrameImpl::url):

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

8 years ago2011-06-14 Ryuan Choi <ryuan.choi@samsung.com>
commit-queue@webkit.org [Tue, 14 Jun 2011 16:29:17 +0000 (16:29 +0000)]
2011-06-14  Ryuan Choi  <ryuan.choi@samsung.com>

        Reviewed by Eric Seidel.

        [CMAKE] Add ENABLE_TOUCH_ICON_LOADING feature.
        https://bugs.webkit.org/show_bug.cgi?id=62604

        Add feature to enable or disable ENABLE_TOUCH_ICON which supports
        apple-touch-icon and apple-touch-icon-precomposed in link tag.

        * Source/cmake/OptionsEfl.cmake:
        * Source/cmakeconfig.h.cmake:

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

8 years ago2011-06-14 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Tue, 14 Jun 2011 16:25:29 +0000 (16:25 +0000)]
2011-06-14  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: add tooltip to file select options in scripts panel.
        https://bugs.webkit.org/show_bug.cgi?id=62537

        * inspector/debugger/scripts-panel-expected.txt:
        * inspector/debugger/scripts-panel.html:
2011-06-14  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: add tooltip to file select options in scripts panel.
        https://bugs.webkit.org/show_bug.cgi?id=62537

        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel):
        (WebInspector.ScriptsPanel.prototype._sourceFileAdded):
        (WebInspector.ScriptsPanel.prototype._addOptionToFilesSelect.compare):
        (WebInspector.ScriptsPanel.prototype._addOptionToFilesSelect):
        (WebInspector.ScriptsPanel.prototype._callFrameSelected.didGetSourceLocation):
        (WebInspector.ScriptsPanel.prototype._callFrameSelected):

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

8 years ago2011-06-14 Benjamin Poulain <benjamin@webkit.org>
commit-queue@webkit.org [Tue, 14 Jun 2011 16:25:04 +0000 (16:25 +0000)]
2011-06-14  Benjamin Poulain  <benjamin@webkit.org>

        Reviewed by Eric Seidel.

        KeywordLookupGenerator's Trie does not work with Python 3
        https://bugs.webkit.org/show_bug.cgi?id=62635

        With Python 3, dict.items() return an iterator. Since the iterator
        protocol changed between Python 2 and 3, the easiest way to get the
        values is to have something that use the iterator implicitely, like a
        for() loop.

        * KeywordLookupGenerator.py:

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

8 years agoUnreviewed: unskip test rebasedlined by r88772
ademar.reis@openbossa.org [Tue, 14 Jun 2011 15:56:25 +0000 (15:56 +0000)]
Unreviewed: unskip test rebasedlined by r88772

[Qt] Rebaseline http/tests/misc/slow-loading-image-in-pattern.html after r69386 and r83871
http://trac.webkit.org/changeset/88772

The test was rebaselined but the committer forgot to remove it from
the Skip list.

* platform/qt/Skipped: unskip test

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

8 years ago2011-06-14 Luke Macpherson <macpherson@chromium.org>
pfeldman@chromium.org [Tue, 14 Jun 2011 15:48:47 +0000 (15:48 +0000)]
2011-06-14  Luke Macpherson   <macpherson@chromium.org>

        Reviewed by Eric Seidel.

        Implement CSS border radius properies in CSSStyleApplyProperty
        https://bugs.webkit.org/show_bug.cgi?id=62265

        No new tests / refactoring only.

        * css/CSSStyleApplyProperty.cpp:
        Implement new class to culculate border radius, initialize for appropriate properties.
        (WebCore::ApplyPropertyBorderRadius::ApplyPropertyBorderRadius):
        (WebCore::ApplyPropertyBorderRadius::applyValue):
        (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
        * css/CSSStyleSelector.cpp:
        Remove old implementations.
        (WebCore::CSSStyleSelector::applyProperty):
        * page/animation/AnimationBase.cpp:
        Pass LengthSize by value.
        (WebCore::AnimationBase::ensurePropertyMap):
        * rendering/style/RenderStyle.h:
        Pass LengthSize by value consistently.

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

8 years ago2011-06-14 Luke Macpherson <macpherson@chromium.org>
macpherson@chromium.org [Tue, 14 Jun 2011 15:46:24 +0000 (15:46 +0000)]
2011-06-14  Luke Macpherson   <macpherson@chromium.org>

        Reviewed by Eric Seidel.

        Implement CSS border radius properies in CSSStyleApplyProperty
        https://bugs.webkit.org/show_bug.cgi?id=62265

        No new tests / refactoring only.

        * css/CSSStyleApplyProperty.cpp:
        Implement new class to culculate border radius, initialize for appropriate properties.
        (WebCore::ApplyPropertyBorderRadius::ApplyPropertyBorderRadius):
        (WebCore::ApplyPropertyBorderRadius::applyValue):
        (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
        * css/CSSStyleSelector.cpp:
        Remove old implementations.
        (WebCore::CSSStyleSelector::applyProperty):
        * page/animation/AnimationBase.cpp:
        Pass LengthSize by value.
        (WebCore::AnimationBase::ensurePropertyMap):
        * rendering/style/RenderStyle.h:
        Pass LengthSize by value consistently.

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

8 years ago2011-06-14 Carlos Garcia Campos <cgarcia@igalia.com>
carlosgc@webkit.org [Tue, 14 Jun 2011 15:03:51 +0000 (15:03 +0000)]
2011-06-14  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Move the code to show the context menu from WebKitWebViewBase to WebContextMenuProxyGtk
        https://bugs.webkit.org/show_bug.cgi?id=62627

        * UIProcess/API/gtk/WebKitWebViewBase.cpp:
        * UIProcess/API/gtk/WebKitWebViewBasePrivate.h:
        * UIProcess/gtk/WebContextMenuProxyGtk.cpp:
        (WebKit::WebContextMenuProxyGtk::showContextMenu):
        (WebKit::WebContextMenuProxyGtk::hideContextMenu):
        (WebKit::WebContextMenuProxyGtk::WebContextMenuProxyGtk):
        (WebKit::WebContextMenuProxyGtk::~WebContextMenuProxyGtk):
        (WebKit::WebContextMenuProxyGtk::menuPositionFunction):
        * UIProcess/gtk/WebContextMenuProxyGtk.h:

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

8 years ago2011-06-14 Carlos Garcia Campos <cgarcia@igalia.com>
carlosgc@webkit.org [Tue, 14 Jun 2011 14:58:30 +0000 (14:58 +0000)]
2011-06-14  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Rename convertWidgetRectToScreenRect() to convertWidgetPointToScreenPoint()
        https://bugs.webkit.org/show_bug.cgi?id=62626

        The method actually converts coordinates, the rectangle size is
        not affected, so it can be modified to return a point
        instead. Fix also a bug in the implementation, it was translating
        the coordinates twice returning the wrong position when the given
        rectangle was not at 0,0.

        * platform/gtk/GtkUtilities.cpp:
        (WebCore::convertWidgetPointToScreenPoint):
        * platform/gtk/GtkUtilities.h:
        * platform/gtk/PopupMenuGtk.cpp:
        (WebCore::PopupMenuGtk::show): Use
        convertWidgetPointToScreenPoint().
2011-06-14  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Rename convertWidgetRectToScreenRect() to convertWidgetPointToScreenPoint()
        https://bugs.webkit.org/show_bug.cgi?id=62626

        * WebCoreSupport/ChromeClientGtk.cpp:
        (WebKit::ChromeClient::windowToScreen): Update to use
        convertWidgetPointToScreenPoint()
        (WebKit::ChromeClient::screenToWindow): Ditto.
        * webkit/webkitwebview.cpp: Remove globalPointForClientPoint()
        since it does the same than convertWidgetPointToScreenPoint().
        (webkit_web_view_popup_menu_handler): Use
        convertWidgetPointToScreenPoint() instead of globalPointForClientPoint().
        (doDragLeaveLater): Ditto.
        (webkit_web_view_drag_motion): Ditto.
        (webkit_web_view_drag_data_received): Ditto.
        (webkit_web_view_drag_drop): Ditto.
2011-06-14  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Rename convertWidgetRectToScreenRect() to convertWidgetPointToScreenPoint()
        https://bugs.webkit.org/show_bug.cgi?id=62626

        * UIProcess/API/gtk/PageClientImpl.cpp:
        (WebKit::PageClientImpl::screenToWindow): Implement this method
        using convertWidgetPointToScreenPoint().
        (WebKit::PageClientImpl::windowToScreen): Update to use
        convertWidgetPointToScreenPoint().
        * UIProcess/gtk/WebPopupMenuProxyGtk.cpp:
        (WebKit::WebPopupMenuProxyGtk::showPopupMenu): Use
        convertWidgetPointToScreenPoint().

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

8 years agoUnreviewed.
yael.aharon@nokia.com [Tue, 14 Jun 2011 14:38:30 +0000 (14:38 +0000)]
Unreviewed.

<progress> should support :indeterminate pseudo-class
https://bugs.webkit.org/show_bug.cgi?id=62430

Skip new tests since Windows port does not support the progress element.

* platform/win/Skipped:

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

8 years ago2011-06-14 Carlos Garcia Campos <cgarcia@igalia.com>
carlosgc@webkit.org [Tue, 14 Jun 2011 14:36:50 +0000 (14:36 +0000)]
2011-06-14  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Support authentication dialogs in WebKit2
        https://bugs.webkit.org/show_bug.cgi?id=62366

        Add a new class to show an authentication dialog that is used by
        both WebKit1 and WebKit2.

        * GNUmakefile.list.am: Add new files to compilation.
        * platform/gtk/GtkAuthenticationDialog.cpp: Added.
        (WebCore::addEntryToTable):
        (WebCore::sessionCanSavePasswords):
        (WebCore::GtkAuthenticationDialog::~GtkAuthenticationDialog):
        (WebCore::GtkAuthenticationDialog::GtkAuthenticationDialog):
        (WebCore::getSavedLogin):
        (WebCore::GtkAuthenticationDialog::show):
        (WebCore::GtkAuthenticationDialog::destroy):
        (WebCore::GtkAuthenticationDialog::savePasswordCallback):
        (WebCore::GtkAuthenticationDialog::savePassword):
        (WebCore::GtkAuthenticationDialog::authenticate):
        (WebCore::GtkAuthenticationDialog::authenticationDialogResponseCallback):
        * platform/gtk/GtkAuthenticationDialog.h: Added.
2011-06-14  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Support authentication dialogs in WebKit2
        https://bugs.webkit.org/show_bug.cgi?id=62366

        Move the common code of webkitsoupauthdialog to a common C++ class
        in WebCore so that it can be used by WebKit2 too. The file has
        been converted into a C++ file.

        * GNUmakefile.am: Rename webkitsoupauthdialog.c to
        webkitsoupauthdialog.cpp.
        * webkit/webkitsoupauthdialog.c: Removed.
        * webkit/webkitsoupauthdialog.cpp: Added.
        (webkit_soup_auth_dialog_class_init):
        (webkit_soup_auth_dialog_init):
        (webkit_soup_auth_dialog_session_feature_init):
        (sessionAuthenticate): Use GtkAuthenticationDialog object from
        WebCore.
        (attach):
        (detach):
        * webkit/webkitsoupauthdialog.h:
2011-06-14  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Support authentication dialogs in WebKit2
        https://bugs.webkit.org/show_bug.cgi?id=62366

        Add a new soup feature to show an authentication dialog when it
        gets a 401 HTTP response.

        * GNUmakefile.am: Add new files to compilation.
        * WebProcess/gtk/WebAuthDialog.cpp: Added.
        (web_auth_dialog_class_init):
        (web_auth_dialog_init):
        (sessionAuthenticate):
        (attach):
        (detach):
        (webAuthDialogSessionFeatureInit):
        * WebProcess/gtk/WebAuthDialog.h: Added.
        * WebProcess/gtk/WebProcessMainGtk.cpp:
        (WebKit::WebProcessMainGtk):

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

8 years ago2011-06-14 No'am Rosenthal <noam.rosenthal@nokia.com> and Viatcheslav Ostapenko...
commit-queue@webkit.org [Tue, 14 Jun 2011 14:07:55 +0000 (14:07 +0000)]
2011-06-14  No'am Rosenthal  <noam.rosenthal@nokia.com> and Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Implement accelerated compositing on WK2 Qt port
        https://bugs.webkit.org/show_bug.cgi?id=56935

        Implementing LayerTreeHost and LayerTreeContext and LayerTreeHost for Qt.
        Add the necessary plumbing to make the LayerTreeHost work with Qt, based on the original Mac
        implementation (the code is nearly identical). This includes creating the right layers for the
        overlay and for the non-composited content, and passing the root layer to the UI process.

        Also, since LayerTreeHostQt is compiled, we have to add some of the rest of the existing patches,
        namely the new messages: syncCompositingLayers and updateCompositingLayerContent, and create a
        stub implementation for them in DrawingAreaProxy.

        Note that this is not activated yet, until we enable accelerated compositing in the settings and
        create the right GraphicsLayer.

        * Scripts/webkit2/messages.py:
        * Shared/LayerTreeContext.h:
        * Shared/qt/LayerTreeContextQt.cpp:
        (WebKit::LayerTreeContext::LayerTreeContext):
        (WebKit::LayerTreeContext::~LayerTreeContext):
        (WebKit::LayerTreeContext::encode):
        (WebKit::LayerTreeContext::decode):
        (WebKit::LayerTreeContext::isEmpty):
        (WebKit::operator==):
        * UIProcess/DrawingAreaProxy.h:
        (WebKit::DrawingAreaProxy::syncCompositingLayers):
        (WebKit::DrawingAreaProxy::updateCompositingLayerContent):
        * UIProcess/DrawingAreaProxy.messages.in:
        * WebKit2.pro:
        * WebProcess/WebCoreSupport/WebGraphicsLayer.cpp:
        (WebCore::collectCompositingInfoForThisLayer):
        * WebProcess/WebPage/LayerTreeHost.cpp:
        (WebKit::LayerTreeHost::create):
        * WebProcess/WebPage/qt/LayerTreeHostQt.cpp:
        (WebKit::LayerTreeHostQt::create):
        (WebKit::LayerTreeHostQt::~LayerTreeHostQt):
        (WebKit::LayerTreeHostQt::LayerTreeHostQt):
        (WebKit::LayerTreeHostQt::setLayerFlushSchedulingEnabled):
        (WebKit::LayerTreeHostQt::scheduleLayerFlush):
        (WebKit::LayerTreeHostQt::cancelPendingLayerFlush):
        (WebKit::LayerTreeHostQt::setShouldNotifyAfterNextScheduledLayerFlush):
        (WebKit::LayerTreeHostQt::setRootCompositingLayer):
        (WebKit::LayerTreeHostQt::invalidate):
        (WebKit::LayerTreeHostQt::setNonCompositedContentsNeedDisplay):
        (WebKit::LayerTreeHostQt::scrollNonCompositedContents):
        (WebKit::LayerTreeHostQt::forceRepaint):
        (WebKit::LayerTreeHostQt::sizeDidChange):
        (WebKit::LayerTreeHostQt::didInstallPageOverlay):
        (WebKit::LayerTreeHostQt::didUninstallPageOverlay):
        (WebKit::LayerTreeHostQt::setPageOverlayNeedsDisplay):
        (WebKit::LayerTreeHostQt::flushPendingLayerChanges):
        (WebKit::LayerTreeHostQt::performScheduledLayerFlush):
        (WebKit::LayerTreeHostQt::layerFlushTimerFired):
        (WebKit::LayerTreeHostQt::createPageOverlayLayer):
        (WebKit::LayerTreeHostQt::destroyPageOverlayLayer):
        (WebKit::LayerTreeHostQt::notifyAnimationStarted):
        (WebKit::LayerTreeHostQt::notifySyncRequired):
        (WebKit::LayerTreeHostQt::paintContents):
        (WebKit::LayerTreeHostQt::showDebugBorders):
        (WebKit::LayerTreeHostQt::showRepaintCounter):
        (WebKit::LayerTreeHost::supportsAcceleratedCompositing):
        * WebProcess/WebPage/qt/LayerTreeHostQt.h: Added.
        (WebKit::LayerTreeHostQt::layerTreeContext):
        (WebKit::LayerTreeHostQt::pauseRendering):
        (WebKit::LayerTreeHostQt::resumeRendering):

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

8 years ago2011-06-14 Tommy Widenflycht <tommyw@google.com>
commit-queue@webkit.org [Tue, 14 Jun 2011 13:58:11 +0000 (13:58 +0000)]
2011-06-14  Tommy Widenflycht  <tommyw@google.com>

        Reviewed by Tony Gentilcore.

        Media Stream PeerConnection API: adding the StreamList and supporting classes.
        https://bugs.webkit.org/show_bug.cgi?id=61539

        * dom/StreamContainer.h: Added.
        (WebCore::StreamContainer::create):
        (WebCore::StreamContainer::~StreamContainer):
        (WebCore::StreamContainer::length):
        (WebCore::StreamContainer::item):
        (WebCore::StreamContainer::add):
        (WebCore::StreamContainer::remove):
        (WebCore::StreamContainer::contains):
        (WebCore::StreamContainer::get):
        (WebCore::StreamContainer::StreamContainer):
        * dom/StreamList.cpp: Added.
        (WebCore::StreamList::create):
        (WebCore::StreamList::StreamList):
        (WebCore::StreamList::~StreamList):
        (WebCore::StreamList::length):
        (WebCore::StreamList::item):
        * dom/StreamList.h: Added.
        * dom/StreamList.idl: Added.

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

8 years ago2011-06-14 Noam Rosenthal <noam.rosenthal@nokia.com>
noam.rosenthal@nokia.com [Tue, 14 Jun 2011 13:54:29 +0000 (13:54 +0000)]
2011-06-14  Noam Rosenthal  <noam.rosenthal@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Implement accelerated compositing on WK2 Qt port
        https://bugs.webkit.org/show_bug.cgi?id=56935

        Add a createImage() function to ShareableBitmap, for now ifdef'ed to Qt only.
        This allows us to support directly composited images across the WebKit2 processes.

        Together with Viatcheslav Ostapenko.

        * Shared/ShareableBitmap.h:
        * Shared/qt/ShareableBitmapQt.cpp:
        (WebKit::ShareableBitmap::createQImage):
        (WebKit::ShareableBitmap::createImage):

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

8 years ago2011-06-14 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
caio.oliveira@openbossa.org [Tue, 14 Jun 2011 13:53:38 +0000 (13:53 +0000)]
2011-06-14  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>

        Reviewed by Andreas Kling.

        [Qt] tst_QWebFrame::overloadedSlots() fails
        https://bugs.webkit.org/show_bug.cgi?id=37319

        Increase the likeness that JSElements are converted to QWebElements. When hinted
        with QWebElement metatype, we qualify the conversion from JSElement as a "perfect
        match".

        The test was failing because the wrong slot was called, since the QWebElement
        match was taken as equal to the others and not chosen when the metacall happened.

        We also remove the implicit conversion between JSDocument (which is not an
        element) to QWebElement. The conversion only worked for calling slots, while
        without hint it returned a QVariantMap (as can be seen in domCycles test). It was
        added for supporting DRT, but since this change we can use it as QVariantMap and
        get the value for "documentElement".

        This patch is based on Noam Rosenthal original patch in the same bug.

        * bridge/qt/qt_runtime.cpp:
        (JSC::Bindings::hintForRealType):
        Extracted function to choose the metatype hint based on the JSValue type.  Add
        QWebElement metatype as a hint for JSElement objects, this way if no hint is
        provided, JSElement objects will always be converted to QWebElements.

        (JSC::Bindings::convertValueToQVariant):
        Use previous function. Identify the conversion between JSElement to QWebElement
        as a "perfect match" (dist = 0). And remove the implicit conversion when the hint
        is QWebElement metatype and we have a JSDocument.  Changed from JSHTMLElement to
        JSElement to cover the 'documentElement'.
2011-06-14  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>

        Reviewed by Andreas Kling.

        [Qt] tst_QWebFrame::overloadedSlots() fails
        https://bugs.webkit.org/show_bug.cgi?id=37319

        Since the implicit conversion was removed, change support functions of DRT to
        expect a QVariantMap instead of a QWebElement. This matches the exposed function
        in the controller, which takes 'document' and not 'document.documentElement'.

        And now that Element -> QWebElement is a perfect match, we must use QWebElement
        instead of QVariantMap, like in plainText().

        * WebCoreSupport/DumpRenderTreeSupportQt.h:
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
        (DumpRenderTreeSupportQt::plainText): Fix to use QWebElement instead of
        QVariantMap when getting the startContainer. Also use QVariantMap directly,
        bridge will do conversion for us now.

        (getCoreDocumentFromVariantMap): Extracts the WebCore::Document* from the
        QVariantMap that Qt bridge gives us when 'document' is passed from JS.

        (DumpRenderTreeSupportQt::nodesFromRect): Use helper function.

        * tests/qwebframe/tst_qwebframe.cpp: Splitted the test domCycles() into two
        different tests. In practice, the original test just checked whether we could
        create a QVariantMap representing 'document' without infinite looping due to
        cycles in the DOM. This was more evident before since we haven't a conversion
        from JSElement to QWebElement, but from JSElement to QVariantMap.

        (tst_QWebFrame::documentHasDocumentElement): Evaluates 'document' and extracts
        'documentElement' from it. Compares to QWebFrame::documentElement().

        (tst_QWebFrame::documentAllHasDocumentElement): Look inside 'document.all' for
        the documentElement.

        (tst_QWebFrame::overloadedSlots): Remove expected failure and fix wrong comment.
2011-06-14  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>

        Reviewed by Andreas Kling.

        [Qt] tst_QWebFrame::overloadedSlots() fails
        https://bugs.webkit.org/show_bug.cgi?id=37319

        Since we don't implictly convert 'document' object to QWebElement
        in metacalls anymore, change the controller to expect QVariantMap instead.

        The method plainText() was updated to use QVariantMap as well to let the bridge
        do the conversion directly for us.

        * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
        (LayoutTestController::nodesFromRect):
        * DumpRenderTree/qt/LayoutTestControllerQt.h:
        * DumpRenderTree/qt/PlainTextControllerQt.cpp:
        (PlainTextController::plainText):
        * DumpRenderTree/qt/PlainTextControllerQt.h:

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

8 years ago2011-06-14 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Tue, 14 Jun 2011 13:42:40 +0000 (13:42 +0000)]
2011-06-14  Andreas Kling  <kling@webkit.org>

        Reviewed by Benjamin Poulain.

        [Qt] Don't include convenience "QWebFoo" headers in WebKit code.
        https://bugs.webkit.org/show_bug.cgi?id=62632

        * WebCoreSupport/FrameNetworkingContextQt.cpp:

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

8 years ago2011-06-14 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Tue, 14 Jun 2011 13:27:27 +0000 (13:27 +0000)]
2011-06-14  Andreas Kling  <kling@webkit.org>

        Reviewed by Benjamin Poulain.

        Remove some unnecessary includes.

        * bindings/js/JSCanvasRenderingContext2DCustom.cpp:

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

8 years ago2011-06-14 Yael Aharon <yael.aharon@nokia.com>
yael.aharon@nokia.com [Tue, 14 Jun 2011 13:22:18 +0000 (13:22 +0000)]
2011-06-14  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Kent Tamura.

        <progress> should support :indeterminate pseudo-class
        https://bugs.webkit.org/show_bug.cgi?id=62430

        * fast/dom/HTMLProgressElement/indeterminate-progress-001.html: Added.
        * fast/dom/HTMLProgressElement/indeterminate-progress-002-expected.txt: Added.
        * fast/dom/HTMLProgressElement/indeterminate-progress-002.html: Added.
        * platform/mac/fast/dom/HTMLProgressElement/indeterminate-progress-001-expected.png: Added.
        * platform/mac/fast/dom/HTMLProgressElement/indeterminate-progress-001-expected.txt: Added.
        * platform/chromium/test_expectations.txt:
2011-06-14  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Kent Tamura.

        <progress> should support :indeterminate pseudo-class
        https://bugs.webkit.org/show_bug.cgi?id=62430

        Add support for :indeterminate pseudo class for progress element.

        Tests: fast/dom/HTMLProgressElement/indeterminate-progress-001.html
               fast/dom/HTMLProgressElement/indeterminate-progress-002.html

        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::canShareStyleWithControl):
        (WebCore::CSSStyleSelector::canShareStyleWithElement):
        (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector):
        * html/HTMLProgressElement.cpp:
        (WebCore::HTMLProgressElement::isDeterminate):
        (WebCore::HTMLProgressElement::didElementStateChange):
        * html/HTMLProgressElement.h:

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

8 years ago2011-06-14 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Tue, 14 Jun 2011 12:53:31 +0000 (12:53 +0000)]
2011-06-14  Pavel Feldman  <pfeldman@google.com>

        Reviewed by Yury Semikhatsky.

        Web Inspector: reload from within inspector window does not work while debugger is paused.
        https://bugs.webkit.org/show_bug.cgi?id=62631

        * inspector/debugger/debugger-reload-on-pause-expected.txt: Added.
        * inspector/debugger/debugger-reload-on-pause.html: Added.
2011-06-14  Pavel Feldman  <pfeldman@google.com>

        Reviewed by Yury Semikhatsky.

        Web Inspector: reload from within inspector window does not work while debugger is paused.
        https://bugs.webkit.org/show_bug.cgi?id=62631

        Test: inspector/debugger/debugger-reload-on-pause.html

        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::continueLoadAfterNavigationPolicy):

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

8 years ago2011-06-14 Andras Becsi <abecsi@webkit.org>
abecsi@webkit.org [Tue, 14 Jun 2011 12:32:08 +0000 (12:32 +0000)]
2011-06-14  Andras Becsi  <abecsi@webkit.org>

        Reviewed by Csaba Osztrogon√°c.

        Remove dead code in DumpRenderTree/TestNetscapePlugIn/main.cpp
        https://bugs.webkit.org/show_bug.cgi?id=62630

        * DumpRenderTree/TestNetscapePlugIn/main.cpp:
        (NPP_New): remove dead variable 'forceCarbon'

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

8 years ago2011-06-14 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Tue, 14 Jun 2011 10:15:46 +0000 (10:15 +0000)]
2011-06-14  Kent Tamura  <tkent@chromium.org>

        [Chromium] Test expectation update for r88757.
        https://bugs.webkit.org/show_bug.cgi?id=52920

        * platform/chromium-linux/fast/forms/box-shadow-override-expected.txt:
        * platform/chromium-linux/fast/forms/input-appearance-height-expected.txt:
        * platform/chromium-linux/fast/forms/input-appearance-range-expected.png: Added.
        * platform/chromium-linux/fast/forms/slider-thumb-stylability-expected.png: Removed.
        * platform/chromium-linux/fast/forms/thumbslider-no-parent-slider-expected.png:
        * platform/chromium-linux/fast/multicol/client-rects-expected.txt: Removed.
        * platform/chromium-mac-leopard/fast/forms/box-shadow-override-expected.png: Added.
        * platform/chromium-mac-leopard/fast/forms/input-appearance-height-expected.png: Added.
        * platform/chromium-mac-leopard/fast/forms/input-appearance-range-expected.png: Added.
        * platform/chromium-mac-leopard/fast/forms/slider-thumb-stylability-expected.png: Added.
        * platform/chromium-mac-leopard/fast/forms/thumbslider-no-parent-slider-expected.png:
        * platform/chromium-mac/fast/forms/box-shadow-override-expected.png: Added.
        * platform/chromium-mac/fast/forms/box-shadow-override-expected.txt: Added.
        * platform/chromium-mac/fast/forms/input-appearance-height-expected.png: Added.
        * platform/chromium-mac/fast/forms/input-appearance-height-expected.txt: Added.
        * platform/chromium-mac/fast/forms/input-appearance-range-expected.png: Added.
        * platform/chromium-mac/fast/forms/thumbslider-no-parent-slider-expected.png:
        * platform/chromium-win/fast/dom/HTMLInputElement/input-slider-update-expected.txt:
        * platform/chromium-win/fast/forms/box-shadow-override-expected.txt:
        * platform/chromium-win/fast/forms/input-appearance-height-expected.txt:
        * platform/chromium-win/fast/forms/input-appearance-range-expected.png: Added.
        * platform/chromium-win/fast/forms/input-appearance-range-expected.txt: Added.
        * platform/chromium-win/fast/forms/range-thumb-height-percentage-expected.txt:
        * platform/chromium-win/fast/forms/slider-padding-expected.txt:
        * platform/chromium-win/fast/forms/slider-thumb-shared-style-expected.txt:
        * platform/chromium-win/fast/forms/slider-thumb-stylability-expected.png:
        * platform/chromium-win/fast/forms/slider-thumb-stylability-expected.txt: Removed.
        * platform/chromium-win/fast/forms/thumbslider-no-parent-slider-expected.png:
        * platform/chromium-win/fast/forms/thumbslider-no-parent-slider-expected.txt: Copied from LayoutTests/platform/chromium-win/fast/dom/HTMLInputElement/input-slider-update-expected.txt.
        * platform/chromium-win/fast/multicol/client-rects-expected.txt:
        * platform/chromium-win/fast/repaint/slider-thumb-drag-release-expected.txt:
        * platform/chromium/test_expectations.txt:

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

8 years ago2011-06-14 Gyuyoung Kim <gyuyoung.kim@samsung.com>
gyuyoung.kim@samsung.com [Tue, 14 Jun 2011 09:49:59 +0000 (09:49 +0000)]
2011-06-14  Gyuyoung Kim  <gyuyoung.kim@samsung.com>

        Reviewed by Kent Tamura.

        [EFL] Support for painting thumb of media slider
        https://bugs.webkit.org/show_bug.cgi?id=62174

        Replace RenderObject parameter with RenderStyle's in adjustSliderThumbSize.
        Because, parameter of the function was changed. And, add constant variable to
        paintMediaSliderThumb().

        * platform/efl/RenderThemeEfl.cpp:
        (WebCore::RenderThemeEfl::RenderThemeEfl):
        (WebCore::RenderThemeEfl::adjustSliderThumbSize):
        (WebCore::RenderThemeEfl::paintMediaSliderThumb):
        * platform/efl/RenderThemeEfl.h:

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

8 years ago2011-06-14 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Tue, 14 Jun 2011 09:22:41 +0000 (09:22 +0000)]
2011-06-14  Kent Tamura  <tkent@chromium.org>

        [Qt] Attempt to fix a build break by r88757.
        https://bugs.webkit.org/show_bug.cgi?id=52920

        * platform/qt/RenderThemeQt.cpp:
        (WebCore::RenderThemeQt::paintSliderTrack):

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

8 years ago2011-06-14 Mario Sanchez Prada <msanchez@igalia.com>
mario@webkit.org [Tue, 14 Jun 2011 08:36:20 +0000 (08:36 +0000)]
2011-06-14  Mario Sanchez Prada  <msanchez@igalia.com>

        Unreviewed, skipping test failing in the GTK bots.

        * platform/gtk/Skipped: Skipped test

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

8 years ago2011-06-14 Mario Sanchez Prada <msanchez@igalia.com>
mario@webkit.org [Tue, 14 Jun 2011 08:13:02 +0000 (08:13 +0000)]
2011-06-14  Mario Sanchez Prada  <msanchez@igalia.com>

        Unreviewed, added new baselines for GTK needed after r88266.

        * platform/gtk/svg/W3C-SVG-1.1-SE/styling-css-04-f-expected.png: Added.
        * platform/gtk/svg/W3C-SVG-1.1-SE/styling-css-04-f-expected.txt: Added.
        * platform/gtk/svg/custom/invalid-dasharray-expected.png: Added.
        * platform/gtk/svg/custom/invalid-dasharray-expected.txt: Added.

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

8 years ago2011-06-14 Mario Sanchez Prada <msanchez@igalia.com>
mario@webkit.org [Tue, 14 Jun 2011 08:03:05 +0000 (08:03 +0000)]
2011-06-14  Mario Sanchez Prada  <msanchez@igalia.com>

        Unreviewed, skipping tests crashing in the GTK bots.

        * platform/gtk/Skipped: Skipped tests.

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

8 years ago2011-06-14 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Tue, 14 Jun 2011 07:53:30 +0000 (07:53 +0000)]
2011-06-14  Kent Tamura  <tkent@chromium.org>

        [Mac-WK2] Rebaseline for r88757.
        https://bugs.webkit.org/show_bug.cgi?id=52920

        * platform/mac-wk2/media/controls-without-preload-expected.txt:

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

8 years ago2011-06-13 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Tue, 14 Jun 2011 06:44:09 +0000 (06:44 +0000)]
2011-06-13  Kent Tamura  <tkent@chromium.org>

        [Win] More rebaseline for r88757.
        https://bugs.webkit.org/show_bug.cgi?id=52920

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

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

8 years ago2011-06-13 Hayato Ito <hayato@chromium.org>
hayato@chromium.org [Tue, 14 Jun 2011 06:31:18 +0000 (06:31 +0000)]
2011-06-13  Hayato Ito  <hayato@chromium.org>

        Reviewed by Ojan Vafai.

        [NRWT] Fix a WebKitDriver so that it returns an actual hash value if DRT returns that.
        https://bugs.webkit.org/show_bug.cgi?id=59188

        A current WebKitDriver doesn't try to return an actual hash value if DRT does not return an image.
        WebKitDriver should always return an actual hash value if DRT returns that.

        No tests since I'll add sample reftests to make sure mismatch reftests work later,
        which should be in a separate patch.

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

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

8 years ago2011-06-13 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Tue, 14 Jun 2011 05:55:56 +0000 (05:55 +0000)]
2011-06-13  Kent Tamura  <tkent@chromium.org>

        More Leopard and GTK rebaseline for r88757.
        https://bugs.webkit.org/show_bug.cgi?id=52920

        * platform/gtk/fast/forms/input-appearance-range-expected.txt: Added.
        * platform/mac-leopard/media/audio-repaint-expected.txt: Added.
        * platform/mac-leopard/media/media-document-audio-repaint-expected.txt: Added.

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

8 years ago2011-06-13 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Tue, 14 Jun 2011 05:42:57 +0000 (05:42 +0000)]
2011-06-13  Kent Tamura  <tkent@chromium.org>

        [Win] Rebaseline for r88757.
        https://bugs.webkit.org/show_bug.cgi?id=52920

        * platform/win/media/audio-controls-rendering-expected.txt:
        * platform/win/media/controls-after-reload-expected.txt:
        * platform/win/media/controls-strict-expected.txt:
        * platform/win/media/controls-styling-expected.txt:
        * platform/win/media/controls-without-preload-expected.txt:
        * platform/win/media/media-document-audio-repaint-expected.txt:
        * platform/win/media/video-controls-rendering-expected.txt:
        * platform/win/media/video-display-toggle-expected.txt:
        * platform/win/media/video-no-audio-expected.txt:

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

8 years ago2011-06-13 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Tue, 14 Jun 2011 05:25:21 +0000 (05:25 +0000)]
2011-06-13  Kent Tamura  <tkent@chromium.org>

        [Chromium-win] Fix two wrong assertions exposed by r88757.

        * DumpRenderTree/chromium/WebThemeEngineDRTWin.cpp:
        (WebThemeEngineDRTWin::paintTrackbar):

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

8 years ago2011-06-13 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Tue, 14 Jun 2011 05:15:25 +0000 (05:15 +0000)]
2011-06-13  Kent Tamura  <tkent@chromium.org>

        [GTK] Rebaseline for r88757.

        * platform/gtk/fast/dom/HTMLInputElement/input-slider-update-expected.txt:
        * platform/gtk/fast/forms/box-shadow-override-expected.txt:
        * platform/gtk/fast/forms/input-appearance-height-expected.txt:
        * platform/gtk/fast/forms/range-thumb-height-percentage-expected.txt:
        * platform/gtk/fast/forms/slider-padding-expected.txt:
        * platform/gtk/fast/forms/slider-thumb-shared-style-expected.txt:
        * platform/gtk/fast/forms/slider-thumb-stylability-expected.txt:
        * platform/gtk/fast/forms/thumbslider-no-parent-slider-expected.txt:
        * platform/gtk/fast/layers/video-layer-expected.txt:
        * platform/gtk/fast/multicol/client-rects-expected.txt:
        * platform/gtk/fast/repaint/slider-thumb-drag-release-expected.txt:
        * platform/gtk/media/audio-controls-rendering-expected.txt:
        * platform/gtk/media/audio-repaint-expected.txt:
        * platform/gtk/media/controls-strict-expected.txt:
        * platform/gtk/media/controls-styling-expected.txt:
        * platform/gtk/media/controls-without-preload-expected.txt:
        * platform/gtk/media/media-document-audio-repaint-expected.txt:
        * platform/gtk/media/video-controls-rendering-expected.txt:
        * platform/gtk/media/video-empty-source-expected.txt:
        * platform/gtk/media/video-no-audio-expected.txt:
        * platform/gtk/media/video-zoom-controls-expected.txt:

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

8 years ago2011-06-13 Igor Oliveira <igor.oliveira@openbossa.org>
commit-queue@webkit.org [Tue, 14 Jun 2011 05:07:08 +0000 (05:07 +0000)]
2011-06-13  Igor Oliveira  <igor.oliveira@openbossa.org>

        Reviewed by Eric Seidel.

        [Qt] Rebaseline http/tests/misc/slow-loading-image-in-pattern.html after r69386 and r83871
        https://bugs.webkit.org/show_bug.cgi?id=62125

        Rebaseline LayoutTests/platform/qt/http/tests/misc/slow-loading-image-in-pattern-expected.txt after r69386 and r83871

        * platform/qt/http/tests/misc/slow-loading-image-in-pattern-expected.txt:

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

8 years ago2011-06-13 Laszlo Gombos <laszlo.1.gombos@nokia.com>
laszlo.1.gombos@nokia.com [Tue, 14 Jun 2011 05:02:58 +0000 (05:02 +0000)]
2011-06-13  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Eric Seidel.

        [Qt] Pass prototype-inheritance-2.html LayoutTest
        https://bugs.webkit.org/show_bug.cgi?id=62224

        Fix the expected result and remove the test from the Skipped list.

        * platform/qt/fast/dom/prototype-inheritance-2-expected.txt:
        * platform/qt/Skipped:

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

8 years ago2011-06-13 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Tue, 14 Jun 2011 05:00:07 +0000 (05:00 +0000)]
2011-06-13  Kent Tamura  <tkent@chromium.org>

        [Mac] Leopard expectation files for r88757.

        * platform/mac-leopard/media/controls-after-reload-expected.txt:
        * platform/mac-leopard/media/controls-strict-expected.txt:
        * platform/mac-leopard/media/controls-styling-expected.txt:
        * platform/mac-leopard/media/controls-without-preload-expected.txt:
        * platform/mac-leopard/media/video-controls-rendering-expected.txt:
        * platform/mac-leopard/media/video-display-toggle-expected.txt:
        * platform/mac-leopard/media/video-no-audio-expected.txt:

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

8 years ago2011-06-13 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Tue, 14 Jun 2011 04:53:00 +0000 (04:53 +0000)]
2011-06-13  Kent Tamura  <tkent@chromium.org>

        [Mac] Rebaseline for r88757.

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

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

8 years ago Added an updated e-mail address for Matt Lilek, to make Bugzilla autocomplete
ap@apple.com [Tue, 14 Jun 2011 04:45:42 +0000 (04:45 +0000)]
    Added an updated e-mail address for Matt Lilek, to make Bugzilla autocomplete
        and commit queue happy.

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

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

8 years ago2011-06-13 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Tue, 14 Jun 2011 04:34:40 +0000 (04:34 +0000)]
2011-06-13  Ryosuke Niwa  <rniwa@webkit.org>

        Fix a typo in Mac WebKit2's skipped list.

        svg/custom/focus-event-handling-keyboard's extension is xhtml, not html.

        * platform/mac-wk2/Skipped:

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

8 years ago2011-06-13 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Tue, 14 Jun 2011 04:29:49 +0000 (04:29 +0000)]
2011-06-13  Ryosuke Niwa  <rniwa@webkit.org>

        Skip editing/pasteboard/smart-paste-004.html per bug 61633.

        * platform/win/Skipped:

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

8 years ago2011-06-13 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Tue, 14 Jun 2011 04:23:35 +0000 (04:23 +0000)]
2011-06-13  Ryosuke Niwa  <rniwa@webkit.org>

        Chromium test expectation update; svg/css/group-with-shadow.svg is passing on
        Windows Vista and Windows 7.

        * platform/chromium/test_expectations.txt:

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

8 years ago2011-06-13 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Tue, 14 Jun 2011 04:15:14 +0000 (04:15 +0000)]
2011-06-13  Kent Tamura  <tkent@chromium.org>

        [EFL] The second try to fix a build break.

        * platform/efl/RenderThemeEfl.cpp:
        (WebCore::RenderThemeEfl::paintThemePart):

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

8 years ago2011-06-13 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Tue, 14 Jun 2011 04:08:38 +0000 (04:08 +0000)]
2011-06-13  Kent Tamura  <tkent@chromium.org>

        [EFL] Fix a typo.

        * platform/efl/RenderThemeEfl.cpp:
        (WebCore::RenderThemeEfl::paintThemePart):

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

8 years ago2011-06-13 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Tue, 14 Jun 2011 04:07:30 +0000 (04:07 +0000)]
2011-06-13  Kent Tamura  <tkent@chromium.org>

        [EFL] Try to fix a build break by r88757.

        * platform/efl/RenderThemeEfl.cpp:
        (WebCore::RenderThemeEfl::paintThemePart):

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

8 years ago2011-06-13 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Tue, 14 Jun 2011 04:02:28 +0000 (04:02 +0000)]
2011-06-13  Ryosuke Niwa  <rniwa@webkit.org>

        Remove failing test expectation for plugins/npruntime/browser-object-identity.html
        on Chromium since it has been fixed by r88679.

        * platform/chromium/test_expectations.txt:

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

8 years ago2011-06-10 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Tue, 14 Jun 2011 03:46:30 +0000 (03:46 +0000)]
2011-06-10  Kent Tamura  <tkent@chromium.org>

        Reviewed by Dimitri Glazkov.

        Use CSS machinery to position slider thumb.
        https://bugs.webkit.org/show_bug.cgi?id=52920

        Add two new tests, and update tests with sliders.

        * fast/dom/HTMLInputElement/input-slider-update-styled-expected.txt:
        * fast/forms/input-appearance-range.html: Added.
        * fast/forms/slider-thumb-stylability.html: Remove text.
        * fast/forms/validation-message-on-range-expected.txt: Added.
        * fast/forms/validation-message-on-range.html: Added.
        * fast/multicol/client-rects-expected.txt:
        * fast/repaint/slider-thumb-float-expected.txt:
        * media/audio-repaint-expected.txt:
        * media/controls-without-preload-expected.txt:
        * media/media-document-audio-repaint-expected.txt:
        * platform/chromium/test_expectations.txt:
        * platform/gtk/Skipped: Skip validaiton-message-on-range.html because
          this platform doesn't support the interactive validation.
        * platform/mac-wk2/Skipped: Skip validaiton-message-on-range.html.
        * platform/mac/fast/dom/HTMLInputElement/input-slider-update-expected.png:
        * platform/mac/fast/dom/HTMLInputElement/input-slider-update-expected.txt:
        * platform/mac/fast/forms/box-shadow-override-expected.png:
        * platform/mac/fast/forms/box-shadow-override-expected.txt:
        * platform/mac/fast/forms/input-appearance-height-expected.png:
        * platform/mac/fast/forms/input-appearance-height-expected.txt:
        * platform/mac/fast/forms/input-appearance-range-expected.png: Added.
        * platform/mac/fast/forms/input-appearance-range-expected.txt: Added.
        * platform/mac/fast/forms/range-thumb-height-percentage-expected.txt:
        * platform/mac/fast/forms/slider-padding-expected.png:
        * platform/mac/fast/forms/slider-padding-expected.txt:
        * platform/mac/fast/forms/slider-thumb-shared-style-expected.png:
        * platform/mac/fast/forms/slider-thumb-shared-style-expected.txt:
        * platform/mac/fast/forms/slider-thumb-stylability-expected.png:
        * platform/mac/fast/forms/slider-thumb-stylability-expected.txt:
        * platform/mac/fast/forms/thumbslider-no-parent-slider-expected.png:
        * platform/mac/fast/forms/thumbslider-no-parent-slider-expected.txt:
        * platform/mac/fast/repaint/slider-thumb-drag-release-expected.png:
        * platform/mac/fast/repaint/slider-thumb-drag-release-expected.txt:
        * platform/mac/media/audio-controls-rendering-expected.png:
        * platform/mac/media/audio-controls-rendering-expected.txt:
        * platform/mac/media/controls-after-reload-expected.png:
        * platform/mac/media/controls-after-reload-expected.txt:
        * platform/mac/media/controls-styling-expected.png:
        * platform/mac/media/controls-styling-expected.txt:
        * platform/qt/Skipped: Skip validaiton-message-on-range.html.
        * platform/win/Skipped: Skip validaiton-message-on-range.html.
2011-06-10  Kent Tamura  <tkent@chromium.org>

        Reviewed by Dimitri Glazkov.

        Use CSS machinery to position slider thumb.
        https://bugs.webkit.org/show_bug.cgi?id=52920

        Remove RenderSlider::layout().
        In order to remove it, we introduce new three shadow nodes:
         - A flex box container occupying the whole box
         - A flex box item representing a movable area of the thumb
         - A flex box item limiting the movable area of the thumb
        The thumb position is specified by percentage position in the second element.

        This change also fixes Bug 60353.

        Tests: fast/forms/input-appearance-range.html
               fast/forms/validation-message-on-range.html

        * accessibility/AccessibilitySlider.cpp:
        (WebCore::AccessibilitySliderThumb::elementRect):
          Use Node::getRect() for the thumb element.
        * css/html.css: Add new style definitions for the new node layout.
        (input[type="range"]::-webkit-slider-container):
        (input[type="range"]::-webkit-slider-runnable-track):
        (input[type="range"]::-webkit-slider-thumb):
        * html/RangeInputType.cpp:
        (WebCore::RangeInputType::handleMouseDownEvent):
          Accepts events on shadow nodes, use sliderThumbElementOf().
        (WebCore::RangeInputType::createShadowSubtree):
          Creates new nodes layout.
        (WebCore::RangeInputType::valueChanged): Use sliderThumbElementOf().
        * html/RangeInputType.h: Remove shadowSliderThumb().
        * html/shadow/SliderThumbElement.cpp:
        (WebCore::sliderPosition): Moved from RenderSlider.cpp.
        (WebCore::hasVerticalAppearance): New utility function.
        (WebCore::sliderThumbElementOf): New utility function.
        (WebCore::RenderSliderThumb::layout):
          Sets CSS top/left values.
        (WebCore::RenderSliderContainer::RenderSliderContainer):
        (WebCore::RenderSliderContainer::layout):
          Add some adjustment code.
          - Setting box-orient
          - Adjust heights of some nodes. It is required to pass existing tests.
        (WebCore::SliderThumbElement::setPositionFromValue):
          Update comments.
        (WebCore::SliderThumbElement::setPositionFromPoint):
          Calculate the current position from absolute positions.
        (WebCore::SliderThumbElement::hostInput):
          Removed unnecessary variable.
        (WebCore::TrackLimiterElement::TrackLimiterElement):
        (WebCore::TrackLimiterElement::create): Adjust style.
        (WebCore::TrackLimiterElement::createRenderer):
          This node uses RenderSliderThumb.
        (WebCore::TrackLimiterElement::shadowPseudoId):
          This node also uses -webkit-slider-thumb.
        (WebCore::SliderContainerElement::SliderContainerElement):
        (WebCore::SliderContainerElement::create):
        (WebCore::SliderContainerElement::createRenderer):
          Uses RenderSliderContainer.
        (WebCore::SliderContainerElement::shadowPseudoId):
        * html/shadow/SliderThumbElement.h:
          Make hostInput() public, add declarations of TrackLimiterElement
          and SliderContainerElement.
        * rendering/RenderSlider.cpp:
        (WebCore::RenderSlider::RenderSlider): Added an assertion.
        (WebCore::RenderSlider::inDragMode): Uses sliderThumbElementOf().
        * rendering/RenderSlider.h: Remove declarations of removed functions.
        * rendering/RenderTheme.cpp:
        (WebCore::RenderTheme::adjustSliderThumbStyle):
          Calls adjustSliderThumbSize().

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

8 years ago2011-06-13 James Simonsen <simonjam@chromium.org>
simonjam@chromium.org [Tue, 14 Jun 2011 02:55:15 +0000 (02:55 +0000)]
2011-06-13  James Simonsen  <simonjam@chromium.org>

        [Chromium] Unreviewed, rolled DEPS.

        * DEPS:

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

8 years ago2011-06-13 Joone Hur <joone.hur@collabora.co.uk>
joone.hur@collabora.co.uk [Tue, 14 Jun 2011 02:27:53 +0000 (02:27 +0000)]
2011-06-13  Joone Hur  <joone.hur@collabora.co.uk>

        Reviewed by Martin Robinson.

        [GTK] Add configure option to enable/disable register protocol handler
        https://bugs.webkit.org/show_bug.cgi?id=62534

        This patch just adds configure option to enable/disable register protocol handler.
        So, it needs more code to use register protocol handler.

        * configure.ac: Add configure option to enable/disable register protocol handler.
2011-06-13  Joone Hur  <joone.hur@collabora.co.uk>

        Reviewed by Martin Robinson.

        [GTK] Add configure option to enable/disable register protocol handler
        https://bugs.webkit.org/show_bug.cgi?id=62534

        * GNUmakefile.am: Add ENABLE_REGISTER_PROTOCOL_HANDLER.
2011-06-13  Joone Hur  <joone.hur@collabora.co.uk>

        Reviewed by Martin Robinson.

        [GTK] Add configure option to enable/disable register protocol handler
        https://bugs.webkit.org/show_bug.cgi?id=62534

        * WebCoreSupport/ChromeClientGtk.cpp:
        (WebKit::ChromeClient::registerProtocolHandler): Added.
        * WebCoreSupport/ChromeClientGtk.h: Add the registerProtocolHandler method defintion.

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