WebKit-https.git
9 years ago[GTK] Implement DumpRenderTreeSupportGtk (similarly to DumpRenderTreeSupportQt idea)
tonikitoo@webkit.org [Wed, 27 Oct 2010 05:22:23 +0000 (05:22 +0000)]
[GTK] Implement DumpRenderTreeSupportGtk (similarly to DumpRenderTreeSupportQt idea)
https://bugs.webkit.org/show_bug.cgi?id=48199

Reviewed by Martin Robinson.
Patch by Antonio Gomes <agomes@rim.com>

.:

* GNUmakefile.am: Added WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.cpp|h to GTK+'s build system;
* autotools/symbols.filter: Added DumpRenderTreeSupportGtk symbols to symbols.filter so they do not get
  filtered and get visible by DRT.

WebKit/gtk:

Implemented an initial version of the DumpRenderTreeSupportGtk class.
The main idea is that it groups together the bodies of many LayoutTestController
methods, so they can directly access WebCore features. This way we eliminate the
need of adding APIs to WebKitGTK just to expand its test coverage through DRT.

The DumpRenderTreeSupportGtk class so far includes a getter and setter for the WebKitTabToLinksPreferenceKey
property as a sample implementation. Also it makes it possible to unskip fast/events/tab-focus-anchor.html and
to fix stderr messages from all 22 spatial-navigation tests in fast/events/spatial-navigation.

* WebCoreSupport/ChromeClientGtk.cpp:
(WebKit::ChromeClient::tabsToLinks):
* WebCoreSupport/DumpRenderTreeSupportGtk.cpp: Added.
(DumpRenderTreeSupportGtk::DumpRenderTreeSupportGtk):
(DumpRenderTreeSupportGtk::~DumpRenderTreeSupportGtk):
(DumpRenderTreeSupportGtk::setDumpRenderTreeModeEnabled):
(DumpRenderTreeSupportGtk::dumpRenderTreeModeEnabled): Getter to the WebKitTabToLinksPreferenceKey property.
(DumpRenderTreeSupportGtk::setLinksIncludedInFocusChain): Setter to the WebKitTabToLinksPreferenceKey property.
(DumpRenderTreeSupportGtk::linksIncludedInFocusChain):
* WebCoreSupport/DumpRenderTreeSupportGtk.h: Added.

WebKitTools:

Implements support to WebKitTabToLinksPreferenceKey through LayoutTestController::overridePreference.
The corresponding DumpRenderTreeSupportGtk method is called in the DRT context only.

* DumpRenderTree/gtk/DumpRenderTree.cpp:
(resetDefaultsToConsistentValues):
(createWebView):
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::overridePreference):

LayoutTests:

* platform/gtk/Skipped: Unskiped fast/events/tab-focus-anchor.html.

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

9 years agoUnreviewed, change the order of my emails for bugzilla autocompletion.
ariya@webkit.org [Wed, 27 Oct 2010 04:31:43 +0000 (04:31 +0000)]
Unreviewed, change the order of my emails for bugzilla autocompletion.

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

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

9 years ago2010-10-26 Eric Seidel <eric@webkit.org>
eric@webkit.org [Wed, 27 Oct 2010 04:29:08 +0000 (04:29 +0000)]
2010-10-26  Eric Seidel  <eric@webkit.org>

        Reviewed by David Kilzer.

        build-webkit should collect Visual Studio Express logs and display them
        https://bugs.webkit.org/show_bug.cgi?id=39199

        * Scripts/build-webkit:
        * Scripts/print-vse-failure-logs: Added.
        * Scripts/webkitdirs.pm:

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

9 years ago<http://webkit.org/b/48224> build-webkit: add support for --meter-tag switch
ddkilzer@apple.com [Wed, 27 Oct 2010 04:06:27 +0000 (04:06 +0000)]
<webkit.org/b/48224> build-webkit: add support for --meter-tag switch

Reviewed by Csaba Osztrogonác.

* Scripts/build-webkit: Added support for --meter-tag switch.
It should have been added with r60820.

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

9 years ago2010-10-26 Chris Rogers <crogers@google.com>
crogers@google.com [Wed, 27 Oct 2010 03:50:56 +0000 (03:50 +0000)]
2010-10-26  Chris Rogers  <crogers@google.com>

        Reviewed by Kenneth Russell.

        Add DelayNode files
        https://bugs.webkit.org/show_bug.cgi?id=47516

        No new tests since audio API is not yet implemented.

        * webaudio/DelayNode.cpp: Added.
        (WebCore::DelayNode::DelayNode):
        (WebCore::DelayNode::delayTime):
        * webaudio/DelayNode.h: Added.
        (WebCore::DelayNode::create):
        (WebCore::DelayNode::delayProcessor):
        * webaudio/DelayNode.idl: Added.

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

9 years ago2010-10-26 Chris Rogers <crogers@google.com>
crogers@google.com [Wed, 27 Oct 2010 03:35:17 +0000 (03:35 +0000)]
2010-10-26  Chris Rogers  <crogers@google.com>

        Reviewed by Kenneth Russell.

        AudioContext and AudioNode followup changes for AudioNodeInput/AudioNodeOutput thread safety
        https://bugs.webkit.org/show_bug.cgi?id=47504

        No new tests since audio API is not yet implemented.

        * webaudio/AudioContext.cpp:
        (WebCore::AudioContext::isAudioThread):
        (WebCore::AudioContext::isGraphOwner):
        (WebCore::AudioContext::handlePreRenderTasks):
        (WebCore::AudioContext::handlePostRenderTasks):
        (WebCore::AudioContext::deleteMarkedNodes):
        (WebCore::AudioContext::markAudioNodeInputDirty):
        (WebCore::AudioContext::markAudioNodeOutputDirty):
        (WebCore::AudioContext::handleDirtyAudioNodeInputs):
        (WebCore::AudioContext::handleDirtyAudioNodeOutputs):
        * webaudio/AudioContext.h:
        * webaudio/AudioNode.cpp:
        * webaudio/AudioNode.h:
        (WebCore::AudioNode::isMarkedForDeletion):
        * webaudio/AudioNode.idl:

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

9 years ago2010-10-26 Chris Rogers <crogers@google.com>
crogers@google.com [Wed, 27 Oct 2010 03:21:41 +0000 (03:21 +0000)]
2010-10-26  Chris Rogers  <crogers@google.com>

        Reviewed by Kenneth Russell.

        Add DelayProcessor files
        https://bugs.webkit.org/show_bug.cgi?id=47517

        No new tests since audio API is not yet implemented.

        * webaudio/DelayProcessor.cpp: Added.
        (WebCore::DelayProcessor::DelayProcessor):
        (WebCore::DelayProcessor::~DelayProcessor):
        (WebCore::DelayProcessor::createKernel):
        * webaudio/DelayProcessor.h: Added.
        (WebCore::DelayProcessor::delayTime):

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

9 years ago2010-10-26 Chris Rogers <crogers@google.com>
crogers@google.com [Wed, 27 Oct 2010 02:31:35 +0000 (02:31 +0000)]
2010-10-26  Chris Rogers  <crogers@google.com>

        Reviewed by Kenneth Russell.

        Add AudioNodeOutput files
        https://bugs.webkit.org/show_bug.cgi?id=45581

        No new tests since audio API is not yet implemented.

        * webaudio/AudioNodeOutput.cpp: Added.
        (WebCore::AudioNodeOutput::AudioNodeOutput):
        (WebCore::AudioNodeOutput::setNumberOfChannels):
        (WebCore::AudioNodeOutput::setInternalBus):
        (WebCore::AudioNodeOutput::updateRenderingState):
        (WebCore::AudioNodeOutput::updateNumberOfChannels):
        (WebCore::AudioNodeOutput::propagateChannelCount):
        (WebCore::AudioNodeOutput::pull):
        (WebCore::AudioNodeOutput::bus):
        (WebCore::AudioNodeOutput::renderingFanOutCount):
        (WebCore::AudioNodeOutput::fanOutCount):
        (WebCore::AudioNodeOutput::addInput):
        (WebCore::AudioNodeOutput::removeInput):
        (WebCore::AudioNodeOutput::disconnectAllInputs):
        (WebCore::AudioNodeOutput::disable):
        (WebCore::AudioNodeOutput::enable):
        * webaudio/AudioNodeOutput.h: Added.
        (WebCore::AudioNodeOutput::node):
        (WebCore::AudioNodeOutput::context):
        (WebCore::AudioNodeOutput::numberOfChannels):
        (WebCore::AudioNodeOutput::isChannelCountKnown):

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

9 years ago2010-10-26 Ademar de Souza Reis Jr. <ademar.reis@openbossa.org>
commit-queue@webkit.org [Wed, 27 Oct 2010 02:01:07 +0000 (02:01 +0000)]
2010-10-26  Ademar de Souza Reis Jr.  <ademar.reis@openbossa.org>

        Reviewed by Dumitru Daniliuc.

        check-webkit-style fails on operator+=, operator-=, ... methods
        https://bugs.webkit.org/show_bug.cgi?id=48258

        * Scripts/webkitpy/style/checkers/cpp.py: Added exceptions
        * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added unit-tests

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

9 years ago2010-10-26 Chris Rogers <crogers@google.com>
crogers@google.com [Wed, 27 Oct 2010 01:59:08 +0000 (01:59 +0000)]
2010-10-26  Chris Rogers  <crogers@google.com>

        Reviewed by Kenneth Russell.

        Add AudioNodeInput files
        https://bugs.webkit.org/show_bug.cgi?id=45577

        No new tests since audio API is not yet implemented.

        * webaudio/AudioNodeInput.cpp: Added.
        (WebCore::AudioNodeInput::AudioNodeInput):
        (WebCore::AudioNodeInput::connect):
        (WebCore::AudioNodeInput::disconnect):
        (WebCore::AudioNodeInput::disable):
        (WebCore::AudioNodeInput::enable):
        (WebCore::AudioNodeInput::changedOutputs):
        (WebCore::AudioNodeInput::updateRenderingState):
        (WebCore::AudioNodeInput::numberOfChannels):
        (WebCore::AudioNodeInput::numberOfRenderingChannels):
        (WebCore::AudioNodeInput::bus):
        (WebCore::AudioNodeInput::internalSummingBus):
        (WebCore::AudioNodeInput::sumAllConnections):
        (WebCore::AudioNodeInput::pull):
        * webaudio/AudioNodeInput.h: Added.
        (WebCore::AudioNodeInput::node):
        (WebCore::AudioNodeInput::context):
        (WebCore::AudioNodeInput::numberOfRenderingConnections):
        (WebCore::AudioNodeInput::renderingOutput):
        (WebCore::AudioNodeInput::isConnected):
        (WebCore::AudioNodeInput::numberOfConnections):

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

9 years ago2010-10-26 MORITA Hajime <morrita@google.com>
morrita@google.com [Wed, 27 Oct 2010 01:56:52 +0000 (01:56 +0000)]
2010-10-26  MORITA Hajime  <morrita@google.com>

        Reviewed by Tony Chang.

        Rolling in r70512 again.

        spellcheck='' should be the same as spellcheck="true"
        https://bugs.webkit.org/show_bug.cgi?id=25539

        * editing/spelling/spellcheck-attribute-expected.txt:
        * editing/spelling/spellcheck-attribute.html:
2010-10-26  MORITA Hajime  <morrita@google.com>

        Reviewed by Tony Chang.

        Rolling in r70512 again, added missing null-check to
        Editor::isSpellCheckingEnabled().
        http://trac.webkit.org/changeset/70512

        spellcheck='' should be the same as spellcheck="true"
        https://bugs.webkit.org/show_bug.cgi?id=25539

        * dom/Element.cpp:
        (WebCore::Element::spellcheckAttributeState):
        (WebCore::Element::isSpellCheckingEnabled):
        * dom/Element.h:
        * editing/Editor.cpp:
        (WebCore::markMisspellingsOrBadGrammar):
        (WebCore::Editor::isSpellCheckingEnabledInFocusedNode):
        (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
        * editing/Editor.h:
        * platform/ContextMenu.cpp:
        (WebCore::ContextMenu::populate):
2010-10-26  MORITA Hajime  <morrita@google.com>

        Reviewed by Tony Chang.

        Rolling in r70512 again.

        spellcheck='' should be the same as spellcheck="true"
        https://bugs.webkit.org/show_bug.cgi?id=25539

        * src/ContextMenuClientImpl.cpp:
        (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
        * src/EditorClientImpl.cpp:
        (WebKit::EditorClientImpl::shouldSpellcheckByDefault):

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

9 years agoWebCore: Unreviewed build fixes.
bfulgham@webkit.org [Wed, 27 Oct 2010 01:41:34 +0000 (01:41 +0000)]
WebCore: Unreviewed build fixes.

* WebCore.vcproj/WebCore.vcproj: Turn off several non-WinCairo
files.  We don't support CoreAnimation!
* WebCore.vcproj/WebCoreCairo.vsprops: Add missing include path
for 'image-decoders/webp'
* platform/network/curl/CookieJarCurl.cpp:
(WebCore::setCookieStoragePrivateBrowsingEnabled): Add build stub.

WebKit/win: Unreviewed build fix.

* WebView.cpp: Conditionalize includes for CFNetwork-specific
Cookie implementation.
* WebView.h: Conditionalize includes for ACCELERATED_COMPOSITION.
WinCairo doesn't use CoreAnimation.

WebKit2: Unreviewed build fix.

* WebProcess/WebCoreSupport/win/WebErrorsWin.cpp:
(WebKit::cancelledError): Conditionalize use of CFNetwork calls
and includes.

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

9 years agoCrash in CompositeEditCommand::splitTreeToNode
rniwa@webkit.org [Wed, 27 Oct 2010 00:49:45 +0000 (00:49 +0000)]
Crash in CompositeEditCommand::splitTreeToNode
https://bugs.webkit.org/show_bug.cgi?id=48349

Reviewed by Kent Tamura.

WebCore:

The bug was caused by indentIntoBlockquote's passing null pointer to splitTreeToNode.
Fixed the crash by adding early exits.

Test: editing/execCommand/indent-node-to-split-to-crash.html

* editing/CompositeEditCommand.cpp:
(WebCore::CompositeEditCommand::splitTreeToNode):
* editing/IndentOutdentCommand.cpp:
(WebCore::IndentOutdentCommand::indentIntoBlockquote):

LayoutTests:

Added a test to ensure WebKit does not crash when indenting.

* editing/execCommand/indent-node-to-split-to-crash-expected.txt: Added.
* editing/execCommand/indent-node-to-split-to-crash.html: Added.

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

9 years ago2010-10-26 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Wed, 27 Oct 2010 00:42:45 +0000 (00:42 +0000)]
2010-10-26  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Kent Tamura.

        REGRESSION(r67170): crash in removeImplicitlyStyledElement
        https://bugs.webkit.org/show_bug.cgi?id=48389

        Fixed the crash by adding a null pointer check.

        Test: editing/style/invalid-font-size.html

        * editing/ApplyStyleCommand.cpp:
        (WebCore::ApplyStyleCommand::removeImplicitlyStyledElement):
2010-10-26  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Kent Tamura.

        REGRESSION(r67170): crash in removeImplicitlyStyledElement
        https://bugs.webkit.org/show_bug.cgi?id=48389

        Added a test to ensure WebKit does not crash when changing the font size
        of text inside a font element with an invalid size attribute.

        * editing/style/invalid-font-size-expected.txt: Added.
        * editing/style/invalid-font-size.html: Added.

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

9 years agoUnreviewed.
tkent@chromium.org [Wed, 27 Oct 2010 00:37:19 +0000 (00:37 +0000)]
Unreviewed.

Update the ChangeLog entry for r70549 so that the description contains
"form controls."

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

9 years agoBuild fix.
mitz@apple.com [Wed, 27 Oct 2010 00:15:20 +0000 (00:15 +0000)]
Build fix.

* WebKit.xcodeproj/project.pbxproj: Allow deprecated methods to be used in NetscapePluginHostProxy.mm.

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

9 years ago2010-10-26 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Wed, 27 Oct 2010 00:08:40 +0000 (00:08 +0000)]
2010-10-26  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Tony Chang.

        remove DEFER support from new-run-webkit-tests
        https://bugs.webkit.org/show_bug.cgi?id=48387

        DEFER was needed when we were trying to ship Chrome beta.
        Now it's just extra complication.

        * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
        * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
        * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
        * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
        * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:

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

9 years agoInterpreter build fix.
oliver@apple.com [Tue, 26 Oct 2010 23:39:25 +0000 (23:39 +0000)]
Interpreter build fix.

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

9 years ago Build fix.
ap@apple.com [Tue, 26 Oct 2010 23:19:50 +0000 (23:19 +0000)]
    Build fix.

        * WebProcess/InjectedBundle/API/c/WKBundlePage.h: Modified original file, not its framework
        copy this time.

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

9 years ago2010-10-26 Eric Seidel <eric@webkit.org>
eric@webkit.org [Tue, 26 Oct 2010 23:15:25 +0000 (23:15 +0000)]
2010-10-26  Eric Seidel  <eric@webkit.org>

        Unreviewed.  Adding import with_statement to fix python 2.5.

        Teach webkit-patch how to read credentials from the environment
        https://bugs.webkit.org/show_bug.cgi?id=48275

        * Scripts/webkitpy/common/net/credentials_unittest.py:
         - import with_statement to fix python 2.5.

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

9 years agoPass a downloadID to the web process whenever a download is requested
andersca@apple.com [Tue, 26 Oct 2010 23:05:31 +0000 (23:05 +0000)]
Pass a downloadID to the web process whenever a download is requested
https://bugs.webkit.org/show_bug.cgi?id=48380

Reviewed by Sam Weinig.

* UIProcess/WebContext.cpp:
(WebKit::WebContext::generateDownloadID):
Generate a unique download ID.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::receivedPolicyDecision):
Pass along a download ID if needed.

* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::startDownload):
Call the web frame member function.

* WebProcess/WebPage/WebFrame.cpp:
(WebKit::WebFrame::WebFrame):
Initialize m_policyDownloadID.

(WebKit::WebFrame::invalidatePolicyListener):
Reset m_policyDownloadID.

(WebKit::WebFrame::didReceivePolicyDecision):
Set m_policyDownloadID.

(WebKit::WebFrame::startDownload):
Assert that m_policyDownloadID is not zero.

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::didReceivePolicyDecision):
Pass along the download ID.

* WebProcess/WebPage/WebPage.messages.in:
Add the download ID.

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

9 years ago Reviewed by Sam Weinig.
ap@apple.com [Tue, 26 Oct 2010 23:00:49 +0000 (23:00 +0000)]
    Reviewed by Sam Weinig.

        https://bugs.webkit.org/show_bug.cgi?id=48375
        <rdar://problem/8392724> Need delegate calls in PageLoaderClient to indicate if we have
        loaded insecure content

        Added the delegate. Just like the bundle version, it misses WebOrigin parameter that Mac
        delegate call used to have. It doesn't seem necessary for clients.

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

9 years ago2010-10-26 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Tue, 26 Oct 2010 22:53:50 +0000 (22:53 +0000)]
2010-10-26  Stephen White  <senorblanco@chromium.org>

        Reviewed by Kenneth Russell.

        Added new baselines and expectations for the canvas GPU tests.
        https://bugs.webkit.org/show_bug.cgi?id=48383

        Added fast/canvas layout test results for platforms chromium-gpu-win
        and chromium-gpu-linux.  Copied list of expected fast/canvas and
        canvas/philip failures from main test_expectations.txt (unfortunate,
        but necessary for now).  Added the tests actually failing on the GPU
        which don't fail in the software path to chromium-gpu's
        test_expectations.txt.

        Covered by, well, everything you see here.  :)

        * platform/chromium-gpu-linux/fast: Added.
        * platform/chromium-gpu-linux/fast/canvas: Added.
        * platform/chromium-gpu-linux/fast/canvas/arc360-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/canvas/arc360-expected.png: Added.
        * platform/chromium-gpu-linux/fast/canvas/arc360-expected.txt: Added.
        * platform/chromium-gpu-linux/fast/canvas/canvas-before-css-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/canvas/canvas-before-css-expected.png: Added.
        * platform/chromium-gpu-linux/fast/canvas/canvas-before-css-expected.txt: Added.
        * platform/chromium-gpu-linux/fast/canvas/canvas-bg-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/canvas/canvas-bg-expected.png: Added.
        * platform/chromium-gpu-linux/fast/canvas/canvas-bg-expected.txt: Added.
        * platform/chromium-gpu-linux/fast/canvas/canvas-composite-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/canvas/canvas-composite-expected.png: Added.
        * platform/chromium-gpu-linux/fast/canvas/canvas-composite-expected.txt: Added.
        * platform/chromium-gpu-linux/fast/canvas/canvas-resize-reset-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/canvas/canvas-resize-reset-expected.png: Added.
        * platform/chromium-gpu-linux/fast/canvas/canvas-resize-reset-expected.txt: Added.
        * platform/chromium-gpu-linux/fast/canvas/canvas-text-alignment-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/canvas/canvas-text-alignment-expected.png: Added.
        * platform/chromium-gpu-linux/fast/canvas/canvas-text-alignment-expected.txt: Added.
        * platform/chromium-gpu-linux/fast/canvas/canvas-text-baseline-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/canvas/canvas-text-baseline-expected.png: Added.
        * platform/chromium-gpu-linux/fast/canvas/canvas-text-baseline-expected.txt: Added.
        * platform/chromium-gpu-linux/fast/canvas/canvas-transforms-during-path-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/canvas/canvas-transforms-during-path-expected.png: Added.
        * platform/chromium-gpu-linux/fast/canvas/canvas-transforms-during-path-expected.txt: Added.
        * platform/chromium-gpu-linux/fast/canvas/canvasDrawingIntoSelf-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/canvas/canvasDrawingIntoSelf-expected.png: Added.
        * platform/chromium-gpu-linux/fast/canvas/canvasDrawingIntoSelf-expected.txt: Added.
        * platform/chromium-gpu-linux/fast/canvas/drawImage-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/canvas/drawImage-expected.png: Added.
        * platform/chromium-gpu-linux/fast/canvas/drawImage-expected.txt: Added.
        * platform/chromium-gpu-linux/fast/canvas/drawImage-with-globalAlpha-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/canvas/drawImage-with-globalAlpha-expected.png: Added.
        * platform/chromium-gpu-linux/fast/canvas/drawImage-with-globalAlpha-expected.txt: Added.
        * platform/chromium-gpu-linux/fast/canvas/fill-stroke-clip-reset-path-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/canvas/fill-stroke-clip-reset-path-expected.png: Added.
        * platform/chromium-gpu-linux/fast/canvas/fill-stroke-clip-reset-path-expected.txt: Added.
        * platform/chromium-gpu-linux/fast/canvas/fillrect-gradient-zero-stops-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/canvas/fillrect-gradient-zero-stops-expected.png: Added.
        * platform/chromium-gpu-linux/fast/canvas/fillrect-gradient-zero-stops-expected.txt: Added.
        * platform/chromium-gpu-linux/fast/canvas/fillrect_gradient-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/canvas/fillrect_gradient-expected.png: Added.
        * platform/chromium-gpu-linux/fast/canvas/fillrect_gradient-expected.txt: Added.
        * platform/chromium-gpu-linux/fast/canvas/image-object-in-canvas-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/canvas/image-object-in-canvas-expected.png: Added.
        * platform/chromium-gpu-linux/fast/canvas/image-object-in-canvas-expected.txt: Added.
        * platform/chromium-gpu-linux/fast/canvas/image-pattern-rotate-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/canvas/image-pattern-rotate-expected.png: Added.
        * platform/chromium-gpu-linux/fast/canvas/image-pattern-rotate-expected.txt: Added.
        * platform/chromium-gpu-linux/fast/canvas/patternfill-repeat-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/canvas/patternfill-repeat-expected.png: Added.
        * platform/chromium-gpu-linux/fast/canvas/patternfill-repeat-expected.txt: Added.
        * platform/chromium-gpu-linux/fast/canvas/quadraticCurveTo-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/canvas/quadraticCurveTo-expected.png: Added.
        * platform/chromium-gpu-linux/fast/canvas/quadraticCurveTo-expected.txt: Added.
        * platform/chromium-gpu-linux/fast/canvas/shadow-offset-1-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/canvas/shadow-offset-1-expected.png: Added.
        * platform/chromium-gpu-linux/fast/canvas/shadow-offset-1-expected.txt: Added.
        * platform/chromium-gpu-linux/fast/canvas/shadow-offset-2-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/canvas/shadow-offset-2-expected.png: Added.
        * platform/chromium-gpu-linux/fast/canvas/shadow-offset-2-expected.txt: Added.
        * platform/chromium-gpu-linux/fast/canvas/shadow-offset-3-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/canvas/shadow-offset-3-expected.png: Added.
        * platform/chromium-gpu-linux/fast/canvas/shadow-offset-3-expected.txt: Added.
        * platform/chromium-gpu-linux/fast/canvas/shadow-offset-4-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/canvas/shadow-offset-4-expected.png: Added.
        * platform/chromium-gpu-linux/fast/canvas/shadow-offset-4-expected.txt: Added.
        * platform/chromium-gpu-linux/fast/canvas/shadow-offset-5-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/canvas/shadow-offset-5-expected.png: Added.
        * platform/chromium-gpu-linux/fast/canvas/shadow-offset-5-expected.txt: Added.
        * platform/chromium-gpu-linux/fast/canvas/shadow-offset-6-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/canvas/shadow-offset-6-expected.png: Added.
        * platform/chromium-gpu-linux/fast/canvas/shadow-offset-6-expected.txt: Added.
        * platform/chromium-gpu-linux/fast/canvas/shadow-offset-7-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/canvas/shadow-offset-7-expected.png: Added.
        * platform/chromium-gpu-linux/fast/canvas/shadow-offset-7-expected.txt: Added.
        * platform/chromium-gpu-linux/fast/canvas/toDataURL-alpha-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/canvas/toDataURL-alpha-expected.png: Added.
        * platform/chromium-gpu-linux/fast/canvas/toDataURL-alpha-expected.txt: Added.
        * platform/chromium-gpu-linux/fast/canvas/zero-size-fill-rect-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/canvas/zero-size-fill-rect-expected.png: Added.
        * platform/chromium-gpu-linux/fast/canvas/zero-size-fill-rect-expected.txt: Added.
        * platform/chromium-gpu-win/fast: Added.
        * platform/chromium-gpu-win/fast/canvas: Added.
        * platform/chromium-gpu-win/fast/canvas/arc360-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/arc360-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/arc360-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-as-image-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-as-image-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-as-image-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-as-image-incremental-repaint-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-as-image-incremental-repaint-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-as-image-incremental-repaint-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-before-css-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-before-css-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-before-css-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-bg-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-bg-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-bg-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-bg-zoom-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-bg-zoom-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-bg-zoom-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-composite-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-composite-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-composite-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-empty-image-pattern-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-empty-image-pattern-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-empty-image-pattern-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-resize-reset-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-resize-reset-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-resize-reset-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-text-alignment-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-text-alignment-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-text-alignment-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-text-baseline-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-text-baseline-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-text-baseline-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-transform-identity-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-transform-identity-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-transform-identity-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-transform-infinity-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-transform-infinity-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-transform-infinity-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-transform-multiply-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-transform-multiply-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-transform-multiply-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-transform-nan-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-transform-nan-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-transform-nan-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-transform-non-invertible-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-transform-non-invertible-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-transform-non-invertible-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-transform-skewed-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-transform-skewed-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-transform-skewed-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-transforms-during-path-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-transforms-during-path-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/canvas-transforms-during-path-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/canvasDrawingIntoSelf-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/canvasDrawingIntoSelf-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/canvasDrawingIntoSelf-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/drawImage-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/drawImage-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/drawImage-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/drawImage-with-globalAlpha-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/drawImage-with-globalAlpha-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/drawImage-with-globalAlpha-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/fill-stroke-clip-reset-path-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/fill-stroke-clip-reset-path-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/fill-stroke-clip-reset-path-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/fillrect-gradient-zero-stops-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/fillrect-gradient-zero-stops-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/fillrect-gradient-zero-stops-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/fillrect_gradient-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/fillrect_gradient-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/fillrect_gradient-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/gradient-add-second-start-end-stop-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/gradient-add-second-start-end-stop-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/gradient-add-second-start-end-stop-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/image-object-in-canvas-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/image-object-in-canvas-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/image-object-in-canvas-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/image-pattern-rotate-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/image-pattern-rotate-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/image-pattern-rotate-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/patternfill-repeat-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/patternfill-repeat-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/patternfill-repeat-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/quadraticCurveTo-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/quadraticCurveTo-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/quadraticCurveTo-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/shadow-offset-1-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/shadow-offset-1-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/shadow-offset-1-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/shadow-offset-2-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/shadow-offset-2-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/shadow-offset-2-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/shadow-offset-3-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/shadow-offset-3-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/shadow-offset-3-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/shadow-offset-4-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/shadow-offset-4-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/shadow-offset-4-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/shadow-offset-5-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/shadow-offset-5-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/shadow-offset-5-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/shadow-offset-6-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/shadow-offset-6-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/shadow-offset-6-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/shadow-offset-7-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/shadow-offset-7-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/shadow-offset-7-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/toDataURL-alpha-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/toDataURL-alpha-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/toDataURL-alpha-expected.txt: Added.
        * platform/chromium-gpu-win/fast/canvas/zero-size-fill-rect-expected.checksum: Added.
        * platform/chromium-gpu-win/fast/canvas/zero-size-fill-rect-expected.png: Added.
        * platform/chromium-gpu-win/fast/canvas/zero-size-fill-rect-expected.txt: Added.
        * platform/chromium-gpu/test_expectations.txt:

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

9 years ago2010-10-26 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Tue, 26 Oct 2010 22:35:01 +0000 (22:35 +0000)]
2010-10-26  Dimitri Glazkov  <dglazkov@chromium.org>

        Unreviewed, rolling out r70573.
        http://trac.webkit.org/changeset/70573
        https://bugs.webkit.org/show_bug.cgi?id=48204

        Broke 39 tests on Chromium

        * svg/dom/SVGRect-expected.txt: Removed.
        * svg/dom/SVGRect.html: Removed.
        * svg/dom/script-tests/SVGRect.js: Removed.
2010-10-26  Dimitri Glazkov  <dglazkov@chromium.org>

        Unreviewed, rolling out r70573.
        http://trac.webkit.org/changeset/70573
        https://bugs.webkit.org/show_bug.cgi?id=48204

        Broke 39 tests on Chromium

        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/scripts/CodeGenerator.pm:
        * bindings/scripts/CodeGeneratorJS.pm:
        * bindings/scripts/CodeGeneratorObjC.pm:
        * bindings/scripts/CodeGeneratorV8.pm:
        * svg/DeprecatedSVGAnimatedPropertyTraits.h:
        * svg/DeprecatedSVGAnimatedTemplate.h:
        * svg/SVGAngle.idl:
        * svg/SVGAnimatedAngle.idl:
        * svg/SVGAnimatedLength.idl:
        * svg/SVGAnimatedLengthList.idl:
        * svg/SVGAnimatedRect.h: Removed.
        * svg/SVGFitToViewBox.h:
        * svg/SVGLength.idl:
        * svg/SVGMarkerElement.h:
        * svg/SVGPatternElement.h:
        * svg/SVGRect.idl:
        * svg/SVGSVGElement.cpp:
        (WebCore::SVGSVGElement::currentView):
        (WebCore::SVGSVGElement::inheritViewAttributes):
        * svg/SVGSVGElement.h:
        * svg/SVGSVGElement.idl:
        * svg/SVGSymbolElement.h:
        * svg/SVGViewElement.h:
        * svg/SVGViewSpec.cpp:
        (WebCore::SVGViewSpec::SVGViewSpec):
        * svg/SVGViewSpec.h:
        (WebCore::SVGViewSpec::contextElement):
        * svg/SVGZoomEvent.idl:
        * svg/properties/SVGAnimatedPropertyMacros.h:

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

9 years ago2010-10-26 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Tue, 26 Oct 2010 22:11:15 +0000 (22:11 +0000)]
2010-10-26  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Tony Chang.

        [chromium] remove DEFER from test_expectations
        https://bugs.webkit.org/show_bug.cgi?id=48378

        DEFER is no longer meaningful. We originally used it
        to defer tests we didn't need to pass for our beta launch.
        Now it just adds noise. I'll remove the python support for
        it in a followup patch.

        * platform/chromium/test_expectations.txt:

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

9 years agoFix 32-bit build.
andersca@apple.com [Tue, 26 Oct 2010 21:30:58 +0000 (21:30 +0000)]
Fix 32-bit build.

* platform/graphics/mac/FontMac.mm:
(WebCore::showGlyphsWithAdvances):

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

9 years ago2010-10-26 Jenn Braithwaite <jennb@chromium.org>
commit-queue@webkit.org [Tue, 26 Oct 2010 21:10:47 +0000 (21:10 +0000)]
2010-10-26  Jenn Braithwaite  <jennb@chromium.org>

        Reviewed by Dmitry Titov.

        Resource tracking failure when trying to move a frame between documents
        https://bugs.webkit.org/show_bug.cgi?id=44713

        * fast/frames/iframe-reparenting-fail-load-expected.txt: Added.
        * fast/frames/iframe-reparenting-fail-load.html: Added.
        * platform/mac/Skipped:
        Re-enabled test that failed due to this bug.
2010-10-26  Jenn Braithwaite  <jennb@chromium.org>

        Reviewed by Dmitry Titov.

        Resource tracking failure when trying to move a frame between documents
        https://bugs.webkit.org/show_bug.cgi?id=44713

        Test: fast/frames/iframe-reparenting-fail-load.html

        * loader/DocumentLoader.cpp:
        (WebCore::DocumentLoader::transferLoadingResourcesFromPage):
        Added method that notifies the client to update resource tracking for
        loading resources that have been transferred to a different page.
        * loader/DocumentLoader.h:
        * loader/EmptyClients.h:
        (WebCore::EmptyFrameLoaderClient::transferLoadingResourceFromPage):
        Empty method.
        * loader/FrameLoader.h:
        * loader/FrameLoader.cpp:
        Added method that triggers resource tracking updates. This wraps
        the DocumentLoader method as it appears DocumentLoader is opaque
        to Frame.
        * loader/FrameLoaderClient.h:
        Added API to notify the client to update resource tracking for
        a loading resource that has been transferred to a different page.
        * page/Frame.cpp:
        (WebCore::Frame::transferChildFrameToNewDocument):
        Update resource tracking if page has changed.
2010-10-26  Jenn Braithwaite  <jennb@chromium.org>

        Reviewed by Dmitry Titov.

        Resource tracking failure when trying to move a frame between documents
        https://bugs.webkit.org/show_bug.cgi?id=44713

        * src/FrameLoaderClientImpl.cpp:
        (WebKit::FrameLoaderClientImpl::transferLoadingResourceFromPage):
        Empty method.
        * src/FrameLoaderClientImpl.h:
2010-10-26  Jenn Braithwaite  <jennb@chromium.org>

        Reviewed by Dmitry Titov.

        Resource tracking failure when trying to move a frame between documents
        https://bugs.webkit.org/show_bug.cgi?id=44713

        * WebCoreSupport/FrameLoaderClientEfl.cpp:
        (WebCore::FrameLoaderClientEfl::transferLoadingResourceFromPage):
        Empty method.
        * WebCoreSupport/FrameLoaderClientEfl.h:
2010-10-26  Jenn Braithwaite  <jennb@chromium.org>

        Reviewed by Dmitry Titov.

        Resource tracking failure when trying to move a frame between documents
        https://bugs.webkit.org/show_bug.cgi?id=44713

        * WebCoreSupport/FrameLoaderClientGtk.cpp:
        (WebKit::FrameLoaderClient::transferLoadingResourceFromPage):
        Empty method.
        * WebCoreSupport/FrameLoaderClientGtk.h:
2010-10-26  Jenn Braithwaite  <jennb@chromium.org>

        Reviewed by Dmitry Titov.

        Resource tracking failure when trying to move a frame between documents
        https://bugs.webkit.org/show_bug.cgi?id=44713

        * WebCoreSupport/FrameLoaderClientHaiku.cpp:
        (WebCore::FrameLoaderClientHaiku::transferLoadingResourceFromPage):
        Empty method.
        * WebCoreSupport/FrameLoaderClientHaiku.h:
2010-10-26  Jenn Braithwaite  <jennb@chromium.org>

        Reviewed by Dmitry Titov.

        Resource tracking failure when trying to move a frame between documents
        https://bugs.webkit.org/show_bug.cgi?id=44713

        * WebCoreSupport/WebFrameLoaderClient.h:
        * WebCoreSupport/WebFrameLoaderClient.mm:
        (WebFrameLoaderClient::didTransferChildFrameToNewDocument):
        Empty method.
        (WebFrameLoaderClient::transferLoadingResourceFromPage):
        Update resource tracking for a resource load that has been transferred
        to a new page.
2010-10-26  Jenn Braithwaite  <jennb@chromium.org>

        Reviewed by Dmitry Titov.

        Resource tracking failure when trying to move a frame between documents
        https://bugs.webkit.org/show_bug.cgi?id=44713

        * WebCoreSupport/FrameLoaderClientQt.cpp:
        (WebCore::FrameLoaderClientQt::transferLoadingResourceFromPage):
        Emtpy method.
        * WebCoreSupport/FrameLoaderClientQt.h:
2010-10-26  Jenn Braithwaite  <jennb@chromium.org>

        Reviewed by Dmitry Titov.

        Resource tracking failure when trying to move a frame between documents
        https://bugs.webkit.org/show_bug.cgi?id=44713

        * WebCoreSupport/WebFrameLoaderClient.cpp:
        (WebFrameLoaderClient::transferLoadingResourceFromPage):
        Empty method.
        * WebCoreSupport/WebFrameLoaderClient.h:
2010-10-26  Jenn Braithwaite  <jennb@chromium.org>

        Reviewed by Dmitry Titov.

        Resource tracking failure when trying to move a frame between documents
        https://bugs.webkit.org/show_bug.cgi?id=44713

        * WebCoreSupport/FrameLoaderClientWinCE.cpp:
        (WebKit::FrameLoaderClientWinCE::transferLoadingResourceFromPage):
        Empty method.
        * WebCoreSupport/FrameLoaderClientWinCE.h:
2010-10-26  Jenn Braithwaite  <jennb@chromium.org>

        Reviewed by Dmitry Titov.

        Resource tracking failure when trying to move a frame between documents
        https://bugs.webkit.org/show_bug.cgi?id=44713

        * WebKitSupport/FrameLoaderClientWx.cpp:
        (WebCore::FrameLoaderClientWx::transferLoadingResourceFromPage):
        Empty method.
        * WebKitSupport/FrameLoaderClientWx.h:
2010-10-26  Jenn Braithwaite  <jennb@chromium.org>

        Reviewed by Dmitry Titov.

        Resource tracking failure when trying to move a frame between documents
        https://bugs.webkit.org/show_bug.cgi?id=44713

        * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
        (WebKit::WebFrameLoaderClient::transferLoadingResourceFromPage):
        Empty method.
        * WebProcess/WebCoreSupport/WebFrameLoaderClient.h:

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

9 years ago2010-10-26 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Tue, 26 Oct 2010 20:56:47 +0000 (20:56 +0000)]
2010-10-26  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Rob Buis.

        Convert SVGRect to the new SVGPropertyTearOff concept
        https://bugs.webkit.org/show_bug.cgi?id=48204

        Convert the next SVG primitive type to use the SVGPropertyTearOff concept: SVGRect.
        Added new test verifying that StrictTypeChecking is enabled for SVGRect. Refactor and share code between JSC/V8/ObjC generators.

        Test: svg/dom/SVGRect.html

        * GNUmakefile.am: Add SVGAnimatedRect.h to build.
        * WebCore.gypi: Ditto.
        * WebCore.pro: Ditto.
        * WebCore.vcproj/WebCore.vcproj: Ditto.
        * WebCore.xcodeproj/project.pbxproj: Ditto.
        * bindings/scripts/CodeGenerator.pm: Refactor SVGPropertyTearOff handling, and share code between JSC/V8/ObjC generators.
        * bindings/scripts/CodeGeneratorJS.pm: Ditto.
        * bindings/scripts/CodeGeneratorObjC.pm: Ditto.
        * bindings/scripts/CodeGeneratorV8.pm: Ditto.
        * svg/DeprecatedSVGAnimatedPropertyTraits.h: Remove SVGAnimatedRect handling.
        * svg/DeprecatedSVGAnimatedTemplate.h: Ditto.
        * svg/SVGAngle.idl: Remove [SVGProperty] flag.
        * svg/SVGAnimatedAngle.idl: Remove [SVGAnimatedProperty] flag.
        * svg/SVGAnimatedLength.idl: Ditto.
        * svg/SVGAnimatedLengthList.idl: Ditto.
        * svg/SVGAnimatedRect.h: Added.
        * svg/SVGFitToViewBox.h: SVGRect now uses the new tear off concept, adapt code.
        * svg/SVGLength.idl: Remove [SVGProperty] flag.
        * svg/SVGMarkerElement.h:
        * svg/SVGPatternElement.h:
        * svg/SVGRect.idl: Remove [PODType] flag, add StrictTypeChecking to all attributes.
        * svg/SVGSVGElement.cpp: s/setViewBox/setViewBoxBaseValue/.
        (WebCore::SVGSVGElement::currentView):
        (WebCore::SVGSVGElement::inheritViewAttributes):
        * svg/SVGSVGElement.h:
        * svg/SVGSVGElement.idl: Remove [Immutable] flags for SVGRect types, no longer needed.
        * svg/SVGSymbolElement.h:
        * svg/SVGViewElement.h:
        * svg/SVGViewSpec.cpp: Take a SVGElement as context element.
        (WebCore::SVGViewSpec::SVGViewSpec):
        * svg/SVGViewSpec.h: Ditto.
        (WebCore::SVGViewSpec::contextElement):
        * svg/SVGZoomEvent.idl: Remove [Immutable] flags for SVGRect types, no longer needed.
        * svg/properties/SVGAnimatedPropertyMacros.h: Support declaring animated properties on non-SVGElement types (here: SVGViewSpec), just like the old macros handled it.

2010-10-26  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Rob Buis.

        Convert SVGRect to the new SVGPropertyTearOff concept
        https://bugs.webkit.org/show_bug.cgi?id=48204

        Added new test verifying that StrictTypeChecking is enabled for SVGRect.

        * svg/dom/SVGRect-expected.txt: Added.
        * svg/dom/SVGRect.html: Added.
        * svg/dom/script-tests/SVGRect.js: Added.

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

9 years agoClear up confusion between "3D rendering" and "accelerated compositing"
aroben@apple.com [Tue, 26 Oct 2010 20:56:40 +0000 (20:56 +0000)]
Clear up confusion between "3D rendering" and "accelerated compositing"

WebKit has no software-based 3D rendering implementation, so 3D
rendering can only be enabled when accelerated compositing is. But DRT
was falsely reporting that 3D rendering was available on machines that
don't support accelerated compositing, leading to much confusion.

Reviewed by Darin Adler.

Fixes <http://webkit.org/b/48370> REGRESSION (r70540): Many
transforms/3d tests are failing on the XP bots

* DumpRenderTree/win/DumpRenderTree.cpp:
(main): When ENABLE(3D_RENDERING) is turned on, only report that 3D
rendering is available when acclerated compositing is also available.

* Scripts/old-run-webkit-tests: Skip tests that use the
-webkit-transform-3d media query when 3D rendering is disabled,
rather than when accelerated compositing is disabled.

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

9 years ago2010-10-26 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Tue, 26 Oct 2010 20:52:54 +0000 (20:52 +0000)]
2010-10-26  Dimitri Glazkov  <dglazkov@chromium.org>

        [Chromium] Indicate that the test only passes on Chromium/DRT.
        https://bugs.webkit.org/show_bug.cgi?id=46868

        * platform/chromium/test_expectations.txt: Tweaked.

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

9 years ago2010-10-26 Eric Seidel <eric@webkit.org>
eric@webkit.org [Tue, 26 Oct 2010 20:47:53 +0000 (20:47 +0000)]
2010-10-26  Eric Seidel  <eric@webkit.org>

        Reviewed by Ojan Vafai.

        Remove rietveld code now that it's unused
        https://bugs.webkit.org/show_bug.cgi?id=48359

        Was cool that we added this support, but now that it's
        not used it makes little sense to keep it around.
        We can always restore this code from SVN if we need it.

        * Scripts/webkitpy/common/config/__init__.py:
        * Scripts/webkitpy/common/net/bugzilla.py:
        * Scripts/webkitpy/common/net/bugzilla_unittest.py:
        * Scripts/webkitpy/common/net/rietveld.py: Removed.
        * Scripts/webkitpy/common/net/rietveld_unittest.py: Removed.
        * Scripts/webkitpy/thirdparty/__init__.py:
        * Scripts/webkitpy/tool/commands/download.py:
        * Scripts/webkitpy/tool/commands/download_unittest.py:
        * Scripts/webkitpy/tool/commands/queues.py:
        * Scripts/webkitpy/tool/commands/queues_unittest.py:
        * Scripts/webkitpy/tool/main.py:
        * Scripts/webkitpy/tool/mocktool.py:
        * Scripts/webkitpy/tool/steps/__init__.py:
        * Scripts/webkitpy/tool/steps/postcodereview.py: Removed.

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

9 years agoAdvances are wrong and glyphs are rotated improperly in vertical writing
hyatt@apple.com [Tue, 26 Oct 2010 20:47:13 +0000 (20:47 +0000)]
Advances are wrong and glyphs are rotated improperly in vertical writing
https://bugs.webkit.org/show_bug.cgi?id=48315

Patch by takano takumi <takano1@asia.apple.com> on 2010-10-26
Reviewed by Dave Hyatt.

WebCore:

We shouldn't use vertical metrics for Roman fonts. Also, we should rotate vertical variant
glyphs back on drawing as the whole run has already been rotated beforehand.

* platform/graphics/cocoa/FontPlatformDataCocoa.mm:
(WebCore::FontPlatformData::FontPlatformData): Changed to ignore vertical orientation when the font doesn't support vertical metrics.
* platform/graphics/mac/FontMac.mm:
(WebCore::showGlyphsWithAdvances): Changed to rotate glyphs -90 degree for vertical variants.
(WebCore::Font::drawGlyphs):

LayoutTests:

Changed tests to check more glyphs and updated results.

* fast/text/international/vertical-text-glyph-test.html:
* fast/text/international/vertical-text-metrics-test.html:
* platform/mac/fast/text/international/vertical-text-glyph-test-expected.checksum:
* platform/mac/fast/text/international/vertical-text-glyph-test-expected.png:
* platform/mac/fast/text/international/vertical-text-glyph-test-expected.txt:
* platform/mac/fast/text/international/vertical-text-metrics-test-expected.txt:

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

9 years agoPost any pending messages to the Injected Bundle in WebContext::processDidFinishLaunching
jberlin@webkit.org [Tue, 26 Oct 2010 20:46:27 +0000 (20:46 +0000)]
Post any pending messages to the Injected Bundle in WebContext::processDidFinishLaunching
instead of in WebContext::ensureWebProcess.
https://bugs.webkit.org/show_bug.cgi?id=48367

Reviewed by Darin Adler.

Send pending injected bundle messages after the process finished launching instead of of
directly after creating it.

* UIProcess/WebContext.cpp:
(WebKit::WebContext::ensureWebProcess):
Move the logic to dispatch pending injected bundle messages from here ...
(WebKit::WebContext::processDidFinishLaunching):
... to here.
Also use a reference instead of a pointer when sending the pending messages.

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

9 years ago2010-10-26 Satish Sampath <satish@chromium.org>
satish@chromium.org [Tue, 26 Oct 2010 20:40:37 +0000 (20:40 +0000)]
2010-10-26  Satish Sampath  <satish@chromium.org>

        Reviewed by Jeremy Orlow.

        Add a 'grammar' attribute for speech input.
        https://bugs.webkit.org/show_bug.cgi?id=48339

        To differentiate between various types of speech input, we add a 'x-webkit-grammar' attribute to a
        speech enabled input element. This is passed without validation to the speech recognizer. Typical values
        could be "builtin:search", "builtin:dictation" and even an externally hosted SRGS grammar XML file URI.
        It is up to the recognizer to interpret the value and use it as an aid in recognition.

        * bindings/generic/RuntimeEnabledFeatures.h:
        (WebCore::RuntimeEnabledFeatures::webkitGrammarEnabled):
        * html/HTMLAttributeNames.in:
        * html/HTMLInputElement.idl:
        * page/SpeechInput.cpp:
        (WebCore::SpeechInput::startRecognition):
        * page/SpeechInput.h:
        * page/SpeechInputClient.h:
        * platform/mock/SpeechInputClientMock.cpp:
        (WebCore::SpeechInputClientMock::startRecognition):
        * platform/mock/SpeechInputClientMock.h:
        * rendering/TextControlInnerElements.cpp:
        (WebCore::InputFieldSpeechButtonElement::defaultEventHandler):
2010-10-26  Satish Sampath  <satish@chromium.org>

        Reviewed by Jeremy Orlow.

        Add a 'grammar' attribute for speech input.
        https://bugs.webkit.org/show_bug.cgi?id=48339

        To differentiate between various types of speech input, we add a 'x-webkit-grammar' attribute to a
        speech enabled input element. This is passed without validation to the speech recognizer. Typical values
        could be "builtin:search", "builtin:dictation" and even an externally hosted SRGS grammar XML file URI.
        It is up to the recognizer to interpret the value and use it as an aid in recognition.

        * public/WebSpeechInputController.h:
        (WebKit::WebSpeechInputController::startRecognition):
        * src/SpeechInputClientImpl.cpp:
        (WebKit::SpeechInputClientImpl::startRecognition):
        * src/SpeechInputClientImpl.h:
        * src/WebSpeechInputControllerMockImpl.cpp:
        (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
        * src/WebSpeechInputControllerMockImpl.h:

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

9 years ago2010-10-26 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Tue, 26 Oct 2010 20:37:19 +0000 (20:37 +0000)]
2010-10-26  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Timothy Hatcher.

        Web Inspector: console does not work after two reloads.
        https://bugs.webkit.org/show_bug.cgi?id=48318

        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::disconnectFrontend):

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

9 years ago2010-10-26 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Tue, 26 Oct 2010 20:29:37 +0000 (20:29 +0000)]
2010-10-26  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: console doesn't work in closures when window is overrode
        https://bugs.webkit.org/show_bug.cgi?id=48320

        * inspector/front-end/InjectedScript.js:
        (injectedScriptConstructor.):

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

9 years agoWebKit2: pageDidScroll callback should be on the UI process client rather than (or...
andersca@apple.com [Tue, 26 Oct 2010 20:28:44 +0000 (20:28 +0000)]
WebKit2: pageDidScroll callback should be on the UI process client rather than (or in addition to) the web process client
https://bugs.webkit.org/show_bug.cgi?id=48366

Reviewed by Sam Weinig.

* UIProcess/API/qt/qwkpage.cpp:
(QWKPage::QWKPage):
Add zero initializer.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::pageDidScroll):
Call the pageDidScroll client function.

* UIProcess/WebPageProxy.messages.in:
Add PageDidScroll message.

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::pageDidScroll):
Send the PageDidScroll message.

WebKitTools: pageDidScroll callback should be on the UI process client rather than (or in addition to) the web process client
https://bugs.webkit.org/show_bug.cgi?id=48366
<rdar://problem/8595202>

Reviewed by Sam Weinig.

* MiniBrowser/mac/BrowserWindowController.m:
(-[BrowserWindowController awakeFromNib]):
* WebKitTestRunner/TestController.cpp:
(WTR::createOtherPage):
(WTR::TestController::initialize):

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

9 years ago[Chromium] Add/change baselines after r70546 and added Chromium-mac
dglazkov@chromium.org [Tue, 26 Oct 2010 20:26:24 +0000 (20:26 +0000)]
[Chromium] Add/change baselines after r70546 and added Chromium-mac
specific test to expectations.
https://bugs.webkit.org/show_bug.cgi?id=48157
https://bugs.webkit.org/show_bug.cgi?id=46868

* platform/chromium-linux/fast/blockflow/english-rl-text-expected.checksum: Added.
* platform/chromium-linux/fast/multicol/nested-columns-expected.checksum: Updated.
* platform/chromium-linux/fast/multicol/nested-columns-expected.png: Updated.
* platform/chromium-linux/fast/multicol/nested-columns-expected.txt: Removed.
* platform/chromium-win/fast/blockflow/english-rl-text-expected.checksum: Added.
* platform/chromium-win/fast/blockflow/english-rl-text-expected.png: Added.
* platform/chromium-win/fast/blockflow/english-rl-text-expected.txt: Added.
* platform/chromium-win/fast/multicol/nested-columns-expected.checksum: Updated.
* platform/chromium-win/fast/multicol/nested-columns-expected.png: Updated.
* platform/chromium-win/fast/multicol/nested-columns-expected.txt: Updated.
* platform/chromium/test_expectations.txt: Tweaked.

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

9 years ago2010-10-26 Eric Seidel <eric@webkit.org>
eric@webkit.org [Tue, 26 Oct 2010 20:19:48 +0000 (20:19 +0000)]
2010-10-26  Eric Seidel  <eric@webkit.org>

        Reviewed by Tony Chang.

        Teach webkit-patch how to read credentials from the environment
        https://bugs.webkit.org/show_bug.cgi?id=48275

        This makes it possible for svn users to have their bugzilla credentials
        stored in their environment instead of typing them every time.

        We need this for making it easy to run the win-ews bot (which currently
        uses svn instead of git).

        * Scripts/webkitpy/common/net/credentials.py:
        * Scripts/webkitpy/common/net/credentials_unittest.py:

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

9 years agoNeed a way to retrieve custom user agent from a WKPage
bweinstein@apple.com [Tue, 26 Oct 2010 20:16:18 +0000 (20:16 +0000)]
Need a way to retrieve custom user agent from a WKPage
https://bugs.webkit.org/show_bug.cgi?id=48360
<rdar://problem/8466537>

Reviewed by Darin Adler.

Add an exported function on WKPage to get the page's custom user agent.

* UIProcess/API/C/WKPage.cpp:
(WKPageCopyCustomUserAgent): Exported function that returns the custom user
    agent.
* UIProcess/API/C/WKPage.h:
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::close): Clear the custom user agent string.
(WebKit::WebPageProxy::processDidCrash): Ditto.
(WebKit::WebPageProxy::setCustomUserAgent): Add a new early return if we're setting
    the custom user agent to what it was before, and set the custom user agent member
    variable.
* UIProcess/WebPageProxy.h:
(WebKit::WebPageProxy::customUserAgent): Returns the custom user agent.

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

9 years ago2010-10-26 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Tue, 26 Oct 2010 20:08:54 +0000 (20:08 +0000)]
2010-10-26  Dimitri Glazkov  <dglazkov@chromium.org>

        [Chromium] Add yet another flake.
        https://bugs.webkit.org/show_bug.cgi?id=48352

        * platform/chromium/test_expectations.txt: Added flakey test.

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

9 years ago2010-10-26 Hans Wennborg <hans@chromium.org>
hans@chromium.org [Tue, 26 Oct 2010 20:01:52 +0000 (20:01 +0000)]
2010-10-26  Hans Wennborg  <hans@chromium.org>

        Reviewed by Jeremy Orlow.

        IndexedDB: update stale comments referring to WebIndexedDatabase.
        https://bugs.webkit.org/show_bug.cgi?id=48325

        WebIndexedDatabase was renamed to WebIDBFactory in
        http://trac.webkit.org/changeset/64344, but some comments referring to
        it were left unchanged.

        * public/WebIDBCursor.h:
        * public/WebIDBDatabase.h:
        * public/WebIDBDatabaseError.h:
        * public/WebIDBIndex.h:
        * public/WebIDBObjectStore.h:
        * public/WebIDBTransaction.h:
        * src/WebIDBDatabaseImpl.h:

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

9 years ago2010-10-26 Yi Shen <yi.4.shen@nokia.com>
commit-queue@webkit.org [Tue, 26 Oct 2010 19:49:01 +0000 (19:49 +0000)]
2010-10-26  Yi Shen  <yi.4.shen@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] Skipping popup focus test for symbian
        https://bugs.webkit.org/show_bug.cgi?id=48324

        * tests/qwebframe/tst_qwebframe.cpp:

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

9 years ago2010-10-26 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
jocelyn.turcotte@nokia.com [Tue, 26 Oct 2010 19:47:41 +0000 (19:47 +0000)]
2010-10-26  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Fix an assert with QtPixmapInstance creation.
        https://bugs.webkit.org/show_bug.cgi?id=48323

        This places the newly refcounted QtPixmapInstance in a RefPtr
        to prevent an assert on the first ref() call.

        * bridge/qt/qt_pixmapruntime.cpp:
        (JSC::Bindings::QtPixmapInstance::createPixmapRuntimeObject):

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

9 years ago2010-10-26 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
jocelyn.turcotte@nokia.com [Tue, 26 Oct 2010 19:35:31 +0000 (19:35 +0000)]
2010-10-26  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] Unit tests: setHtml("data:text/html,...") -> load(QUrl("data:text/html,..."))
        https://bugs.webkit.org/show_bug.cgi?id=48319

        These tests were failing since the new HTML parser.
        This patch removes the content type from the error page as well.

        * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
        (tst_QGraphicsWebView::crashOnViewlessWebPages):
        * tests/qwebelement/tst_qwebelement.cpp:
        (tst_QWebElement::frame):
        * tests/qwebpage/tst_qwebpage.cpp:
        (tst_QWebPage::loadFinished):
        (ErrorPage::extension):
        (tst_QWebPage::errorPageExtension):
        (tst_QWebPage::errorPageExtensionInIFrames):
        (tst_QWebPage::errorPageExtensionInFrameset):

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

9 years ago2010-10-26 Kenichi Ishibashi <bashi@google.com>
commit-queue@webkit.org [Tue, 26 Oct 2010 19:25:36 +0000 (19:25 +0000)]
2010-10-26  Kenichi Ishibashi  <bashi@google.com>

        Reviewed by Kent Tamura.

        Input Method inserts conversion candidates unexpectedly
        https://bugs.webkit.org/show_bug.cgi?id=46868

        Adds a test.

        * platform/chromium/fast/text/chromium-mac-duplicate-ime-composition.html: Added.
2010-10-26  Kenichi Ishibashi  <bashi@google.com>

        Reviewed by Kent Tamura.

        Input Method inserts conversion candidates unexpectedly
        https://bugs.webkit.org/show_bug.cgi?id=46868

        Calls updateStyleIfNeeded() before setting selection for the composition to
        avoid inserting the previous composition text into a content editable element
        which has an event handler that changes the style of the element.

        Test: platform/chromium/fast/text/chromium-mac-duplicate-ime-composition.html

        * editing/Editor.cpp:
        (WebCore::Editor::setComposition): calls updateStyleIfNeeded() before setting selection.
2010-10-26  Kenichi Ishibashi  <bashi@google.com>

        Reviewed by Kent Tamura.

        Input Method inserts conversion candidates unexpectedly
        https://bugs.webkit.org/show_bug.cgi?id=46868

        Adds setComposition() to TextInputController to make DRT emulate
        an input method behavior.

        * DumpRenderTree/chromium/TextInputController.cpp:
        (TextInputController::TextInputController):
        (TextInputController::setComposition): Added.
        * DumpRenderTree/chromium/TextInputController.h:

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

9 years ago2010-10-26 Mario Sanchez Prada <msanchez@igalia.com>
commit-queue@webkit.org [Tue, 26 Oct 2010 19:19:29 +0000 (19:19 +0000)]
2010-10-26  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Chris Fleizach.

        [Gtk] Layout tables should indicate that they are not data tables via an object attribute
        https://bugs.webkit.org/show_bug.cgi?id=35422

        Set the 'layout-guess' attribute to 'true' for data tables.

        Reorganized some code in AccessibilityTable so now the function
        isDataTable() is more coherent by just answering that very
        specific question, regardless of whether the table is being
        exposed or not to Assistive Technologies.

        Hence, now it's possible to make two questions separately instead
        of just one, meaning that the new function isAccessibleTable() is
        now what we formerly defined as the isDataTable() function.

        * accessibility/AccessibilityObject.h:
        (WebCore::AccessibilityObject::isAccessibilityTable):
           New function to allow asking tables both whether they are
           exposed and whether they are data tables, which are different
           questions whose answers might be the same in many situations,
           but different sometimes (as it can happen in the GTK port).
        * accessibility/AccessibilityTable.h:
        * accessibility/AccessibilityTable.cpp:
        (WebCore::AccessibilityTable::hasARIARole):
           New, checks whether the table has a valid ARIA role.
        (WebCore::AccessibilityTable::isAccessibilityTable):
           New, returns the value of m_isAccessibilityTable. It's
           basically the former isDataTable() function renamed.
        (WebCore::AccessibilityTable::isDataTable):
           Changed behaviour. Instead of just returning the value of
           m_isAccessibilityTable as it did so far (which was confusing
           because of that's not what the name suggests), focus on
           checking whether it's a data table or not and return a bool
           value accordingly. It's basically a rename of the former
           isTableExposableThroughAccessibility() function, but withouth
           the GTK-specific if-endif region (which didn't make sense
           here now, because that was answering the question "is the table
           exposed in the GTK port?", instead of "is it a data table?").
        (WebCore::AccessibilityTable::isTableExposableThroughAccessibility):
           Uses the hasAriaRole(), and isDataTable() to determine whether
           a table should be exposed or not. Also includes the GTK-specific
           if-region coming from the former implementation of the function
           isTableExposableThroughAccessibility() not to check whether it's
           a data table in case the rest of the checks succeeded (all
           tables are exposed in the GTK port).
        (WebCore::AccessibilityTable::addChildren):
           Replace usage of isDataTable() with isAccessibilityTable(), to
           keep exactly the same behaviour happening before this patch.
        (WebCore::AccessibilityTable::roleValue): Ditto.
        (WebCore::AccessibilityTable::accessibilityIsIgnored): Ditto.
        (WebCore::AccessibilityTable::title): Ditto.

        Updated usage of the former function isDataTable() everywhere
        else, replacing it with the new isAccessibilityTable(), so keeping
        exactly the same behaviour happening before this patch.

        * accessibility/AccessibilityARIAGrid.cpp:
        (WebCore::AccessibilityARIAGrid::addChildren):
           Use isAccessibilityTable() instead of isDataTable().
        * accessibility/AccessibilityARIAGridCell.cpp:
        (WebCore::AccessibilityARIAGridCell::parentTable): Ditto.
        * accessibility/AccessibilityARIAGridRow.cpp:
        (WebCore::AccessibilityARIAGridRow::disclosedRows): Ditto.
        (WebCore::AccessibilityARIAGridRow::disclosedByRow): Ditto.
        (WebCore::AccessibilityARIAGridRow::parentTable): Ditto.
        * accessibility/AccessibilityTableCell.cpp:
        (WebCore::AccessibilityTableCell::isTableCell):
           Use isAccessibilityTable() instead of isDataTable().
        * accessibility/AccessibilityTableHeaderContainer.cpp:
        (WebCore::AccessibilityTableHeaderContainer::addChildren): Ditto.
        * accessibility/AccessibilityTableRow.cpp:
        (WebCore::AccessibilityTableRow::isTableRow): Ditto
        * accessibility/mac/AccessibilityObjectWrapper.mm:
        (-[AccessibilityObjectWrapper additionalAccessibilityAttributeNames]):
           Use isAccessibilityTable() instead of isDataTable().
        (-[AccessibilityObjectWrapper accessibilityAttributeNames]): Ditto.
        (-[AccessibilityObjectWrapper accessibilityAttributeValue:]): Ditto.
        (-[AccessibilityObjectWrapper accessibilityParameterizedAttributeNames]): Ditto.
        (-[AccessibilityObjectWrapper accessibilitySetValue:forAttribute:]): Ditto.
        (-[AccessibilityObjectWrapper accessibilityAttributeValue:forParameter:]): Ditto.

        Use the new function isAccessibilityTable() together with the
        modified implementation of isDataTable() to set the 'layout-guess'
        attribute when needed.

        * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
        (webkit_accessible_get_attributes):
           Set the 'layout-guess' attribute to 'true' to help Assistive
           Technologies guessing which tables are not data tables.
2010-10-26  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Chris Fleizach.

        [Gtk] Layout tables should indicate that they are not data tables via an object attribute
        https://bugs.webkit.org/show_bug.cgi?id=35422

        New unit test to check the 'layout-guess' attribute in tables.

        * tests/testatk.c:
        (atkAttributeSetAttributeNameHasValue): New, looks for a attribute
        with a specific value, by the name of attribute.
        (atkAttributeSetContainsAttributeName): New, just checks whether
        an attribute with a specified name is present in the set.
        (atkAttributeSetAttributeHasValue): Modified to relay on the new
        function atkAttributeSetAttributeNameHasValue().
        (testWebkitAtkLayoutAndDataTables): New test.
        (main): Added the new test.

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

9 years ago2010-10-26 Chris Marrin <cmarrin@apple.com>
cmarrin@apple.com [Tue, 26 Oct 2010 19:11:58 +0000 (19:11 +0000)]
2010-10-26  Chris Marrin  <cmarrin@apple.com>

        Reviewed by Simon Fraser.

        Resuming animations causes webkitAnimationStart events to be fired
        https://bugs.webkit.org/show_bug.cgi?id=46540

        Added a flag that makes sure start animation event is only ever
        fired once.

        Test: animations/suspend-resume-animation-events.html

        * page/animation/KeyframeAnimation.cpp:
        (WebCore::KeyframeAnimation::KeyframeAnimation):
        (WebCore::KeyframeAnimation::sendAnimationEvent):
        * page/animation/KeyframeAnimation.h:

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

9 years ago2010-10-22 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Tue, 26 Oct 2010 19:01:19 +0000 (19:01 +0000)]
2010-10-22  Stephen White  <senorblanco@chromium.org>

        Reviewed by Kenneth Russell.

        Implement copy-texture-to-parent-texture API for WebGraphicsContext3DDefaultImpl.
        https://bugs.webkit.org/show_bug.cgi?id=48152

        This allows the in-process implementation to do accelerated canvas and
        accelerated compositing together.  It requires some changes landed
        in chromium 63528, so this patch also rolls chromium DEPS to 63722
        (current LKGR).

        Covered by fast/canvas/arc360.html, and many more when run with
        --accelerated-compositing and --accelerated-2d-canvas.

        * src/WebGraphicsContext3DDefaultImpl.cpp:
        (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
        Add member vars to save the currently-bound texture and for the
        texture-to-texture FBO.
        (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
        Delete the texture-to-texture FBO on destruction.

        (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
        Generate the texture-to-texture FBO.
        (WebKit::WebGraphicsContext3DDefaultImpl::supportsCopyTextureToParentTextureCHROMIUM):
        Check for support of the glGetTexLevelParameteriv function (required
        for this implementation).
        (WebKit::WebGraphicsContext3DDefaultImpl::copyTextureToParentTextureCHROMIUM):
        Implement the extension:  bind the FBO, bind the child texture, then
        do a glCopyTexImage2D() into the parent texture.
        (WebKit::WebGraphicsContext3DDefaultImpl::bindTexture):
        Record the newly-bound texture in m_boundTexture.
        * src/WebGraphicsContext3DDefaultImpl.h:
        Add the two new member variables.
        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::graphicsContext3D):
        Make sure the graphics context is reshaped to the correct size on all
        platforms.

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

9 years ago2010-10-26 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Tue, 26 Oct 2010 18:57:03 +0000 (18:57 +0000)]
2010-10-26  Martin Robinson  <mrobinson@igalia.com>

        Add baselines for some GTK+ tests, unskip passing tests and organize
        failing tests in preparation for landing GTK+ form control fixes.

        * platform/gtk/Skipped: Organization.
        * platform/gtk/fast/forms/001-expected.checksum: Added.
        * platform/gtk/fast/forms/001-expected.png: Added.
        * platform/gtk/fast/forms/001-expected.txt: Added.
        * platform/gtk/fast/forms/002-expected.checksum: Added.
        * platform/gtk/fast/forms/002-expected.png: Added.
        * platform/gtk/fast/forms/002-expected.txt: Added.
        * platform/gtk/fast/forms/003-expected.checksum: Added.
        * platform/gtk/fast/forms/003-expected.png: Added.
        * platform/gtk/fast/forms/003-expected.txt: Added.
        * platform/gtk/fast/forms/004-expected.checksum: Added.
        * platform/gtk/fast/forms/004-expected.png: Added.
        * platform/gtk/fast/forms/004-expected.txt: Added.
        * platform/gtk/fast/forms/005-expected.checksum: Added.
        * platform/gtk/fast/forms/005-expected.png: Added.
        * platform/gtk/fast/forms/005-expected.txt: Added.
        * platform/gtk/fast/forms/006-expected.checksum: Added.
        * platform/gtk/fast/forms/006-expected.png: Added.
        * platform/gtk/fast/forms/006-expected.txt: Added.
        * platform/gtk/fast/forms/007-expected.checksum: Added.
        * platform/gtk/fast/forms/007-expected.png: Added.
        * platform/gtk/fast/forms/007-expected.txt: Added.
        * platform/gtk/fast/forms/HTMLOptionElement_label01-expected.checksum: Added.
        * platform/gtk/fast/forms/HTMLOptionElement_label01-expected.png: Added.
        * platform/gtk/fast/forms/HTMLOptionElement_label01-expected.txt: Added.
        * platform/gtk/fast/forms/HTMLOptionElement_label02-expected.checksum: Added.
        * platform/gtk/fast/forms/HTMLOptionElement_label02-expected.png: Added.
        * platform/gtk/fast/forms/HTMLOptionElement_label02-expected.txt: Added.
        * platform/gtk/fast/forms/HTMLOptionElement_label03-expected.checksum: Added.
        * platform/gtk/fast/forms/HTMLOptionElement_label03-expected.png: Added.
        * platform/gtk/fast/forms/HTMLOptionElement_label03-expected.txt: Added.
        * platform/gtk/fast/forms/HTMLOptionElement_label04-expected.checksum: Added.
        * platform/gtk/fast/forms/HTMLOptionElement_label04-expected.png: Added.
        * platform/gtk/fast/forms/HTMLOptionElement_label04-expected.txt: Added.
        * platform/gtk/fast/forms/HTMLOptionElement_label05-expected.checksum: Added.
        * platform/gtk/fast/forms/HTMLOptionElement_label05-expected.png: Added.
        * platform/gtk/fast/forms/HTMLOptionElement_label05-expected.txt: Added.
        * platform/gtk/fast/forms/HTMLOptionElement_label06-expected.checksum: Added.
        * platform/gtk/fast/forms/HTMLOptionElement_label06-expected.png: Added.
        * platform/gtk/fast/forms/HTMLOptionElement_label06-expected.txt: Added.
        * platform/gtk/fast/forms/HTMLOptionElement_label07-expected.checksum: Added.
        * platform/gtk/fast/forms/HTMLOptionElement_label07-expected.png: Added.
        * platform/gtk/fast/forms/HTMLOptionElement_label07-expected.txt: Added.
        * platform/gtk/fast/forms/basic-buttons-expected.checksum: Added.
        * platform/gtk/fast/forms/basic-buttons-expected.png: Added.
        * platform/gtk/fast/forms/basic-buttons-expected.txt: Added.
        * platform/gtk/fast/forms/basic-inputs-expected.checksum: Added.
        * platform/gtk/fast/forms/basic-inputs-expected.png: Added.
        * platform/gtk/fast/forms/basic-inputs-expected.txt: Added.
        * platform/gtk/fast/forms/basic-selects-expected.checksum: Added.
        * platform/gtk/fast/forms/basic-selects-expected.png: Added.
        * platform/gtk/fast/forms/basic-selects-expected.txt: Added.
        * platform/gtk/fast/forms/basic-textareas-expected.checksum: Added.
        * platform/gtk/fast/forms/basic-textareas-expected.png: Added.
        * platform/gtk/fast/forms/basic-textareas-expected.txt: Added.
        * platform/gtk/fast/forms/basic-textareas-quirks-expected.checksum: Added.
        * platform/gtk/fast/forms/basic-textareas-quirks-expected.png: Added.
        * platform/gtk/fast/forms/basic-textareas-quirks-expected.txt: Added.
        * platform/gtk/fast/forms/blankbuttons-expected.checksum: Added.
        * platform/gtk/fast/forms/blankbuttons-expected.png: Added.
        * platform/gtk/fast/forms/blankbuttons-expected.txt: Added.
        * platform/gtk/fast/forms/button-align-expected.checksum: Added.
        * platform/gtk/fast/forms/button-align-expected.png: Added.
        * platform/gtk/fast/forms/button-align-expected.txt: Added.
        * platform/gtk/fast/forms/button-cannot-be-nested-expected.checksum: Added.
        * platform/gtk/fast/forms/button-cannot-be-nested-expected.png: Added.
        * platform/gtk/fast/forms/button-cannot-be-nested-expected.txt: Added.
        * platform/gtk/fast/forms/button-default-title-expected.checksum: Added.
        * platform/gtk/fast/forms/button-default-title-expected.png: Added.
        * platform/gtk/fast/forms/button-default-title-expected.txt: Added.
        * platform/gtk/fast/forms/button-generated-content-expected.checksum: Added.
        * platform/gtk/fast/forms/button-generated-content-expected.png: Added.
        * platform/gtk/fast/forms/button-generated-content-expected.txt: Added.
        * platform/gtk/fast/forms/button-inner-block-reuse-expected.checksum: Added.
        * platform/gtk/fast/forms/button-inner-block-reuse-expected.png: Added.
        * platform/gtk/fast/forms/button-inner-block-reuse-expected.txt: Added.
        * platform/gtk/fast/forms/button-positioned-expected.checksum: Added.
        * platform/gtk/fast/forms/button-positioned-expected.png: Added.
        * platform/gtk/fast/forms/button-positioned-expected.txt: Added.
        * platform/gtk/fast/forms/button-sizes-expected.checksum: Added.
        * platform/gtk/fast/forms/button-sizes-expected.png: Added.
        * platform/gtk/fast/forms/button-sizes-expected.txt: Added.
        * platform/gtk/fast/forms/button-submit-expected.checksum: Added.
        * platform/gtk/fast/forms/button-submit-expected.png: Added.
        * platform/gtk/fast/forms/button-submit-expected.txt: Added.
        * platform/gtk/fast/forms/button-table-styles-expected.checksum: Added.
        * platform/gtk/fast/forms/button-table-styles-expected.png: Added.
        * platform/gtk/fast/forms/button-table-styles-expected.txt: Added.
        * platform/gtk/fast/forms/button-text-transform-expected.checksum: Added.
        * platform/gtk/fast/forms/button-text-transform-expected.png: Added.
        * platform/gtk/fast/forms/button-text-transform-expected.txt: Added.
        * platform/gtk/fast/forms/button-white-space-expected.checksum: Added.
        * platform/gtk/fast/forms/button-white-space-expected.png: Added.
        * platform/gtk/fast/forms/button-white-space-expected.txt: Added.
        * platform/gtk/fast/forms/caret-rtl-expected.checksum: Added.
        * platform/gtk/fast/forms/caret-rtl-expected.png: Added.
        * platform/gtk/fast/forms/caret-rtl-expected.txt: Added.
        * platform/gtk/fast/forms/checkbox-radio-onchange-expected.checksum: Added.
        * platform/gtk/fast/forms/checkbox-radio-onchange-expected.png: Added.
        * platform/gtk/fast/forms/checkbox-radio-onchange-expected.txt: Added.
        * platform/gtk/fast/forms/control-clip-expected.checksum: Added.
        * platform/gtk/fast/forms/control-clip-expected.png: Added.
        * platform/gtk/fast/forms/control-clip-expected.txt: Added.
        * platform/gtk/fast/forms/control-clip-overflow-expected.checksum: Added.
        * platform/gtk/fast/forms/control-clip-overflow-expected.png: Added.
        * platform/gtk/fast/forms/control-clip-overflow-expected.txt: Added.
        * platform/gtk/fast/forms/control-restrict-line-height-expected.checksum: Added.
        * platform/gtk/fast/forms/control-restrict-line-height-expected.png: Added.
        * platform/gtk/fast/forms/control-restrict-line-height-expected.txt: Added.
        * platform/gtk/fast/forms/disabled-select-change-index-expected.checksum: Added.
        * platform/gtk/fast/forms/disabled-select-change-index-expected.png: Added.
        * platform/gtk/fast/forms/disabled-select-change-index-expected.txt: Added.
        * platform/gtk/fast/forms/encoding-test-expected.checksum: Added.
        * platform/gtk/fast/forms/encoding-test-expected.png: Added.
        * platform/gtk/fast/forms/encoding-test-expected.txt: Added.
        * platform/gtk/fast/forms/fieldset-align-expected.checksum: Added.
        * platform/gtk/fast/forms/fieldset-align-expected.png: Added.
        * platform/gtk/fast/forms/fieldset-align-expected.txt: Added.
        * platform/gtk/fast/forms/fieldset-with-float-expected.checksum: Added.
        * platform/gtk/fast/forms/fieldset-with-float-expected.png: Added.
        * platform/gtk/fast/forms/fieldset-with-float-expected.txt: Added.
        * platform/gtk/fast/forms/file-input-direction-expected.checksum: Added.
        * platform/gtk/fast/forms/file-input-direction-expected.png: Added.
        * platform/gtk/fast/forms/file-input-direction-expected.txt: Added.
        * platform/gtk/fast/forms/file-input-disabled-expected.checksum: Added.
        * platform/gtk/fast/forms/file-input-disabled-expected.png: Added.
        * platform/gtk/fast/forms/file-input-disabled-expected.txt: Added.
        * platform/gtk/fast/forms/float-before-fieldset-expected.checksum: Added.
        * platform/gtk/fast/forms/float-before-fieldset-expected.png: Added.
        * platform/gtk/fast/forms/float-before-fieldset-expected.txt: Added.
        * platform/gtk/fast/forms/floating-textfield-relayout-expected.checksum: Added.
        * platform/gtk/fast/forms/floating-textfield-relayout-expected.png: Added.
        * platform/gtk/fast/forms/floating-textfield-relayout-expected.txt: Added.
        * platform/gtk/fast/forms/form-added-to-table-expected.checksum: Added.
        * platform/gtk/fast/forms/form-added-to-table-expected.png: Added.
        * platform/gtk/fast/forms/form-added-to-table-expected.txt: Added.
        * platform/gtk/fast/forms/form-element-geometry-expected.checksum: Added.
        * platform/gtk/fast/forms/form-element-geometry-expected.png: Added.
        * platform/gtk/fast/forms/form-element-geometry-expected.txt: Added.
        * platform/gtk/fast/forms/form-hides-table-expected.checksum: Added.
        * platform/gtk/fast/forms/form-hides-table-expected.png: Added.
        * platform/gtk/fast/forms/form-hides-table-expected.txt: Added.
        * platform/gtk/fast/forms/form-in-malformed-markup-expected.checksum: Added.
        * platform/gtk/fast/forms/form-in-malformed-markup-expected.png: Added.
        * platform/gtk/fast/forms/form-in-malformed-markup-expected.txt: Added.
        * platform/gtk/fast/forms/formmove-expected.checksum: Added.
        * platform/gtk/fast/forms/formmove-expected.png: Added.
        * platform/gtk/fast/forms/formmove-expected.txt: Added.
        * platform/gtk/fast/forms/formmove2-expected.checksum: Added.
        * platform/gtk/fast/forms/formmove2-expected.png: Added.
        * platform/gtk/fast/forms/formmove2-expected.txt: Added.
        * platform/gtk/fast/forms/formmove3-expected.checksum: Added.
        * platform/gtk/fast/forms/formmove3-expected.png: Added.
        * platform/gtk/fast/forms/formmove3-expected.txt: Added.
        * platform/gtk/fast/forms/hidden-input-file-expected.checksum: Added.
        * platform/gtk/fast/forms/hidden-input-file-expected.png: Added.
        * platform/gtk/fast/forms/hidden-input-file-expected.txt: Added.
        * platform/gtk/fast/forms/hidden-listbox-expected.checksum: Added.
        * platform/gtk/fast/forms/hidden-listbox-expected.png: Added.
        * platform/gtk/fast/forms/hidden-listbox-expected.txt: Added.
        * platform/gtk/fast/forms/image-border-expected.checksum: Added.
        * platform/gtk/fast/forms/image-border-expected.png: Added.
        * platform/gtk/fast/forms/image-border-expected.txt: Added.
        * platform/gtk/fast/forms/indeterminate-expected.checksum: Added.
        * platform/gtk/fast/forms/indeterminate-expected.png: Added.
        * platform/gtk/fast/forms/indeterminate-expected.txt: Added.
        * platform/gtk/fast/forms/input-align-expected.checksum: Added.
        * platform/gtk/fast/forms/input-align-expected.png: Added.
        * platform/gtk/fast/forms/input-align-expected.txt: Added.
        * platform/gtk/fast/forms/input-align-image-expected.checksum: Added.
        * platform/gtk/fast/forms/input-align-image-expected.png: Added.
        * platform/gtk/fast/forms/input-align-image-expected.txt: Added.
        * platform/gtk/fast/forms/input-appearance-bkcolor-expected.checksum: Added.
        * platform/gtk/fast/forms/input-appearance-bkcolor-expected.png: Added.
        * platform/gtk/fast/forms/input-appearance-bkcolor-expected.txt: Added.
        * platform/gtk/fast/forms/input-appearance-default-bkcolor-expected.checksum: Added.
        * platform/gtk/fast/forms/input-appearance-default-bkcolor-expected.png: Added.
        * platform/gtk/fast/forms/input-appearance-default-bkcolor-expected.txt: Added.
        * platform/gtk/fast/forms/input-appearance-disabled-expected.checksum: Added.
        * platform/gtk/fast/forms/input-appearance-disabled-expected.png: Added.
        * platform/gtk/fast/forms/input-appearance-disabled-expected.txt: Added.
        * platform/gtk/fast/forms/input-appearance-focus-expected.checksum: Added.
        * platform/gtk/fast/forms/input-appearance-focus-expected.png: Added.
        * platform/gtk/fast/forms/input-appearance-focus-expected.txt: Added.
        * platform/gtk/fast/forms/input-appearance-height-expected.checksum: Added.
        * platform/gtk/fast/forms/input-appearance-height-expected.png: Added.
        * platform/gtk/fast/forms/input-appearance-height-expected.txt: Added.
        * platform/gtk/fast/forms/input-appearance-preventDefault-expected.checksum: Added.
        * platform/gtk/fast/forms/input-appearance-preventDefault-expected.png: Added.
        * platform/gtk/fast/forms/input-appearance-preventDefault-expected.txt: Added.
        * platform/gtk/fast/forms/input-appearance-readonly-expected.checksum: Added.
        * platform/gtk/fast/forms/input-appearance-readonly-expected.png: Added.
        * platform/gtk/fast/forms/input-appearance-readonly-expected.txt: Added.
        * platform/gtk/fast/forms/input-appearance-selection-expected.checksum: Added.
        * platform/gtk/fast/forms/input-appearance-selection-expected.png: Added.
        * platform/gtk/fast/forms/input-appearance-selection-expected.txt: Added.
        * platform/gtk/fast/forms/input-appearance-visibility-expected.checksum: Added.
        * platform/gtk/fast/forms/input-appearance-visibility-expected.png: Added.
        * platform/gtk/fast/forms/input-appearance-visibility-expected.txt: Added.
        * platform/gtk/fast/forms/input-appearance-width-expected.checksum: Added.
        * platform/gtk/fast/forms/input-appearance-width-expected.png: Added.
        * platform/gtk/fast/forms/input-appearance-width-expected.txt: Added.
        * platform/gtk/fast/forms/input-baseline-expected.checksum: Added.
        * platform/gtk/fast/forms/input-baseline-expected.png: Added.
        * platform/gtk/fast/forms/input-baseline-expected.txt: Added.
        * platform/gtk/fast/forms/input-disabled-color-expected.checksum: Added.
        * platform/gtk/fast/forms/input-disabled-color-expected.png: Added.
        * platform/gtk/fast/forms/input-disabled-color-expected.txt: Added.
        * platform/gtk/fast/forms/input-double-click-selection-gap-bug-expected.checksum: Added.
        * platform/gtk/fast/forms/input-double-click-selection-gap-bug-expected.png: Added.
        * platform/gtk/fast/forms/input-double-click-selection-gap-bug-expected.txt: Added.
        * platform/gtk/fast/forms/input-field-text-truncated-expected.checksum: Added.
        * platform/gtk/fast/forms/input-field-text-truncated-expected.png: Added.
        * platform/gtk/fast/forms/input-field-text-truncated-expected.txt: Added.
        * platform/gtk/fast/forms/input-first-letter-expected.checksum: Added.
        * platform/gtk/fast/forms/input-first-letter-expected.png: Added.
        * platform/gtk/fast/forms/input-first-letter-expected.txt: Added.
        * platform/gtk/fast/forms/input-no-renderer-expected.checksum: Added.
        * platform/gtk/fast/forms/input-no-renderer-expected.png: Added.
        * platform/gtk/fast/forms/input-no-renderer-expected.txt: Added.
        * platform/gtk/fast/forms/input-paste-undo-expected.checksum: Added.
        * platform/gtk/fast/forms/input-paste-undo-expected.png: Added.
        * platform/gtk/fast/forms/input-paste-undo-expected.txt: Added.
        * platform/gtk/fast/forms/input-placeholder-focus-twice-expected.checksum:
        * platform/gtk/fast/forms/input-placeholder-focus-twice-expected.png:
        * platform/gtk/fast/forms/input-readonly-autoscroll-expected.checksum: Added.
        * platform/gtk/fast/forms/input-readonly-autoscroll-expected.png: Added.
        * platform/gtk/fast/forms/input-readonly-autoscroll-expected.txt: Added.
        * platform/gtk/fast/forms/input-readonly-dimmed-expected.checksum: Added.
        * platform/gtk/fast/forms/input-readonly-dimmed-expected.png: Added.
        * platform/gtk/fast/forms/input-readonly-dimmed-expected.txt: Added.
        * platform/gtk/fast/forms/input-readonly-empty-expected.checksum: Added.
        * platform/gtk/fast/forms/input-readonly-empty-expected.png: Added.
        * platform/gtk/fast/forms/input-readonly-empty-expected.txt: Added.
        * platform/gtk/fast/forms/input-selectedoption-expected.txt: Added.
        * platform/gtk/fast/forms/input-spaces-expected.checksum: Added.
        * platform/gtk/fast/forms/input-spaces-expected.png: Added.
        * platform/gtk/fast/forms/input-spaces-expected.txt: Added.
        * platform/gtk/fast/forms/input-table-expected.checksum: Added.
        * platform/gtk/fast/forms/input-table-expected.png: Added.
        * platform/gtk/fast/forms/input-table-expected.txt: Added.
        * platform/gtk/fast/forms/input-text-click-inside-expected.checksum: Added.
        * platform/gtk/fast/forms/input-text-click-inside-expected.png: Added.
        * platform/gtk/fast/forms/input-text-click-inside-expected.txt: Added.
        * platform/gtk/fast/forms/input-text-click-outside-expected.checksum: Added.
        * platform/gtk/fast/forms/input-text-click-outside-expected.png: Added.
        * platform/gtk/fast/forms/input-text-click-outside-expected.txt: Added.
        * platform/gtk/fast/forms/input-text-double-click-expected.checksum: Added.
        * platform/gtk/fast/forms/input-text-double-click-expected.png: Added.
        * platform/gtk/fast/forms/input-text-double-click-expected.txt: Added.
        * platform/gtk/fast/forms/input-text-option-delete-expected.checksum: Added.
        * platform/gtk/fast/forms/input-text-option-delete-expected.png: Added.
        * platform/gtk/fast/forms/input-text-option-delete-expected.txt: Added.
        * platform/gtk/fast/forms/input-text-scroll-left-on-blur-expected.checksum: Added.
        * platform/gtk/fast/forms/input-text-scroll-left-on-blur-expected.png: Added.
        * platform/gtk/fast/forms/input-text-scroll-left-on-blur-expected.txt: Added.
        * platform/gtk/fast/forms/input-text-self-emptying-click-expected.checksum: Added.
        * platform/gtk/fast/forms/input-text-self-emptying-click-expected.png: Added.
        * platform/gtk/fast/forms/input-text-self-emptying-click-expected.txt: Added.
        * platform/gtk/fast/forms/input-text-word-wrap-expected.checksum: Added.
        * platform/gtk/fast/forms/input-text-word-wrap-expected.png: Added.
        * platform/gtk/fast/forms/input-text-word-wrap-expected.txt: Added.
        * platform/gtk/fast/forms/input-type-change-expected.checksum: Added.
        * platform/gtk/fast/forms/input-type-change-expected.png: Added.
        * platform/gtk/fast/forms/input-type-change-expected.txt: Added.
        * platform/gtk/fast/forms/input-type-change2-expected.checksum: Added.
        * platform/gtk/fast/forms/input-type-change2-expected.png: Added.
        * platform/gtk/fast/forms/input-type-change2-expected.txt: Added.
        * platform/gtk/fast/forms/input-type-text-min-width-expected.checksum: Added.
        * platform/gtk/fast/forms/input-type-text-min-width-expected.png: Added.
        * platform/gtk/fast/forms/input-type-text-min-width-expected.txt: Added.
        * platform/gtk/fast/forms/input-value-expected.checksum: Added.
        * platform/gtk/fast/forms/input-value-expected.png: Added.
        * platform/gtk/fast/forms/input-value-expected.txt: Added.
        * platform/gtk/fast/forms/input-width-expected.checksum: Added.
        * platform/gtk/fast/forms/input-width-expected.png: Added.
        * platform/gtk/fast/forms/input-width-expected.txt: Added.
        * platform/gtk/fast/forms/isindex-placeholder-expected.checksum: Added.
        * platform/gtk/fast/forms/isindex-placeholder-expected.png: Added.
        * platform/gtk/fast/forms/isindex-placeholder-expected.txt: Added.
        * platform/gtk/fast/forms/linebox-overflow-in-textarea-padding-expected.checksum: Added.
        * platform/gtk/fast/forms/linebox-overflow-in-textarea-padding-expected.png: Added.
        * platform/gtk/fast/forms/linebox-overflow-in-textarea-padding-expected.txt: Added.
        * platform/gtk/fast/forms/listbox-clip-expected.checksum: Added.
        * platform/gtk/fast/forms/listbox-clip-expected.png: Added.
        * platform/gtk/fast/forms/listbox-clip-expected.txt: Added.
        * platform/gtk/fast/forms/listbox-scrollbar-incremental-load-expected.checksum: Added.
        * platform/gtk/fast/forms/listbox-scrollbar-incremental-load-expected.png: Added.
        * platform/gtk/fast/forms/listbox-scrollbar-incremental-load-expected.txt: Added.
        * platform/gtk/fast/forms/listbox-width-change-expected.checksum: Added.
        * platform/gtk/fast/forms/listbox-width-change-expected.png: Added.
        * platform/gtk/fast/forms/listbox-width-change-expected.txt: Added.
        * platform/gtk/fast/forms/minWidthPercent-expected.checksum: Added.
        * platform/gtk/fast/forms/minWidthPercent-expected.png: Added.
        * platform/gtk/fast/forms/minWidthPercent-expected.txt: Added.
        * platform/gtk/fast/forms/negativeLineHeight-expected.checksum: Added.
        * platform/gtk/fast/forms/negativeLineHeight-expected.png: Added.
        * platform/gtk/fast/forms/negativeLineHeight-expected.txt: Added.
        * platform/gtk/fast/forms/option-index-expected.checksum: Added.
        * platform/gtk/fast/forms/option-index-expected.png: Added.
        * platform/gtk/fast/forms/option-index-expected.txt: Added.
        * platform/gtk/fast/forms/option-script-expected.checksum: Added.
        * platform/gtk/fast/forms/option-script-expected.png: Added.
        * platform/gtk/fast/forms/option-script-expected.txt: Added.
        * platform/gtk/fast/forms/option-strip-whitespace-expected.checksum: Added.
        * platform/gtk/fast/forms/option-strip-whitespace-expected.png: Added.
        * platform/gtk/fast/forms/option-strip-whitespace-expected.txt: Added.
        * platform/gtk/fast/forms/option-text-clip-expected.checksum: Added.
        * platform/gtk/fast/forms/option-text-clip-expected.png: Added.
        * platform/gtk/fast/forms/option-text-clip-expected.txt: Added.
        * platform/gtk/fast/forms/password-placeholder-expected.checksum: Added.
        * platform/gtk/fast/forms/password-placeholder-expected.png: Added.
        * platform/gtk/fast/forms/password-placeholder-expected.txt: Added.
        * platform/gtk/fast/forms/password-placeholder-text-security-expected.checksum: Added.
        * platform/gtk/fast/forms/password-placeholder-text-security-expected.png: Added.
        * platform/gtk/fast/forms/password-placeholder-text-security-expected.txt: Added.
        * platform/gtk/fast/forms/placeholder-pseudo-style-expected.checksum: Added.
        * platform/gtk/fast/forms/placeholder-pseudo-style-expected.png: Added.
        * platform/gtk/fast/forms/placeholder-pseudo-style-expected.txt: Added.
        * platform/gtk/fast/forms/placeholder-set-attribute-expected.checksum: Added.
        * platform/gtk/fast/forms/placeholder-set-attribute-expected.png: Added.
        * platform/gtk/fast/forms/placeholder-set-attribute-expected.txt: Added.
        * platform/gtk/fast/forms/placeholder-set-value-expected.checksum: Added.
        * platform/gtk/fast/forms/placeholder-set-value-expected.png: Added.
        * platform/gtk/fast/forms/placeholder-set-value-expected.txt: Added.
        * platform/gtk/fast/forms/plaintext-mode-2-expected.checksum: Added.
        * platform/gtk/fast/forms/plaintext-mode-2-expected.png: Added.
        * platform/gtk/fast/forms/plaintext-mode-2-expected.txt: Added.
        * platform/gtk/fast/forms/preserveFormDuringResidualStyle-expected.checksum: Added.
        * platform/gtk/fast/forms/preserveFormDuringResidualStyle-expected.png: Added.
        * platform/gtk/fast/forms/preserveFormDuringResidualStyle-expected.txt: Added.
        * platform/gtk/fast/forms/radio-attr-order-expected.checksum: Added.
        * platform/gtk/fast/forms/radio-attr-order-expected.png: Added.
        * platform/gtk/fast/forms/radio-attr-order-expected.txt: Added.
        * platform/gtk/fast/forms/radio-nested-labels-expected.checksum: Added.
        * platform/gtk/fast/forms/radio-nested-labels-expected.png: Added.
        * platform/gtk/fast/forms/radio-nested-labels-expected.txt: Added.
        * platform/gtk/fast/forms/radio_checked-expected.checksum: Added.
        * platform/gtk/fast/forms/radio_checked-expected.png: Added.
        * platform/gtk/fast/forms/radio_checked-expected.txt: Added.
        * platform/gtk/fast/forms/radio_checked_dynamic-expected.checksum: Added.
        * platform/gtk/fast/forms/radio_checked_dynamic-expected.png: Added.
        * platform/gtk/fast/forms/radio_checked_dynamic-expected.txt: Added.
        * platform/gtk/fast/forms/range-thumb-height-percentage-expected.checksum: Added.
        * platform/gtk/fast/forms/range-thumb-height-percentage-expected.png: Added.
        * platform/gtk/fast/forms/search-cancel-button-style-sharing-expected.checksum: Added.
        * platform/gtk/fast/forms/search-cancel-button-style-sharing-expected.png: Added.
        * platform/gtk/fast/forms/search-cancel-button-style-sharing-expected.txt: Added.
        * platform/gtk/fast/forms/search-display-none-cancel-button-expected.checksum: Added.
        * platform/gtk/fast/forms/search-display-none-cancel-button-expected.png: Added.
        * platform/gtk/fast/forms/search-display-none-cancel-button-expected.txt: Added.
        * platform/gtk/fast/forms/search-placeholder-value-changed-expected.checksum: Added.
        * platform/gtk/fast/forms/search-placeholder-value-changed-expected.png: Added.
        * platform/gtk/fast/forms/search-placeholder-value-changed-expected.txt: Added.
        * platform/gtk/fast/forms/search-rtl-expected.checksum: Added.
        * platform/gtk/fast/forms/search-rtl-expected.png: Added.
        * platform/gtk/fast/forms/search-rtl-expected.txt: Added.
        * platform/gtk/fast/forms/search-styled-expected.checksum: Added.
        * platform/gtk/fast/forms/search-styled-expected.png: Added.
        * platform/gtk/fast/forms/search-styled-expected.txt: Added.
        * platform/gtk/fast/forms/search-transformed-expected.checksum: Added.
        * platform/gtk/fast/forms/search-transformed-expected.png: Added.
        * platform/gtk/fast/forms/search-transformed-expected.txt: Added.
        * platform/gtk/fast/forms/search-vertical-alignment-expected.checksum: Added.
        * platform/gtk/fast/forms/search-vertical-alignment-expected.png: Added.
        * platform/gtk/fast/forms/search-vertical-alignment-expected.txt: Added.
        * platform/gtk/fast/forms/search-zoomed-expected.checksum: Added.
        * platform/gtk/fast/forms/search-zoomed-expected.png: Added.
        * platform/gtk/fast/forms/search-zoomed-expected.txt: Added.
        * platform/gtk/fast/forms/searchfield-heights-expected.checksum: Added.
        * platform/gtk/fast/forms/searchfield-heights-expected.png: Added.
        * platform/gtk/fast/forms/searchfield-heights-expected.txt: Added.
        * platform/gtk/fast/forms/select-align-expected.checksum: Added.
        * platform/gtk/fast/forms/select-align-expected.png: Added.
        * platform/gtk/fast/forms/select-align-expected.txt: Added.
        * platform/gtk/fast/forms/select-baseline-expected.checksum: Added.
        * platform/gtk/fast/forms/select-baseline-expected.png: Added.
        * platform/gtk/fast/forms/select-baseline-expected.txt: Added.
        * platform/gtk/fast/forms/select-block-background-expected.checksum: Added.
        * platform/gtk/fast/forms/select-block-background-expected.png: Added.
        * platform/gtk/fast/forms/select-block-background-expected.txt: Added.
        * platform/gtk/fast/forms/select-change-listbox-size-expected.checksum: Added.
        * platform/gtk/fast/forms/select-change-listbox-size-expected.png: Added.
        * platform/gtk/fast/forms/select-change-listbox-size-expected.txt: Added.
        * platform/gtk/fast/forms/select-change-listbox-to-popup-expected.checksum: Added.
        * platform/gtk/fast/forms/select-change-listbox-to-popup-expected.png: Added.
        * platform/gtk/fast/forms/select-change-listbox-to-popup-expected.txt: Added.
        * platform/gtk/fast/forms/select-change-popup-to-listbox-expected.checksum: Added.
        * platform/gtk/fast/forms/select-change-popup-to-listbox-expected.png: Added.
        * platform/gtk/fast/forms/select-change-popup-to-listbox-expected.txt: Added.
        * platform/gtk/fast/forms/select-dirty-parent-pref-widths-expected.checksum: Added.
        * platform/gtk/fast/forms/select-dirty-parent-pref-widths-expected.png: Added.
        * platform/gtk/fast/forms/select-dirty-parent-pref-widths-expected.txt: Added.
        * platform/gtk/fast/forms/select-disabled-appearance-expected.checksum: Added.
        * platform/gtk/fast/forms/select-disabled-appearance-expected.png: Added.
        * platform/gtk/fast/forms/select-disabled-appearance-expected.txt: Added.
        * platform/gtk/fast/forms/select-display-none-style-resolve-expected.checksum: Added.
        * platform/gtk/fast/forms/select-display-none-style-resolve-expected.png: Added.
        * platform/gtk/fast/forms/select-display-none-style-resolve-expected.txt: Added.
        * platform/gtk/fast/forms/select-empty-option-height-expected.checksum: Added.
        * platform/gtk/fast/forms/select-empty-option-height-expected.png: Added.
        * platform/gtk/fast/forms/select-empty-option-height-expected.txt: Added.
        * platform/gtk/fast/forms/select-initial-position-expected.checksum: Added.
        * platform/gtk/fast/forms/select-initial-position-expected.png: Added.
        * platform/gtk/fast/forms/select-initial-position-expected.txt: Added.
        * platform/gtk/fast/forms/select-item-background-clip-expected.checksum: Added.
        * platform/gtk/fast/forms/select-item-background-clip-expected.png: Added.
        * platform/gtk/fast/forms/select-item-background-clip-expected.txt: Added.
        * platform/gtk/fast/forms/select-list-box-with-height-expected.checksum: Added.
        * platform/gtk/fast/forms/select-list-box-with-height-expected.png: Added.
        * platform/gtk/fast/forms/select-list-box-with-height-expected.txt: Added.
        * platform/gtk/fast/forms/select-selected-expected.checksum: Added.
        * platform/gtk/fast/forms/select-selected-expected.png: Added.
        * platform/gtk/fast/forms/select-selected-expected.txt: Added.
        * platform/gtk/fast/forms/select-size-expected.checksum: Added.
        * platform/gtk/fast/forms/select-size-expected.png: Added.
        * platform/gtk/fast/forms/select-size-expected.txt: Added.
        * platform/gtk/fast/forms/select-style-expected.checksum: Added.
        * platform/gtk/fast/forms/select-style-expected.png: Added.
        * platform/gtk/fast/forms/select-style-expected.txt: Added.
        * platform/gtk/fast/forms/select-visual-hebrew-expected.checksum: Added.
        * platform/gtk/fast/forms/select-visual-hebrew-expected.png: Added.
        * platform/gtk/fast/forms/select-visual-hebrew-expected.txt: Added.
        * platform/gtk/fast/forms/select-writing-direction-natural-expected.checksum: Added.
        * platform/gtk/fast/forms/select-writing-direction-natural-expected.png: Added.
        * platform/gtk/fast/forms/select-writing-direction-natural-expected.txt: Added.
        * platform/gtk/fast/forms/slider-thumb-shared-style-expected.checksum: Added.
        * platform/gtk/fast/forms/slider-thumb-shared-style-expected.png: Added.
        * platform/gtk/fast/forms/slider-thumb-stylability-expected.checksum: Added.
        * platform/gtk/fast/forms/slider-thumb-stylability-expected.png: Added.
        * platform/gtk/fast/forms/stuff-on-my-optgroup-expected.checksum: Added.
        * platform/gtk/fast/forms/stuff-on-my-optgroup-expected.png: Added.
        * platform/gtk/fast/forms/stuff-on-my-optgroup-expected.txt: Added.
        * platform/gtk/fast/forms/tabbing-input-iframe-expected.checksum: Added.
        * platform/gtk/fast/forms/tabbing-input-iframe-expected.png: Added.
        * platform/gtk/fast/forms/tabbing-input-iframe-expected.txt: Added.
        * platform/gtk/fast/forms/targeted-frame-submission-expected.checksum: Added.
        * platform/gtk/fast/forms/targeted-frame-submission-expected.png: Added.
        * platform/gtk/fast/forms/targeted-frame-submission-expected.txt: Added.
        * platform/gtk/fast/forms/text-control-intrinsic-widths-expected.txt: Added.
        * platform/gtk/fast/forms/text-style-color-expected.checksum: Added.
        * platform/gtk/fast/forms/text-style-color-expected.png: Added.
        * platform/gtk/fast/forms/text-style-color-expected.txt: Added.
        * platform/gtk/fast/forms/textAreaLineHeight-expected.checksum: Added.
        * platform/gtk/fast/forms/textAreaLineHeight-expected.png: Added.
        * platform/gtk/fast/forms/textAreaLineHeight-expected.txt: Added.
        * platform/gtk/fast/forms/textarea-align-expected.checksum: Added.
        * platform/gtk/fast/forms/textarea-align-expected.png: Added.
        * platform/gtk/fast/forms/textarea-align-expected.txt: Added.
        * platform/gtk/fast/forms/textarea-metrics-expected.txt: Added.
        * platform/gtk/fast/forms/textarea-placeholder-pseudo-style-expected.checksum: Added.
        * platform/gtk/fast/forms/textarea-placeholder-pseudo-style-expected.png: Added.
        * platform/gtk/fast/forms/textarea-placeholder-pseudo-style-expected.txt: Added.
        * platform/gtk/fast/forms/textarea-placeholder-set-attribute-expected.checksum: Added.
        * platform/gtk/fast/forms/textarea-placeholder-set-attribute-expected.png: Added.
        * platform/gtk/fast/forms/textarea-placeholder-set-attribute-expected.txt: Added.
        * platform/gtk/fast/forms/textarea-placeholder-set-value-expected.checksum: Added.
        * platform/gtk/fast/forms/textarea-placeholder-set-value-expected.png: Added.
        * platform/gtk/fast/forms/textarea-placeholder-set-value-expected.txt: Added.
        * platform/gtk/fast/forms/textarea-scroll-height-expected.checksum: Added.
        * platform/gtk/fast/forms/textarea-scroll-height-expected.png: Added.
        * platform/gtk/fast/forms/textarea-scroll-height-expected.txt: Added.
        * platform/gtk/fast/forms/textarea-scrollbar-expected.checksum: Added.
        * platform/gtk/fast/forms/textarea-scrollbar-expected.png: Added.
        * platform/gtk/fast/forms/textarea-scrollbar-expected.txt: Added.
        * platform/gtk/fast/forms/textarea-scrolled-type-expected.checksum: Added.
        * platform/gtk/fast/forms/textarea-scrolled-type-expected.png: Added.
        * platform/gtk/fast/forms/textarea-scrolled-type-expected.txt: Added.
        * platform/gtk/fast/forms/textarea-setinnerhtml-expected.checksum: Added.
        * platform/gtk/fast/forms/textarea-setinnerhtml-expected.png: Added.
        * platform/gtk/fast/forms/textarea-setinnerhtml-expected.txt: Added.
        * platform/gtk/fast/forms/textarea-width-expected.checksum: Added.
        * platform/gtk/fast/forms/textarea-width-expected.png: Added.
        * platform/gtk/fast/forms/textarea-width-expected.txt: Added.
        * platform/gtk/fast/forms/textfield-focus-ring-expected.checksum:
        * platform/gtk/fast/forms/textfield-focus-ring-expected.png:
        * platform/gtk/fast/forms/textfield-outline-expected.checksum: Added.
        * platform/gtk/fast/forms/textfield-outline-expected.png: Added.
        * platform/gtk/fast/forms/textfield-outline-expected.txt: Added.
        * platform/gtk/fast/forms/textfield-overflow-expected.checksum: Added.
        * platform/gtk/fast/forms/textfield-overflow-expected.png: Added.
        * platform/gtk/fast/forms/textfield-overflow-expected.txt: Added.
        * platform/gtk/fast/forms/thumbslider-crash-expected.checksum: Added.
        * platform/gtk/fast/forms/thumbslider-crash-expected.png: Added.
        * platform/gtk/fast/forms/thumbslider-no-parent-slider-expected.checksum: Added.
        * platform/gtk/fast/forms/thumbslider-no-parent-slider-expected.png: Added.
        * platform/gtk/fast/forms/visual-hebrew-text-field-expected.checksum: Added.
        * platform/gtk/fast/forms/visual-hebrew-text-field-expected.png: Added.
        * platform/gtk/fast/forms/visual-hebrew-text-field-expected.txt: Added.

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

9 years ago2010-10-26 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Tue, 26 Oct 2010 18:55:10 +0000 (18:55 +0000)]
2010-10-26  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Dimitri Glazkov.

        Added checks to ensure that events types are right before casting.
        https://bugs.webkit.org/show_bug.cgi?id=48345

        * html/ImageDocument.cpp:
        (WebCore::ImageEventListener::handleEvent):
        * inspector/InspectorDOMStorageResource.cpp:
        (WebCore::InspectorDOMStorageResource::handleEvent):

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

9 years ago2010-10-26 Dai Mikurube <dmikurube@google.com>
commit-queue@webkit.org [Tue, 26 Oct 2010 18:47:46 +0000 (18:47 +0000)]
2010-10-26  Dai Mikurube  <dmikurube@google.com>

        Reviewed by Kent Tamura.

        Number values should be in the range of IEEE 754 single-precision floating point number
        https://bugs.webkit.org/show_bug.cgi?id=48221

        Changed tests and test expectations for number values to fit in the
        range of IEEE 754 single-precision

        * fast/forms/ValidityState-stepMismatch-expected.txt:
        * fast/forms/input-stepup-stepdown-expected.txt:
        * fast/forms/input-valueasnumber-number-expected.txt:
        * fast/forms/input-valueasnumber-range-expected.txt:
        * fast/forms/script-tests/ValidityState-stepMismatch.js:
        * fast/forms/script-tests/input-stepup-stepdown.js:
        * fast/forms/script-tests/input-valueasnumber-number.js:
        * fast/forms/script-tests/input-valueasnumber-range.js:
2010-10-26  Dai Mikurube  <dmikurube@google.com>

        Reviewed by Kent Tamura.

        Number values should be in the range of IEEE 754 single-precision floating point number
        https://bugs.webkit.org/show_bug.cgi?id=48221

        Changed the range of number values to fit in IEEE 754 single-precision

        * html/parser/HTMLParserIdioms.cpp:
        (WebCore::parseToDoubleForNumberType):
        * html/NumberInputType.cpp:

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

9 years ago2010-10-26 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Tue, 26 Oct 2010 18:38:56 +0000 (18:38 +0000)]
2010-10-26  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Sam Weinig.

        Support layoutTestController.layerTreeAsText in WebKitTestRunner
        https://bugs.webkit.org/show_bug.cgi?id=42145

        Implement layerTreeAsText() in WebKitTestRunner.

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

2010-10-26  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Sam Weinig.

        Support layoutTestController.layerTreeAsText in WebKitTestRunner
        https://bugs.webkit.org/show_bug.cgi?id=42145

        Expose layerTreeAsText() as private API so that
        WebKitTestRunner can use it.

        * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
        (WKBundleFrameCopyLayerTreeAsText):
        * WebProcess/InjectedBundle/API/c/WKBundleFramePrivate.h:
        * WebProcess/WebPage/WebFrame.cpp:
        (WebKit::WebFrame::numberOfActiveAnimations):
        (WebKit::WebFrame::layerTreeAsText):
        (WebKit::WebFrame::pendingUnloadCount):
        * WebProcess/WebPage/WebFrame.h:

2010-10-26  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Sam Weinig.

        Support layoutTestController.layerTreeAsText in WebKitTestRunner
        https://bugs.webkit.org/show_bug.cgi?id=42145

        Unskip tests that relied on layerTreeAsText(), but skip
        two compositing tests that continue to be flakey.

        * platform/mac-wk2/Skipped:

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

9 years ago2010-10-26 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 26 Oct 2010 18:36:33 +0000 (18:36 +0000)]
2010-10-26  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        webkit-patch rollout produces incorrect patch when using svn move
        https://bugs.webkit.org/show_bug.cgi?id=48244

        We need to flush our caches when we modify the working copy.

        * Scripts/webkitpy/tool/steps/revertrevision.py:

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=48157
hyatt@apple.com [Tue, 26 Oct 2010 18:32:57 +0000 (18:32 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=48157

Reviewed by Sam Weinig.

Direction and writing-mode should propagate from the <body> to the <html> to the initial containing block.
Modify the existing code that propagates from the document element to also propagate from the body.

Fix the buggy code that was trying to dirty the body when the view changed size if it stretched to fill the
viewport.  The code didn't consider the root element, and it only worked with one axis.  I pulled it
out of calculateScrollbarModesForLayout, since it should never have been put there in the first place.

Added four new tests in fast/blockflow.

WebCore:

* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::initElement):
(WebCore::CSSStyleSelector::styleForDocument):
(WebCore::CSSStyleSelector::applyProperty):
* dom/Document.cpp:
(WebCore::Document::Document):
* dom/Document.h:
(WebCore::Document::directionSetOnDocumentElement):
(WebCore::Document::writingModeSetOnDocumentElement):
(WebCore::Document::setDirectionSetOnDocumentElement):
(WebCore::Document::setWritingModeSetOnDocumentElement):
* page/FrameView.cpp:
(WebCore::FrameView::calculateScrollbarModesForLayout):
(WebCore::FrameView::layout):
* rendering/RenderBox.cpp:
(WebCore::RenderBox::styleDidChange):
* rendering/RenderBox.h:
(WebCore::RenderBox::stretchesToViewport):

LayoutTests:

* fast/blockflow/body-direction-propagation-blocked.html: Added.
* fast/blockflow/body-direction-propagation.html: Added.
* fast/blockflow/body-writing-mode-propagation-blocked.html: Added.
* fast/blockflow/body-writing-mode-propagation.html: Added.
* platform/mac/fast/blockflow/body-direction-propagation-blocked-expected.checksum: Added.
* platform/mac/fast/blockflow/body-direction-propagation-blocked-expected.png: Added.
* platform/mac/fast/blockflow/body-direction-propagation-blocked-expected.txt: Added.
* platform/mac/fast/blockflow/body-direction-propagation-expected.checksum: Added.
* platform/mac/fast/blockflow/body-direction-propagation-expected.png: Added.
* platform/mac/fast/blockflow/body-direction-propagation-expected.txt: Added.
* platform/mac/fast/blockflow/body-writing-mode-propagation-blocked-expected.checksum: Added.
* platform/mac/fast/blockflow/body-writing-mode-propagation-blocked-expected.png: Added.
* platform/mac/fast/blockflow/body-writing-mode-propagation-blocked-expected.txt: Added.
* platform/mac/fast/blockflow/body-writing-mode-propagation-expected.checksum: Added.
* platform/mac/fast/blockflow/body-writing-mode-propagation-expected.png: Added.
* platform/mac/fast/blockflow/body-writing-mode-propagation-expected.txt: Added.
* platform/mac/fast/blockflow/english-rl-text-expected.checksum:
* platform/mac/fast/blockflow/english-rl-text-expected.png:
* platform/mac/fast/blockflow/english-rl-text-expected.txt:
* platform/mac/fast/blockflow/floats-in-block-layout-expected.txt:
* platform/mac/fast/blockflow/self-collapsing-block-expected.txt:

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

9 years ago2010-10-26 Joseph Pecoraro <joepeck@webkit.org>
joepeck@webkit.org [Tue, 26 Oct 2010 18:30:20 +0000 (18:30 +0000)]
2010-10-26  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by David Kilzer.

        Fix Cache::dumpStats formatting
        https://bugs.webkit.org/show_bug.cgi?id=48286

        This updates the column width in the dumpStats output to be wide enough
        for all the titles. Previously one of the titles was too wide and crept
        into later column space.

        * loader/Cache.cpp:
        (WebCore::Cache::dumpStats): make columns 13 characters wide.

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

9 years agoEnable the plug-in process on Mac
andersca@apple.com [Tue, 26 Oct 2010 18:23:40 +0000 (18:23 +0000)]
Enable the plug-in process on Mac
https://bugs.webkit.org/show_bug.cgi?id=48350

Reviewed by Sam Weinig.

WebKit2:

* WebKit2Prefix.h:
Flip the switch and enable the plug-in process on Mac.

* WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
(WebKit::NetscapePlugin::platformDestroy):
Fix a bogus assert.

LayoutTests:

* platform/mac-wk2/Skipped:
Update WebKit2 mac skipped list.

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

9 years ago2010-10-26 Alexey Marinichev <amarinichev@chromium.org>
commit-queue@webkit.org [Tue, 26 Oct 2010 18:18:44 +0000 (18:18 +0000)]
2010-10-26  Alexey Marinichev  <amarinichev@chromium.org>

        Reviewed by Kenneth Russell.

        [chromium] Check getGraphicsResetStatusARB and reinitialize the
        renderer in an error is returned.
        https://bugs.webkit.org/show_bug.cgi?id=47848

        Tested by failure injection (stopping in the debugger and issuing a
        jump as if an error has occurred).

        * platform/graphics/chromium/LayerChromium.cpp:
        (WebCore::LayerChromium::setLayerRenderer):
        * platform/graphics/chromium/LayerRendererChromium.h:
        (WebCore::LayerRendererChromium::transferRootLayer): added
2010-10-26  Alexey Marinichev  <amarinichev@chromium.org>

        Reviewed by Kenneth Russell.

        [chromium] Check getGraphicsResetStatusARB and reinitialize the
        renderer in an error is returned.
        https://bugs.webkit.org/show_bug.cgi?id=47848

        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::composite): added getGraphicsResetStatusARB check
        (WebKit::WebViewImpl::reallocateRenderer): added
        * src/WebViewImpl.h:

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

9 years ago2010-10-26 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Tue, 26 Oct 2010 18:14:42 +0000 (18:14 +0000)]
2010-10-26  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed. Disabling inspector audits tests on Qt.
        Will figure out what is wrong with it later.

        * platform/qt/Skipped:

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

9 years ago2010-10-26 Eric Seidel <eric@webkit.org>
eric@webkit.org [Tue, 26 Oct 2010 18:13:25 +0000 (18:13 +0000)]
2010-10-26  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        commit-queue flaky test message can list the same author more than once
        https://bugs.webkit.org/show_bug.cgi?id=48268

        tonikitoo reported to me over IRC this morning that he's seen
        the commit-queue report flaky tests with author lists like:
        "adam, adam and adam", suggesting we're not uniquing authors
        before writing the message.

        I fixed the uniquing and added a bunch more unit testing.

        * Scripts/webkitpy/tool/commands/queues.py:
        * Scripts/webkitpy/tool/commands/queues_unittest.py:
        * Scripts/webkitpy/tool/mocktool.py:

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

9 years agoPull in the FeatureDefines*.vsprops files when building DRT
aroben@apple.com [Tue, 26 Oct 2010 18:04:55 +0000 (18:04 +0000)]
Pull in the FeatureDefines*.vsprops files when building DRT

This ensures that various ENABLE() macros will get set correctly.
(Prior to r70320 we were picking up the ENABLE(3D_RENDERING) flag
through wtf/Platform.h.)

Fixes <http://webkit.org/b/48343> REGRESSION (r70320): DumpRenderTree
says 3D_RENDERING is disabled even when it is enabled

Reviewed by Ada Chan.

* DumpRenderTree/win/DumpRenderTree.vcproj: Added
FeaturesDefines*.vsprops to all configurations.

* DumpRenderTree/win/DumpRenderTreeWin.h: Touched to force a rebuild.

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

9 years agoFix duplicate vsprops name
aroben@apple.com [Tue, 26 Oct 2010 18:04:25 +0000 (18:04 +0000)]
Fix duplicate vsprops name

* win/tools/vsprops/FeatureDefinesCairo.vsprops: Renamed to
"FeatureDefinesCairo" to match the filename.

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

9 years ago2010-10-26 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Tue, 26 Oct 2010 18:01:25 +0000 (18:01 +0000)]
2010-10-26  Jeremy Orlow  <jorlow@chromium.org>

        Fix minor typo.

        * storage/indexeddb/objectstore-basics-expected.txt:

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

9 years ago2010-10-26 Søren Gjesse <sgjesse@chromium.org>
commit-queue@webkit.org [Tue, 26 Oct 2010 17:54:48 +0000 (17:54 +0000)]
2010-10-26  Søren Gjesse  <sgjesse@chromium.org>

        Reviewed by Dimitri Glazkov.

        Added options --multiple-loads and --js-flags to chromium DumpRenderTree. The option --multiple-loads=X
        is used to have DumpRenderTree load each test it runs X times. To be able to have more fine-grained control
        of how the JavaScript engine behaves for each load the flag --js-flags can specify a list of flag-sets like this

          --js-flags="--xxx,--noxxx --yyy,--noyyy"

        First load will run with --xxx, the second with --yyy and the third without any (the 'no' prefix is handled by
        V8 to turn off the flag).

        The changes to the Python test runner will be in a separate change.

        * DumpRenderTree/chromium/DumpRenderTree.cpp:
        (runTest):
        (main):
        * DumpRenderTree/chromium/TestShell.cpp:
        (TestShell::TestShell):
        (TestShell::runFileTest):
        (TestShell::testFinished):
        * DumpRenderTree/chromium/TestShell.h:
        (TestShell::loadCount):
        (TestShell::setLoadCount):
        (TestShell::javaScriptFlagsForLoad):
        (TestShell::setJavaScriptFlags):
        (TestShell::setDumpWhenFinished):

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

9 years ago2010-10-26 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Tue, 26 Oct 2010 17:52:38 +0000 (17:52 +0000)]
2010-10-26  Dimitri Glazkov  <dglazkov@chromium.org>

        [Chromium] Add another flaky test to expectations.
        https://bugs.webkit.org/show_bug.cgi?id=48341

        * platform/chromium/test_expectations.txt: Added flaky crash.

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

9 years ago2010-10-26 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Tue, 26 Oct 2010 17:42:41 +0000 (17:42 +0000)]
2010-10-26  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed. Touching inspector controller to kick gtk build, removing comments.

        * inspector/InspectorController.cpp:
        * inspector/front-end/ResourceManager.js:
        * inspector/front-end/ScriptsPanel.js:

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

9 years ago2010-10-26 Kenneth Russell <kbr@google.com>
kbr@google.com [Tue, 26 Oct 2010 17:28:07 +0000 (17:28 +0000)]
2010-10-26  Kenneth Russell  <kbr@google.com>

        Reviewed by Andreas Kling.

        Valgrind failure in GraphicsContext3DInternal::reshape
        https://bugs.webkit.org/show_bug.cgi?id=48284

        * src/WebGraphicsContext3DDefaultImpl.cpp:
        (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):

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

9 years agoSet the svn:mime-type property of recently-added PNG files to image/png.
mitz@apple.com [Tue, 26 Oct 2010 17:15:37 +0000 (17:15 +0000)]
Set the svn:mime-type property of recently-added PNG files to image/png.

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

9 years ago2010-10-26 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Tue, 26 Oct 2010 17:06:55 +0000 (17:06 +0000)]
2010-10-26  Pavel Feldman  <pfeldman@chromium.org>

        Web Inspector: continue making resources panel optional.
        https://bugs.webkit.org/show_bug.cgi?id=48261

        This refactoring makes console, audits and extensions tests pass while taking data from
        resources panel. Network panel as a source is to follow.

        * inspector/front-end/AuditLauncherView.js:
        (WebInspector.AuditLauncherView.prototype._createLauncherUI):
        * inspector/front-end/AuditsPanel.js:
        * inspector/front-end/ConsoleView.js:
        (WebInspector.ConsoleView.prototype.addMessage):
        * inspector/front-end/CookieItemsView.js:
        (WebInspector.CookieItemsView.prototype._filterCookiesForDomain.populateResourcesForDocuments):
        (WebInspector.CookieItemsView.prototype._filterCookiesForDomain):
        * inspector/front-end/ExtensionServer.js:
        (WebInspector.ExtensionServer.prototype._onRevealAndSelectResource):
        (WebInspector.ExtensionServer.prototype._onGetResources):
        (WebInspector.ExtensionServer.prototype._onGetResourceContent):
        * inspector/front-end/HAREntry.js:
        (WebInspector.HARLog.prototype.build):
        (WebInspector.HARLog.prototype.buildMainResourceTimings):
        (WebInspector.HARLog.prototype._convertResource):
        * inspector/front-end/NetworkPanel.js:
        (WebInspector.NetworkPanel):
        (WebInspector.NetworkPanel.prototype._reset):
        (WebInspector.NetworkPanel.prototype.get resources):
        (WebInspector.NetworkPanel.prototype.addResource):
        * inspector/front-end/Resource.js:
        (WebInspector.Resource.prototype.set category):
        * inspector/front-end/ResourceCategory.js:
        (WebInspector.ResourceCategory):
        (WebInspector.ResourceCategory.prototype.toString):
        * inspector/front-end/ResourceManager.js:
        (WebInspector.ResourceManager.prototype.identifierForInitialRequest):
        (WebInspector.ResourceManager.prototype.willSendRequest):
        (WebInspector.ResourceManager.prototype.didFinishLoading):
        (WebInspector.ResourceManager.prototype.didFailLoading):
        (WebInspector.ResourceManager.prototype.didLoadResourceFromMemoryCache):
        (WebInspector.ResourceManager.prototype.setOverrideContent):
        (WebInspector.ResourceTreeModel.prototype._callForFrameResources):
        * inspector/front-end/ResourcesPanel.js:
        (WebInspector.ResourcesPanel):
        (WebInspector.ResourcesPanel.prototype.reset):
        (WebInspector.ResourcesPanel.prototype.addResource):
        (WebInspector.ResourcesPanel.prototype.removeResource):
        (WebInspector.ResourcesPanel.prototype._toggleResourceTracking):
        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel.prototype.addScript):
        (WebInspector.ScriptsPanel.prototype._resourceLoadingFinished):
        (WebInspector.ScriptsPanel.prototype._breakpointAdded):
        * inspector/front-end/StylesSidebarPane.js:
        (WebInspector.StylePropertyTreeElement.prototype.updateTitle.linkifyURL):
        * inspector/front-end/inspector.js:
        (WebInspector._updateFocusedNode):
        (WebInspector.get networkResources):
        (WebInspector.forAllResources):
        (WebInspector.updateResource):
        (WebInspector.domContentEventFired):
        (WebInspector.loadEventFired):
        (WebInspector.removeResource):
        (WebInspector.reset):
        (WebInspector.displayNameForURL):
        (WebInspector.linkifyStringAsFragment):
        (WebInspector.resourceURLForRelatedNode.callback):
        (WebInspector.resourceURLForRelatedNode):

2010-10-26  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Timothy Hatcher.

        Web Inspector: continue making resources panel optional.
        https://bugs.webkit.org/show_bug.cgi?id=48261

        This refactoring makes console, audits and extensions tests pass while taking data from
        resources panel. Network panel as a source is to follow.

        * http/tests/inspector/inspector-test2.js:
        (initialize_InspectorTest.InspectorTest.completeTest):
        (initialize_InspectorTest.InspectorTest.evaluateInConsole):
        (initialize_InspectorTest.InspectorTest.evaluateInPage):
        (initialize_InspectorTest.InspectorTest.evaluateInPageWithTimeout):
        (initialize_InspectorTest.InspectorTest.addResult):
        (initialize_InspectorTest.InspectorTest.addObject):
        (initialize_InspectorTest.InspectorTest.reloadPage):
        (initialize_InspectorTest.InspectorTest.reloadPageIfNeeded):
        (initialize_InspectorTest.InspectorTest.pageReloaded):
        (initialize_InspectorTest.InspectorTest.runAfterPendingDispatches):
        (initialize_InspectorTest.InspectorTest.enableResourceTracking):
        (initialize_InspectorTest.InspectorTest.disableResourceTracking):
        (initialize_InspectorTest.InspectorTest.findDOMNode):
        (initialize_InspectorTest.InspectorTest._addSniffer):
        * http/tests/inspector/resource-parameters.html:
        * inspector/audits-panel-functional.html:
        * inspector/styles-source-offsets.html:

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

9 years ago2010-10-26 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Tue, 26 Oct 2010 17:03:59 +0000 (17:03 +0000)]
2010-10-26  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Steve Block.

        Fix IndexedDB crashes
        https://bugs.webkit.org/show_bug.cgi?id=48266

        Test all the changes made in WebCore.

        * storage/indexeddb/constants-expected.txt:
        * storage/indexeddb/constants.html:
        * storage/indexeddb/database-quota-expected.txt:
        * storage/indexeddb/index-basics-expected.txt:
        * storage/indexeddb/index-basics.html:
        * storage/indexeddb/index-cursor-expected.txt:
        * storage/indexeddb/index-cursor.html:
        * storage/indexeddb/keyrange-expected.txt:
        * storage/indexeddb/keyrange.html:
        * storage/indexeddb/objectstore-basics-expected.txt:
        * storage/indexeddb/objectstore-basics.html:
        * storage/indexeddb/objectstore-cursor-expected.txt:
        * storage/indexeddb/objectstore-cursor.html:
        * storage/indexeddb/open-cursor-expected.txt:
        * storage/indexeddb/open-cursor.html:
2010-10-26  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Steve Block.
        Fix IndexedDB crashes
        https://bugs.webkit.org/show_bug.cgi?id=48266

        If IDBKey returns null, type conversion failed. Handle this case
        in the bindings.

        Change UNKNOWN_ERR to be 1 since 0 is hard coded to mean no error.
        This is just a stop-gap move until we get it figured out in standards
        land.

        IDBObjectStore needs to handle null ranges.

        It's actually OK for m_transaction to be non-null when hitting the
        destructor. We just need to then remove it from the set of pending
        transactions.

        The transaction can become aborted in the middle of processing a
        list of tasks. Fix this.

        All changes (except the last 2 races) are tested in LayoutTests.
        I couldn't find a way to reliably reproduce the races.

        * bindings/scripts/CodeGeneratorV8.pm:
        * bindings/scripts/test/V8/V8TestObj.cpp:
        (WebCore::TestObjInternal::idbKeyCallback):
        * bindings/v8/IDBBindingUtilities.cpp:
        (WebCore::createIDBKeyFromValue):
        * storage/IDBDatabaseException.h:
        * storage/IDBDatabaseException.idl:
        * storage/IDBObjectStoreBackendImpl.cpp:
        (WebCore::IDBObjectStoreBackendImpl::openCursorInternal):
        * storage/IDBRequest.cpp:
        (WebCore::IDBRequest::~IDBRequest):
        (WebCore::IDBRequest::timerFired):
        * storage/IDBTransactionBackendImpl.cpp:
        (WebCore::IDBTransactionBackendImpl::taskTimerFired):
2010-10-26  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Steve Block.

        Fix IndexedDB crashes
        https://bugs.webkit.org/show_bug.cgi?id=48266

        Make WebIDBObjectStoreImpl match the way that WebIDBIndexImpl passes
        in cursor parameters (which is the correct way). KeyRange knows how
        to convert itself to a WebCore type--even if the value is null.

        * src/WebIDBObjectStoreImpl.cpp:
        (WebKit::WebIDBObjectStoreImpl::openCursor):

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

9 years agoLand expected Windows results for new vertical text tests
aroben@apple.com [Tue, 26 Oct 2010 16:55:00 +0000 (16:55 +0000)]
Land expected Windows results for new vertical text tests

* platform/win/fast/blockflow/english-lr-text-expected.checksum: Added.
* platform/win/fast/blockflow/english-lr-text-expected.png: Added.
* platform/win/fast/blockflow/english-lr-text-expected.txt: Added.
* platform/win/fast/blockflow/english-rl-text-expected.checksum: Added.
* platform/win/fast/blockflow/english-rl-text-expected.png: Added.
* platform/win/fast/blockflow/english-rl-text-expected.txt: Added.
* platform/win/fast/text/international/vertical-text-glyph-test-expected.checksum: Added.
* platform/win/fast/text/international/vertical-text-glyph-test-expected.png: Added.
* platform/win/fast/text/international/vertical-text-glyph-test-expected.txt: Added.
* platform/win/fast/text/international/vertical-text-metrics-test-expected.txt: Added.

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

9 years ago2010-10-25 Andrey Kosyakov <caseq@chromium.org>
caseq@chromium.org [Tue, 26 Oct 2010 16:24:43 +0000 (16:24 +0000)]
2010-10-25  Andrey Kosyakov  <caseq@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: Show cookie data in the request headers in network pane
        https://bugs.webkit.org/show_bug.cgi?id=16531

        * inspector/front-end/CookieItemsView.js:
        (WebInspector.CookieItemsView): Factor out common cookies grid logic to CookiesTable
        (WebInspector.CookieItemsView.prototype._populateDataGrid):
        * inspector/front-end/CookieParser.js: Store cookie type (request/response) within a cookie.
        (WebInspector.CookieParser.prototype.parseCookie):
        (WebInspector.CookieParser.prototype.parseSetCookie):
        (WebInspector.CookieParser.prototype._addCookie):
        (WebInspector.Cookie):
        * inspector/front-end/DataGrid.js:
        (WebInspector.DataGrid.prototype.autoSizeColumns): Optionally, traverse nested nodes when looking for max field widths.
        (WebInspector.DataGrid.prototype._enumerateChildren):
        (WebInspector.DataGrid.prototype.updateWidths): Skip attempt to calculate column widths if grid is not attached to DOM tree yet.
        * inspector/front-end/FontView.js:
        (WebInspector.FontView.prototype.resize):
        * inspector/front-end/ResourceView.js:
        (WebInspector.ResourceView.prototype.resize):
        (WebInspector.ResourceView.prototype._selectTab):
        (WebInspector.ResourceView.prototype._selectCookiesTab):
        (WebInspector.ResourceView.prototype._innerSelectContentTab):
        (WebInspector.ResourceView.prototype._refreshRequestHeaders):
        (WebInspector.ResourceView.prototype._refreshResponseHeaders):
        (WebInspector.ResourceView.prototype._refreshHeaders):
        (WebInspector.ResourceView.prototype._refreshCookies):
        (WebInspector.ResourceCookiesTab):
        (WebInspector.ResourceCookiesTab.prototype.set requestCookies):
        (WebInspector.ResourceCookiesTab.prototype.set responseCookies):
        (WebInspector.ResourceCookiesTab.prototype._populateDataGrid):
        (WebInspector.ResourceCookiesTab.prototype._populateCookies):
        (WebInspector.ResourceCookiesTab.prototype._createFolder):
        * inspector/front-end/SourceView.js:
        (WebInspector.SourceView.prototype.resize):
        * inspector/front-end/inspector.css:
        (.resource-view .resource-view-cookies):
        (.resource-view.headers-visible .resource-view-cookies):
        (.resource-view-cookies.table .data-grid):
        (.resource-view-cookies .data-grid .row-group):

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

9 years agoSkip more tests that depend on accelerated compositing when accelerated compositing...
aroben@apple.com [Tue, 26 Oct 2010 16:15:10 +0000 (16:15 +0000)]
Skip more tests that depend on accelerated compositing when accelerated compositing is disabled

Fixes <http://webkit.org/b/48329> Some tests fail when accelerated
compositing is disabled

Reviewed by John Sullivan.

* Scripts/old-run-webkit-tests: Added more tests to skip when
accelerated compositing is disable. The tests all have output that
changes depending on whether accelerated compositing is enabled.

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

9 years ago2010-10-26 Sheriff Bot <webkit.review.bot@gmail.com>
jorlow@chromium.org [Tue, 26 Oct 2010 15:59:05 +0000 (15:59 +0000)]
2010-10-26  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r70518.
        http://trac.webkit.org/changeset/70518
        https://bugs.webkit.org/show_bug.cgi?id=48332

        Breaks inspector tests. (Requested by pfeldman on #webkit).

        * http/tests/inspector/inspector-test2.js:
        (initialize_InspectorTest.InspectorTest.completeTest):
        (initialize_InspectorTest.InspectorTest.evaluateInConsole):
        (initialize_InspectorTest.InspectorTest.evaluateInPage):
        (initialize_InspectorTest.InspectorTest.evaluateInPageWithTimeout):
        (initialize_InspectorTest.InspectorTest.addResult):
        (initialize_InspectorTest.InspectorTest.addObject):
        (initialize_InspectorTest.InspectorTest.reloadPage):
        (initialize_InspectorTest.InspectorTest.pageReloaded):
        (initialize_InspectorTest.InspectorTest.runAfterPendingDispatches):
        (initialize_InspectorTest.InspectorTest.enableResourceTracking):
        (initialize_InspectorTest.InspectorTest.disableResourceTracking):
        (initialize_InspectorTest.InspectorTest.findDOMNode):
        (initialize_InspectorTest.InspectorTest._addSniffer):
        * http/tests/inspector/resource-parameters.html:
        * inspector/audits-panel-functional.html:
        * inspector/styles-source-offsets.html:
2010-10-26  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r70518.
        http://trac.webkit.org/changeset/70518
        https://bugs.webkit.org/show_bug.cgi?id=48332

        Breaks inspector tests. (Requested by pfeldman on #webkit).

        * inspector/front-end/AuditLauncherView.js:
        (WebInspector.AuditLauncherView.prototype._createLauncherUI):
        * inspector/front-end/AuditsPanel.js:
        * inspector/front-end/ConsoleView.js:
        (WebInspector.ConsoleView.prototype.addMessage):
        * inspector/front-end/CookieItemsView.js:
        (WebInspector.CookieItemsView.prototype._filterCookiesForDomain):
        * inspector/front-end/ExtensionServer.js:
        (WebInspector.ExtensionServer.prototype._onRevealAndSelectResource):
        (WebInspector.ExtensionServer.prototype._onGetResources):
        (WebInspector.ExtensionServer.prototype._onGetResourceContent):
        * inspector/front-end/HAREntry.js:
        (WebInspector.HARLog.prototype.build):
        (WebInspector.HARLog.prototype.buildMainResourceTimings):
        (WebInspector.HARLog.prototype._convertResource):
        * inspector/front-end/NetworkPanel.js:
        (WebInspector.NetworkPanel):
        (WebInspector.NetworkPanel.prototype._reset):
        (WebInspector.NetworkPanel.prototype.addResource):
        * inspector/front-end/Resource.js:
        (WebInspector.Resource.prototype.set category):
        * inspector/front-end/ResourceCategory.js:
        (WebInspector.ResourceCategory):
        (WebInspector.ResourceCategory.prototype.toString):
        (WebInspector.ResourceCategory.prototype.addResource):
        (WebInspector.ResourceCategory.prototype.removeResource):
        (WebInspector.ResourceCategory.prototype.removeAllResources):
        * inspector/front-end/ResourceManager.js:
        (WebInspector.ResourceManager.prototype.identifierForInitialRequest):
        (WebInspector.ResourceManager.prototype.willSendRequest):
        (WebInspector.ResourceManager.prototype.didFinishLoading):
        (WebInspector.ResourceManager.prototype.didFailLoading):
        (WebInspector.ResourceManager.prototype.didLoadResourceFromMemoryCache):
        (WebInspector.ResourceManager.prototype.setOverrideContent):
        (WebInspector.ResourceTreeModel.prototype._callForFrameResources):
        * inspector/front-end/ResourcesPanel.js:
        (WebInspector.ResourcesPanel):
        (WebInspector.ResourcesPanel.prototype.reset):
        (WebInspector.ResourcesPanel.prototype.addResource):
        (WebInspector.ResourcesPanel.prototype.removeResource):
        (WebInspector.ResourcesPanel.prototype._toggleResourceTracking):
        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel.prototype.addScript):
        (WebInspector.ScriptsPanel.prototype._resourceLoadingFinished):
        (WebInspector.ScriptsPanel.prototype._breakpointAdded):
        * inspector/front-end/StylesSidebarPane.js:
        (WebInspector.StylePropertyTreeElement.prototype.updateTitle.linkifyURL):
        * inspector/front-end/inspector.js:
        (WebInspector._updateFocusedNode):
        (WebInspector.updateResource):
        (WebInspector.domContentEventFired):
        (WebInspector.loadEventFired):
        (WebInspector.removeResource):
        (WebInspector.reset):
        (WebInspector.displayNameForURL):
        (WebInspector.resourceForURL):
        (WebInspector.linkifyStringAsFragment):
        (WebInspector.resourceURLForRelatedNode):

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

9 years ago2010-10-26 Sheriff Bot <webkit.review.bot@gmail.com>
jorlow@chromium.org [Tue, 26 Oct 2010 15:50:14 +0000 (15:50 +0000)]
2010-10-26  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r70521.
        http://trac.webkit.org/changeset/70521
        https://bugs.webkit.org/show_bug.cgi?id=48334

        This patch depends on another not yet committed. (Requested by
        jorlow on #webkit).

        * storage/indexeddb/tutorial-expected.txt: Removed.
        * storage/indexeddb/tutorial.html: Removed.

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

9 years ago2010-10-26 Satish Sampath <satish@chromium.org>
satish@chromium.org [Tue, 26 Oct 2010 15:47:29 +0000 (15:47 +0000)]
2010-10-26  Satish Sampath  <satish@chromium.org>

        Reviewed by Steve Block.

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

        * public/WebSpeechInputListener.h:

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

9 years ago2010-10-26 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Tue, 26 Oct 2010 15:21:32 +0000 (15:21 +0000)]
2010-10-26  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Steve Block.

        Quota for IndexedDB should be per origin not per database
        https://bugs.webkit.org/show_bug.cgi?id=48064

        Verify our backing database can handle multiple indexes, objectStores,
        items in the index/object stores, etc within databases of different
        names.

        Also adjust the quota test so it doesn't fail with subtle differences
        in the backing db (which can change the size a bit).

        * storage/indexeddb/database-quota-expected.txt:
        * storage/indexeddb/database-quota.html:
        * storage/indexeddb/duplicates-expected.txt: Added.
        * storage/indexeddb/duplicates.html: Added.
2010-10-26  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Steve Block.

        Quota for IndexedDB should be per origin not per database
        https://bugs.webkit.org/show_bug.cgi?id=48064

        Merge all databases for each origin into a single SQLiteDatabase.

        Replace the awkward metaData table with a Database table.

        Create a new IDBSQLiteDatabase class that wraps SQLiteDatabase
        and implements weak pointer semantics for IDBFactory. It's ref
        counted so multiple IDBDatabaseBackendImpls can share one.

        Fix uniqueness constraints that were overly conservitive.

        Get rid of the code that blows away existing data every time
        the database is opened.

        Get rid of the fairly useless indexedDB manual test and replace
        it with one that verifies data persists.

        Use name+origin (not just name) in our cache of IDBDatabaseBackend
        objects (so one origin can't access anothers' data).

        Test: storage/indexeddb/duplicates.html

        * WebCore.gypi:
        * manual-tests/indexed-database.html: Removed.
        * manual-tests/indexeddb-persists.html: Added.
        * storage/IDBDatabaseBackendImpl.cpp:
        (WebCore::extractMetaData):
        (WebCore::setMetaData):
        (WebCore::IDBDatabaseBackendImpl::IDBDatabaseBackendImpl):
        (WebCore::IDBDatabaseBackendImpl::setDescription):
        (WebCore::IDBDatabaseBackendImpl::sqliteDatabase):
        (WebCore::IDBDatabaseBackendImpl::createObjectStoreInternal):
        (WebCore::IDBDatabaseBackendImpl::setVersionInternal):
        (WebCore::IDBDatabaseBackendImpl::loadObjectStores):
        * storage/IDBDatabaseBackendImpl.h:
        (WebCore::IDBDatabaseBackendImpl::create):
        (WebCore::IDBDatabaseBackendImpl::id):
        * storage/IDBFactoryBackendImpl.cpp:
        (WebCore::IDBFactoryBackendImpl::removeSQLiteDatabase):
        (WebCore::openSQLiteDatabase):
        (WebCore::createTables):
        (WebCore::IDBFactoryBackendImpl::open):
        (WebCore::IDBFactoryBackendImpl::databaseFileName):
        * storage/IDBFactoryBackendImpl.h:
        * storage/IDBObjectStoreBackendImpl.cpp:
        (WebCore::putObjectStoreData):
        (WebCore::IDBObjectStoreBackendImpl::putInternal):
        * storage/IDBSQLiteDatabase.cpp: Added.
        (WebCore::IDBSQLiteDatabase::IDBSQLiteDatabase):
        (WebCore::IDBSQLiteDatabase::~IDBSQLiteDatabase):
        * storage/IDBSQLiteDatabase.h: Added.
        (WebCore::IDBSQLiteDatabase::create):
        (WebCore::IDBSQLiteDatabase::db):
2010-10-26  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Steve Block.

        Quota for IndexedDB should be per origin not per database
        https://bugs.webkit.org/show_bug.cgi?id=48064

        * public/WebIDBFactory.h:
        * public/WebSecurityOrigin.h:
        * src/WebIDBFactory.cpp:
        (WebKit::WebIDBFactory::databaseFileName):
        * src/WebSecurityOrigin.cpp:
        (WebKit::WebSecurityOrigin::get):

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

9 years ago2010-10-26 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Tue, 26 Oct 2010 15:19:12 +0000 (15:19 +0000)]
2010-10-26  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Steve Block.

        Add IndexedDB test/tutorial
        https://bugs.webkit.org/show_bug.cgi?id=48067

        This document is useful in terms of demonstrating IndexedDB and
        documenting what we do and don't support currently, since I'll be
        maintaining it for at least some time.

        * storage/indexeddb/tutorial-expected.txt: Added.
        * storage/indexeddb/tutorial.html: Added.

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

9 years ago[Qt] Implement SharedMemory for WebKit2
zoltan@webkit.org [Tue, 26 Oct 2010 15:02:21 +0000 (15:02 +0000)]
[Qt] Implement SharedMemory for WebKit2
https://bugs.webkit.org/show_bug.cgi?id=47345

Reviewed by Kenneth Rohde Christiansen.

Implement unimplemented functions in SharedMemoryQt.cpp.
Rename MappedMemory.h to MappedMemoryPool.h, move MappedMemoryPool.{h|cpp} from
Shared/qt to Platform/qt. Modify affected lines of WebKit2.pro.
Move MappedMemory implementation into MappedMemoryPool. Remove unnecessary
methods of MappedMemoryPool.

* Platform/SharedMemory.h: Add a handle member for Qt.
* Platform/qt/MappedMemoryPool.cpp: Copied from WebKit2/Shared/qt/MappedMemoryPool.cpp.
(WebKit::MappedMemoryPool::searchForMappedMemory):
(WebKit::MappedMemoryPool::mapMemory):
(WebKit::MappedMemoryPool::mapFile):
* Platform/qt/MappedMemoryPool.h: Copied from WebKit2/Shared/qt/MappedMemory.h.
(WebKit::MappedMemoryPool::MappedMemory::mapSize):
(WebKit::MappedMemoryPool::MappedMemory::markUsed):
(WebKit::MappedMemoryPool::MappedMemory::markFree):
(WebKit::MappedMemoryPool::MappedMemory::isFree):
(WebKit::MappedMemoryPool::MappedMemory::data):
(WebKit::MappedMemoryPool::MappedMemoryPool):
Move MappedMemory implementation into MappedMemoryPool.
* Platform/qt/SharedMemoryQt.cpp:
(WebKit::SharedMemory::Handle::Handle): Implement.
(WebKit::SharedMemory::Handle::~Handle):
(WebKit::SharedMemory::Handle::isNull): Implement.
(WebKit::SharedMemory::Handle::encode): Implement.
(WebKit::SharedMemory::Handle::decode): Implement.
(WebKit::SharedMemory::create): Implement.
(WebKit::mapProtection): Added.
(WebKit::SharedMemory::~SharedMemory): Implement.
(WebKit::SharedMemory::createHandle): Implement.
(WebKit::SharedMemory::systemPageSize): Implement.
* Shared/qt/MappedMemory.h: Removed.
* Shared/qt/MappedMemoryPool.cpp: Removed.
* Shared/qt/UpdateChunk.cpp:
(WebKit::UpdateChunk::UpdateChunk):
(WebKit::UpdateChunk::decode):
Modify to use MappedMemoryPool.
* Shared/qt/UpdateChunk.h:
* WebKit2.pro:
Modify affected lines.

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

9 years ago2010-10-20 Andrey Kosyakov <caseq@chromium.org>
caseq@chromium.org [Tue, 26 Oct 2010 14:18:57 +0000 (14:18 +0000)]
2010-10-20  Andrey Kosyakov  <caseq@chromium.org>

        Reviewed by Yury Semikhatsky.

        Inspector needs to use cached resources to display image resources.
        https://bugs.webkit.org/show_bug.cgi?id=16395

        * inspector/Inspector.idl: Add base64Encode parameter to getContent
        * inspector/InspectorResourceAgent.cpp:
        (WebCore::InspectorResourceAgent::resourceContent):
        * inspector/InspectorResourceAgent.h:
        * inspector/front-end/ExtensionServer.js:
        (WebInspector.ExtensionServer.prototype._onGetResourceContent):
        * inspector/front-end/ImageView.js:
        (WebInspector.ImageView.prototype.contentTabSelected.onResourceContent):
        (WebInspector.ImageView.prototype.contentTabSelected):
        * inspector/front-end/NetworkPanel.js:
        (WebInspector.NetworkDataGridNode.prototype._refreshNameCell.):
        (WebInspector.NetworkDataGridNode.prototype._refreshNameCell):
        * inspector/front-end/Resource.js:
        (WebInspector.Resource):
        (WebInspector.Resource.prototype.set finished):
        (WebInspector.Resource.prototype.getContent):
        (WebInspector.Resource.prototype.get contentURL):
        (WebInspector.Resource.prototype._requestContent.onResourceContent):
        (WebInspector.Resource.prototype._requestContent):
        * inspector/front-end/ResourcesPanel.js:
        (WebInspector.ResourceSidebarTreeElement.prototype.createIconElement.):
        (WebInspector.ResourceSidebarTreeElement.prototype.createIconElement):
        * inspector/front-end/Settings.js: Added useDataURLForResourceImageIcons
        * inspector/front-end/SourceView.js:
        (WebInspector.SourceView.prototype.setupSourceFrameIfNeeded):

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

9 years ago2010-10-26 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Tue, 26 Oct 2010 13:52:40 +0000 (13:52 +0000)]
2010-10-26  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Timothy Hatcher.

        Web Inspector: continue making resources panel optional.
        https://bugs.webkit.org/show_bug.cgi?id=48261

        This refactoring makes console, audits and extensions tests pass while taking data from
        resources panel. Network panel as a source is to follow.

        * http/tests/inspector/inspector-test2.js:
        (initialize_InspectorTest.InspectorTest.completeTest):
        (initialize_InspectorTest.InspectorTest.evaluateInConsole):
        (initialize_InspectorTest.InspectorTest.evaluateInPage):
        (initialize_InspectorTest.InspectorTest.evaluateInPageWithTimeout):
        (initialize_InspectorTest.InspectorTest.addResult):
        (initialize_InspectorTest.InspectorTest.addObject):
        (initialize_InspectorTest.InspectorTest.reloadPage):
        (initialize_InspectorTest.InspectorTest.reloadPageIfNeeded):
        (initialize_InspectorTest.InspectorTest.pageReloaded):
        (initialize_InspectorTest.InspectorTest.runAfterPendingDispatches):
        (initialize_InspectorTest.InspectorTest.enableResourceTracking):
        (initialize_InspectorTest.InspectorTest.disableResourceTracking):
        (initialize_InspectorTest.InspectorTest.findDOMNode):
        (initialize_InspectorTest.InspectorTest._addSniffer):
        * http/tests/inspector/resource-parameters.html:
        * inspector/audits-panel-functional.html:
        * inspector/styles-source-offsets.html:

2010-10-26  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Timothy Hatcher.

        Web Inspector: continue making resources panel optional.
        https://bugs.webkit.org/show_bug.cgi?id=48261

        This refactoring makes console, audits and extensions tests pass while taking data from
        resources panel. Network panel as a source is to follow.

        * http/tests/inspector/inspector-test2.js:
        (initialize_InspectorTest.InspectorTest.completeTest):
        (initialize_InspectorTest.InspectorTest.evaluateInConsole):
        (initialize_InspectorTest.InspectorTest.evaluateInPage):
        (initialize_InspectorTest.InspectorTest.evaluateInPageWithTimeout):
        (initialize_InspectorTest.InspectorTest.addResult):
        (initialize_InspectorTest.InspectorTest.addObject):
        (initialize_InspectorTest.InspectorTest.reloadPage):
        (initialize_InspectorTest.InspectorTest.reloadPageIfNeeded):
        (initialize_InspectorTest.InspectorTest.pageReloaded):
        (initialize_InspectorTest.InspectorTest.runAfterPendingDispatches):
        (initialize_InspectorTest.InspectorTest.enableResourceTracking):
        (initialize_InspectorTest.InspectorTest.disableResourceTracking):
        (initialize_InspectorTest.InspectorTest.findDOMNode):
        (initialize_InspectorTest.InspectorTest._addSniffer):
        * http/tests/inspector/resource-parameters.html:
        * inspector/audits-panel-functional.html:
        * inspector/styles-source-offsets.html:

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

9 years ago2010-10-26 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Tue, 26 Oct 2010 13:29:04 +0000 (13:29 +0000)]
2010-10-26  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Adam Barth.

        Protect the frame from being blown away in loadWithDocumentLoader function call.
        dispatchBeforeLoadEvent can cause the frame to be freed, which gets later used in
        continueLoadAfterNavigationPolicy call.
        https://bugs.webkit.org/show_bug.cgi?id=48281

        Test: fast/events/form-iframe-target-before-load-crash.html

        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::loadWithDocumentLoader):
2010-10-26  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Adam Barth.

        Tests that submit the form on a removed target iframe does not result in crash.
        https://bugs.webkit.org/show_bug.cgi?id=48281

        * fast/events/form-iframe-target-before-load-crash-expected.txt: Added.
        * fast/events/form-iframe-target-before-load-crash.html: Added.

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

9 years ago2010-10-26 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Tue, 26 Oct 2010 11:37:10 +0000 (11:37 +0000)]
2010-10-26  Xan Lopez  <xlopez@igalia.com>

        Restore another mix-up in copy&paste error. Use height for the
        vertical adjustments instead of width.

        * platform/gtk/ScrollViewGtk.cpp:
        (WebCore::ScrollView::setVerticalAdjustment):

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

9 years ago2010-10-26 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Tue, 26 Oct 2010 10:53:22 +0000 (10:53 +0000)]
2010-10-26  Xan Lopez  <xlopez@igalia.com>

        Restore early return accidentally removed in previous
        patch. Should make API tests pass again.

        * platform/gtk/ScrollViewGtk.cpp:
        (WebCore::ScrollView::setHorizontalAdjustment):
        (WebCore::ScrollView::setVerticalAdjustment):

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

9 years agoWebCore:
xan@webkit.org [Tue, 26 Oct 2010 08:37:32 +0000 (08:37 +0000)]
WebCore:

2010-10-26  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Port to new GtkScrollable interface in GTK+ 3.x
        https://bugs.webkit.org/show_bug.cgi?id=48202

        The new GtkScrollable API sets the adjustments individually, so
        adjust the code for this fact.

        * platform/ScrollView.h:
        * platform/gtk/ScrollViewGtk.cpp:
        (WebCore::ScrollView::setHorizontalAdjustment): new method to set the horizontal adjustment.
        (WebCore::ScrollView::setVerticalAdjustment): new method to set the vertical adjustment.
        (WebCore::ScrollView::setGtkAdjustments): make this just call the other two methods.

WebKit/gtk:

2010-10-26  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Port to new GtkScrollable interface in GTK+ 3.x
        https://bugs.webkit.org/show_bug.cgi?id=48202

        Use the new GtkScrollable interface when compiling against GTK+
        3.x.

        * webkit/webkitwebview.cpp:
        (setHorizontalAdjustment):
        (setVerticalAdjustment):
        (getHorizontalAdjustment):
        (getVerticalAdjustment):
        (webkit_web_view_get_property):
        (webkit_web_view_set_property):
        (webkit_web_view_class_init):

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

9 years ago2010-10-26 Sheriff Bot <webkit.review.bot@gmail.com>
morrita@google.com [Tue, 26 Oct 2010 08:27:23 +0000 (08:27 +0000)]
2010-10-26  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r70512.
        http://trac.webkit.org/changeset/70512
        https://bugs.webkit.org/show_bug.cgi?id=48314

        crashes many tests (Requested by inferno-sec on #webkit).

        * editing/spelling/spellcheck-attribute-expected.txt:
        * editing/spelling/spellcheck-attribute.html:
2010-10-26  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r70512.
        http://trac.webkit.org/changeset/70512
        https://bugs.webkit.org/show_bug.cgi?id=48314

        crashes many tests (Requested by inferno-sec on #webkit).

        * dom/Element.cpp:
        * dom/Element.h:
        * editing/Editor.cpp:
        (WebCore::markMisspellingsOrBadGrammar):
        (WebCore::Editor::spellCheckingEnabledInFocusedNode):
        (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
        * editing/Editor.h:
        * platform/ContextMenu.cpp:
        (WebCore::ContextMenu::populate):
2010-10-26  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r70512.
        http://trac.webkit.org/changeset/70512
        https://bugs.webkit.org/show_bug.cgi?id=48314

        crashes many tests (Requested by inferno-sec on #webkit).

        * src/ContextMenuClientImpl.cpp:
        (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
        * src/EditorClientImpl.cpp:
        (WebKit::EditorClientImpl::shouldSpellcheckByDefault):

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

9 years ago2010-10-22 MORITA Hajime <morrita@google.com>
morrita@google.com [Tue, 26 Oct 2010 04:45:34 +0000 (04:45 +0000)]
2010-10-22  MORITA Hajime <morrita@google.com>

        Reviewed by Tony Chang.

        spellcheck='' should be the same as spellcheck="true"
        https://bugs.webkit.org/show_bug.cgi?id=25539

        * editing/spelling/spellcheck-attribute-expected.txt:
        * editing/spelling/spellcheck-attribute.html:
2010-10-24  MORITA Hajime  <morrita@google.com>

        Reviewed by Tony Chang.

        spellcheck='' should be the same as spellcheck="true"
        https://bugs.webkit.org/show_bug.cgi?id=25539

        - Added a check for empty string and missing attribute.
        - Extracted the check to Element::spellCheckingEnabled()
        - Introduced SpellcheckAttributeState enum to represent the
          states for spellcheck attributes.

        * dom/Element.cpp:
        (WebCore::Element::spellcheckAttributeState): Added.
        (WebCore::Element::isSpellCheckingEnabled): Added.
        * dom/Element.h:
        * editing/Editor.cpp:
        (WebCore::markMisspellingsOrBadGrammar):
        (WebCore::Editor::isSpellCheckingEnabledInFocusedNode): Renamed, partly extracted to Element::isSpellCheckingEnabled()
        (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
        * editing/Editor.h:
        * platform/ContextMenu.cpp:
        (WebCore::ContextMenu::populate):
2010-10-25  MORITA Hajime  <morrita@google.com>

        Reviewed by Tony Chang.

        spellcheck='' should be the same as spellcheck="true"
        https://bugs.webkit.org/show_bug.cgi?id=25539

        Followed API rename in WebCore.

        * src/ContextMenuClientImpl.cpp:
        (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
        * src/EditorClientImpl.cpp:
        (WebKit::EditorClientImpl::shouldSpellcheckByDefault):

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

9 years ago2010-10-25 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Tue, 26 Oct 2010 02:27:22 +0000 (02:27 +0000)]
2010-10-25  Kent Tamura  <tkent@chromium.org>

        Reviewed by Darin Adler.

        Refactor HTMLInputElement: Move createRender(), appendFormData(),
        saveFormControlState() and restoreFormControlState() to InputTypes.
        https://bugs.webkit.org/show_bug.cgi?id=47834

        This change adds BaseButtonInputType and BaseCheckableInputType. They
        are super classes of some concrete InputType classes.

        No new tests. Just a code refactoring.

        * CMakeLists.txt: Add BaseButtonInputType and BaseCheckableInputType files.
        * GNUmakefile.am: ditto.
        * WebCore.gypi: ditto.
        * WebCore.pro: ditto.
        * WebCore.vcproj/WebCore.vcproj: ditto.
        * WebCore.xcodeproj/project.pbxproj: ditto.
        * html/BaseButtonInputType.cpp: Added.
        (WebCore::BaseButtonInputType::appendFormData):
        (WebCore::BaseButtonInputType::createRenderer):
        * html/BaseButtonInputType.h: Added.
        (WebCore::BaseButtonInputType::BaseButtonInputType):
        * html/BaseCheckableInputType.cpp: Added.
        (WebCore::BaseCheckableInputType::saveFormControlState):
        (WebCore::BaseCheckableInputType::restoreFormControlState):
        (WebCore::BaseCheckableInputType::appendFormData):
        * html/BaseCheckableInputType.h: Added.
        (WebCore::BaseCheckableInputType::BaseCheckableInputType):
        * html/ButtonInputType.h: Change the super class.
        (WebCore::ButtonInputType::ButtonInputType):
        * html/CheckboxInputType.h: Change the super class.
        (WebCore::CheckboxInputType::CheckboxInputType):
        * html/FileInputType.cpp:
        (WebCore::FileInputType::appendFormData):
        (WebCore::FileInputType::createRenderer):
        * html/FileInputType.h: Change the super class.
        (WebCore::FileInputType::FileInputType):
        * html/HTMLFormControlElement.h:
          Make placeholderShouldBeVisible() public for access from TextFieldInputType.
        * html/HTMLInputElement.cpp:
        (WebCore::HTMLInputElement::saveFormControlState):
        (WebCore::HTMLInputElement::restoreFormControlState):
        (WebCore::HTMLInputElement::createRenderer):
        (WebCore::HTMLInputElement::appendFormData):
        * html/HTMLInputElement.h:
          Add the following functions for ImageInputType and SubmitInputType.
        (WebCore::HTMLInputElement::xPosition):
        (WebCore::HTMLInputElement::yPosition):
        * html/HiddenInputType.cpp:
        (WebCore::HiddenInputType::createRenderer):
        * html/HiddenInputType.h:
        * html/ImageInputType.cpp:
        (WebCore::ImageInputType::isFormDataAppendable):
        (WebCore::ImageInputType::appendFormData):
        (WebCore::ImageInputType::createRenderer):
        * html/ImageInputType.h: Change the super class.
        (WebCore::ImageInputType::ImageInputType):
        * html/InputType.cpp:
        (WebCore::InputType::saveFormControlState):
        (WebCore::InputType::restoreFormControlState):
        (WebCore::InputType::isFormDataAppendable):
        (WebCore::InputType::appendFormData):
        (WebCore::InputType::createRenderer):
        * html/InputType.h:
        * html/PasswordInputType.cpp:
        (WebCore::PasswordInputType::saveFormControlState):
        (WebCore::PasswordInputType::restoreFormControlState):
        * html/PasswordInputType.h:
        * html/RadioInputType.h: Change the super class.
        (WebCore::RadioInputType::RadioInputType):
        * html/RangeInputType.cpp:
        (WebCore::RangeInputType::createRenderer):
        * html/RangeInputType.h:
        * html/ResetInputType.h:
        (WebCore::ResetInputType::ResetInputType):
        * html/SubmitInputType.cpp:
        (WebCore::SubmitInputType::appendFormData):
        * html/SubmitInputType.h: Change the super class.
        (WebCore::SubmitInputType::SubmitInputType):
        * html/TextFieldInputType.cpp:
        (WebCore::TextFieldInputType::createRenderer):
        * html/TextFieldInputType.h:

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

9 years agoWebKit2 callbacks for findString() and countMatchesForString() should report whether...
andersca@apple.com [Tue, 26 Oct 2010 01:51:53 +0000 (01:51 +0000)]
WebKit2 callbacks for findString() and countMatchesForString() should report whether the match count was exceeded
https://bugs.webkit.org/show_bug.cgi?id=48285
<rdar://problem/8576318>

Reviewed by Sam Weinig.

* UIProcess/API/C/WKPage.h:
Add a kWKMoreThanMaximumMatchCount constant.

* WebProcess/WebPage/FindController.cpp:
(WebKit::FindController::findString):
If we get back more matches than allowed, send kWKMoreThanMaximumMatchCount as the match constant.

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

9 years ago2010-10-25 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Tue, 26 Oct 2010 01:06:30 +0000 (01:06 +0000)]
2010-10-25  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dan Bernstein.

        Fix scrolling of noncomposited iframes within composited document
        https://bugs.webkit.org/show_bug.cgi?id=47391

        When an iframe that is painting into a compositing layer is scrolled,
        we need to repaint via the RenderObject (which dirties the compositing layer contents),
        rather than going out to hostWindow.

        Test: compositing/iframes/composited-iframe-scroll.html

        * page/FrameView.cpp:
        (WebCore::FrameView::scrollContentsSlowPath):
        * page/FrameView.h:
        * platform/ScrollView.cpp:
        (WebCore::ScrollView::scrollContents):
        (WebCore::ScrollView::scrollContentsSlowPath):
        * platform/ScrollView.h:

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

9 years ago2010-10-25 Kenneth Russell <kbr@google.com>
kbr@google.com [Tue, 26 Oct 2010 00:10:09 +0000 (00:10 +0000)]
2010-10-25  Kenneth Russell  <kbr@google.com>

        Unreviewed, test expectations update. Mark WebGL layout test
        glsl-conformance.html as also failing after Mesa 7.9 upgrade.

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-10-25 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Tue, 26 Oct 2010 00:07:00 +0000 (00:07 +0000)]
2010-10-25  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Tony Chang.

        execCommand('removeFormat') adds extra styles inside tables
        https://bugs.webkit.org/show_bug.cgi?id=29164

        Added a test to ensure RemoveFormat command does not add erroneous style attribute
        when removing styles inside a table cell.

        * editing/execCommand/remove-format-in-table-cell-expected.txt: Added.
        * editing/execCommand/remove-format-in-table-cell.html: Added.

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

9 years agoNon-Carbon build fix.
mitz@apple.com [Mon, 25 Oct 2010 23:52:28 +0000 (23:52 +0000)]
Non-Carbon build fix.

* WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
(WebKit::NetscapePlugin::windowFrameChanged):

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

9 years ago2010-10-25 Kenneth Russell <kbr@google.com>
kbr@google.com [Mon, 25 Oct 2010 23:47:02 +0000 (23:47 +0000)]
2010-10-25  Kenneth Russell  <kbr@google.com>

        Unreviewed, test expectations update. Temporarily WebGL layout
        tests gl-object-get-calls.html and uniform-location.html as
        failing per http://crbug.com/60651 after Mesa 7.9 upgrade until
        the failures can be investigated.

        * platform/chromium/test_expectations.txt:

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

9 years agoStub out WebInspector objects and WKInspectorRef API.
timothy@apple.com [Mon, 25 Oct 2010 23:43:32 +0000 (23:43 +0000)]
Stub out WebInspector objects and WKInspectorRef API.

https://webkit.org/b/48265

Reviewed by Anders Carlsson.

* Platform/CoreIPC/MessageID.h: Added MessageClassWebInspector and MessageClassWebInspectorProxy.
* Shared/API/c/WKBase.h: Added WKInspectorRef.
* Shared/APIObject.h: Added TypeInspector.
* UIProcess/API/C/WKAPICast.h: Added WKInspectorRef to WebInspectorProxy mapping.
* UIProcess/API/C/WKInspector.cpp: Added.
(WKInspectorGetTypeID):
(WKInspectorGetPage):
* UIProcess/API/C/WKInspector.h: Added.
* UIProcess/API/C/WKPage.cpp:
(WKPageGetInspector): Added.
* UIProcess/API/C/WKPage.h:
* UIProcess/WebInspectorProxy.cpp: Added.
(WebKit::WebInspectorProxy::WebInspectorProxy):
(WebKit::WebInspectorProxy::~WebInspectorProxy):
(WebKit::WebInspectorProxy::invalidate):
* UIProcess/WebInspectorProxy.h:
(WebKit::WebInspectorProxy::create):
(WebKit::WebInspectorProxy::page):
(WebKit::WebInspectorProxy::type):
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::inspector): Lazily create the WebInspectorProxy.
* UIProcess/WebPageProxy.h:
* WebKit2.pro: Added new files.
* WebKit2.xcodeproj/project.pbxproj: Added new files.
* WebProcess/WebPage/WebInspector.cpp: Added.
(WebKit::WebInspector::WebInspector):
* WebProcess/WebPage/WebInspector.h: Added.
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::inspector): Lazily create the WebInspector.
* WebProcess/WebPage/WebPage.h:
* win/WebKit2.vcproj: Added new files.

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

9 years ago2010-10-25 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Mon, 25 Oct 2010 23:32:12 +0000 (23:32 +0000)]
2010-10-25  Ryosuke Niwa  <rniwa@webkit.org>

        Unreviewed Qt build fix for r70496.

        * bridge/qt/qt_instance.cpp:
        (JSC::Bindings::QtInstance::numberValue):
        * bridge/qt/qt_pixmapruntime.cpp:
        (JSC::Bindings::QtPixmapWidthField::valueFromInstance):
        (JSC::Bindings::QtPixmapHeightField::valueFromInstance):
        * bridge/qt/qt_runtime.cpp:
        (JSC::Bindings::convertValueToQVariant):
        (JSC::Bindings::convertQVariantToValue):
        (JSC::Bindings::QtRuntimeMetaMethod::lengthGetter):
        (JSC::Bindings::QtRuntimeConnectionMethod::lengthGetter):

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

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

        Reviewed by Adam Barth.

        webkit-patch should clean up svn locks when passed --force-clean
        https://bugs.webkit.org/show_bug.cgi?id=48269

        * Scripts/webkitpy/common/checkout/scm.py:

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

9 years agoUpdate WebKit2 skipped list.
weinig@apple.com [Mon, 25 Oct 2010 23:22:24 +0000 (23:22 +0000)]
Update WebKit2 skipped list.

Rubber-stamped by Anders Carlsson.

* platform/mac-wk2/Skipped:

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

9 years ago2010-10-25 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Mon, 25 Oct 2010 23:03:26 +0000 (23:03 +0000)]
2010-10-25  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Tony Chang.

        execCommand removeFormat is blowing away text outside the selection
        https://bugs.webkit.org/show_bug.cgi?id=21843

        Added a test to ensure executing RemoveFormant command on an orphaned list item
        does not remove non-orphaned list items preceding the orphaned item.

        * editing/execCommand/remove-format-orphaned-list-item-expected.txt: Added.
        * editing/execCommand/remove-format-orphaned-list-item.html: Added.

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

9 years agoUpdate the fake Carbon window when the window frame changes
andersca@apple.com [Mon, 25 Oct 2010 22:59:14 +0000 (22:59 +0000)]
Update the fake Carbon window when the window frame changes
https://bugs.webkit.org/show_bug.cgi?id=48273

Reviewed by Dan Bernstein.

* UIProcess/API/mac/WKView.mm:
(screenForWindow):
(-[WKView _updateWindowFrame]):
Pass the window frame in Carbon coordinates.

* WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
(WebKit::NetscapePlugin::windowFrameChanged):
Update the window bounds.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::setWindowFrame):
Call the plug-in.

(WebKit::PluginView::platformLayer):
Fix a crash when WebCore asked for the layer before it was initialized.

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