[Qt] fast/borders rebaseline after new test fonts
https://bugs.webkit.org/show_bug.cgi?id=92146

Patch by Luciano Wolf <luciano.wolf@openbossa.org> on 2012-07-25
Reviewed by Csaba Osztrogonác.

Updated patch started by Alexis. This one removes old expected results
found inside qt-5.0 directory and updates Skipped files as well.

* platform/qt-5.0/Skipped:
* platform/qt-5.0/fast/borders/bidi-002-expected.txt: Removed.
* platform/qt-5.0/fast/borders/bidi-009a-expected.txt: Removed.
* platform/qt-5.0/fast/borders/bidi-012-expected.txt: Removed.
* platform/qt/fast/borders/border-image-slice-constrained-expected.txt:
* platform/qt/fast/borders/borderRadiusArcs01-expected.txt:
* platform/qt/fast/borders/borderRadiusDouble01-expected.txt:
* platform/qt/fast/borders/borderRadiusDouble02-expected.txt:
* platform/qt/fast/borders/borderRadiusDouble03-expected.txt:
* platform/qt/fast/borders/borderRadiusGroove01-expected.txt:
* platform/qt/fast/borders/borderRadiusGroove02-expected.txt:
* platform/qt/fast/borders/borderRadiusInset01-expected.txt:
* platform/qt/fast/borders/borderRadiusOutset01-expected.txt:
* platform/qt/fast/borders/borderRadiusRidge01-expected.txt:
* platform/qt/fast/borders/borderRadiusSolid01-expected.txt:
* platform/qt/fast/borders/borderRadiusSolid02-expected.txt:
* platform/qt/fast/borders/borderRadiusSolid03-expected.txt:
* platform/qt/fast/borders/borderRadiusSolid04-expected.txt:
* platform/qt/fast/borders/table-borders-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123657 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Crash when calling PluginView::pluginFocusOrWindowFocusChanged when the web page is null
https://bugs.webkit.org/show_bug.cgi?id=92289
<rdar://problem/11785352>

Reviewed by Andreas Kling.

Plug-in views that outlive their containing web page for various reasons (such as being protected from
destruction) need to null check the web page.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::pluginFocusOrWindowFocusChanged):
(WebKit::PluginView::setComplexTextInputState):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123658 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed chromium expectations change.

* platform/chromium/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123659 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] Update about:config lists
https://bugs.webkit.org/show_bug.cgi?id=92118

Patch by Joshua Netterfield <jnetterfield@rim.com> on 2012-07-25
Reviewed by Rob Buis.

Remove features from list that have either been removed from WebKit
or that have been moved from one list to another.

* WebCoreSupport/AboutDataEnableFeatures.in:
* WebCoreSupport/AboutDataHaveFeatures.in:
* WebCoreSupport/AboutDataUseFeatures.in:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123660 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] don't use webkit_support methods directly from test runners but through the test delegate
https://bugs.webkit.org/show_bug.cgi?id=92256

Reviewed by Adam Barth.

This will allow for the content_shell to provide its own implementation
for setting the Gamepad data instead.

* DumpRenderTree/chromium/TestRunner/GamepadController.cpp:
(GamepadController::setDelegate):
(GamepadController::reset):
(GamepadController::connect):
(GamepadController::disconnect):
(GamepadController::setId):
(GamepadController::setButtonCount):
(GamepadController::setButtonData):
(GamepadController::setAxisCount):
(GamepadController::setAxisData):
* DumpRenderTree/chromium/TestRunner/GamepadController.h:
(GamepadController):
* DumpRenderTree/chromium/TestRunner/TestDelegate.h:
(WebKit):
(TestDelegate):
* DumpRenderTree/chromium/TestRunner/TestInterfaces.cpp:
(TestInterfaces::Internal):
(TestInterfaces::Internal::~Internal):
(TestInterfaces::Internal::setDelegate):
(TestInterfaces::setDelegate):
* DumpRenderTree/chromium/TestRunner/TestInterfaces.h:
(TestInterfaces):
* DumpRenderTree/chromium/TestShell.cpp:
(TestShell::createMainWindow):
(TestShell::~TestShell):
* DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::setGamepadData):
* DumpRenderTree/chromium/WebViewHost.h:
(WebViewHost):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123661 268f45cc-cd09-0410-ab3c-d52691b4dbfc
It is invalid when both numberOfInputChannels and numberOfOutputChannels to be zero in JavaScriptAudioNode.
https://bugs.webkit.org/show_bug.cgi?id=91364

Patch by Li Yin <li.yin@intel.com> on 2012-07-25
Reviewed by Kenneth Russell.

Source/WebCore:

Spec: http://www.w3.org/TR/webaudio/#JavaScriptAudioNode-section
It is invalid for both numberOfInputChannels and numberOfOutputChannels to be zero.

Test: webaudio/javascriptaudionode.html

* Modules/webaudio/JavaScriptAudioNode.cpp:
(WebCore::JavaScriptAudioNode::create):

LayoutTests:

Add tests for (numberOfInputChannels, numberOfOutputChannels) to be (0, 0),(0, 1),(0, 2),(1, 0) and (2, 0).

* webaudio/javascriptaudionode-expected.txt:
* webaudio/javascriptaudionode.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123662 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] fast/block/margin-collapse tests need update after rebaseline and new testfonts
https://bugs.webkit.org/show_bug.cgi?id=92274

Patch by Luciano Wolf <luciano.wolf@openbossa.org> on 2012-07-25
Reviewed by Alexis Menard.

* platform/qt-5.0/Skipped:
* platform/qt/fast/block/margin-collapse/001-expected.png:
* platform/qt/fast/block/margin-collapse/001-expected.txt:
* platform/qt/fast/block/margin-collapse/002-expected.png:
* platform/qt/fast/block/margin-collapse/002-expected.txt:
* platform/qt/fast/block/margin-collapse/003-expected.png:
* platform/qt/fast/block/margin-collapse/003-expected.txt:
* platform/qt/fast/block/margin-collapse/004-expected.png:
* platform/qt/fast/block/margin-collapse/004-expected.txt:
* platform/qt/fast/block/margin-collapse/005-expected.png:
* platform/qt/fast/block/margin-collapse/005-expected.txt:
* platform/qt/fast/block/margin-collapse/006-expected.png:
* platform/qt/fast/block/margin-collapse/006-expected.txt:
* platform/qt/fast/block/margin-collapse/010-expected.png:
* platform/qt/fast/block/margin-collapse/010-expected.txt:
* platform/qt/fast/block/margin-collapse/011-expected.png:
* platform/qt/fast/block/margin-collapse/011-expected.txt:
* platform/qt/fast/block/margin-collapse/012-expected.png:
* platform/qt/fast/block/margin-collapse/012-expected.txt:
* platform/qt/fast/block/margin-collapse/015-expected.png:
* platform/qt/fast/block/margin-collapse/015-expected.txt:
* platform/qt/fast/block/margin-collapse/016-expected.png:
* platform/qt/fast/block/margin-collapse/016-expected.txt:
* platform/qt/fast/block/margin-collapse/017-expected.png:
* platform/qt/fast/block/margin-collapse/017-expected.txt:
* platform/qt/fast/block/margin-collapse/018-expected.png:
* platform/qt/fast/block/margin-collapse/018-expected.txt:
* platform/qt/fast/block/margin-collapse/019-expected.png:
* platform/qt/fast/block/margin-collapse/019-expected.txt:
* platform/qt/fast/block/margin-collapse/020-expected.png:
* platform/qt/fast/block/margin-collapse/020-expected.txt:
* platform/qt/fast/block/margin-collapse/021-expected.png:
* platform/qt/fast/block/margin-collapse/021-expected.txt:
* platform/qt/fast/block/margin-collapse/022-expected.png:
* platform/qt/fast/block/margin-collapse/022-expected.txt:
* platform/qt/fast/block/margin-collapse/025-expected.png:
* platform/qt/fast/block/margin-collapse/025-expected.txt:
* platform/qt/fast/block/margin-collapse/026-expected.png:
* platform/qt/fast/block/margin-collapse/026-expected.txt:
* platform/qt/fast/block/margin-collapse/027-expected.png:
* platform/qt/fast/block/margin-collapse/027-expected.txt:
* platform/qt/fast/block/margin-collapse/028-expected.png:
* platform/qt/fast/block/margin-collapse/028-expected.txt:
* platform/qt/fast/block/margin-collapse/029-expected.png:
* platform/qt/fast/block/margin-collapse/029-expected.txt:
* platform/qt/fast/block/margin-collapse/030-expected.png:
* platform/qt/fast/block/margin-collapse/030-expected.txt:
* platform/qt/fast/block/margin-collapse/031-expected.png:
* platform/qt/fast/block/margin-collapse/031-expected.txt:
* platform/qt/fast/block/margin-collapse/032-expected.png:
* platform/qt/fast/block/margin-collapse/032-expected.txt:
* platform/qt/fast/block/margin-collapse/033-expected.png:
* platform/qt/fast/block/margin-collapse/033-expected.txt:
* platform/qt/fast/block/margin-collapse/034-expected.png:
* platform/qt/fast/block/margin-collapse/034-expected.txt:
* platform/qt/fast/block/margin-collapse/035-expected.png:
* platform/qt/fast/block/margin-collapse/035-expected.txt:
* platform/qt/fast/block/margin-collapse/037-expected.png:
* platform/qt/fast/block/margin-collapse/037-expected.txt:
* platform/qt/fast/block/margin-collapse/038-expected.png:
* platform/qt/fast/block/margin-collapse/038-expected.txt:
* platform/qt/fast/block/margin-collapse/039-expected.png:
* platform/qt/fast/block/margin-collapse/039-expected.txt:
* platform/qt/fast/block/margin-collapse/040-expected.png:
* platform/qt/fast/block/margin-collapse/040-expected.txt:
* platform/qt/fast/block/margin-collapse/041-expected.png:
* platform/qt/fast/block/margin-collapse/041-expected.txt:
* platform/qt/fast/block/margin-collapse/042-expected.png:
* platform/qt/fast/block/margin-collapse/042-expected.txt:
* platform/qt/fast/block/margin-collapse/043-expected.png:
* platform/qt/fast/block/margin-collapse/043-expected.txt:
* platform/qt/fast/block/margin-collapse/044-expected.png:
* platform/qt/fast/block/margin-collapse/044-expected.txt:
* platform/qt/fast/block/margin-collapse/045-expected.png:
* platform/qt/fast/block/margin-collapse/045-expected.txt:
* platform/qt/fast/block/margin-collapse/055-expected.png:
* platform/qt/fast/block/margin-collapse/055-expected.txt:
* platform/qt/fast/block/margin-collapse/056-expected.png:
* platform/qt/fast/block/margin-collapse/056-expected.txt:
* platform/qt/fast/block/margin-collapse/057-expected.png:
* platform/qt/fast/block/margin-collapse/057-expected.txt:
* platform/qt/fast/block/margin-collapse/058-expected.png:
* platform/qt/fast/block/margin-collapse/058-expected.txt:
* platform/qt/fast/block/margin-collapse/059-expected.png:
* platform/qt/fast/block/margin-collapse/059-expected.txt:
* platform/qt/fast/block/margin-collapse/062-expected.png:
* platform/qt/fast/block/margin-collapse/062-expected.txt:
* platform/qt/fast/block/margin-collapse/063-expected.png:
* platform/qt/fast/block/margin-collapse/063-expected.txt:
* platform/qt/fast/block/margin-collapse/100-expected.png:
* platform/qt/fast/block/margin-collapse/100-expected.txt:
* platform/qt/fast/block/margin-collapse/101-expected.png:
* platform/qt/fast/block/margin-collapse/101-expected.txt:
* platform/qt/fast/block/margin-collapse/102-expected.png:
* platform/qt/fast/block/margin-collapse/102-expected.txt:
* platform/qt/fast/block/margin-collapse/103-expected.png:
* platform/qt/fast/block/margin-collapse/103-expected.txt:
* platform/qt/fast/block/margin-collapse/104-expected.png:
* platform/qt/fast/block/margin-collapse/104-expected.txt:
* platform/qt/fast/block/margin-collapse/block-inside-inline/001-expected.png: Added.
* platform/qt/fast/block/margin-collapse/block-inside-inline/001-expected.txt:
* platform/qt/fast/block/margin-collapse/block-inside-inline/002-expected.png: Added.
* platform/qt/fast/block/margin-collapse/block-inside-inline/002-expected.txt:
* platform/qt/fast/block/margin-collapse/block-inside-inline/003-expected.png: Added.
* platform/qt/fast/block/margin-collapse/block-inside-inline/003-expected.txt:
* platform/qt/fast/block/margin-collapse/block-inside-inline/004-expected.png:
* platform/qt/fast/block/margin-collapse/block-inside-inline/004-expected.txt:
* platform/qt/fast/block/margin-collapse/block-inside-inline/005-expected.png:
* platform/qt/fast/block/margin-collapse/block-inside-inline/005-expected.txt:
* platform/qt/fast/block/margin-collapse/block-inside-inline/006-expected.png: Added.
* platform/qt/fast/block/margin-collapse/block-inside-inline/006-expected.txt:
* platform/qt/fast/block/margin-collapse/block-inside-inline/010-expected.png: Added.
* platform/qt/fast/block/margin-collapse/block-inside-inline/010-expected.txt:
* platform/qt/fast/block/margin-collapse/block-inside-inline/011-expected.png: Added.
* platform/qt/fast/block/margin-collapse/block-inside-inline/011-expected.txt:
* platform/qt/fast/block/margin-collapse/block-inside-inline/012-expected.png: Added.
* platform/qt/fast/block/margin-collapse/block-inside-inline/012-expected.txt:
* platform/qt/fast/block/margin-collapse/block-inside-inline/015-expected.png: Added.
* platform/qt/fast/block/margin-collapse/block-inside-inline/015-expected.txt:
* platform/qt/fast/block/margin-collapse/block-inside-inline/016-expected.png: Added.
* platform/qt/fast/block/margin-collapse/block-inside-inline/016-expected.txt:
* platform/qt/fast/block/margin-collapse/block-inside-inline/017-expected.png: Added.
* platform/qt/fast/block/margin-collapse/block-inside-inline/017-expected.txt:
* platform/qt/fast/block/margin-collapse/block-inside-inline/018-expected.png: Added.
* platform/qt/fast/block/margin-collapse/block-inside-inline/018-expected.txt:
* platform/qt/fast/block/margin-collapse/block-inside-inline/019-expected.png: Added.
* platform/qt/fast/block/margin-collapse/block-inside-inline/019-expected.txt:
* platform/qt/fast/block/margin-collapse/block-inside-inline/020-expected.png: Added.
* platform/qt/fast/block/margin-collapse/block-inside-inline/020-expected.txt:
* platform/qt/fast/block/margin-collapse/block-inside-inline/021-expected.png: Added.
* platform/qt/fast/block/margin-collapse/block-inside-inline/021-expected.txt:
* platform/qt/fast/block/margin-collapse/block-inside-inline/022-expected.png: Added.
* platform/qt/fast/block/margin-collapse/block-inside-inline/022-expected.txt:
* platform/qt/fast/block/margin-collapse/block-inside-inline/025-expected.png: Added.
* platform/qt/fast/block/margin-collapse/block-inside-inline/025-expected.txt:
* platform/qt/fast/block/margin-collapse/empty-clear-blocks-expected.png:
* platform/qt/fast/block/margin-collapse/empty-clear-blocks-expected.txt:
* platform/qt/fast/block/margin-collapse/negative-margins-expected.png:
* platform/qt/fast/block/margin-collapse/negative-margins-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123663 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Jochen is our a newest reviewer!

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


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123664 268f45cc-cd09-0410-ab3c-d52691b4dbfc
fix test in beginLayerClippedToImage to check for immutability if we're going to do a shallow-copy
https://bugs.webkit.org/show_bug.cgi?id=92276

Reviewed by Stephen White.

PlatformContextSkia::beginLayerClippedToImage

This function wants to apply the provided ImageBuffer as a clip. Skia does not support this natively yet,
so the code makes a "copy" of that imageBuffer, to be applied later. The old code, wanting to avoid a
deep copy if possible, checked for the presence of a SkPixelRef. If it found one, it made a shallow copy.
This is flawed, since the contents of a pixelref are not guaranteed to be immutable. The new code checks
against this attribute: if the bitmap is "immutable" then we can make a shallow-copy, else we make a
deep copy.

No new tests. Existing svg layouttests work w/ or w/out this change, but at the next Skia deps roll, we see
failures w/o this change. The change is more "correct", though the problem case does not exhibit itself until
Skia rev. 4722 or later lands.

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


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123665 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Move WebFilterOperations from RenderPassDrawQuad to RenderPass
https://bugs.webkit.org/show_bug.cgi?id=91885

Reviewed by Adrienne Walker.

Source/WebCore:

We move the filter operations to CCRenderPass to avoid having
variable-length data in a WebCompositorQuad in order to serialize,
and also to avoid requiring a virtual destructor for the quad
classes.

The drawFrame method now takes a CCRenderPassIdHashMap in order
to connect RenderPass quads to their source RenderPass.

Covered by existing tests.

* platform/graphics/chromium/LayerRendererChromium.cpp:
(WebCore::LayerRendererChromium::decideRenderPassAllocationsForFrame):
(WebCore::LayerRendererChromium::drawFrame):
(WebCore::LayerRendererChromium::beginDrawingFrame):
(WebCore::LayerRendererChromium::drawBackgroundFilters):
(WebCore::LayerRendererChromium::drawRenderPassQuad):
* platform/graphics/chromium/LayerRendererChromium.h:
(LayerRendererChromium):
* platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::calculateRenderPasses):
(WebCore::CCLayerTreeHostImpl::drawLayers):
* platform/graphics/chromium/cc/CCRenderPass.h:
(WebCore::CCRenderPass::filters):
(WebCore::CCRenderPass::setFilters):
(CCRenderPass):
(WebCore::CCRenderPass::backgroundFilters):
(WebCore::CCRenderPass::setBackgroundFilters):
* platform/graphics/chromium/cc/CCRenderPassDrawQuad.cpp:
(WebCore::CCRenderPassDrawQuad::create):
(WebCore::CCRenderPassDrawQuad::CCRenderPassDrawQuad):
* platform/graphics/chromium/cc/CCRenderPassDrawQuad.h:
(CCRenderPassDrawQuad):
* platform/graphics/chromium/cc/CCRenderSurface.cpp:
(WebCore::CCRenderSurface::appendQuads):
* platform/graphics/chromium/cc/CCRenderer.h:
(CCRenderer):

Source/WebKit/chromium:

* tests/CCLayerTreeHostImplTest.cpp:
* tests/LayerRendererChromiumTest.cpp:
(FakeCCRendererClient::FakeCCRendererClient):
(FakeCCRendererClient::rootRenderPass):
(FakeCCRendererClient::renderPassesInDrawOrder):
(FakeCCRendererClient::renderPasses):
(FakeCCRendererClient):
(TEST_F):
(TEST):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123666 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore: Create a specialized pair for use in HashMap iterators
https://bugs.webkit.org/show_bug.cgi?id=92137

Reviewed by Ryosuke Niwa.

Update a couple of sites that relied on the fact that "contents" of iterators were
std::pairs.

* profiler/Profile.cpp:
(JSC): This code kept a vector of the pairs that were the "contents" of the iterators. This
is changed to use a KeyValuePair. We make use HashCount's ValueType (which represents only
the key) to get the proper key parameter for KeyValuePair.
* tools/ProfileTreeNode.h:
(ProfileTreeNode): Use HashMap::ValueType to declare the type of the contents of the hash
instead of declaring it manually. This will make use of the new KeyValuePair.

Source/WebKit2: Create a specialized struct for use in HashMap iterators
https://bugs.webkit.org/show_bug.cgi?id=92137

Reviewed by Ryosuke Niwa.

* Platform/CoreIPC/ArgumentCoders.h: Add encode/decode for KeyValuePair.

Source/WTF: Create a specialized pair for use in HashMap iterators
https://bugs.webkit.org/show_bug.cgi?id=92137

Reviewed by Ryosuke Niwa.

The type used for internal storage in HashMap is exposed in its interface as iterator
"contents". Currently HashMap uses std::pair<>, which this patch replaces with
KeyValuePair.

Having this specialized structure will allow us to customize the members to be called
key/value, improving readability in code using HashMap iterators. They are still called
first/second to separate this change from the mechanical change of updating callsites.

* wtf/HashIterators.h:
(HashTableConstKeysIterator):
(HashTableConstValuesIterator):
(HashTableKeysIterator):
(HashTableValuesIterator):
Use KeyValuePair instead of std::pair when defining the iterators.

* wtf/HashMap.h:
(WTF):
(WTF::KeyValuePairKeyExtractor::extract):
(HashMap):
Remove PairFirstExtractor. Add and use the KeyValuePair corresponding extractor.

(WTF::HashMapValueTraits::isEmptyValue): Use KeyValuePairHashTraits for HashMaps.
(WTF::HashMapTranslator::translate):
(WTF::HashMapTranslatorAdapter::translate):
The traits of the mapped value is now called ValueTraits instead of SecondTraits.

* wtf/HashTable.h:
(WTF::hashTableSwap): Add specialization for swapping KeyValuePairs.
(WTF): Remove now unneeded specialization for std::pairs.

* wtf/HashTraits.h:
(KeyValuePair):
(WTF::KeyValuePair::KeyValuePair):
(WTF):
Specialized pair. In the future difference from pair should be the member names.

(KeyValuePairHashTraits):
(WTF::KeyValuePairHashTraits::emptyValue):
(WTF::KeyValuePairHashTraits::constructDeletedValue):
(WTF::KeyValuePairHashTraits::isDeletedValue):
These traits are analogous to PairHashTraits but for KeyValuePair.

* wtf/RefPtrHashMap.h: Use KeyValuePairHashTraits.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123667 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium/mac] Remove mac_bundle_resources section from WebCore.gyp
https://bugs.webkit.org/show_bug.cgi?id=92207

Reviewed by Tony Chang.

It's no longer needed after http://crrev.com/148290 and
http://crrev.com/148187.

* WebCore.gyp/WebCore.gyp:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123668 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] platform/qt/tables/mozilla tests needs update after rebaseline and new testfonts
https://bugs.webkit.org/show_bug.cgi?id=91242

Unreviewed gardening.

* platform/qt-5.0/Skipped:
* platform/qt/tables/mozilla/bugs/adforce_imgis_com-expected.txt:
* platform/qt/tables/mozilla/bugs/bug102145-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug102145-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug102145-3-expected.txt:
* platform/qt/tables/mozilla/bugs/bug102145-4-expected.txt:
* platform/qt/tables/mozilla/bugs/bug10269-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug10296-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug103533-expected.txt:
* platform/qt/tables/mozilla/bugs/bug1067-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug1067-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug106795-expected.txt:
* platform/qt/tables/mozilla/bugs/bug11321-expected.txt:
* platform/qt/tables/mozilla/bugs/bug133948-expected.txt:
* platform/qt/tables/mozilla/bugs/bug154780-expected.txt:
* platform/qt/tables/mozilla/bugs/bug15933-expected.txt:
* platform/qt/tables/mozilla/bugs/bug1818-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug1818-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug1818-4-expected.txt:
* platform/qt/tables/mozilla/bugs/bug219693-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug219693-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug221784-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug221784-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug22513-expected.txt:
* platform/qt/tables/mozilla/bugs/bug23072-expected.txt:
* platform/qt/tables/mozilla/bugs/bug23994-expected.txt:
* platform/qt/tables/mozilla/bugs/bug25074-expected.txt:
* platform/qt/tables/mozilla/bugs/bug25367-expected.txt:
* platform/qt/tables/mozilla/bugs/bug26553-expected.txt:
* platform/qt/tables/mozilla/bugs/bug3037-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug3037-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug32447-expected.txt:
* platform/qt/tables/mozilla/bugs/bug3309-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug34538-expected.txt:
* platform/qt/tables/mozilla/bugs/bug45350-expected.txt:
* platform/qt/tables/mozilla/bugs/bug53690-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug53690-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug55789-expected.txt:
* platform/qt/tables/mozilla/bugs/bug56201-expected.txt:
* platform/qt/tables/mozilla/bugs/bug56405-expected.txt:
* platform/qt/tables/mozilla/bugs/bug641-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug641-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug8361-expected.txt:
* platform/qt/tables/mozilla/bugs/bug88524-expected.txt:
* platform/qt/tables/mozilla/bugs/bug9072-expected.txt:
* platform/qt/tables/mozilla/bugs/bug92647-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug97383-expected.txt:
* platform/qt/tables/mozilla/bugs/bug98196-expected.txt:
* platform/qt/tables/mozilla/marvin/tfoot_char-expected.png:
* platform/qt/tables/mozilla/marvin/tfoot_char-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123670 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Read tag names and attributes from the saved tokens in HTMLTreeBuilder::resetInsertionModeAppropriately.
https://bugs.webkit.org/show_bug.cgi?id=92240

Reviewed by Adam Barth.

This is a follow-up patch for r123577. Added ItemType enum to HTMLStackItem to handle
the context element case.

No new tests, covered by existing tests.

* html/parser/HTMLStackItem.h:
(WebCore::HTMLStackItem::create):
(WebCore::HTMLStackItem::HTMLStackItem):
* html/parser/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::HTMLTreeBuilder):
(WebCore::HTMLTreeBuilder::resetInsertionModeAppropriately):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123671 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Windows build fix attempt after r123625.

* platform/network/cf/ResourceRequestCFNet.cpp:
(WebCore::ResourceRequest::doUpdateResourceRequest):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123672 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] Rephrase suspend/resume condition to guard against crashes
https://bugs.webkit.org/show_bug.cgi?id=92300
PR 182125

Reviewed by George Staikos.

When the compositor is removed from a WebPage, it might
already have unset its context, and issuing a call to
BackingStore::buffer() would therefore cause a crash.
Just guarding buffer() from this crash isn't fully
correct, because then we wouldn't suspend rendering
for a compositor that had been previously enabled.

Instead, change the condition to suspend/resume in
WebPagePrivate::setCompositor() to focus on the
object that delivers us the buffer. If we can't
listen to the context or buffer being set, better
just take the compositor object itself to determine
whether we have something valid or not... and hope
that they give us a valid context & buffer in all
situations when we can actually be rendering.

Also check compositor->context() in buffer() to be
non-zero before accessing the context's buffer,
because more defensive coding can't hurt here.

* Api/BackingStore.cpp:
(BlackBerry::WebKit::BackingStorePrivate::buffer):
* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::setCompositor):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123673 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove catchesDelegateExceptions from WebViewData and related accessor methods
https://bugs.webkit.org/show_bug.cgi?id=90898

Reviewed by Darin Adler.

Remove catchesDelegateException ivar from WebViewData and all its accesor methods from
WebView. All uses of this flag in WebKit set it to YES and no one calls
_setCatchesDelegateExceptions with NO.

* WebCoreSupport/WebDragClient.mm:
(WebDragClient::startDrag):
* WebView/WebDelegateImplementationCaching.mm:
(CallDelegate):
(CallDelegateReturningFloat):
(CallDelegateReturningBoolean):
(CallResourceLoadDelegateReturningBoolean):
(CallFormDelegate):
(CallFormDelegateReturningBoolean):
* WebView/WebView.mm:
(-[WebView _commonInitializationWithFrameName:groupName:]):
(-[WebView _policyDelegateForwarder]):
(-[WebView _UIDelegateForwarder]):
(-[WebView _editingDelegateForwarder]):
(-[_WebSafeForwarder initWithTarget:defaultTarget:]):
(-[_WebSafeForwarder forwardInvocation:]):
* WebView/WebViewData.h:
* WebView/WebViewPrivate.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123674 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r123625 and r123672.
http://trac.webkit.org/changeset/123625
http://trac.webkit.org/changeset/123672
https://bugs.webkit.org/show_bug.cgi?id=92315

Broke Windows and gcc builds (Requested by rniwa on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-25

* platform/AutodrainedPool.h:
(AutodrainedPool):
* platform/ContentType.h:
(ContentType):
* platform/ContextMenu.h:
(ContextMenu):
* platform/ContextMenuItem.h:
(ContextMenuItem):
* platform/Cursor.h:
(WebCore::SharedCursor::SharedCursor):
(Cursor):
* platform/KURL.h:
(WebCore::KURL::KURL):
(KURL):
* platform/KURLGooglePrivate.h:
(KURLGooglePrivate):
* platform/PODRedBlackTree.h:
(WebCore::PODRedBlackTree::PODRedBlackTree):
* platform/Pasteboard.h:
(Pasteboard):
* platform/PlatformEvent.h:
(WebCore::PlatformEvent::PlatformEvent):
* platform/PlatformKeyboardEvent.h:
(PlatformKeyboardEvent):
* platform/PlatformMouseEvent.h:
(PlatformMouseEvent):
* platform/PlatformPasteboard.h:
(PlatformPasteboard):
* platform/PlatformTouchEvent.h:
(PlatformTouchEvent):
* platform/PlatformWheelEvent.h:
(PlatformWheelEvent):
* platform/RunLoop.h:
(TimerBase):
* platform/ScrollAnimator.h:
(ScrollAnimator):
* platform/ScrollAnimatorNone.h:
(ScrollAnimatorNone):
* platform/SharedBuffer.h:
(SharedBuffer):
* platform/WheelFlingPlatformGestureCurve.h:
(WheelFlingPlatformGestureCurve):
* platform/Widget.h:
(Widget):
* platform/network/cf/ResourceRequestCFNet.cpp:
(WebCore::ResourceRequest::doUpdateResourceRequest):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123675 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] fix double->float warnings in CCLayerTreeHostCommonTest.cpp
https://bugs.webkit.org/show_bug.cgi?id=92271

Patch by Scott Graham <scottmg@chromium.org> on 2012-07-25
Reviewed by Adrienne Walker.

Fix compile warnings on Windows.

* tests/CCLayerTreeHostCommonTest.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123676 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Improve the output of editing/pasteboard/paste-noscript-xhtml.xhtml
https://bugs.webkit.org/show_bug.cgi?id=92307

Reviewed by Tony Chang.

Use dump-as-markup to improve the readability of output, and removed replaced the call to sayHello in iframe's src
content attribute by a call to alert("hello") so that reference error doesn't show up on the result, and moved
the resource from editing/resources to editing/pasteboard/resources as it's not used elsewhere.

* editing/pasteboard/paste-noscript-xhtml-expected.txt:
* editing/pasteboard/paste-noscript-xhtml.xhtml:
* editing/pasteboard/resources/paste-noscript-content.html: Copied from LayoutTests/editing/resources/htmlcontent.html.
* editing/resources/htmlcontent.html: Removed.
* platform/chromium-mac/editing/pasteboard/paste-noscript-xhtml-expected.txt: Removed.
* platform/chromium-win/editing/pasteboard/paste-noscript-xhtml-expected.txt: Removed.


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