WebKit-https.git
9 years ago2010-08-23 Patrick Gansterer <paroga@paroga.com>
commit-queue@webkit.org [Tue, 24 Aug 2010 03:04:18 +0000 (03:04 +0000)]
2010-08-23  Patrick Gansterer  <paroga@paroga.com>

        Reviewed by Adam Roben.

        Support all available biBitCount values in BitmapInfo
        https://bugs.webkit.org/show_bug.cgi?id=43724

        Add an enum with all possible values for biBitCount.
        Also remove explicit initialization of bmiHeader members,
        because that is already done in the constructor.

        * platform/win/BitmapInfo.cpp: Added property svn:eol-style.
        (WebCore::bitmapInfoForSize):
        (WebCore::BitmapInfo::create):
        (WebCore::BitmapInfo::createBottomUp):
        * platform/win/BitmapInfo.h: Added property svn:eol-style.
        (WebCore::BitmapInfo::):
        (WebCore::BitmapInfo::bytesPerLine):
        (WebCore::BitmapInfo::paddedBytesPerLine):
        (WebCore::BitmapInfo::paddedWidth):
        * platform/win/PopupMenuWin.cpp:
        (WebCore::PopupMenuWin::paint):

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

9 years ago2010-08-23 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Tue, 24 Aug 2010 02:30:50 +0000 (02:30 +0000)]
2010-08-23  Kent Tamura  <tkent@chromium.org>

        Unreviewed, build fix for r65852.

        * rendering/RenderTextControlSingleLine.cpp:
        (WebCore::RenderTextControlSingleLine::createSubtreeIfNeeded):
        * rendering/TextControlInnerElements.cpp:
        (WebCore::InputFieldSpeechButtonElement::InputFieldSpeechButtonElement):
        (WebCore::InputFieldSpeechButtonElement::create):
        * rendering/TextControlInnerElements.h:
2010-08-23  Kent Tamura  <tkent@chromium.org>

        Unreviewed, build fix for r65852.

        * src/WebNode.cpp:
        (WebKit::WebNode::parentNode):

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

9 years ago2010-08-23 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Tue, 24 Aug 2010 02:26:35 +0000 (02:26 +0000)]
2010-08-23  Martin Robinson  <mrobinson@igalia.com>

        Rebaseline new tests and skip tests which produce incorrect output.

        * platform/gtk/Skipped:
        * platform/gtk/fast/canvas/setWidthResetAfterForcedRender-expected.txt: Added.
        * platform/gtk/fast/repaint/multicol-repaint-expected.txt: Added.
        * platform/gtk/fast/repaint/view-background-from-body-1-expected.txt: Copied from LayoutTests/platform/mac/fast/repaint/view-background-from-body-1-expected.txt.
        * platform/gtk/fast/repaint/view-background-from-body-2-expected.txt: Copied from LayoutTests/platform/mac/fast/repaint/view-background-from-body-2-expected.txt.
        * platform/gtk/http/tests/misc/slow-loading-image-in-pattern-expected.txt: Added.
        * platform/gtk/mathml/presentation/attributes-expected.txt: Added.
        * platform/gtk/mathml/presentation/fenced-expected.txt: Added.
        * platform/gtk/mathml/presentation/fractions-expected.txt: Added.
        * platform/gtk/mathml/presentation/fractions-vertical-alignment-expected.txt: Added.
        * platform/gtk/mathml/presentation/mo-expected.txt: Added.
        * platform/gtk/mathml/presentation/over-expected.txt: Added.
        * platform/gtk/mathml/presentation/roots-expected.txt: Added.
        * platform/gtk/mathml/presentation/row-alignment-expected.txt: Added.
        * platform/gtk/mathml/presentation/row-expected.txt: Added.
        * platform/gtk/mathml/presentation/style-expected.txt: Added.
        * platform/gtk/mathml/presentation/subsup-expected.txt: Added.
        * platform/gtk/mathml/presentation/tokenElements-expected.txt: Added.
        * platform/gtk/mathml/presentation/under-expected.txt: Added.
        * platform/gtk/mathml/presentation/underover-expected.txt: Added.
        * platform/gtk/svg/batik/paints/patternRegions-positioned-objects-expected.txt: Added.
        * platform/gtk/svg/custom/convolution-crash-expected.txt: Copied from LayoutTests/platform/mac/svg/custom/convolution-crash-expected.txt.
        * platform/gtk/svg/custom/marker-empty-path-expected.txt: Copied from LayoutTests/platform/mac/svg/custom/marker-empty-path-expected.txt.
        * platform/gtk/svg/custom/path-zero-strokewidth-expected.txt: Added.
        * platform/gtk/svg/custom/pattern-incorrect-tiling-expected.txt: Added.
        * platform/gtk/svg/custom/pattern-no-pixelation-expected.txt: Copied from LayoutTests/platform/mac/svg/custom/pattern-no-pixelation-expected.txt.
        * platform/gtk/svg/custom/recursive-filter-expected.txt: Added.
        * platform/gtk/svg/custom/recursive-gradient-expected.txt: Added.
        * platform/gtk/svg/custom/recursive-mask-expected.txt: Added.
        * platform/gtk/svg/custom/recursive-pattern-expected.txt: Added.
        * platform/gtk/svg/custom/relative-sized-content-with-resources-expected.txt: Added.
        * platform/gtk/svg/custom/svg-fonts-without-missing-glyph-expected.txt: Added.
        * platform/gtk/svg/filters/filter-empty-g-expected.txt: Copied from LayoutTests/platform/mac/svg/filters/filter-empty-g-expected.txt.
        * platform/gtk/svg/in-html/circle-expected.txt: Added.
        * platform/gtk/svg/zoom/page/zoom-mask-with-percentages-expected.txt: Added.

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

9 years ago2010-08-23 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Tue, 24 Aug 2010 02:14:02 +0000 (02:14 +0000)]
2010-08-23  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Eric Seidel.

        MarkupAccumulator::appendStartMarkup should be broken down into pieces
        https://bugs.webkit.org/show_bug.cgi?id=44288

        Extracted appendText, appendComment, appendProcessingInstruction, appendElement and appendCDATASection.
        Also simplified the conditionals in appendText.

        No new tests are added since this is a cleanup.

        * editing/markup.cpp:
        (WebCore::MarkupAccumulator::appendText):
        (WebCore::MarkupAccumulator::appendComment):
        (WebCore::MarkupAccumulator::appendProcessingInstruction):
        (WebCore::MarkupAccumulator::appendElement):
        (WebCore::MarkupAccumulator::appendCDATASection):
        (WebCore::MarkupAccumulator::appendStartMarkup):

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

9 years ago2010-08-23 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Tue, 24 Aug 2010 01:49:04 +0000 (01:49 +0000)]
2010-08-23  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Alexey Proskuryakov.

        TreeWalker is not calling acceptNode function in filter object
        https://bugs.webkit.org/show_bug.cgi?id=35296

        Fix incorrect shadowing of the 'function' variable, which could result
        in badness when asking for arguments.callee.

        * bindings/js/JSNodeFilterCondition.cpp:
        (WebCore::JSNodeFilterCondition::acceptNode):

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

9 years agoWebCore: Changed type of Node::parentNode to ContainerNode so we don't have to cast,
darin@apple.com [Tue, 24 Aug 2010 01:39:08 +0000 (01:39 +0000)]
WebCore: Changed type of Node::parentNode to ContainerNode so we don't have to cast,
since parent are all containers.

Reviewed by Geoff Garen.

* css/CSSStyleSelector.h: Changed m_parentNode to ContainerNode*.

* dom/Document.h: Fixed the type of TreeShared in the Node constructor.
Yes, it's here.

* dom/Node.cpp:
(WebCore::Node::eventParentNode): Removed now-unneeded typecast dance.
(WebCore::eventTargetAsSVGElementInstance):Changed type to ContainerNode*.

* dom/Node.h: Made Node inherit from TreeShared<ContainerNode> instead of
from TreeShared<Node>. Removed bogus comment. Changed return type of parentNode
and shadowParentNode functions to ContainerNode*. Fixed using to use
TreeShared<ContainerNode>.

* dom/Position.h: Include ContainerNode.h instead of Node.h.

* html/HTMLConstructionSite.cpp:
(WebCore::HTMLConstructionSite::findFosterSite): Removed now-unneeded typecast.

* rendering/MediaControlElements.h:
* rendering/SVGShadowTreeElements.h:
* rendering/TextControlInnerElements.h:
Changed return type of shadowParentNode functions to ContainerNode.

* rendering/RenderMeter.cpp:
(WebCore::RenderMeter::updatePartsState): Cast the node to HTMLElement* before
passing it to the function that creates the shadow element. We know the node is
a HTMLMeterElement, but the node function doesn't know that.
* rendering/RenderProgress.cpp:
(WebCore::RenderProgress::updatePartsState): Ditto.
* rendering/RenderSlider.cpp:
(WebCore::SliderThumbElement::SliderThumbElement): More of the same.
(WebCore::SliderThumbElement::create): Ditto.
(WebCore::RenderSlider::updateFromElement): Ditto.
* rendering/RenderTextControl.cpp:
(WebCore::RenderTextControl::createSubtreeIfNeeded): Ditto.
* rendering/RenderTextControlSingleLine.cpp:
(WebCore::RenderTextControlSingleLine::createSubtreeIfNeeded): Ditto.
* rendering/SVGShadowTreeElements.cpp:
(WebCore::SVGShadowTreeRootElement::SVGShadowTreeRootElement): Ditto.
(WebCore::SVGShadowTreeRootElement::shadowParentNode): Ditto.
* rendering/ShadowElement.cpp:
(WebCore::ShadowBlockElement::create): Ditto.
(WebCore::ShadowBlockElement::ShadowBlockElement): Ditto.
(WebCore::ShadowBlockElement::createForPart): Ditto.
(WebCore::ShadowInputElement::create): Ditto.
(WebCore::ShadowInputElement::ShadowInputElement): Ditto.
* rendering/ShadowElement.h:
(WebCore::ShadowElement::ShadowElement): Ditto.
(WebCore::ShadowElement::shadowParent): Ditto.
(WebCore::ShadowElement::shadowParentNode): Ditto.
* rendering/TextControlInnerElements.cpp:
(WebCore::TextControlInnerElement::TextControlInnerElement): Ditto.
(WebCore::TextControlInnerElement::create): Ditto.
(WebCore::TextControlInnerTextElement::TextControlInnerTextElement): Ditto.
(WebCore::TextControlInnerTextElement::create): Ditto.
(WebCore::SpinButtonElement::SpinButtonElement): Ditto.
(WebCore::SpinButtonElement::create): Ditto.

* svg/SVGElement.cpp:
(WebCore::SVGElement::eventParentNode): Removed now-unneeded typecast.

* svg/SVGStyledElement.cpp:
(WebCore::SVGStyledElement::title): Changed type to ContainerNode*.

WebKit2: * WebProcess/InjectedBundle/API/c/WKBundleNode.cpp:
(WKBundleNodeGetParent): Update since parent now returns a
ContainerNode*. The toRef function is a bit too picky to convert
it without a bit of help.

Reviewed by Geoff Garen.

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

9 years ago2010-08-23 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Tue, 24 Aug 2010 01:25:37 +0000 (01:25 +0000)]
2010-08-23  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Gustavo Noronha Silva.

        [GTK] The Mozilla theme drawing code incorrectly renders scrollbar backgrounds
        https://bugs.webkit.org/show_bug.cgi?id=44388

        No new tests as this functionality is currently unused. When the
        the new scrollbar theme code lands for GTK+, this will be tested
        by scrollbar pixel tests.

        * platform/gtk/gtk2drawing.c: Expose a method to paint scrolled window
        backgrounds and disable incorrect rendering of scrollbar trough backgrounds.
        (moz_gtk_scrolled_window_paint): Added.
        (moz_gtk_scrollbar_trough_paint): Disable incorrect background render.
        * platform/gtk/gtkdrawing.h: Add scrolled window widget type in the enum.

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

9 years ago2010-08-23 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Tue, 24 Aug 2010 01:23:51 +0000 (01:23 +0000)]
2010-08-23  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Gustavo Noronha Silva.

        [GTK] The Mozilla theme drawing API should expose extra information about scrollbar geometry
        https://bugs.webkit.org/show_bug.cgi?id=44385

        Expose the trough_under_steppers property in MozGtkScrollbarMetrics.

        No new tests as this does not change functionality.

        * platform/gtk/gtk2drawing.c: Set the trough_under_steppers member when accessing theme data.
        * platform/gtk/gtkdrawing.h: Add the trough_under_steppers member.

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

9 years agoParser DOM tree manipulation functions do not need to be virtual.
darin@apple.com [Tue, 24 Aug 2010 00:44:03 +0000 (00:44 +0000)]
Parser DOM tree manipulation functions do not need to be virtual.

Reviewed by Geoff Garen.

* dom/ContainerNode.h: Made parserAddChild, parserRemoveChild, and
parserInsertBefore non-virtual.

* dom/Node.cpp: Removed the parserAddChild, parserRemoveChild, and
parserInsertBefore functions, which should never have been in the Node class.
* dom/Node.h: Ditto.

* html/HTMLConstructionSite.cpp:
(WebCore::HTMLConstructionSite::attach): Changed argument type to ContainerNode*
because we never need to attach a child to a non-container node.
(WebCore::HTMLConstructionSite::findFosterSite): Cast the result of the parent
function to ContainerNode*. A parent is always guaranteed to be a container, but
the parent function returns a Node* so that callers can use it without including
ContainerNode's header. That seems like something we can easily fix later.

* html/HTMLConstructionSite.h: Changed AttachmentSite::parent and the
attach function to ContainerNode* instead of Node*.

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

9 years ago2010-08-23 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 24 Aug 2010 00:29:39 +0000 (00:29 +0000)]
2010-08-23  Adam Barth  <abarth@webkit.org>

        Update the expected results for this test.  I think the new expected
        results are better than the old ones, but we'll check with some editing
        folks to be sure.

        * editing/execCommand/insert-list-xml-expected.txt:

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

9 years ago2010-08-23 Oliver Hunt <oliver@apple.com>
oliver@apple.com [Tue, 24 Aug 2010 00:04:01 +0000 (00:04 +0000)]
2010-08-23  Oliver Hunt  <oliver@apple.com>

        Reviewed by Darin Adler.

        [REGRESSION] Interpreter incorrectly excludes prototype chain when validating put_by_id_transition
        https://bugs.webkit.org/show_bug.cgi?id=44240
        <rdar://problem/8328995>

        Fix an error I introduced when cleaning up the interpreter side of the logic
        to prevent setters being called in object initialisers.

        * interpreter/Interpreter.cpp:
        (JSC::Interpreter::privateExecute):

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

9 years agoUnreviewed, updating Chromium expectations.
dumi@chromium.org [Mon, 23 Aug 2010 23:55:13 +0000 (23:55 +0000)]
Unreviewed, updating Chromium expectations.

* platform/chromium/test_expectations.txt:

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

9 years ago2010-08-23 Adam Barth <abarth@webkit.org>
eric@webkit.org [Mon, 23 Aug 2010 23:52:34 +0000 (23:52 +0000)]
2010-08-23  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        editing/pasteboard/bad-placeholder.html fails with --html5-treebuilder
        https://bugs.webkit.org/show_bug.cgi?id=44463

        The problem here is that using the documentElement as the context puts
        the tree builder into the BeforeHead insertion mode, which strips
        leading spaces.  This code is confused about what it wants, but it
        certainly doesn't want to be in that insertion mode.  Looking through
        the callers, they'd much rather be in the InBody insertion mode.  We
        can get them there by creating a fake body element as the context
        element.

        In the long term, all this code needs to be changed to move away from
        deprecatedCreateContextualFragment, which does a bunch of nasty stuff
        like removing certain kinds of elements.  However, that's a battle for
        another day.

        * editing/markup.cpp:
        (WebCore::createFragmentFromMarkup):

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

9 years ago2010-08-23 Adam Barth <abarth@webkit.org>
eric@webkit.org [Mon, 23 Aug 2010 23:49:09 +0000 (23:49 +0000)]
2010-08-23  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        fast/xsl/default-html.html fails with HTML5 fragment parsing
        https://bugs.webkit.org/show_bug.cgi?id=44450

        This patch is a step down a trail of tears.  As far as I can tell,
        there's no spec for XSLTProcessor.transformToFragment.  This patch
        attempts to infer the proper behavior from test cases and the Mozilla
        wiki.

        * xml/XSLTProcessor.cpp:
        (WebCore::createFragmentFromSource):

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

9 years ago2010-08-23 Adam Barth <abarth@webkit.org>
eric@webkit.org [Mon, 23 Aug 2010 23:48:38 +0000 (23:48 +0000)]
2010-08-23  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        editing/pasteboard/paste-visible-script.html is broken with --html5-treebuilder
        https://bugs.webkit.org/show_bug.cgi?id=44457

        Turns out there are two more checks we need for fragment scripting
        permission.  Not the most beautiful design, but it seems work.

        * html/HTMLConstructionSite.cpp:
        (WebCore::HTMLConstructionSite::insertScriptElement):
        * html/HTMLTreeBuilder.cpp:
        (WebCore::HTMLTreeBuilder::processEndTag):

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

9 years ago2010-08-23 Eric Seidel <eric@webkit.org>
eric@webkit.org [Mon, 23 Aug 2010 23:44:10 +0000 (23:44 +0000)]
2010-08-23  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        fast/dom/script-innerHTML-x.xhtml fails when run with the HTML5 TreeBuilder in fragment mode
        https://bugs.webkit.org/show_bug.cgi?id=44447

        This special handling for script/style used to exist in
        setInnerHTML.  HTML5 moves this logic into the HTML and XML
        parsers instead of in setInnerHTML.

        In order to share this logic between WebKit's two XML parsers
        I had to clean up a bit of the libxml2 parser and add a
        new appendFragmentSource method.

        Covered by fast/dom/script-innerHTML-x.xhtml.

        * dom/XMLDocumentParser.cpp:
        (WebCore::XMLDocumentParser::end):
         - Now that libxml2 is calling finish() for fragments (Qt already was)
           I went through and removed this unneeded style update after fragment parsing.
        (WebCore::XMLDocumentParser::parseDocumentFragment):
         - Yay for shared code!
         - This is where I added the style/script hack moved from setInnerHTML.
        * dom/XMLDocumentParser.h:
         - Fix indent.
        * dom/XMLDocumentParserLibxml2.cpp:
         - Removed parseDocumentFragment and moved necessary libxml-specific
           logic into appendFragmentSource.
        (WebCore::XMLDocumentParser::appendFragmentSource):
        * dom/XMLDocumentParserQt.cpp:
        (WebCore::XMLDocumentParser::appendFragmentSource):

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

9 years ago2010-08-23 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Mon, 23 Aug 2010 23:32:09 +0000 (23:32 +0000)]
2010-08-23  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Gustavo Noronha Silva.

        [GTK] The 64-bit Release bot is showing crashes on tests that use mouse buttons
        https://bugs.webkit.org/show_bug.cgi?id=44465

        Initialize the axes field of mouse button and motion events to null.
        This is the value that should be used for events originating from the
        mouse device.

        * DumpRenderTree/gtk/EventSender.cpp:
        (prepareMouseButtonEvent): Initalize button event axes field to null.
        (mouseMoveToCallback): Initialize motion event axes field to null.

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

9 years ago2010-08-23 Michael Saboff <msaboff@apple.com>
commit-queue@webkit.org [Mon, 23 Aug 2010 23:12:46 +0000 (23:12 +0000)]
2010-08-23  Michael Saboff  <msaboff@apple.com>

        Reviewed by Oliver Hunt.

        Fixed case where a single character search string in a string.replace()
        did not properly handle back reference replacement.  The fix is to
        check for a '$' as part of the check to see if we can execute the
        single character replace optimization.
        https://bugs.webkit.org/show_bug.cgi?id=44067

        * runtime/StringPrototype.cpp:
        (JSC::stringProtoFuncReplace):

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

9 years ago2010-08-23 Kenneth Russell <kbr@google.com>
kbr@google.com [Mon, 23 Aug 2010 23:07:16 +0000 (23:07 +0000)]
2010-08-23  Kenneth Russell  <kbr@google.com>

        Reviewed by Dimitri Glazkov.

        Remove references to ArrayBuffer and ArrayBufferView from GraphicsContext3D
        https://bugs.webkit.org/show_bug.cgi?id=44455

        Updated Safari, Qt and Chromium WebGL ports to avoid referencing
        ArrayBuffer and ArrayBufferView types from GraphicsContext3D.

        Ran all WebGL layout tests; no new regressions. Built and tested
        WebKit on Mac OS X; built Chromium on Mac OS X and Linux.

        * src/GraphicsContext3D.cpp:
        (WebCore::GraphicsContext3DInternal::bufferData):
        (WebCore::GraphicsContext3DInternal::bufferSubData):
2010-08-23  Kenneth Russell  <kbr@google.com>

        Reviewed by Dimitri Glazkov.

        Remove references to ArrayBuffer and ArrayBufferView from GraphicsContext3D
        https://bugs.webkit.org/show_bug.cgi?id=44455

        Updated Safari, Qt and Chromium WebGL ports to avoid referencing
        ArrayBuffer and ArrayBufferView types from GraphicsContext3D.

        Ran all WebGL layout tests; no new regressions. Built and tested
        WebKit on Mac OS X; built Chromium on Mac OS X and Linux.

        * html/canvas/WebGLBuffer.cpp:
        * html/canvas/WebGLBuffer.h:
        * html/canvas/WebGLRenderingContext.cpp:
        (WebCore::WebGLRenderingContext::bufferData):
        (WebCore::WebGLRenderingContext::bufferSubData):
        (WebCore::WebGLRenderingContext::texImage2D):
        (WebCore::WebGLRenderingContext::texSubImage2D):
        (WebCore::WebGLRenderingContext::simulateVertexAttrib0):
        * platform/graphics/GraphicsContext3D.cpp:
        (WebCore::GraphicsContext3D::extractTextureData):
        * platform/graphics/GraphicsContext3D.h:
        * platform/graphics/chromium/GLES2Canvas.cpp:
        (WebCore::GLES2Canvas::getQuadVertices):
        * platform/graphics/mac/GraphicsContext3DMac.mm:
        (WebCore::GraphicsContext3D::bufferData):
        (WebCore::GraphicsContext3D::bufferSubData):
        * platform/graphics/qt/GraphicsContext3DQt.cpp:
        (WebCore::GraphicsContext3D::bufferData):
        (WebCore::GraphicsContext3D::bufferSubData):

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

9 years ago2010-08-23 Sheriff Bot <webkit.review.bot@gmail.com>
eric@webkit.org [Mon, 23 Aug 2010 22:59:51 +0000 (22:59 +0000)]
2010-08-23  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r65703.
        http://trac.webkit.org/changeset/65703
        https://bugs.webkit.org/show_bug.cgi?id=44460

        "Causing lots of crashes on Snow Leopard when running the
        layout tests" (Requested by eseidel2 on #webkit).

        * WebProcess/Plugins/Netscape/NetscapePluginModule.cpp:
        (WebKit::NetscapePluginModule::tryLoad):
2010-08-23  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r65703.
        http://trac.webkit.org/changeset/65703
        https://bugs.webkit.org/show_bug.cgi?id=44460

        "Causing lots of crashes on Snow Leopard when running the
        layout tests" (Requested by eseidel2 on #webkit).

        * DumpRenderTree/TestNetscapePlugIn/main.cpp:
        (NP_Initialize):
        (NP_GetEntryPoints):

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

9 years agoUnreviewed, updating some Chromium expectations.
dumi@chromium.org [Mon, 23 Aug 2010 22:30:16 +0000 (22:30 +0000)]
Unreviewed, updating some Chromium expectations.

* platform/chromium/test_expectations.txt:

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

9 years ago2010-08-20 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Mon, 23 Aug 2010 22:23:42 +0000 (22:23 +0000)]
2010-08-20  Stephen White  <senorblanco@chromium.org>

        Reviewed by Kenneth Russell.

        [CHROMIUM] Fix some failing layout tests w/ACCELERATED_2D_CANVAS
        https://bugs.webkit.org/show_bug.cgi?id=44346

        LayoutTests/fast/canvas/canvas-incremental-repaint.html (top middle
        pane).
        Failing because we were not applying the CTM in clearRect().  Now using
        the fast path when the CTM is identity, and a fillRect() for the rest.
        LayoutTests/fast/canvas/canvas-strokeRect.html
        LayoutTests/fast/canvas/shadow-offset-[1-7].html
        Failing because we weren't switching to the software path when a
        shadow is present.
        Also refactor the two versions of fillRect(), and use TRIANGLE_STRIP
        strip instead of TRIANGLES, which lets us get rid of the element array
        and use drawArrays() instead of drawElements().

        Covered by the above layout tests.

        * platform/graphics/chromium/GLES2Canvas.cpp:
        (WebCore::GLES2Canvas::GLES2Canvas):
        (WebCore::GLES2Canvas::~GLES2Canvas):
        Remove m_quadIndices (now unused).
        (WebCore::GLES2Canvas::clearRect):
        Use a glClear() fast path for the identity-CTM clear, and fillRect()
        for the rest.
        (WebCore::GLES2Canvas::fillRect):
        Refactor the two versions of fillRect().
        (WebCore::GLES2Canvas::drawTexturedRect):
        (WebCore::GLES2Canvas::drawTexturedRectTile):
        Get rid of the ELEMENT_ARRAY_BUFFER bind.  Use drawArrays() instead of
        drawElements().
        (WebCore::GLES2Canvas::getQuadVertices):
        Re-order the vertices so they form a triangle strip.
        * platform/graphics/chromium/GLES2Canvas.h:
        Remove m_quadIndices (now unused).
        * platform/graphics/skia/GraphicsContextSkia.cpp:
        (WebCore::GraphicsContext::fillRect):
        Check for a draw looper (shadow), and drop to the software path.

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

9 years ago2010-08-23 Patrick Gansterer <paroga@paroga.com>
commit-queue@webkit.org [Mon, 23 Aug 2010 22:12:03 +0000 (22:12 +0000)]
2010-08-23  Patrick Gansterer  <paroga@paroga.com>

        Reviewed by Adam Roben.

        Move filehandling into fileLoadTimer callback
        https://bugs.webkit.org/show_bug.cgi?id=43714

        Also add mimetype detection for local files.

        * platform/network/ResourceHandleInternal.h:
        (WebCore::ResourceHandleInternal::ResourceHandleInternal):
        * platform/network/win/ResourceHandleWin.cpp:
        (WebCore::ResourceHandle::start):
        (WebCore::ResourceHandle::fileLoadTimer):

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

9 years ago2010-08-23 Oliver Hunt <oliver@apple.com>
oliver@apple.com [Mon, 23 Aug 2010 21:59:00 +0000 (21:59 +0000)]
2010-08-23  Oliver Hunt  <oliver@apple.com>

        Reviewed by Gavin Barraclough.

        JSON.stringify is much slower than Firefox on particular pathological input
        https://bugs.webkit.org/show_bug.cgi?id=44456

        Make StringBuilder::reserveCapacity reserve additional space so we don't end up
        repeatedly copying the entire result string.

        * runtime/StringBuilder.h:
        (JSC::StringBuilder::append):
        (JSC::StringBuilder::reserveCapacity):

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

9 years ago2010-08-23 Iain Merrick <husky@google.com>
commit-queue@webkit.org [Mon, 23 Aug 2010 21:52:03 +0000 (21:52 +0000)]
2010-08-23  Iain Merrick  <husky@google.com>

        Reviewed by Steve Block.

        Update JNI bridge for V8 after renaming of JavaString::utf8().
        https://bugs.webkit.org/show_bug.cgi?id=44419

        This fixes the build on Android. No new functionality, so no new tests.

        * bridge/jni/v8/JNIBridgeV8.cpp:
        (JavaField::JavaField):
        * bridge/jni/v8/JNIBridgeV8.h:
        (JSC::Bindings::JavaField::type):
        * bridge/jni/v8/JavaClassV8.cpp:
        (JavaClass::JavaClass):
        * bridge/jni/v8/JavaNPObjectV8.cpp:
        (JSC::Bindings::JavaNPObjectGetProperty):
        * bridge/jni/v8/JavaStringV8.h:
        (JSC::Bindings::JavaStringImpl::utf8):

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

9 years ago2010-08-23 Mihai Parparita <mihaip@chromium.org>
commit-queue@webkit.org [Mon, 23 Aug 2010 21:31:11 +0000 (21:31 +0000)]
2010-08-23  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by David Hyatt.

        Assertion failure in FrameView::layout when modifying the DOM during
        pagehide with PageCache enabled
        https://bugs.webkit.org/show_bug.cgi?id=43152

        Always unschedule any pending relayouts when changing the view, not just
        when we're not using the page cache. Otherwise touching the DOM during
        the pagehide handler can lead to layouts that will be done by the time
        the view has changed, which triggers an assert.

        * fast/loader/resources/unschedule-relayout-after-unload-target.html: Added.
        * fast/loader/unschedule-relayout-after-unload-expected.txt: Added.
        * fast/loader/unschedule-relayout-after-unload.html: Added.
2010-08-23  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by David Hyatt.

        Assertion failure in FrameView::layout when modifying the DOM during
        pagehide with PageCache enabled
        https://bugs.webkit.org/show_bug.cgi?id=43152

        Always unschedule any pending relayouts when changing the view, not just
        when we're not using the page cache. Otherwise touching the DOM during
        the pagehide handler can lead to layouts that will be done by the time
        the view has changed, which triggers an assert.

        Test: fast/loader/unschedule-relayout-after-unload.html

        * page/Frame.cpp:
        (WebCore::Frame::setView): move unscheduleRelayout outside page cache
        check.
        * page/FrameView.cpp:
        (WebCore::FrameView::layout): remove early return now that assert
        should be correct (and the referenced rdar:// got fixed).

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

9 years agoLayout tests do not run when using WebKitTestRunner in a Debug build.
jhoneycutt@apple.com [Mon, 23 Aug 2010 21:29:42 +0000 (21:29 +0000)]
Layout tests do not run when using WebKitTestRunner in a Debug build.
https://bugs.webkit.org/show_bug.cgi?id=44409

Reviewed by Dan Bernstein.

WebKit2:

* UIProcess/Launcher/win/ProcessLauncherWin.cpp:
(WebKit::ProcessLauncher::launchProcess):
Use WebKit2WebProcess_debug.exe when building Debug.

WebKitTools:

* WebKitTestRunner/win/TestControllerWin.cpp:
(WTR::TestController::initializeInjectedBundlePath):
Use InjectedBundle_debug.dll when building Debug.

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

9 years agoAdd more tests to the WebKit2 skipped lists.
jhoneycutt@apple.com [Mon, 23 Aug 2010 21:27:11 +0000 (21:27 +0000)]
Add more tests to the WebKit2 skipped lists.

Rubber-stamped by Mark Rowe.

* platform/mac-wk2/Skipped:
* platform/win-wk2/Skipped:

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

9 years ago2010-08-23 Sheriff Bot <webkit.review.bot@gmail.com>
jamesr@google.com [Mon, 23 Aug 2010 20:43:40 +0000 (20:43 +0000)]
2010-08-23  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r65812.
        http://trac.webkit.org/changeset/65812
        https://bugs.webkit.org/show_bug.cgi?id=44451

        Broke fast/events/special-key-events-in-input-text.html for
        chromium (Requested by jamesr on #webkit).

        * platform/chromium-mac/fast/events/special-key-events-in-input-text-expected.txt: Added.
        * platform/chromium-win/fast/events/special-key-events-in-input-text-expected.txt: Added.

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

9 years ago2010-08-19 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Mon, 23 Aug 2010 20:20:23 +0000 (20:20 +0000)]
2010-08-19  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Tony Chang.

        There is no test for unicode-bidi / direction support in ApplyStyleCommand::applyInlineStyle
        https://bugs.webkit.org/show_bug.cgi?id=43989

        Added a test for MakeTextWritingDirectionNatural, MakeTextWritingDirectionLeftToRight,
        and MakeTextWritingDirectionRightToLeft commands.

        * editing/style/make-text-writing-direction-inline.html: Added.
        * editing/style/script-tests/make-text-writing-direction-inline.js: Added.
        (modifyWritingDirection):
        (selectFirstWord):
        (selectSecondAndThirdWords):

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

9 years agoHandle blob resource.
jianli@chromium.org [Mon, 23 Aug 2010 20:09:56 +0000 (20:09 +0000)]
Handle blob resource.
https://bugs.webkit.org/show_bug.cgi?id=43941

Reviewed by Darin Fisher.

JavaScriptCore:

* JavaScriptCore.exp: Add an export that is neede by BlobResourceHandle.

WebCore:

To provide lower level blob reosurce handling for all possible ports,
BlobResourceHandle derived from ResourceHandle is implemented. It provides
both synchronous and asynchronous resource loading for blob URL.

BlobResourceHandle needs to create a FileStreamProxy instance in order to
asynchronous file stream operation. To achive this, a hook createAsyncFileStream
is added to ResourceHandleClient interface. When ResourceLoader implements
ths hook, it creates and returns FileStreamProxy.

BlobResourceHandle.* is not added to chromium port since it will implement
its own blob resource handling.

* Android.mk:
* CMakeLists.txt:
* GNUmakefile.am:
* WebCore.pro:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* loader/ResourceLoader.cpp:
(WebCore::ResourceLoader::createAsyncFileStream): Create and return FileStreamProxy.
* loader/ResourceLoader.h:
* page/SecurityOrigin.cpp: Add the support to get and validate the origin of blob URL.
(WebCore::SecurityOrigin::create):
(WebCore::SecurityOrigin::canLoad):
* platform/network/BlobRegistryImpl.cpp:
(WebCore::BlobRegistryImpl::appendStorageItems): Fix a bug that the length is not subtracted.
* platform/network/BlobResourceHandle.cpp: Added.
* platform/network/BlobResourceHandle.h: Added.
* platform/network/HTTPParsers.cpp:
(WebCore::parseRange):
* platform/network/HTTPParsers.h:
* platform/network/ResourceHandle.cpp: Hook up with asynchronous blob resource handling.
(WebCore::ResourceHandle::create):
* platform/network/ResourceHandle.h:
* platform/network/ResourceHandleClient.h:
(WebCore::ResourceHandleClient::createAsyncFileStream): Add a hook.
* platform/network/mac/ResourceHandleMac.mm:
(WebCore::ResourceHandle::loadResourceSynchronously): Hook up with synchronous blob resource handling.

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

9 years ago2010-08-23 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Mon, 23 Aug 2010 20:03:36 +0000 (20:03 +0000)]
2010-08-23  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Dimitri Glazkov.

        Fix security origin calculation in createPattern. Need to use
        cachedImage->response().url() instead of cachedImage->url().
        https://bugs.webkit.org/show_bug.cgi?id=44399.

        Test: http/tests/security/canvas-remote-read-remote-image-redirect.html

        * html/canvas/CanvasRenderingContext2D.cpp:
        (WebCore::CanvasRenderingContext2D::createPattern):
2010-08-23  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Dimitri Glazkov.

        Tests that calling getImageData(), toDataURL() on a canvas tainted by
        a createPattern of a different origin image using redirects from same origin
        is not allowed.
        https://bugs.webkit.org/show_bug.cgi?id=44399

        * http/tests/security/canvas-remote-read-remote-image-redirect-expected.txt: Added.
        * http/tests/security/canvas-remote-read-remote-image-redirect.html: Added.

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

9 years ago2010-08-23 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Mon, 23 Aug 2010 19:27:38 +0000 (19:27 +0000)]
2010-08-23  Simon Fraser  <simon.fraser@apple.com>

        Add missing test result.

        * platform/mac/fast/table/simple_paint-expected.txt: Copied from LayoutTests/platform/chromium-linux/fast/table/simple_paint-expected.txt.

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

9 years ago2010-08-23 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Mon, 23 Aug 2010 19:22:48 +0000 (19:22 +0000)]
2010-08-23  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Alexey Proskuryakov.

        TreeWalker is not calling acceptNode function in filter object
        https://bugs.webkit.org/show_bug.cgi?id=35296

        We only accepted raw functions as the NodeFilter on TreeWalker. Fix this to
        look for an 'acceptNode' function on the filter object, and use that if present.
        Also throw an exception if the filter object does not have an acceptNode function.

        Test: fast/dom/TreeWalker/acceptNode-filter.html

        * bindings/js/JSNodeFilterCondition.cpp:
        (WebCore::JSNodeFilterCondition::acceptNode):

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

9 years ago2010-08-23 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Mon, 23 Aug 2010 19:18:01 +0000 (19:18 +0000)]
2010-08-23  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r65814.
        http://trac.webkit.org/changeset/65814
        https://bugs.webkit.org/show_bug.cgi?id=44443

        broke svg/custom/missing-xlink.svg (Requested by kling on
        #webkit).

        * fast/dom/script-tests/setAttributeNS-prefix-and-null-namespace.js: Removed.
        * fast/dom/setAttributeNS-prefix-and-null-namespace-expected.txt: Removed.
        * fast/dom/setAttributeNS-prefix-and-null-namespace.html: Removed.
2010-08-23  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r65814.
        http://trac.webkit.org/changeset/65814
        https://bugs.webkit.org/show_bug.cgi?id=44443

        broke svg/custom/missing-xlink.svg (Requested by kling on
        #webkit).

        * dom/Element.cpp:
        (WebCore::Element::setAttributeNS):

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

9 years agoClean up some HTML typos in crashlogs.html
ddkilzer@apple.com [Mon, 23 Aug 2010 19:10:26 +0000 (19:10 +0000)]
Clean up some HTML typos in crashlogs.html

Rubber-stamped by Maciej Stachowiak.

* quality/crashlogs.html: Fixed "</code>>" typos added in
r56300.  Changed "<tt>" tag with style attribute to "<code>"
that was missed in r56300.

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

9 years agoRemove unneeded BlobRegistryImpl.* and WebBlobRegistryImpl.* from
jianli@chromium.org [Mon, 23 Aug 2010 18:59:35 +0000 (18:59 +0000)]
Remove unneeded BlobRegistryImpl.* and WebBlobRegistryImpl.* from
chromium project files.
https://bugs.webkit.org/show_bug.cgi?id=44442

Reviewed by David Levin.

WebCore:

* WebCore.gypi:

WebKit/chromium:

* WebKit.gyp:

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

9 years agoWebPDFView should remove itself as the delegate of its PDFView before being dealloced
mthole@apple.com [Mon, 23 Aug 2010 18:28:45 +0000 (18:28 +0000)]
WebPDFView should remove itself as the delegate of its PDFView before being dealloced
https://bugs.webkit.org/show_bug.cgi?id=44441

Reviewed by Dan Bernstein.

* WebView/WebPDFView.mm:
(-[WebPDFView dealloc]): Set the PDFView's delegate to nil.

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

9 years ago2010-08-23 Adam Barth <abarth@webkit.org>
eric@webkit.org [Mon, 23 Aug 2010 18:12:15 +0000 (18:12 +0000)]
2010-08-23  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Many LayoutTests crash when run with --html5-treebuilder
        https://bugs.webkit.org/show_bug.cgi?id=44440

        Our list of special tags is out of sync with the HTML5 spec.  This
        patch adds HTML to the list, which fixs a ton of crashers when parsing
        fragments.  We neet to sync up the list at some point, but we want to
        make sure we have test coverage for all those changes, so I've left
        that for a future patch.

        * html/HTMLTreeBuilder.cpp:

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

9 years ago2010-08-23 Leandro Pereira <leandro@profusion.mobi>
leandro@webkit.org [Mon, 23 Aug 2010 17:58:06 +0000 (17:58 +0000)]
2010-08-23  Leandro Pereira  <leandro@profusion.mobi>

        [EFL] Build fix for platforms that do not require linking with "dl".
        CMake includes the variable CMAKE_DL_LIBS that evaluates to the
        platform-specific libraries.

        * CMakeListsEfl.txt: Use ${CMAKE_DL_LIBS} instead of dl.

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

9 years ago2010-08-23 Daniel Bates <dbates@rim.com>
dbates@webkit.org [Mon, 23 Aug 2010 16:56:36 +0000 (16:56 +0000)]
2010-08-23  Daniel Bates  <dbates@rim.com>

        Rubber-stamped by Adam Roben.

        Substitute "sizeof("javascript:") - 1" for the hardcoded constant 11 when
        extracting the JavaScript code portion of a JavaScript URL so as to make
        it clearer that the 11 represents the length of the scheme portion of
        a JavaScript URL.

        * WebProcess/Plugins/PluginView.cpp:
        (WebKit::PluginView::performJavaScriptURLRequest):

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

9 years ago2010-08-23 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Mon, 23 Aug 2010 16:54:14 +0000 (16:54 +0000)]
2010-08-23  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Pavel Feldman.

        WebInspector: Context menu in Scripts panel was broken.
        https://bugs.webkit.org/show_bug.cgi?id=44431

        * inspector/InspectorFrontendHost.cpp:
        (WebCore::FrontendMenuProvider::contextMenuItemSelected):
        (WebCore::FrontendMenuProvider::contextMenuCleared):

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

9 years ago2010-08-23 Satish Sampath <satish@chromium.org>
commit-queue@webkit.org [Mon, 23 Aug 2010 16:37:01 +0000 (16:37 +0000)]
2010-08-23  Satish Sampath  <satish@chromium.org>

        Reviewed by Jeremy Orlow.

        Remove obsolete public/API methods in chromium port
        https://bugs.webkit.org/show_bug.cgi?id=44421

        * public/WebSpeechInputController.h:
        (WebKit::WebSpeechInputController::startRecognition):
        (WebKit::WebSpeechInputController::cancelRecognition):
        (WebKit::WebSpeechInputController::stopRecording):
        * public/WebSpeechInputListener.h:

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

9 years ago2010-08-23 Andreas Kling <andreas.kling@nokia.com>
andreas.kling@nokia.com [Mon, 23 Aug 2010 16:34:54 +0000 (16:34 +0000)]
2010-08-23  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Tor Arne Vestbø.

        setAttributeNS() should throw NAMESPACE_ERR for prefixed qualifiedName with null namespace
        https://bugs.webkit.org/show_bug.cgi?id=44432

        Test: fast/dom/setAttributeNS-prefix-and-null-namespace.html

        * dom/Element.cpp:
        (WebCore::Element::setAttributeNS): Throw NAMESPACE_ERR if namespace is null
        and the qualifiedName has a prefix.
2010-08-23  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Tor Arne Vestbø.

        setAttributeNS() should throw NAMESPACE_ERR for prefixed qualifiedName with null namespace
        https://bugs.webkit.org/show_bug.cgi?id=44432

        * fast/dom/script-tests/setAttributeNS-prefix-and-null-namespace.js: Added.
        * fast/dom/setAttributeNS-prefix-and-null-namespace-expected.txt: Added.
        * fast/dom/setAttributeNS-prefix-and-null-namespace.html: Added.

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

9 years ago2010-08-23 Ryuan Choi <ryuan.choi@samsung.com>
commit-queue@webkit.org [Mon, 23 Aug 2010 16:18:44 +0000 (16:18 +0000)]
2010-08-23  Ryuan Choi  <ryuan.choi@samsung.com>

        Reviewed by Antonio Gomes.

        [EFL] rendering was broken when missing plugin.
        https://bugs.webkit.org/show_bug.cgi?id=43395

        Implement RenderThemeEfl::systemFont to render "Missing plugin" when we
        don't have proper plugin.
        In this case, RenderEmbeddedObject::paintReplaced call systemFont and
        pass returned font to GraphicsContext.

        * platform/efl/RenderThemeEfl.cpp:
        (WebCore::RenderThemeEfl::setDefaultFontSize):
        (WebCore::RenderThemeEfl::systemFont):
        * platform/efl/RenderThemeEfl.h:

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

9 years ago2010-08-23 Hironori Bono <hbono@chromium.org>
commit-queue@webkit.org [Mon, 23 Aug 2010 15:30:34 +0000 (15:30 +0000)]
2010-08-23  Hironori Bono  <hbono@chromium.org>

        Reviewed by Kent Tamura.

        Removes the rebaselined results for special-key-events-in-input-text.html
        because my test_shell change fixes it and produces the expected output.
        https://bugs.webkit.org/show_bug.cgi?id=44156

        * platform/chromium-mac/fast/events/special-key-events-in-input-text-expected.txt: Removed.
        * platform/chromium-win/fast/events/special-key-events-in-input-text-expected.txt: Removed.

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

9 years ago2010-08-23 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Mon, 23 Aug 2010 15:20:36 +0000 (15:20 +0000)]
2010-08-23  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] run-launcher fails if WebKitGTK+ compiled with GTK+-3.0 support
        https://bugs.webkit.org/show_bug.cgi?id=42026

        If a GTK+ 3.x build is present return that as the library to use,
        otherwise fallback to the GTK+ 2.x build.

        * Scripts/webkitdirs.pm:

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

9 years ago2010-08-23 Pavel Podivilov <podivilov@chromium.org>
commit-queue@webkit.org [Mon, 23 Aug 2010 14:40:57 +0000 (14:40 +0000)]
2010-08-23  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: remove javascript breakpoint specific code from BreakpointSidebarPane
        https://bugs.webkit.org/show_bug.cgi?id=44327

        * inspector/front-end/BreakpointManager.js:
        (WebInspector.BreakpointManager.prototype.setBreakpoint):
        (WebInspector.BreakpointManager.prototype.restoredBreakpoint):
        (WebInspector.BreakpointManager.prototype._setBreakpoint):
        (WebInspector.BreakpointManager.prototype._removeBreakpoint):
        (WebInspector.BreakpointManager.prototype._setBreakpointOnBackend):
        (WebInspector.Breakpoint):
        * inspector/front-end/BreakpointsSidebarPane.js:
        (WebInspector.BreakpointsSidebarPane):
        (WebInspector.BreakpointsSidebarPane.prototype.addBreakpoint):
        (WebInspector.BreakpointsSidebarPane.prototype._breakpointRemoved):
        (WebInspector.JSBreakpointItem):
        (WebInspector.JSBreakpointItem.prototype.compareTo):
        (WebInspector.JSBreakpointItem.prototype.element):
        (WebInspector.JSBreakpointItem.prototype._breakpointClicked):
        (WebInspector.JSBreakpointItem.prototype._checkboxClicked):
        (WebInspector.JSBreakpointItem.prototype._enableChanged):
        (WebInspector.JSBreakpointItem.prototype._textChanged):
        (WebInspector.JSBreakpointItem.prototype._removed):
        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel):
        (WebInspector.ScriptsPanel.prototype._breakpointAdded):
        (WebInspector.ScriptsPanel.prototype._breakpointRemoved):
        * inspector/front-end/SourceFrame.js:
        (WebInspector.SourceFrame.prototype.addBreakpoint):
        (WebInspector.SourceFrame.prototype._addBreakpointToSource):

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

9 years ago2010-08-23 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Mon, 23 Aug 2010 14:07:09 +0000 (14:07 +0000)]
2010-08-23  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Yury Semikhatsky.

        WebInspector: inspector protocol should be switched from array based
        message format to object based message format.
        Almost all the protocol related things is generated by CodeGeneratorInspector.pm
        It was changed a bit. As result InspectorBackendStub.js wraps the
        calls into Request objects. InspectorBackendDispatcher.cpp unwraps
        these objects and calls corresponding agents. These two files and
        RemoteInspectorFrontend are generated by CodeGeneratorInspector.pm
        Dispatching part of WebInspector also was adjusted for handling Event
        objects produced by RemoteInspectorFrontend.cpp and Response objects
        produced by InspectorBackendDispatcher.cpp
        https://bugs.webkit.org/show_bug.cgi?id=44338

        * inspector/CodeGeneratorInspector.pm:
        * inspector/Inspector.idl:
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::setAttachedWindow):
        * inspector/InspectorController.h:
        * inspector/InspectorFrontendClientLocal.cpp:
        (WebCore::InspectorFrontendClientLocal::setAttachedWindow):
        * inspector/InspectorValues.h:
        (WebCore::InspectorObject::find):
        * inspector/front-end/Callback.js:
        (WebInspector.Callback.prototype.processResponse):
        * inspector/front-end/inspector.js:
        (WebInspector.dispatch):
        (WebInspector_syncDispatch):
        (WebInspector.dispatchMessageFromBackend):
        (WebInspector.reportProtocolError):

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

9 years ago2010-08-23 Balazs Kelemen <kb@inf.u-szeged.hu>
abecsi@webkit.org [Mon, 23 Aug 2010 13:58:51 +0000 (13:58 +0000)]
2010-08-23  Balazs Kelemen  <kb@inf.u-szeged.hu>

        Reviewed by Ariya Hidayat.

        [Qt] Find needed forwarding headers for WebKit2 automatically
        https://bugs.webkit.org/show_bug.cgi?id=44336

        * MiniBrowser/qt/BrowserWindow.cpp: Use normal (not framework style) includes here.
        The new script does not satisfy the needs of this file however using normal includes
        is generally better here.
        * MiniBrowser/qt/MiniBrowser.pro: Added include paths.
        * Scripts/enumerate-included-framework-headers: Enumerates headers included from the
        given frameworks by files in the current directory (and subdirectories).
        In the future this needs to be rewritten in perl for being able to use on Windows.
2010-08-23  Balazs Kelemen  <kb@inf.u-szeged.hu>

        Reviewed by Ariya Hidayat.

        [Qt] Find needed forwarding headers for WebKit2 automatically
        https://bugs.webkit.org/show_bug.cgi?id=44336

        * DerivedSources.pro: Use the new enumerate-included-framework-headers script for generating
        the list of forwarding headers we want to create.

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

9 years ago2010-08-19 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Mon, 23 Aug 2010 13:23:05 +0000 (13:23 +0000)]
2010-08-19  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Steve Block.

        Remove IDBDatabase.description per spec changes
        https://bugs.webkit.org/show_bug.cgi?id=44264

        Update layout tests to match changes.  One layout test is now
        obsolete.

        * storage/indexeddb/database-basics-expected.txt:
        * storage/indexeddb/database-description-expected.txt: Removed.
        * storage/indexeddb/database-description.html: Removed.
        * storage/indexeddb/script-tests/database-basics.js:
        (openSuccess):
        * storage/indexeddb/script-tests/database-description.js: Removed.
2010-08-19  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Steve Block.

        Remove IDBDatabase.description per spec changes
        https://bugs.webkit.org/show_bug.cgi?id=44264

        There's now no longer any way to access the description from JS.
        The main premise of the manual test is now obsolete. Over time we'll
        be able to add to it again. While I'm at it, I cleaned up the format
        of the manual test to be easier to follow (code and usage wise).

        * manual-tests/indexed-database.html:
        * storage/IDBDatabase.cpp:
        (WebCore::IDBDatabase::IDBDatabase):
        * storage/IDBDatabase.h:
        * storage/IDBDatabase.idl:

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

9 years ago2010-08-23 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Mon, 23 Aug 2010 12:49:37 +0000 (12:49 +0000)]
2010-08-23  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: element's css: pseudo-class locations
        https://bugs.webkit.org/show_bug.cgi?id=44344

        Also contains a drive-by fix for 44301 (gray out read-only).

        * inspector/front-end/StylesSidebarPane.js:
        (WebInspector.StylesSidebarPane.prototype.update.computedStyleCallback):
        (WebInspector.StylesSidebarPane.prototype.update):
        (WebInspector.StylesSidebarPane.prototype._rebuildUpdate):
        (WebInspector.StylesSidebarPane.prototype._rebuildSectionsForStyleRules):
        (WebInspector.StylePropertiesSection):

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

9 years ago[Qt] Build fix.
zoltan@webkit.org [Mon, 23 Aug 2010 12:34:50 +0000 (12:34 +0000)]
[Qt] Build fix.

* DerivedSources.pro:
* WebKit2.pro:
* WebProcess/Plugins/Netscape/qt: Added.
* WebProcess/Plugins/Netscape/qt/NetscapePluginQt.cpp: Added.
(WebKit::NetscapePlugin::platformPostInitialize):
(WebKit::NetscapePlugin::platformPaint):
(WebKit::toNP):
(WebKit::NetscapePlugin::platformHandleMouseEvent):
(WebKit::NetscapePlugin::platformHandleWheelEvent):
(WebKit::NetscapePlugin::platformSetFocus):
(WebKit::NetscapePlugin::platformHandleMouseEnterEvent):
(WebKit::NetscapePlugin::platformHandleMouseLeaveEvent):

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

9 years ago2010-08-23 Sheriff Bot <webkit.review.bot@gmail.com>
loislo@chromium.org [Mon, 23 Aug 2010 12:28:01 +0000 (12:28 +0000)]
2010-08-23  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r65803.
        http://trac.webkit.org/changeset/65803
        https://bugs.webkit.org/show_bug.cgi?id=44416

        windows build failed (Requested by loislo on #webkit).

        * inspector/CodeGeneratorInspector.pm:
        * inspector/Inspector.idl:
        * inspector/InspectorController.cpp:
        * inspector/InspectorController.h:
        * inspector/InspectorFrontendClientLocal.cpp:
        (WebCore::InspectorFrontendClientLocal::setAttachedWindow):
        * inspector/InspectorValues.h:
        * inspector/front-end/Callback.js:
        (WebInspector.Callback.prototype.processResponse):
        * inspector/front-end/inspector.js:
        (WebInspector.dispatch.delayDispatch):
        (WebInspector.dispatch):
        (WebInspector_syncDispatch):
        (WebInspector.dispatchMessageFromBackend):
        (WebInspector.reportProtocolError):

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

9 years ago2010-08-23 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Mon, 23 Aug 2010 12:14:15 +0000 (12:14 +0000)]
2010-08-23  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Yury Semikhatsky.

        WebInspector: inspector protocol should be switched from array based
        message format to object based message format.
        Almost all the protocol related things is generated by CodeGeneratorInspector.pm
        It was changed a bit. As result InspectorBackendStub.js wraps the
        calls into Request objects. InspectorBackendDispatcher.cpp unwraps
        these objects and calls corresponding agents. These two files and
        RemoteInspectorFrontend are generated by CodeGeneratorInspector.pm
        Dispatching part of WebInspector also was adjusted for handling Event
        objects produced by RemoteInspectorFrontend.cpp and Response objects
        produced by InspectorBackendDispatcher.cpp
        https://bugs.webkit.org/show_bug.cgi?id=44338

        * inspector/CodeGeneratorInspector.pm:
        * inspector/Inspector.idl:
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::setAttachedWindow):
        * inspector/InspectorController.h:
        * inspector/InspectorFrontendClientLocal.cpp:
        (WebCore::InspectorFrontendClientLocal::setAttachedWindow):
        * inspector/InspectorValues.h:
        (WebCore::InspectorObject::find):
        * inspector/front-end/Callback.js:
        (WebInspector.Callback.prototype.processResponse):
        * inspector/front-end/inspector.js:
        (WebInspector.dispatch):
        (WebInspector_syncDispatch):
        (WebInspector.dispatchMessageFromBackend):
        (WebInspector.reportProtocolError):

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

9 years ago2010-08-23 Alejandro G. Castro <alex@igalia.com>
alex@webkit.org [Mon, 23 Aug 2010 12:09:49 +0000 (12:09 +0000)]
2010-08-23  Alejandro G. Castro  <alex@igalia.com>

        Reviewed by Xan Lopez.

        Make the copy of the inspector files silent.

        * GNUmakefile.am:

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

9 years ago2010-08-23 Andreas Kling <andreas.kling@nokia.com>
andreas.kling@nokia.com [Mon, 23 Aug 2010 11:44:41 +0000 (11:44 +0000)]
2010-08-23  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] -webkit-text-stroke is broken due to Qt::TextBypassShaping
        https://bugs.webkit.org/show_bug.cgi?id=44403

        Don't bypass the Harfbuzz shaping if we're drawing text with a stroke.
        For canvas, always use complex text shaping since stroke and fill are decoupled.

        * html/canvas/CanvasRenderingContext2D.cpp:
        (WebCore::CanvasRenderingContext2D::measureText):
        (WebCore::CanvasRenderingContext2D::drawTextInternal):
        * platform/graphics/qt/FontQt.cpp:
        (WebCore::drawTextCommon):

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

9 years ago2010-08-23 Roland Steiner <rolandsteiner@chromium.org>
rolandsteiner@chromium.org [Mon, 23 Aug 2010 11:35:01 +0000 (11:35 +0000)]
2010-08-23  Roland Steiner  <rolandsteiner@chromium.org>

        Unreviewed change to drt_expectations.txt.

        Add new entry to platform/chromium/drt_expectations.txt

        * platform/chromium/drt_expectations.txt:

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

9 years ago2010-08-23 Pavel Podivilov <podivilov@chromium.org>
commit-queue@webkit.org [Mon, 23 Aug 2010 09:49:29 +0000 (09:49 +0000)]
2010-08-23  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: add DOM breakpoints test
        https://bugs.webkit.org/show_bug.cgi?id=44251

        * http/tests/inspector/debugger-test2.js: Added.
        (initialize_DebuggerTest.InspectorTest.startDebuggerTest.startTest):
        (initialize_DebuggerTest.InspectorTest.startDebuggerTest):
        (initialize_DebuggerTest.InspectorTest.completeDebuggerTest.completeTest):
        (initialize_DebuggerTest.InspectorTest.completeDebuggerTest):
        (initialize_DebuggerTest.InspectorTest.waitUntilPaused):
        (initialize_DebuggerTest.InspectorTest.resumeExecution):
        (initialize_DebuggerTest.InspectorTest.showScriptSource):
        (initialize_DebuggerTest.InspectorTest._scriptsAreParsed):
        (initialize_DebuggerTest.InspectorTest._showScriptSource):
        (initialize_DebuggerTest):
        * http/tests/inspector/inspector-test2.js:
        (initialize_InspectorTest):
        (initialize_InspectorTest.):
        (runTest.runTestInFrontend):
        (runTest):
        * inspector/debugger-breakpoints-not-activated-on-reload.html:
        * inspector/dom-breakpoints-expected.txt: Added.
        * inspector/dom-breakpoints.html: Added.
        * platform/gtk/Skipped:
        * platform/mac/Skipped:
        * platform/qt/Skipped:
        * platform/win/Skipped:

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

9 years ago2010-08-23 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Mon, 23 Aug 2010 09:38:40 +0000 (09:38 +0000)]
2010-08-23  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, skipping more media tests

        [GStreamer] multiple <video> elements + PulseAudio are crash-prone
        https://bugs.webkit.org/show_bug.cgi?id=44235

        * platform/gtk/Skipped: Skip media/video-zoom-controls.html and media/adopt-node-crash.html

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

9 years ago2010-08-23 Mikhail Naganov <mnaganov@chromium.org>
mnaganov@chromium.org [Mon, 23 Aug 2010 09:35:21 +0000 (09:35 +0000)]
2010-08-23  Mikhail Naganov  <mnaganov@chromium.org>

        Reviewed by Pavel Feldman.

        Extract profiler-related code and data from InspectorController into
        InspectorProfilerAgent.

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

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

9 years ago[Qt] Allow wmode=transparent in QWebView on Maemo5 after r65775.
girish@forwardbias.in [Mon, 23 Aug 2010 08:10:30 +0000 (08:10 +0000)]
[Qt] Allow wmode=transparent in QWebView on Maemo5 after r65775.

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

Reviewed by Ariya Hidayat.

* WebCoreSupport/FrameLoaderClientQt.cpp:
(WebCore::FrameLoaderClientQt::createPlugin):

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

9 years ago[Qt] Crash when purging the scratch buffer for the shadow
ariya@webkit.org [Mon, 23 Aug 2010 07:59:48 +0000 (07:59 +0000)]
[Qt] Crash when purging the scratch buffer for the shadow
https://bugs.webkit.org/show_bug.cgi?id=44384

Patch by Ariya Hidayat <ariya@sencha.com> on 2010-08-23
Reviewed by Kenneth Rohde Christiansen.

WebCore::Timer can't be used in a static object bcause it relies on
thread global data, which is invalid once the application instance is
destroyed. To overcome the problem, use QObject's timer support for
the ShadowBuffer class.

* platform/graphics/qt/ContextShadow.cpp:
(WebCore::):
(WebCore::ShadowBuffer::ShadowBuffer):
(WebCore::ShadowBuffer::schedulePurge):
(WebCore::ShadowBuffer::timerEvent):

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

9 years ago2010-08-22 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Mon, 23 Aug 2010 06:27:49 +0000 (06:27 +0000)]
2010-08-22  Kent Tamura  <tkent@chromium.org>

        Unreviewed, test expectation update.

        * platform/chromium/drt_expectations.txt:

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

9 years ago2010-08-23 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Mon, 23 Aug 2010 06:11:47 +0000 (06:11 +0000)]
2010-08-23  Philippe Normand  <pnormand@igalia.com>

        Reviewed by Xan Lopez.

        [GStreamer] don't expose the private player in GStreamerGWorld
        https://bugs.webkit.org/show_bug.cgi?id=44332

        Only a pointer to our playbin2 element instance is required
        instead of the whole MediaPlayerPrivateGStreamer instance.

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

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

9 years ago2010-08-22 No'am Rosenthal <noam.rosenthal@nokia.com>
andreas.kling@nokia.com [Mon, 23 Aug 2010 03:50:26 +0000 (03:50 +0000)]
2010-08-22  No'am Rosenthal  <noam.rosenthal@nokia.com>

        Reviewed by Ariya Hidayat.

        [Qt] Qt test browser: enable a QGLWidget viewport with a command line argument
        https://bugs.webkit.org/show_bug.cgi?id=43010

        * QtTestBrowser/launcherwindow.cpp:
        (LauncherWindow::applyPrefs):
        * QtTestBrowser/main.cpp:
        (LauncherApplication::handleUserOptions):

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

9 years ago2010-08-22 Andreas Kling <andreas.kling@nokia.com>
andreas.kling@nokia.com [Mon, 23 Aug 2010 00:52:13 +0000 (00:52 +0000)]
2010-08-22  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] GraphicsContext: Simplify getting the clip bounding rect
        https://bugs.webkit.org/show_bug.cgi?id=44396

        Move the Qt 4.8 version check for QPainter::clipBoundingRect()
        into a GraphicsContextPlatformPrivate method.

        * platform/graphics/qt/GraphicsContextQt.cpp:
        (WebCore::GraphicsContextPlatformPrivate::clipBoundingRect):
        (WebCore::GraphicsContext::beginTransparencyLayer):
        (WebCore::GraphicsContext::clipOut):
        (WebCore::GraphicsContext::clipOutEllipseInRect):

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

9 years ago2010-08-22 Rafael Antognolli <antognolli@profusion.mobi>
commit-queue@webkit.org [Mon, 23 Aug 2010 00:30:20 +0000 (00:30 +0000)]
2010-08-22  Rafael Antognolli  <antognolli@profusion.mobi>

        Reviewed by Antonio Gomes.

        [EFL] Remove duplicated include entry from default theme.
        https://bugs.webkit.org/show_bug.cgi?id=44345

        This used to create the group webkit/widget/entry twice in
        the theme. It's leading to a bug with the newer versions of
        EFL.

        * DefaultTheme/default.edc:

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

9 years ago2010-08-22 Marc Mutz <marc.mutz@kdab.com>
commit-queue@webkit.org [Mon, 23 Aug 2010 00:14:00 +0000 (00:14 +0000)]
2010-08-22  Marc Mutz  <marc.mutz@kdab.com>

        Reviewed by Antonio Gomes.

        [Qt] Actually emit the QWebView::selectionChanged() signal

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

        * Api/qwebview.cpp:
        (QWebView::setPage): Connect QWebPage::selectionChanged() to QWebView::selectionChanged()

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

9 years ago2010-08-22 Juha Savolainen <juha.savolainen@weego.fi>
commit-queue@webkit.org [Sun, 22 Aug 2010 22:42:41 +0000 (22:42 +0000)]
2010-08-22  Juha Savolainen  <juha.savolainen@weego.fi>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Add QTouchEvents support for WebKit2
        https://bugs.webkit.org/show_bug.cgi?id=44330

        This patch adds support for QTouchEvents in WebKit2. A new WebEvent-class
        is created for touchevents, WebTouchEvent. Also touchpoints needed a new
        class, WebPlatformTouchPoint. This is similar solution like in other
        events(like MouseEvent) on WebKit2. These classes are introduced in WebEvent.h
        Also there was a need to create an empty constructor to PlatformTouchPoint-class.

        * platform/PlatformTouchPoint.h:
        (WebCore::PlatformTouchPoint::PlatformTouchPoint):
2010-08-22  Juha Savolainen  <juha.savolainen@weego.fi>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Add QTouchEvents support for WebKit2
        https://bugs.webkit.org/show_bug.cgi?id=44330

        This patch adds support for QTouchEvents in WebKit2. A new WebEvent-class
        is created for touchevents, WebTouchEvent. Also touchpoints needed a new
        class, WebPlatformTouchPoint. This is similar solution like in other
        events(like MouseEvent) on WebKit2. These classes are introduced in WebEvent.h
        Also there was a need to create an empty constructor to PlatformTouchPoint-class.

        * DerivedSources.pro:
        * Shared/CoreIPCSupport/WebPageMessageKinds.h:
        (WebPageMessage::):
        * Shared/WebEvent.h:
        (WebKit::WebEvent::):
        (WebKit::WebTouchPoint::):
        (WebKit::WebTouchPoint::WebTouchPoint):
        (WebKit::WebTouchPoint::id):
        (WebKit::WebTouchPoint::state):
        (WebKit::WebTouchPoint::screenPosX):
        (WebKit::WebTouchPoint::screenPosY):
        (WebKit::WebTouchPoint::posX):
        (WebKit::WebTouchPoint::posY):
        (WebKit::WebTouchPoint::setState):
        (WebKit::WebTouchPoint::encode):
        (WebKit::WebTouchPoint::decode):
        (WebKit::WebTouchEvent::WebTouchEvent):
        (WebKit::WebTouchEvent::type):
        (WebKit::WebTouchEvent::touchPoints):
        (WebKit::WebTouchEvent::encode):
        (WebKit::WebTouchEvent::decode):
        (WebKit::WebTouchEvent::isTouchEventType):
        * Shared/WebEventConversion.cpp:
        (WebKit::WebKit2PlatformTouchPoint::WebKit2PlatformTouchPoint):
        (WebKit::WebKit2PlatformTouchEvent::WebKit2PlatformTouchEvent):
        (WebKit::platform):
        * Shared/WebEventConversion.h:
        * Shared/qt/WebEventFactoryQt.cpp:
        (WebKit::webEventTypeForEvent):
        (WebKit::WebEventFactory::createWebTouchEvent):
        * Shared/qt/WebEventFactoryQt.h:
        * UIProcess/API/qt/qgraphicswkview.cpp:
        (QGraphicsWKView::event):
        (QGraphicsWKView::touchEvent):
        * UIProcess/API/qt/qgraphicswkview.h:
        * UIProcess/API/qt/qwkpage.cpp:
        (QWKPagePrivate::touchEvent):
        * UIProcess/API/qt/qwkpage_p.h:
        * UIProcess/WebPageProxy.cpp:
        (WebKit::WebPageProxy::touchEvent):
        * UIProcess/WebPageProxy.h:
        * WebProcess/WebPage/WebPage.cpp:
        (WebKit::WebPage::touchEvent):
        (WebKit::WebPage::didReceiveMessage):
        * WebProcess/WebPage/WebPage.h:

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

9 years ago2010-08-22 Daniel Bates <dbates@rim.com>
dbates@webkit.org [Sun, 22 Aug 2010 21:41:37 +0000 (21:41 +0000)]
2010-08-22  Daniel Bates  <dbates@rim.com>

        Reviewed by Eric Seidel.

        Encapsulate document marker management into DocumentMarkerController
        https://bugs.webkit.org/show_bug.cgi?id=44383

        Modify call sites in the Chromium port to use DocumentMarkerController.

        No functionality was changed, so no new tests.

        * src/WebFrameImpl.cpp:
        (WebKit::WebFrameImpl::stopFinding):
        (WebKit::WebFrameImpl::addMarker):
        (WebKit::WebFrameImpl::setMarkerActive):
2010-08-22  Daniel Bates  <dbates@rim.com>

        Reviewed by Eric Seidel.

        Encapsulate document marker management into DocumentMarkerController
        https://bugs.webkit.org/show_bug.cgi?id=44383

        Modify call sites in the Apple Windows port to use DocumentMarkerController.

        No functionality was changed, so no new tests.

        * WebFrame.cpp:
        (WebFrame::unmarkAllMisspellings):
        (WebFrame::unmarkAllBadGrammar):
        * WebView.cpp:
        (WebView::rectsForTextMatches):
2010-08-22  Daniel Bates  <dbates@rim.com>

        Reviewed by Eric Seidel.

        Encapsulate document marker management into DocumentMarkerController
        https://bugs.webkit.org/show_bug.cgi?id=44383

        Modify call sites in the Apple Mac port to use DocumentMarkerController.

        No functionality was changed, so no new tests.

        * WebView/WebFrame.mm:
        (-[WebFrame _unmarkAllBadGrammar]):
        (-[WebFrame _unmarkAllMisspellings]):
        * WebView/WebHTMLView.mm:
        (-[WebHTMLView unmarkAllTextMatches]):
        (-[WebHTMLView rectsForTextMatches]):
2010-08-22  Daniel Bates  <dbates@rim.com>

        Reviewed by Eric Seidel.

        Encapsulate document marker management into DocumentMarkerController
        https://bugs.webkit.org/show_bug.cgi?id=44383

        Modify call sites in the EFL port to use DocumentMarkerController.

        No functionality was changed, so no new tests.

        * ewk/ewk_frame.cpp:
        (ewk_frame_text_matches_unmark_all):
2010-08-22  Daniel Bates  <dbates@rim.com>

        Reviewed by Eric Seidel.

        Encapsulate document marker management into DocumentMarkerController
        https://bugs.webkit.org/show_bug.cgi?id=44383

        Moves the document marker management code in Document.cpp into its own
        class called DocumentMarkerController.

        No functionality was changed, so no new tests.

        * Android.mk: Added DocumentMarkerController.cpp
        * CMakeLists.txt: Ditto.
        * GNUmakefile.am: Added DocumentMarkerController.cpp and DocumentMarkerController.h.
        * WebCore.exp.in: Substituted symbols __ZN7WebCore24DocumentMarkerController13removeMarkersENS_14DocumentMarker10MarkerTypeE
        and __ZN7WebCore24DocumentMarkerController23renderedRectsForMarkersENS_14DocumentMarker10MarkerTypeE for
        __ZN7WebCore8Document13removeMarkersENS_14DocumentMarker10MarkerTypeE and
        __ZN7WebCore8Document23renderedRectsForMarkersENS_14DocumentMarker10MarkerTypeE, respectively.
        * WebCore.gypi: Added DocumentMarkerController.cpp and DocumentMarkerController.h.
        * WebCore.pro: Ditto.
        * WebCore.vcproj/WebCore.vcproj: Ditto.
        * WebCore.xcodeproj/project.pbxproj: Ditto.
        * dom/Document.cpp:
        (WebCore::Document::removedLastRef): Modified to call DocumentMarkerController::detach().
        (WebCore::Document::~Document): Removed "deleteAllValues(m_markers)" as DocumentMarkerController
        is stored in OwnPtr; so it will be destroyed automatically on Document destruction.
        (WebCore::Document::textInserted): Modified to use marker controller.
        (WebCore::Document::textRemoved): Ditto.
        * dom/Document.h:
        (WebCore::Document::markers): Added.
        * dom/DocumentMarkerController.cpp: Added.
        (WebCore::placeholderRectForMarker):
        (WebCore::DocumentMarkerController::detach):
        (WebCore::DocumentMarkerController::addMarker):
        (WebCore::DocumentMarkerController::removeMarkers):
        (WebCore::DocumentMarkerController::copyMarkers):
        (WebCore::DocumentMarkerController::markerContainingPoint):
        (WebCore::DocumentMarkerController::markersForNode):
        (WebCore::DocumentMarkerController::renderedRectsForMarkers):
        (WebCore::DocumentMarkerController::repaintMarkers):
        (WebCore::DocumentMarkerController::setRenderedRectForMarker):
        (WebCore::DocumentMarkerController::invalidateRenderedRectsForMarkersInRect):
        (WebCore::DocumentMarkerController::shiftMarkers):
        (WebCore::DocumentMarkerController::setMarkersActive):
        * dom/DocumentMarkerController.h: Added.
        (WebCore::DocumentMarkerController::~DocumentMarkerController):
        * editing/Editor.cpp:
        (WebCore::Editor::ignoreSpelling): Modified to use marker controller.
        (WebCore::findFirstMisspellingInRange): Ditto.
        (WebCore::findFirstGrammarDetailInRange): Ditto.
        (WebCore::Editor::advanceToNextMisspelling): Ditto.
        (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges): Ditto.
        (WebCore::Editor::changeBackToReplacedString): Ditto.
        * editing/SplitTextNodeCommand.cpp:
        (WebCore::SplitTextNodeCommand::doApply): Ditto.
        (WebCore::SplitTextNodeCommand::doUnapply): Ditto.
        * page/Frame.cpp:
        (WebCore::Frame::markAllMatchesForText): Ditto.
        (WebCore::Frame::setMarkedTextMatchesAreHighlighted): Ditto.
        (WebCore::Frame::respondToChangedSelection): Ditto.
        * page/FrameView.cpp:
        (WebCore::FrameView::getTickmarks): Ditto.
        (WebCore::FrameView::paintContents): Ditto.
        * page/Page.cpp:
        (WebCore::Page::unmarkAllTextMatches): Ditto.
        * rendering/HitTestResult.cpp:
        (WebCore::HitTestResult::spellingToolTip): Ditto.
        (WebCore::HitTestResult::replacedString): Ditto.
        * rendering/InlineTextBox.cpp:
        (WebCore::InlineTextBox::paintSpellingOrGrammarMarker): Ditto.
        (WebCore::InlineTextBox::paintTextMatchMarker): Ditto.
        (WebCore::InlineTextBox::computeRectForReplacementMarker): Ditto.
        (WebCore::InlineTextBox::paintDocumentMarkers): Ditto.
        * rendering/SVGInlineTextBox.cpp:
        (WebCore::SVGInlineTextBox::computeTextMatchMarkerRect): Ditto.

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

9 years agoAdd the blob URL member to FormData.
jianli@chromium.org [Sun, 22 Aug 2010 21:32:33 +0000 (21:32 +0000)]
Add the blob URL member to FormData.
https://bugs.webkit.org/show_bug.cgi?id=44387

Reviewed by Darin Fisher.

WebCore:

This is in preparation to switch blob implementation to using BlobData
model. When a blob is added to a FormData, it is represented as a blob
URL in the list.

* platform/network/FormData.cpp:
(WebCore::FormData::appendBlob):
* platform/network/FormData.h:
(WebCore::FormDataElement::FormDataElement):
(WebCore::FormDataElement::):
(WebCore::operator==):

WebKit/chromium:

As the result of adding the blob URL member to the FormData, we need
to update the corresponding WebKit API for chromium.

* public/WebHTTPBody.h:
(WebKit::WebHTTPBody::Element::):
* src/WebHTTPBody.cpp:
(WebKit::WebHTTPBody::elementAt):
(WebKit::WebHTTPBody::appendBlob):

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

9 years ago2010-08-22 Eric Seidel <eric@webkit.org>
eric@webkit.org [Sun, 22 Aug 2010 18:38:38 +0000 (18:38 +0000)]
2010-08-22  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        HTML5 TreeBuilder builds wrong DOM for <a><svg><tr><input></a>
        https://bugs.webkit.org/show_bug.cgi?id=44390

        * html5lib/resources/adoption01.dat:
2010-08-22  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        HTML5 TreeBuilder builds wrong DOM for <a><svg><tr><input></a>
        https://bugs.webkit.org/show_bug.cgi?id=44390

        The HTML5 spec has changed since Adam and I original wrote
        the HTMLTreeBuilder.  Most important for this change was resolution of:
        http://www.w3.org/Bugs/Public/show_bug.cgi?id=9580

        I also removed our "phrasing" tag support since that was also removed
        from the spec as part of other bug fixes.

        This is tested by tonyg's <a><svg><tr><input></a> test in adoption01.dat.

        * html/HTMLTreeBuilder.cpp:
        (WebCore::HTMLTreeBuilder::processCloseWhenNestedTag):
        (WebCore::HTMLTreeBuilder::processAnyOtherEndTagForInBody):
        (WebCore::HTMLTreeBuilder::furthestBlockForFormattingElement):
        (WebCore::HTMLTreeBuilder::processEndTag):

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

9 years ago2010-08-22 Andreas Kling <andreas.kling@nokia.com>
andreas.kling@nokia.com [Sun, 22 Aug 2010 12:12:33 +0000 (12:12 +0000)]
2010-08-22  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Ariya Hidayat.

        [Qt] TransparencyLayer: Always use anti-aliasing and smooth pixmap transform
        https://bugs.webkit.org/show_bug.cgi?id=44394

        * platform/graphics/qt/TransparencyLayer.h:
        (WebCore::TransparencyLayer::TransparencyLayer): Set the Antialiasing
        and SmoothPixmapTransforms render hints for all TransparencyLayers.

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

9 years ago2010-08-22 Andreas Kling <andreas.kling@nokia.com>
andreas.kling@nokia.com [Sun, 22 Aug 2010 08:38:25 +0000 (08:38 +0000)]
2010-08-22  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Ariya Hidayat.

        [Qt] Gradient: Support inner radius larger than outer radius
        https://bugs.webkit.org/show_bug.cgi?id=44392

        * platform/graphics/qt/GradientQt.cpp:
        (WebCore::Gradient::platformGradient): Reverse the (radial) gradient if r0 > r1.
2010-08-22  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Ariya Hidayat.

        [Qt] Gradient: Support inner radius larger than outer radius
        https://bugs.webkit.org/show_bug.cgi?id=44392

        Unskip two tests that now pass:
        - canvas/philip/tests/2d.gradient.radial.outside2.html
        - canvas/philip/tests/2d.gradient.radial.outside3.html

        * platform/qt/Skipped:

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

9 years ago[Qt] Layer approach to support generic shadow handling
ariya@webkit.org [Sun, 22 Aug 2010 07:30:48 +0000 (07:30 +0000)]
[Qt] Layer approach to support generic shadow handling
https://bugs.webkit.org/show_bug.cgi?id=44380

Patch by Ariya Hidayat <ariya@sencha.com> on 2010-08-22
Reviewed by Dirk Schulze.

The pair beginShadowLayer and endShadowLayer creates a temporary image
where the caller can draw onto, using the returned QPainter. When
endShadowLayer is called, the temporary image will be filtered, using
the specified shadow color and blur radius, and drawn to the graphics
context.

* platform/graphics/GraphicsContext.h:
* platform/graphics/qt/ContextShadow.cpp:
(WebCore::ContextShadow::beginShadowLayer):
(WebCore::ContextShadow::endShadowLayer):
* platform/graphics/qt/ContextShadow.h:
* platform/graphics/qt/GraphicsContextQt.cpp:
(WebCore::GraphicsContext::fillRect):
(WebCore::GraphicsContext::contextShadow):

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

9 years agoCheck in missing files.
weinig@apple.com [Sun, 22 Aug 2010 03:01:50 +0000 (03:01 +0000)]
Check in missing files.

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

9 years agoRemove specialized retain/release functions in favor of a single one for WKTypeRefs
weinig@apple.com [Sun, 22 Aug 2010 01:58:28 +0000 (01:58 +0000)]
Remove specialized retain/release functions in favor of a single one for WKTypeRefs
https://bugs.webkit.org/show_bug.cgi?id=44386

Reviewed by Dan Bernstein.

WebKit2:

* UIProcess/API/C/WKArray.cpp:
(WKArrayGetSize):
* UIProcess/API/C/WKArray.h:
* UIProcess/API/C/WKBackForwardList.cpp:
(WKBackForwardListCopyForwardListWithLimit):
* UIProcess/API/C/WKBackForwardList.h:
* UIProcess/API/C/WKBackForwardListItem.cpp:
(WKBackForwardListItemCopyTitle):
* UIProcess/API/C/WKBackForwardListItem.h:
* UIProcess/API/C/WKBase.h:
* UIProcess/API/C/WKContext.cpp:
* UIProcess/API/C/WKContext.h:
* UIProcess/API/C/WKData.cpp:
(WKDataGetSize):
* UIProcess/API/C/WKData.h:
* UIProcess/API/C/WKDictionary.cpp:
(WKDictionaryCopyKeys):
* UIProcess/API/C/WKDictionary.h:
* UIProcess/API/C/WKError.h:
* UIProcess/API/C/WKFormSubmissionListener.cpp:
(WKFormSubmissionListenerContinue):
* UIProcess/API/C/WKFormSubmissionListener.h:
* UIProcess/API/C/WKFrame.cpp:
(WKFrameGetPage):
* UIProcess/API/C/WKFrame.h:
* UIProcess/API/C/WKFramePolicyListener.cpp:
(WKFramePolicyListenerIgnore):
* UIProcess/API/C/WKFramePolicyListener.h:
* UIProcess/API/C/WKNavigationData.cpp:
(WKNavigationDataCopyURL):
* UIProcess/API/C/WKNavigationData.h:
* UIProcess/API/C/WKPage.cpp:
* UIProcess/API/C/WKPage.h:
* UIProcess/API/C/WKPageNamespace.cpp:
(WKPageNamespaceGetContext):
* UIProcess/API/C/WKPageNamespace.h:
* UIProcess/API/C/WKPreferences.cpp:
(WKPreferencesCreate):
(WKPreferencesGetLocalStorageEnabled):
* UIProcess/API/C/WKPreferences.h:
* UIProcess/API/C/WKString.cpp:
* UIProcess/API/C/WKString.h:
* UIProcess/API/C/WKType.cpp:
(WKRetain):
(WKRelease):
* UIProcess/API/C/WKType.h:
* UIProcess/API/C/WKURL.cpp:
(WKURLGetTypeID):
* UIProcess/API/C/WKURL.h:
* UIProcess/API/cpp/WKRetainPtr.h:
* UIProcess/API/win/WKView.cpp:
* UIProcess/API/win/WKView.h:
* UIProcess/WebPreferences.cpp:
(WebKit::WebPreferences::shared):
* WebProcess/InjectedBundle/API/c/WKBundleNodeHandle.cpp:
(WKBundleNodeHandleGetTypeID):
* WebProcess/InjectedBundle/API/c/WKBundleNodeHandle.h:
* WebProcess/InjectedBundle/API/c/WKBundleScriptWorld.cpp:
(WKBundleScriptWorldNormalWorld):
* WebProcess/InjectedBundle/API/c/WKBundleScriptWorld.h:

WebKitTools:

* MiniBrowser/mac/AppDelegate.m:
(didRecieveMessageFromInjectedBundle):
(didNavigateWithNavigationData):
(-[BrowserAppDelegate init]):
(-[BrowserAppDelegate applicationWillTerminate:]):
* MiniBrowser/mac/BrowserStatisticsWindowController.m:
(-[BrowserStatisticsWindowController initWithThreadedWKContextRef:processWKContextRef:]):
(-[BrowserStatisticsWindowController dealloc]):
* MiniBrowser/mac/BrowserWindowController.m:
(-[BrowserWindowController initWithPageNamespace:]):
(-[BrowserWindowController fetch:]):
(-[BrowserWindowController windowWillClose:]):
(-[BrowserWindowController applicationTerminating]):
(closePage):
(runJavaScriptAlert):
(runJavaScriptConfirm):
(runJavaScriptPrompt):
(-[BrowserWindowController updateProvisionalURLForFrame:]):
* MiniBrowser/mac/WebBundle/WebBundleMain.m:
(didClearWindowObjectForFrame):
* MiniBrowser/win/BrowserView.cpp:
(BrowserView::goToURL):
* WebKitTestRunner/win/PlatformWebViewWin.cpp:
(WTR::PlatformWebView::~PlatformWebView):

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

9 years ago2010-08-21 Eric Carlson <eric.carlson@apple.com>
eric.carlson@apple.com [Sat, 21 Aug 2010 18:40:01 +0000 (18:40 +0000)]
2010-08-21  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Dan Bernstein.

        Media engine should not be asked to open all urls
        https://bugs.webkit.org/show_bug.cgi?id=44370

        * platform/graphics/MediaPlayer.cpp:
        (WebCore::MediaPlayer::load): Do nothing with urls with a type attribute that would be
        rejected by canPlayType().

2010-08-21  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Dan Bernstein.

        Media engine should not be asked to open all urls
        https://bugs.webkit.org/show_bug.cgi?id=44370

        * media/video-source-none-supported-expected.txt:
        * media/video-source-none-supported.html:
        * media/video-source-type.html:

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

9 years ago2010-08-21 Ademar de Souza Reis Jr <ademar.reis@openbossa.org>
commit-queue@webkit.org [Sat, 21 Aug 2010 10:11:19 +0000 (10:11 +0000)]
2010-08-21  Ademar de Souza Reis Jr  <ademar.reis@openbossa.org>

        Reviewed by Ariya Hidayat.

        [Qt] http/tests/incremental should be enabled
        https://bugs.webkit.org/show_bug.cgi?id=44284

        * platform/qt/Skipped: Enable http/tests/incremental, disabling only one failing test (#44282)

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

9 years ago2010-08-21 Ademar de Souza Reis Jr <ademar.reis@openbossa.org>
commit-queue@webkit.org [Sat, 21 Aug 2010 09:23:56 +0000 (09:23 +0000)]
2010-08-21  Ademar de Souza Reis Jr  <ademar.reis@openbossa.org>

        Reviewed by Ariya Hidayat.

        [Qt] All sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/ tests can be re-enabled
        https://bugs.webkit.org/show_bug.cgi?id=44192

        Tested on several scenarios, including qt-4.7 and qt-4.6

        * platform/qt/Skipped:

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

9 years ago[Qt] Faster bounding rect for the shadow clip region
ariya@webkit.org [Sat, 21 Aug 2010 08:33:25 +0000 (08:33 +0000)]
[Qt] Faster bounding rect for the shadow clip region
https://bugs.webkit.org/show_bug.cgi?id=44369

Patch by Ariya Hidayat <ariya@sencha.com> on 2010-08-21
Reviewed by Kenneth Rohde Christiansen.

Like in r65650, we should use the faster QPainter::clipBoundingRect
when it is available.

* platform/graphics/qt/ContextShadow.cpp:
(WebCore::ContextShadow::drawShadowRect):

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

9 years ago[Qt] When using the raster graphics system on Maemo5, allow
girish@forwardbias.in [Sat, 21 Aug 2010 05:14:18 +0000 (05:14 +0000)]
[Qt] When using the raster graphics system on Maemo5, allow
Flash to render directly into the raster window surface.
wmode=transparent is now supported as a result of this change.

Reviewed by Ariya Hidayat.

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

* plugins/qt/PluginViewQt.cpp:
(WebCore::PluginView::paintUsingImageSurfaceExtension):

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

9 years ago2010-08-20 Alexey Proskuryakov <ap@apple.com>
ap@apple.com [Sat, 21 Aug 2010 05:06:10 +0000 (05:06 +0000)]
2010-08-20  Alexey Proskuryakov  <ap@apple.com>

        Reviewed by Brady Eidson.

        https://bugs.webkit.org/show_bug.cgi?id=38428
        HTTP code 500 (and other non-4xx codes) wrongfully treated as success for subresources

        * http/tests/misc/resources/script-500.php: Added.
        * http/tests/misc/script-500-expected.txt: Added.
        * http/tests/misc/script-500.html: Added.
2010-08-20  Alexey Proskuryakov  <ap@apple.com>

        Reviewed by Brady Eidson.

        https://bugs.webkit.org/show_bug.cgi?id=38428
        HTTP code 500 (and other non-4xx codes) wrongfully treated as success for subresources

        Test: http/tests/misc/script-500.html

        * loader/loader.cpp: (WebCore::Loader::Host::didReceiveData): Treat all HTTP codes >= 400 as
        error ones, since they are.

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

9 years ago2010-08-20 Benjamin Poulain <benjamin.poulain@nokia.com>
andreas.kling@nokia.com [Sat, 21 Aug 2010 03:39:12 +0000 (03:39 +0000)]
2010-08-20  Benjamin Poulain  <benjamin.poulain@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        WebKit does not build with Python 2.3
        https://bugs.webkit.org/show_bug.cgi?id=44373

        Replaced the function sorted() by a call to sort()
        on the entry list.
        The function sorted() has been added to Python 2.4.
        The function method sort() of List works with older
        versions of Python.

        * Scripts/create-html-entity-table:

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

9 years ago2010-08-20 Ademar de Souza Reis Jr <ademar.reis@openbossa.org>
commit-queue@webkit.org [Sat, 21 Aug 2010 01:18:50 +0000 (01:18 +0000)]
2010-08-20  Ademar de Souza Reis Jr  <ademar.reis@openbossa.org>

        Reviewed by Ariya Hidayat.

        [Qt] Enable some http/ tests which are passing for some time
        https://bugs.webkit.org/show_bug.cgi?id=44366

        These are reported as "passing, require confirmation on bot". Some of them
        fail on my machines, so I'm enabling only the ones which pass.

        * platform/qt/Skipped: enable several http tests

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

9 years ago2010-08-20 Ademar de Souza Reis Jr <ademar.reis@openbossa.org>
commit-queue@webkit.org [Sat, 21 Aug 2010 01:01:56 +0000 (01:01 +0000)]
2010-08-20  Ademar de Souza Reis Jr  <ademar.reis@openbossa.org>

        Reviewed by Ariya Hidayat.

        [Qt] constify core() and kit() parameters
        https://bugs.webkit.org/show_bug.cgi?id=44347

        * Api/qwebframe.cpp:
        (QWebFrame::evaluateJavaScript):
        * Api/qwebframe_p.h:
        * Api/qwebhistory.cpp:
        (QWebHistoryItemPrivate::core):
        * Api/qwebhistory_p.h:
        * Api/qwebpage.cpp:
        (QWebPagePrivate::core):
        * Api/qwebpage_p.h:

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

9 years ago2010-08-20 Kinuko Yasuda <kinuko@chromium.org>
kinuko@chromium.org [Sat, 21 Aug 2010 00:35:50 +0000 (00:35 +0000)]
2010-08-20  Kinuko Yasuda  <kinuko@chromium.org>

        Unreviewed; build fix for chromium (and remove duplicated ChangeLog entry).

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

9 years ago2010-08-20 Tony Gentilcore <tonyg@chromium.org>
tonyg@chromium.org [Sat, 21 Aug 2010 00:25:43 +0000 (00:25 +0000)]
2010-08-20  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Adam Barth.

        Crash in WebCore::Node::createRendererIfNeeded()
        https://bugs.webkit.org/show_bug.cgi?id=44129

        * html5lib/resources/adoption02.dat: A crazy DOM from https://bugs.webkig.org/show_bug.cgi?id=44170 which previously crashed. The expectation doesn't appear to be correct, but it behaves the same in Firefox 4, so I'm going to file a spec bug.
        * fast/parser/remove-misnested-iframe-in-beforeload-expected.txt:
        * fast/parser/remove-misnested-iframe-in-beforeload.html: Misnest a node in a table and remove it during its beforeload handler. The node should not be in the tree.
        * fast/parser/remove-misnested-iframe-parent-in-beforeload-expected.txt:
        * fast/parser/remove-misnested-iframe-parent-in-beforeload.html: Misnest a node in a table and remove its parent during its beforeload handler. The adoption agency should have already changed its parent to the one before the table and it and its parent should be removed.
2010-08-20  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Adam Barth.

        Crash in WebCore::Node::createRendererIfNeeded()
        https://bugs.webkit.org/show_bug.cgi?id=44129

        * dom/ContainerNode.cpp:
        (WebCore::ContainerNode::insertBefore): Factor out core bit to insertBetween.
        (WebCore::ContainerNode::insertBetween): Factored out of insertBefore.
        (WebCore::ContainerNode::parserInsertBefore): Similar to insertBefore, but doesn't handle reparenting or dispatch DOM mutation events.
        (WebCore::ContainerNode::removeChild): Factor out core bit to removeBetween.
        (WebCore::ContainerNode::removeBetween): Facotred out of removeChild.
        (WebCore::ContainerNode::parserRemoveChild): Similar to removeChild, but doesn't handle reparenting or dispatch DOM mutation events.
        (WebCore::ContainerNode::addChildCommon):
        (WebCore::ContainerNode::parserAddChild):
        (WebCore::ContainerNode::legacyParserAddChild):
        * dom/ContainerNode.h:
        * dom/Node.cpp:
        (WebCore::Node::parserRemoveChild):
        (WebCore::Node::parserInsertBefore):
        * dom/Node.h:
        * html/HTMLConstructionSite.cpp:
        (WebCore::HTMLConstructionSite::attach):
        (WebCore::HTMLConstructionSite::attachAtSite): Use new parserInsertBefore.
        * html/HTMLTreeBuilder.cpp:
        (WebCore::HTMLTreeBuilder::passTokenToLegacyParser):
        (WebCore::HTMLTreeBuilder::reparentChildren):
        (WebCore::HTMLTreeBuilder::callTheAdoptionAgency): Was missing a key bit from the spec about removing the old parent if it exists.

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

9 years ago2010-08-20 Kinuko Yasuda <kinuko@chromium.org>
kinuko@chromium.org [Sat, 21 Aug 2010 00:18:30 +0000 (00:18 +0000)]
2010-08-20  Kinuko Yasuda  <kinuko@chromium.org>

        Unreviewed; build fix.  Had included wrong version of build file.

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

9 years ago2010-08-20 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Sat, 21 Aug 2010 00:13:06 +0000 (00:13 +0000)]
2010-08-20  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Joseph Pecoraro.

        [GTK] Inspector extensions tests fail on GTK+ bots because onSelectionChanged is missing
        https://bugs.webkit.org/show_bug.cgi?id=44342

        * platform/gtk/Skipped: Unskip tests which are now passing.
2010-08-20  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Joseph Pecoraro.

        [GTK] Inspector extensions tests fail on GTK+ bots because onSelectionChanged is missing
        https://bugs.webkit.org/show_bug.cgi?id=44342

        * GNUmakefile.am: Fix dependency tracking for copied web inspector files.

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

9 years ago2010-08-20 James Robinson <jamesr@chromium.org>
jamesr@google.com [Sat, 21 Aug 2010 00:04:20 +0000 (00:04 +0000)]
2010-08-20  James Robinson  <jamesr@chromium.org>

        Synchronize default of use_accelerated_compositing gyp variable with downstream.  Unreviewed.

        * features.gypi:

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

9 years ago2010-08-20 Kinuko Yasuda <kinuko@chromium.org>
kinuko@chromium.org [Sat, 21 Aug 2010 00:02:08 +0000 (00:02 +0000)]
2010-08-20  Kinuko Yasuda  <kinuko@chromium.org>

        Reviewed by Darin Fisher.

        [chromium] Add chromium-side callback implementation for FileSystem API
        https://bugs.webkit.org/show_bug.cgi?id=44350

        Add WebFileSystemCallbacks that calls back the WebCore's implementation.

        * WebKit.gyp:
        * src/WebFileSystemCallbacksImpl.cpp: Added.
        * src/WebFileSystemCallbacksImpl.h: Added.

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

9 years ago2010-08-20 Kinuko Yasuda <kinuko@chromium.org>
kinuko@chromium.org [Fri, 20 Aug 2010 23:49:01 +0000 (23:49 +0000)]
2010-08-20  Kinuko Yasuda  <kinuko@chromium.org>

        Reviewed by Darin Fisher.

        Add Callback implementation for FileSystem API
        https://bugs.webkit.org/show_bug.cgi?id=44349

        No new tests; tests will be added later.

        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * storage/FileSystemCallbacks.cpp: Added.
        * storage/FileSystemCallbacks.h: Added.

        * storage/EntryCallback.h: Nits fix
        * storage/FileSystemCallback.h: Nits fix

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

9 years ago2010-08-20 Sheriff Bot <webkit.review.bot@gmail.com>
rniwa@webkit.org [Fri, 20 Aug 2010 23:48:42 +0000 (23:48 +0000)]
2010-08-20  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r65757.
        http://trac.webkit.org/changeset/65757
        https://bugs.webkit.org/show_bug.cgi?id=44371

        "fails on chromium windows and there is also a bug in the test
        script." (Requested by rniwa on #webkit).

        * editing/style/make-text-writing-direction-inline-expected.txt: Removed.
        * editing/style/make-text-writing-direction-inline.html: Removed.
        * editing/style/script-tests/make-text-writing-direction-inline.js: Removed.

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

9 years ago2010-08-20 Andreas Kling <andreas.kling@nokia.com>
andreas.kling@nokia.com [Fri, 20 Aug 2010 23:23:25 +0000 (23:23 +0000)]
2010-08-20  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Ariya Hidayat.

        [Qt] WebKit does not compile with --3d-canvas
        https://bugs.webkit.org/show_bug.cgi?id=44335

        - PlatformGLObject => Platform3DObject
        - Implemented getAttachedShaders()
        - Implemented bufferData() and bufferSubData() for ArrayBuffer*
        - Removed reference to nonexistent variable in getImageData()

        * platform/graphics/qt/GraphicsContext3DQt.cpp:
        (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
        (WebCore::GraphicsContext3D::attachShader):
        (WebCore::GraphicsContext3D::getAttachedShaders):
        (WebCore::GraphicsContext3D::bindAttribLocation):
        (WebCore::GraphicsContext3D::bindBuffer):
        (WebCore::GraphicsContext3D::bindFramebuffer):
        (WebCore::GraphicsContext3D::bindRenderbuffer):
        (WebCore::GraphicsContext3D::bindTexture):
        (WebCore::GraphicsContext3D::bufferData):
        (WebCore::GraphicsContext3D::bufferSubData):
        (WebCore::GraphicsContext3D::compileShader):
        (WebCore::GraphicsContext3D::detachShader):
        (WebCore::GraphicsContext3D::framebufferRenderbuffer):
        (WebCore::GraphicsContext3D::framebufferTexture2D):
        (WebCore::GraphicsContext3D::getActiveAttrib):
        (WebCore::GraphicsContext3D::getActiveUniform):
        (WebCore::GraphicsContext3D::getAttribLocation):
        (WebCore::GraphicsContext3D::isBuffer):
        (WebCore::GraphicsContext3D::isFramebuffer):
        (WebCore::GraphicsContext3D::isProgram):
        (WebCore::GraphicsContext3D::isRenderbuffer):
        (WebCore::GraphicsContext3D::isShader):
        (WebCore::GraphicsContext3D::isTexture):
        (WebCore::GraphicsContext3D::linkProgram):
        (WebCore::GraphicsContext3D::shaderSource):
        (WebCore::GraphicsContext3D::useProgram):
        (WebCore::GraphicsContext3D::validateProgram):
        (WebCore::GraphicsContext3D::getProgramiv):
        (WebCore::GraphicsContext3D::getProgramInfoLog):
        (WebCore::GraphicsContext3D::getShaderiv):
        (WebCore::GraphicsContext3D::getShaderInfoLog):
        (WebCore::GraphicsContext3D::getShaderSource):
        (WebCore::GraphicsContext3D::getUniformfv):
        (WebCore::GraphicsContext3D::getUniformiv):
        (WebCore::GraphicsContext3D::getUniformLocation):
        (WebCore::GraphicsContext3D::getImageData):
        * platform/graphics/qt/GraphicsLayerQt.h:

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

9 years ago#ifdef-out some Leopard-and-earlier code.
mitz@apple.com [Fri, 20 Aug 2010 23:03:17 +0000 (23:03 +0000)]
#ifdef-out some Leopard-and-earlier code.

Reviewed by Dave Kilzer.

* platform/graphics/mac/FontCustomPlatformData.cpp:
(WebCore::FontCustomPlatformData::~FontCustomPlatformData):

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

9 years ago2010-08-20 Kenneth Russell <kbr@google.com>
kbr@google.com [Fri, 20 Aug 2010 22:43:24 +0000 (22:43 +0000)]
2010-08-20  Kenneth Russell  <kbr@google.com>

        Unreviewed, speculative Chromium build fix. Forward declare
        IntSize in WebGLRenderingContext.h and include IntSize.h in .cpp.

        * html/canvas/WebGLRenderingContext.cpp:
        * html/canvas/WebGLRenderingContext.h:

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

9 years ago2010-08-20 Eric Carlson <eric.carlson@apple.com>
eric.carlson@apple.com [Fri, 20 Aug 2010 22:19:39 +0000 (22:19 +0000)]
2010-08-20  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Dan Bernstein.

        Media element canPlayType("application/octet-stream") not handled correctly
        https://bugs.webkit.org/show_bug.cgi?id=44343

        Test: media/media-can-play-octet-stream.html

        * platform/graphics/MediaPlayer.cpp:
        (WebCore::applicationOctetStream): New, accessor for static string used more than once.
        (WebCore::textPlain): Ditto.
        (WebCore::codecs): Ditto.
        (WebCore::chooseBestEngineForTypeAndCodecs): Special case "application/octet-stream".
        (WebCore::MediaPlayer::load): Use static static string methods.
        (WebCore::MediaPlayer::supportsType): Special case "application/octet-stream".

2010-08-20  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Dan Bernstein.

        Media element canPlayType("application/octet-stream") not handled correctly
        https://bugs.webkit.org/show_bug.cgi?id=44343

        * media/media-can-play-octet-stream-expected.txt: Added.
        * media/media-can-play-octet-stream.html: Added.

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

9 years ago2010-08-20 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Fri, 20 Aug 2010 22:14:37 +0000 (22:14 +0000)]
2010-08-20  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Tony Chang.

        There is no test for unicode-bidi / direction support in ApplyStyleCommand::applyInlineStyle
        https://bugs.webkit.org/show_bug.cgi?id=43989

        Added a test for MakeTextWritingDirectionNatural, MakeTextWritingDirectionLeftToRight,
        and MakeTextWritingDirectionRightToLeft commands.

        * editing/style/make-text-writing-direction-inline.html: Added.
        * editing/style/script-tests/make-text-writing-direction-inline.js: Added.
        (modifyWritingDirection):
        (selectFirstWord):
        (selectSecondAndThirdWords):

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