[EFL][WK2] Fix build warning in PageClientLegacyImpl.cpp
https://bugs.webkit.org/show_bug.cgi?id=101266

Patch by KyungTae Kim <ktf.kim@samsung.com> on 2012-11-05
Reviewed by Laszlo Gombos.

The 'size' is not used when !USE(TILED_BACKING_STORE)
Use UNUSED_PARAM macro for removing -Wunused-parameter warning

* UIProcess/efl/PageClientLegacyImpl.cpp:
(WebKit::PageClientLegacyImpl::updateViewportSize):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133543 268f45cc-cd09-0410-ab3c-d52691b4dbfc
RenderGeometryMap asserts when loading http://en.softonic.com/mac
https://bugs.webkit.org/show_bug.cgi?id=101284
<rdar://problem/11540560>

Reviewed by Tim Horton.

When FrameView::layout() calls document->updateStyleIfNeeded(), we
can be in a state where FrameView::needsLayout() is false. However,
this is a bad time to update compositing layers, because we're about
to do layout, which will require us to update them again soon anyway,
and some RenderLayers may not have been sized or positioned yet.

Fix by adding a m_doingPreLayoutStyleUpdate member to FrameView,
and toggling it around this call to updateStyleIfNeeded().
Read this state in updateCompositingLayersAfterStyleChange(), which is
now called unconditionally by recalcStyle(), but returns early
if this flag is set, or layout is pending.

* dom/Document.cpp:
(WebCore::Document::recalcStyle):
* page/FrameView.cpp:
(WebCore::FrameView::reset):
(WebCore::FrameView::updateCompositingLayersAfterStyleChange):
(WebCore::FrameView::layout):
* page/FrameView.h:
(FrameView):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133544 268f45cc-cd09-0410-ab3c-d52691b4dbfc
TransformOperationInfo's constructor is really slow
https://bugs.webkit.org/show_bug.cgi?id=101143

Reviewed by Sam Weinig.

TransformOperationInfo() was slow for a few reasons:
-The function used a lot of branches. The basic assumption is that the input
 is incorrect, thus every character is an opportunity to fail.
-Every branch had to be tested in order. If the name was matching the last if()
 all the previous names had to be tested.
-Since equalIgnoringCase() was used in every branch, it was forcing the case folding
 every time.
-When the string is 16bits, the case folding was using ICU, which was incredibly inefficient.

This can be fixed by either
1) Compute the lowercase name, then match it to a HashMap.
2) Write a tree to quickly reduce the number of branch needed.

The first solution is not viable because 16bits strings case folding
remains an important bottleneck.

Instead, the code now splits the names on simple characteristics to
match any name in a limited number of branches.

The assumption is the input is correct, so & is used instead of && to
avoid branches in favor of conditional instructions.

* css/CSSParser.cpp:
(WebCore::TransformOperationInfo::TransformOperationInfo):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133545 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Prototype chain caching should check that the path from the base object to the slot base involves prototype hops only
https://bugs.webkit.org/show_bug.cgi?id=101276

Reviewed by Gavin Barraclough.

Source/JavaScriptCore: 

Changed normalizePrototypeChain() to report an invalid prototype chain if any object is a proxy.
This catches cases where our prototype chain checks would have been insufficient to guard against
newly introduced properties, despecialized properties, or deleted properties in the chain of
objects involved in the access.

* dfg/DFGRepatch.cpp:
(JSC::DFG::tryCacheGetByID):
(JSC::DFG::tryBuildGetByIDProtoList):
(JSC::DFG::tryCachePutByID):
(JSC::DFG::tryBuildPutByIdList):
* jit/JITStubs.cpp:
(JSC::JITThunks::tryCachePutByID):
(JSC::JITThunks::tryCacheGetByID):
(JSC::DEFINE_STUB_FUNCTION):
* llint/LLIntSlowPaths.cpp:
(JSC::LLInt::LLINT_SLOW_PATH_DECL):
* runtime/Operations.h:
(JSC):
(JSC::normalizePrototypeChain):

LayoutTests: 

This test already covered this case, but only for method_check. Modified it to
also cover the get_by_id case.

* fast/js/toString-and-valueOf-override-expected.txt:
* fast/js/toString-and-valueOf-override.html:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133546 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[l10n] updated id.po for WebKitGTK+
https://bugs.webkit.org/show_bug.cgi?id=100264

Patch by Andika Triwidada <andika@gmail.com> on 2012-11-05
Rubber-stamped by Gustavo Noronha.

* id.po: updated.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133547 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTest fast/dom/shadow/shadowroot-type.html is failing on Windows
https://bugs.webkit.org/show_bug.cgi?id=101201

Reviewed by Hajime Morita.

When we use a bit field for enum, Windows compiler seems returning some wrong value.
We would like to avoid using a bit field for enum value.

* dom/ShadowRoot.cpp:
(WebCore::ShadowRoot::create):
* dom/ShadowRoot.h:
(WebCore::ShadowRoot::type):
(WebCore::ShadowRoot::setType):
(ShadowRoot):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133548 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[l10n] [mr] Updated WebKitGTK+ Translation(s) in Marathi [mr] language
https://bugs.webkit.org/show_bug.cgi?id=100817

Patch by Sandeep Shedmake <sshedmak@redhat.com> on 2012-11-05
Rubber-stamped by Gustavo Noronha.

* mr.po: updated.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133549 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Unicode combining diacritical aren't always combined on Linux
https://bugs.webkit.org/show_bug.cgi?id=101009

Reviewed by Kent Tamura.

Source/WebCore:

Add a space character to harfbuzzBuffer as pre-context. This will prevent
harfbuzz from inserting dotted-circle.

Test: fast/text/international/combining-marks-position.html

* platform/graphics/harfbuzz/ng/HarfBuzzShaper.cpp:
(WebCore::HarfBuzzShaper::shapeHarfBuzzRuns):

LayoutTests:

Add a test that checks whether combining marks are combined with base characters.

* fast/text/international/combining-marks-position-expected.txt: Added.
* fast/text/international/combining-marks-position.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133550 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Refactor LLInt64 to distinguish the pointer operations from the 64-bit integer operations
https://bugs.webkit.org/show_bug.cgi?id=100321

Reviewed by Filip Pizlo.

We have refactored the MacroAssembler and JIT compilers to distinguish
the pointer operations from the 64-bit integer operations (see bug #99154).
Now we want to do the similar work for LLInt, and the goal is same as
the one mentioned in 99154.

This is the second part of the modification: in the low level interpreter,
changing the operations on 64-bit integers to use the "<foo>q" instructions.
This also removes some unused/meaningless "<foo>p" instructions.

* llint/LowLevelInterpreter.asm:
* llint/LowLevelInterpreter.cpp:
(JSC::CLoop::execute):
* llint/LowLevelInterpreter64.asm:
* offlineasm/armv7.rb:
* offlineasm/cloop.rb:
* offlineasm/instructions.rb:
* offlineasm/x86.rb:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133551 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, update chromium-mac-mountainlion baselines for svg failures after r133538

* platform/chromium-mac-lion/svg/W3C-SVG-1.2-Tiny/struct-use-recursion-02-t-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/W3C-SVG-1.2-Tiny/struct-use-recursion-02-t-expected.png.
* platform/chromium-mac-lion/svg/W3C-SVG-1.2-Tiny/struct-use-recursion-03-t-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/W3C-SVG-1.2-Tiny/struct-use-recursion-03-t-expected.png.
* platform/chromium-mac-lion/svg/batik/filters/filterRegions-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/batik/filters/filterRegions-expected.png.
* platform/chromium-mac-lion/svg/batik/masking/maskRegions-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/batik/masking/maskRegions-expected.png.
* platform/chromium-mac-lion/svg/batik/paints/gradientLimit-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/batik/paints/gradientLimit-expected.png.
* platform/chromium-mac-lion/svg/batik/paints/patternPreserveAspectRatioA-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/batik/paints/patternPreserveAspectRatioA-expected.png.
* platform/chromium-mac-lion/svg/batik/paints/patternRegionA-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/batik/paints/patternRegionA-expected.png.
* platform/chromium-mac-lion/svg/batik/paints/patternRegions-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/batik/paints/patternRegions-expected.png.
* platform/chromium-mac-lion/svg/batik/paints/patternRegions-positioned-objects-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/batik/paints/patternRegions-positioned-objects-expected.png.
* platform/chromium-mac-lion/svg/batik/text/longTextOnPath-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/batik/text/longTextOnPath-expected.png.
* platform/chromium-mac-lion/svg/batik/text/smallFonts-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/batik/text/smallFonts-expected.png.
* platform/chromium-mac-lion/svg/batik/text/textAnchor-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/batik/text/textAnchor-expected.png.
* platform/chromium-mac-lion/svg/batik/text/textDecoration-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/batik/text/textDecoration-expected.png.
* platform/chromium-mac-lion/svg/batik/text/textEffect-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/batik/text/textEffect-expected.png.
* platform/chromium-mac-lion/svg/batik/text/textEffect2-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/batik/text/textEffect2-expected.png.
* platform/chromium-mac-lion/svg/batik/text/textEffect3-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/batik/text/textEffect3-expected.png.
* platform/chromium-mac-lion/svg/batik/text/textFeatures-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/batik/text/textFeatures-expected.png.
* platform/chromium-mac-lion/svg/batik/text/textLayout-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/batik/text/textLayout-expected.png.
* platform/chromium-mac-lion/svg/batik/text/textLayout2-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/batik/text/textLayout2-expected.png.
* platform/chromium-mac-lion/svg/batik/text/textLength-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/batik/text/textLength-expected.png.
* platform/chromium-mac-lion/svg/batik/text/textOnPath-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/batik/text/textOnPath-expected.png.
* platform/chromium-mac-lion/svg/batik/text/textOnPathSpaces-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/batik/text/textOnPathSpaces-expected.png.
* platform/chromium-mac-lion/svg/batik/text/textPosition-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/batik/text/textPosition-expected.png.
* platform/chromium-mac-lion/svg/batik/text/textPosition2-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/batik/text/textPosition2-expected.png.
* platform/chromium-mac-lion/svg/batik/text/textProperties-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/batik/text/textProperties-expected.png.
* platform/chromium-mac-lion/svg/batik/text/textProperties2-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/batik/text/textProperties2-expected.png.
* platform/chromium-mac-lion/svg/batik/text/textStyles-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/batik/text/textStyles-expected.png.
* platform/chromium-mac-lion/svg/batik/text/verticalText-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/batik/text/verticalText-expected.png.
* platform/chromium-mac-lion/svg/batik/text/verticalTextOnPath-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/batik/text/verticalTextOnPath-expected.png.
* platform/chromium-mac-lion/svg/dynamic-updates/SVGUseElement-dom-href2-attr-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/dynamic-updates/SVGUseElement-dom-href2-attr-expected.png.
* platform/chromium-mac-lion/svg/dynamic-updates/SVGUseElement-svgdom-href2-prop-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/dynamic-updates/SVGUseElement-svgdom-href2-prop-expected.png.
* platform/chromium-mac/svg/W3C-SVG-1.2-Tiny/struct-use-recursion-02-t-expected.png:
* platform/chromium-mac/svg/W3C-SVG-1.2-Tiny/struct-use-recursion-03-t-expected.png:
* platform/chromium-mac/svg/batik/filters/filterRegions-expected.png:
* platform/chromium-mac/svg/batik/masking/maskRegions-expected.png:
* platform/chromium-mac/svg/batik/paints/gradientLimit-expected.png:
* platform/chromium-mac/svg/batik/paints/patternPreserveAspectRatioA-expected.png:
* platform/chromium-mac/svg/batik/paints/patternRegionA-expected.png:
* platform/chromium-mac/svg/batik/paints/patternRegions-expected.png:
* platform/chromium-mac/svg/batik/paints/patternRegions-positioned-objects-expected.png:
* platform/chromium-mac/svg/batik/text/longTextOnPath-expected.png:
* platform/chromium-mac/svg/batik/text/smallFonts-expected.png:
* platform/chromium-mac/svg/batik/text/textAnchor-expected.png:
* platform/chromium-mac/svg/batik/text/textDecoration-expected.png:
* platform/chromium-mac/svg/batik/text/textEffect-expected.png:
* platform/chromium-mac/svg/batik/text/textEffect2-expected.png:
* platform/chromium-mac/svg/batik/text/textEffect3-expected.png:
* platform/chromium-mac/svg/batik/text/textFeatures-expected.png:
* platform/chromium-mac/svg/batik/text/textLayout-expected.png:
* platform/chromium-mac/svg/batik/text/textLayout2-expected.png:
* platform/chromium-mac/svg/batik/text/textLength-expected.png:
* platform/chromium-mac/svg/batik/text/textOnPath-expected.png:
* platform/chromium-mac/svg/batik/text/textOnPathSpaces-expected.png:
* platform/chromium-mac/svg/batik/text/textPosition-expected.png:
* platform/chromium-mac/svg/batik/text/textPosition2-expected.png:
* platform/chromium-mac/svg/batik/text/textProperties-expected.png:
* platform/chromium-mac/svg/batik/text/textProperties2-expected.png:
* platform/chromium-mac/svg/batik/text/textStyles-expected.png:
* platform/chromium-mac/svg/batik/text/verticalText-expected.png:
* platform/chromium-mac/svg/batik/text/verticalTextOnPath-expected.png:
* platform/chromium-mac/svg/dynamic-updates/SVGUseElement-dom-href2-attr-expected.png:
* platform/chromium-mac/svg/dynamic-updates/SVGUseElement-svgdom-href2-prop-expected.png:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133552 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][WK2][PixelTests] Add missing expectations
https://bugs.webkit.org/show_bug.cgi?id=101289

Unreviewed, EFL gardening.

Add 16 missing pixel test expectations.

Patch by Kangil Han <kangil.han@samsung.com> on 2012-11-05

* platform/efl/compositing/geometry/fixed-position-iframe-composited-page-scale-down-expected.png: Added.
* platform/efl/compositing/geometry/fixed-position-transform-composited-page-scale-down-expected.png: Added.
* platform/efl/compositing/geometry/fixed-position-transform-composited-page-scale-expected.png: Added.
* platform/efl/compositing/overflow/overflow-compositing-descendant-expected.png: Added.
* platform/efl/compositing/overflow/scroll-ancestor-update-expected.png: Added.
* platform/efl/compositing/reflections/nested-reflection-anchor-point-expected.png: Added.
* platform/efl/fast/forms/basic-inputs-expected.png: Added.
* platform/efl/fast/media/view-mode-media-feature-expected.png: Added.
* platform/efl/media/video-aspect-ratio-expected.png: Added.
* platform/efl/media/video-layer-crash-expected.png: Added.
* platform/efl/media/video-transformed-expected.png: Added.
* platform/efl/media/video-zoom-controls-expected.png: Added.
* platform/efl/media/video-zoom-expected.png: Added.
* platform/efl/svg/dynamic-updates/SVGUseElement-dom-requiredFeatures-expected.png: Added.
* platform/efl/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.png: Added.
* platform/efl/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.png: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133553 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][WK2] Fix wrong coding style in the boilerplates
https://bugs.webkit.org/show_bug.cgi?id=101283

Patch by Jinwoo Song <jinwoo7.song@samsung.com> on 2012-11-05
Reviewed by Gyuyoung Kim.

Fix boilerplate which have wrong coding style.

* UIProcess/efl/InputMethodContextEfl.cpp:
* UIProcess/efl/InputMethodContextEfl.h:
* UIProcess/efl/PageClientDefaultImpl.cpp:
* UIProcess/efl/PageClientDefaultImpl.h:
* UIProcess/efl/PageClientLegacyImpl.cpp:
* UIProcess/efl/PageClientLegacyImpl.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133554 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] Do not show error page for main loads denied by client application
https://bugs.webkit.org/show_bug.cgi?id=101287

Internal PR: 237574.
Internally reviewed by Arvid Nilsson, Joe Mason.
Patch by Lianghui Chen <liachen@rim.com> on 2012-11-05
Reviewed by George Staikos.

* WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
(WebCore::FrameLoaderClientBlackBerry::dispatchDidFailProvisionalLoad):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133555 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Added secondary email address and IRC nick.
https://bugs.webkit.org/show_bug.cgi?id=101290

Unreviewed change to committers.py.


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


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133556 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed gardening. Updating MathML chromium baselines.

* platform/chromium-linux-x86/mathml/presentation: Added.
* platform/chromium-linux-x86/mathml/presentation/attributes-expected.png: Added.
* platform/chromium-linux-x86/mathml/presentation/attributes-expected.txt: Added.
* platform/chromium-linux-x86/mathml/presentation/fenced-expected.png: Added.
* platform/chromium-linux-x86/mathml/presentation/fenced-expected.txt: Added.
* platform/chromium-linux-x86/mathml/presentation/fenced-mi-expected.png: Added.
* platform/chromium-linux-x86/mathml/presentation/fenced-mi-expected.txt: Added.
* platform/chromium-linux-x86/mathml/presentation/fractions-expected.png: Added.
* platform/chromium-linux-x86/mathml/presentation/fractions-expected.txt: Added.
* platform/chromium-linux-x86/mathml/presentation/fractions-vertical-alignment-expected.png: Added.
* platform/chromium-linux-x86/mathml/presentation/fractions-vertical-alignment-expected.txt: Added.
* platform/chromium-linux-x86/mathml/presentation/mo-expected.png: Added.
* platform/chromium-linux-x86/mathml/presentation/mo-expected.txt: Added.
* platform/chromium-linux-x86/mathml/presentation/mo-stretch-expected.png: Added.
* platform/chromium-linux-x86/mathml/presentation/mo-stretch-expected.txt: Added.
* platform/chromium-linux-x86/mathml/presentation/mroot-pref-width-expected.png: Added.
* platform/chromium-linux-x86/mathml/presentation/mroot-pref-width-expected.txt: Added.
* platform/chromium-linux-x86/mathml/presentation/over-expected.png: Added.
* platform/chromium-linux-x86/mathml/presentation/over-expected.txt: Added.
* platform/chromium-linux-x86/mathml/presentation/roots-expected.png: Added.
* platform/chromium-linux-x86/mathml/presentation/roots-expected.txt: Added.
* platform/chromium-linux-x86/mathml/presentation/row-alignment-expected.png: Added.
* platform/chromium-linux-x86/mathml/presentation/row-alignment-expected.txt: Added.
* platform/chromium-linux-x86/mathml/presentation/row-expected.png: Added.
* platform/chromium-linux-x86/mathml/presentation/row-expected.txt: Added.
* platform/chromium-linux-x86/mathml/presentation/style-expected.png: Added.
* platform/chromium-linux-x86/mathml/presentation/style-expected.txt: Added.
* platform/chromium-linux-x86/mathml/presentation/sub-expected.png: Added.
* platform/chromium-linux-x86/mathml/presentation/sub-expected.txt: Added.
* platform/chromium-linux-x86/mathml/presentation/subsup-expected.png: Added.
* platform/chromium-linux-x86/mathml/presentation/subsup-expected.txt: Added.
* platform/chromium-linux-x86/mathml/presentation/sup-expected.png: Added.
* platform/chromium-linux-x86/mathml/presentation/sup-expected.txt: Added.
* platform/chromium-linux-x86/mathml/presentation/tables-expected.png: Added.
* platform/chromium-linux-x86/mathml/presentation/tables-expected.txt: Added.
* platform/chromium-linux-x86/mathml/presentation/tokenElements-expected.png: Added.
* platform/chromium-linux-x86/mathml/presentation/tokenElements-expected.txt: Added.
* platform/chromium-linux-x86/mathml/presentation/under-expected.png: Added.
* platform/chromium-linux-x86/mathml/presentation/under-expected.txt: Added.
* platform/chromium-linux-x86/mathml/presentation/underover-expected.png: Added.
* platform/chromium-linux-x86/mathml/presentation/underover-expected.txt: Added.
* platform/chromium-linux-x86/mathml/xHeight-expected.txt:
* platform/chromium-linux/mathml/presentation: Added.
* platform/chromium-linux/mathml/presentation/attributes-expected.png: Added.
* platform/chromium-linux/mathml/presentation/attributes-expected.txt: Added.
* platform/chromium-linux/mathml/presentation/fenced-expected.png: Added.
* platform/chromium-linux/mathml/presentation/fenced-expected.txt: Added.
* platform/chromium-linux/mathml/presentation/fenced-mi-expected.png: Added.
* platform/chromium-linux/mathml/presentation/fenced-mi-expected.txt: Added.
* platform/chromium-linux/mathml/presentation/fractions-expected.png: Added.
* platform/chromium-linux/mathml/presentation/fractions-expected.txt: Added.
* platform/chromium-linux/mathml/presentation/fractions-vertical-alignment-expected.png: Added.
* platform/chromium-linux/mathml/presentation/fractions-vertical-alignment-expected.txt: Added.
* platform/chromium-linux/mathml/presentation/mo-expected.png: Added.
* platform/chromium-linux/mathml/presentation/mo-expected.txt: Added.
* platform/chromium-linux/mathml/presentation/mo-stretch-expected.png: Added.
* platform/chromium-linux/mathml/presentation/mo-stretch-expected.txt: Added.
* platform/chromium-linux/mathml/presentation/mroot-pref-width-expected.png: Added.
* platform/chromium-linux/mathml/presentation/mroot-pref-width-expected.txt: Added.
* platform/chromium-linux/mathml/presentation/over-expected.png: Added.
* platform/chromium-linux/mathml/presentation/over-expected.txt: Added.
* platform/chromium-linux/mathml/presentation/roots-expected.png: Added.
* platform/chromium-linux/mathml/presentation/roots-expected.txt: Added.
* platform/chromium-linux/mathml/presentation/row-alignment-expected.png: Added.
* platform/chromium-linux/mathml/presentation/row-alignment-expected.txt: Added.
* platform/chromium-linux/mathml/presentation/row-expected.png: Added.
* platform/chromium-linux/mathml/presentation/row-expected.txt: Added.
* platform/chromium-linux/mathml/presentation/style-expected.png: Added.
* platform/chromium-linux/mathml/presentation/style-expected.txt: Added.
* platform/chromium-linux/mathml/presentation/sub-expected.png: Added.
* platform/chromium-linux/mathml/presentation/sub-expected.txt: Added.
* platform/chromium-linux/mathml/presentation/subsup-expected.png: Added.
* platform/chromium-linux/mathml/presentation/subsup-expected.txt: Added.
* platform/chromium-linux/mathml/presentation/sup-expected.png: Added.
* platform/chromium-linux/mathml/presentation/sup-expected.txt: Added.
* platform/chromium-linux/mathml/presentation/tables-expected.png: Added.
* platform/chromium-linux/mathml/presentation/tables-expected.txt: Added.
* platform/chromium-linux/mathml/presentation/tokenElements-expected.png: Added.
* platform/chromium-linux/mathml/presentation/tokenElements-expected.txt: Added.
* platform/chromium-linux/mathml/presentation/under-expected.png: Added.
* platform/chromium-linux/mathml/presentation/under-expected.txt: Added.
* platform/chromium-linux/mathml/presentation/underover-expected.png: Added.
* platform/chromium-linux/mathml/presentation/underover-expected.txt: Added.
* platform/chromium-linux/mathml/xHeight-expected.txt:
* platform/chromium-mac-lion/mathml/presentation/mo-stretch-expected.txt: Added.
* platform/chromium-mac-lion/mathml/presentation/row-alignment-expected.png:
* platform/chromium-mac-lion/mathml/presentation/row-alignment-expected.txt: Added.
* platform/chromium-mac-lion/mathml/presentation/subsup-expected.png:
* platform/chromium-mac-lion/mathml/presentation/subsup-expected.txt:
* platform/chromium-mac-lion/mathml/presentation/tables-expected.png:
* platform/chromium-mac-lion/mathml/presentation/tables-expected.txt: Added.
* platform/chromium-mac-snowleopard/mathml/presentation/mo-stretch-expected.txt:
* platform/chromium-mac-snowleopard/mathml/presentation/row-alignment-expected.png:
* platform/chromium-mac-snowleopard/mathml/presentation/row-alignment-expected.txt:
* platform/chromium-mac-snowleopard/mathml/presentation/subsup-expected.png:
* platform/chromium-mac-snowleopard/mathml/presentation/subsup-expected.txt:
* platform/chromium-mac-snowleopard/mathml/presentation/tables-expected.png:
* platform/chromium-mac-snowleopard/mathml/presentation/tables-expected.txt:
* platform/chromium-mac/mathml/presentation/mo-stretch-expected.txt: Added.
* platform/chromium-mac/mathml/presentation/row-alignment-expected.png:
* platform/chromium-mac/mathml/presentation/row-alignment-expected.txt: Added.
* platform/chromium-mac/mathml/presentation/subsup-expected.png:
* platform/chromium-mac/mathml/presentation/subsup-expected.txt:
* platform/chromium-mac/mathml/presentation/tables-expected.png:
* platform/chromium-mac/mathml/presentation/tables-expected.txt: Added.
* platform/chromium-win-xp/mathml/presentation: Added.
* platform/chromium-win-xp/mathml/presentation/attributes-expected.png: Added.
* platform/chromium-win-xp/mathml/presentation/attributes-expected.txt: Added.
* platform/chromium-win-xp/mathml/presentation/fenced-expected.png: Added.
* platform/chromium-win-xp/mathml/presentation/fenced-expected.txt: Added.
* platform/chromium-win-xp/mathml/presentation/fenced-mi-expected.png: Added.
* platform/chromium-win-xp/mathml/presentation/fenced-mi-expected.txt: Added.
* platform/chromium-win-xp/mathml/presentation/fractions-expected.png: Added.
* platform/chromium-win-xp/mathml/presentation/fractions-expected.txt: Added.
* platform/chromium-win-xp/mathml/presentation/fractions-vertical-alignment-expected.png: Added.
* platform/chromium-win-xp/mathml/presentation/fractions-vertical-alignment-expected.txt: Added.
* platform/chromium-win-xp/mathml/presentation/mo-expected.png: Added.
* platform/chromium-win-xp/mathml/presentation/mo-expected.txt: Added.
* platform/chromium-win-xp/mathml/presentation/mo-stretch-expected.png: Added.
* platform/chromium-win-xp/mathml/presentation/mo-stretch-expected.txt: Added.
* platform/chromium-win-xp/mathml/presentation/mroot-pref-width-expected.png: Added.
* platform/chromium-win-xp/mathml/presentation/mroot-pref-width-expected.txt: Added.
* platform/chromium-win-xp/mathml/presentation/over-expected.png: Added.
* platform/chromium-win-xp/mathml/presentation/over-expected.txt: Added.
* platform/chromium-win-xp/mathml/presentation/roots-expected.png: Added.
* platform/chromium-win-xp/mathml/presentation/roots-expected.txt: Added.
* platform/chromium-win-xp/mathml/presentation/row-alignment-expected.png: Added.
* platform/chromium-win-xp/mathml/presentation/row-alignment-expected.txt: Added.
* platform/chromium-win-xp/mathml/presentation/row-expected.png: Added.
* platform/chromium-win-xp/mathml/presentation/row-expected.txt: Added.
* platform/chromium-win-xp/mathml/presentation/style-expected.png: Added.
* platform/chromium-win-xp/mathml/presentation/style-expected.txt: Added.
* platform/chromium-win-xp/mathml/presentation/sub-expected.png: Added.
* platform/chromium-win-xp/mathml/presentation/sub-expected.txt: Added.
* platform/chromium-win-xp/mathml/presentation/subsup-expected.png: Added.
* platform/chromium-win-xp/mathml/presentation/subsup-expected.txt: Added.
* platform/chromium-win-xp/mathml/presentation/sup-expected.png: Added.
* platform/chromium-win-xp/mathml/presentation/sup-expected.txt: Added.
* platform/chromium-win-xp/mathml/presentation/tables-expected.png: Added.
* platform/chromium-win-xp/mathml/presentation/tables-expected.txt: Added.
* platform/chromium-win-xp/mathml/presentation/tokenElements-expected.png: Added.
* platform/chromium-win-xp/mathml/presentation/tokenElements-expected.txt: Added.
* platform/chromium-win-xp/mathml/presentation/under-expected.png: Added.
* platform/chromium-win-xp/mathml/presentation/under-expected.txt: Added.
* platform/chromium-win-xp/mathml/presentation/underover-expected.png: Added.
* platform/chromium-win-xp/mathml/presentation/underover-expected.txt: Added.
* platform/chromium-win/mathml/presentation: Added.
* platform/chromium-win/mathml/presentation/attributes-expected.png: Added.
* platform/chromium-win/mathml/presentation/attributes-expected.txt: Added.
* platform/chromium-win/mathml/presentation/fenced-expected.png: Added.
* platform/chromium-win/mathml/presentation/fenced-expected.txt: Added.
* platform/chromium-win/mathml/presentation/fenced-mi-expected.png: Added.
* platform/chromium-win/mathml/presentation/fenced-mi-expected.txt: Added.
* platform/chromium-win/mathml/presentation/fractions-expected.png: Added.
* platform/chromium-win/mathml/presentation/fractions-expected.txt: Added.
* platform/chromium-win/mathml/presentation/fractions-vertical-alignment-expected.png: Added.
* platform/chromium-win/mathml/presentation/fractions-vertical-alignment-expected.txt: Added.
* platform/chromium-win/mathml/presentation/mo-expected.png: Added.
* platform/chromium-win/mathml/presentation/mo-expected.txt: Added.
* platform/chromium-win/mathml/presentation/mo-stretch-expected.png: Added.
* platform/chromium-win/mathml/presentation/mo-stretch-expected.txt: Added.
* platform/chromium-win/mathml/presentation/mroot-pref-width-expected.png: Added.
* platform/chromium-win/mathml/presentation/mroot-pref-width-expected.txt: Added.
* platform/chromium-win/mathml/presentation/over-expected.png: Added.
* platform/chromium-win/mathml/presentation/over-expected.txt: Added.
* platform/chromium-win/mathml/presentation/roots-expected.png: Added.
* platform/chromium-win/mathml/presentation/roots-expected.txt: Added.
* platform/chromium-win/mathml/presentation/row-alignment-expected.png: Added.
* platform/chromium-win/mathml/presentation/row-alignment-expected.txt: Added.
* platform/chromium-win/mathml/presentation/row-expected.png: Added.
* platform/chromium-win/mathml/presentation/row-expected.txt: Added.
* platform/chromium-win/mathml/presentation/style-expected.png: Added.
* platform/chromium-win/mathml/presentation/style-expected.txt: Added.
* platform/chromium-win/mathml/presentation/sub-expected.png: Added.
* platform/chromium-win/mathml/presentation/sub-expected.txt: Added.
* platform/chromium-win/mathml/presentation/subsup-expected.png: Added.
* platform/chromium-win/mathml/presentation/subsup-expected.txt: Added.
* platform/chromium-win/mathml/presentation/sup-expected.png: Added.
* platform/chromium-win/mathml/presentation/sup-expected.txt: Added.
* platform/chromium-win/mathml/presentation/tables-expected.png: Added.
* platform/chromium-win/mathml/presentation/tables-expected.txt: Added.
* platform/chromium-win/mathml/presentation/tokenElements-expected.png: Added.
* platform/chromium-win/mathml/presentation/tokenElements-expected.txt: Added.
* platform/chromium-win/mathml/presentation/under-expected.png: Added.
* platform/chromium-win/mathml/presentation/under-expected.txt: Added.
* platform/chromium-win/mathml/presentation/underover-expected.png: Added.
* platform/chromium-win/mathml/presentation/underover-expected.txt: Added.
* platform/chromium/TestExpectations:
* platform/chromium/mathml/presentation/attributes-expected.png: Removed.
* platform/chromium/mathml/presentation/fractions-expected.png: Removed.
* platform/chromium/mathml/presentation/fractions-vertical-alignment-expected.png: Removed.
* platform/chromium/mathml/presentation/mo-expected.png: Removed.
* platform/chromium/mathml/presentation/mo-stretch-expected.png: Removed.
* platform/chromium/mathml/presentation/mroot-pref-width-expected.png: Removed.
* platform/chromium/mathml/presentation/over-expected.png: Removed.
* platform/chromium/mathml/presentation/roots-expected.png: Removed.
* platform/chromium/mathml/presentation/row-alignment-expected.png: Removed.
* platform/chromium/mathml/presentation/row-expected.png: Removed.
* platform/chromium/mathml/presentation/style-expected.png: Removed.
* platform/chromium/mathml/presentation/subsup-expected.png: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133557 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Need a way to send and receive messages between the WKWebProcessPlugIn object and the client
https://bugs.webkit.org/show_bug.cgi?id=101282

Reviewed by Anders Carlsson.

API wise, this adds:
    - A connection property on the WKWebProcessPlugInController
    - A method to send messages across a WKConnection (sendMessageWithName:body).

It also implements message sending and receiving for WKConnection. Message bodies are currently
restricted to being object graphs with values that are property list types, but in the future, should
support all types conforming to the NSSecureCoding protocol.

* Shared/WebConnection.cpp:
(WebKit::WebConnection::postMessage):
(WebKit::WebConnection::handleMessage):
* Shared/WebConnection.h:
(WebConnection):
* Shared/WebConnection.messages.in:
Switch HandleMessage to be a variadic message to avoid an extra copy and support attachments correctly.

* Shared/mac/ArgumentCodersMac.h:
* Shared/mac/ArgumentCodersMac.mm:
(CoreIPC::typeFromObject):
(CoreIPC::encode):
(CoreIPC::decode):
Add support for encoding/decoding NSArray, NSDate and NSData.

* UIProcess/API/mac/WKConnection.h:
* UIProcess/API/mac/WKConnection.mm:
(-[WKConnection sendMessageWithName:body:]):
(didReceiveMessage):
Implement message sending and receiving.

* WebProcess/InjectedBundle/API/mac/WKWebProcessPlugIn.h:
* WebProcess/InjectedBundle/API/mac/WKWebProcessPlugIn.mm:
(-[WKWebProcessPlugInController _initWithPrincipalClassInstance:bundleRef:]):
(-[WKWebProcessPlugInController connection]):
Add a wrapper for the WKConnectionRef vended via WKBundleGetApplicationConnection() and expose it as
API on the WKWebProcessPlugInController.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133558 268f45cc-cd09-0410-ab3c-d52691b4dbfc
webkit-patch rebaseline*: fix handling of local file urls
https://bugs.webkit.org/show_bug.cgi?id=101296

Reviewed by Ojan Vafai.

When using --results-directory, we need to make sure we're converting
paths to file:/// urls for urllib to work correctly. Also, this
patch reworks the unit tests to get better coverage (of the execute()
command) and reduce copy/pasting of mock options.

* Scripts/webkitpy/tool/commands/rebaseline.py:
(RebaselineTest._rebaseline_test_and_update_expectations):
(RebaselineTest.execute):
* Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
(TestRebaselineTest.setUp):
(test_rebaseline_updates_expectations_file):
(test_rebaseline_does_not_include_overrides):
(test_rebaseline_test_with_results_directory):
(test_rebaseline_test_internal_with_move_overwritten_baselines_to):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133559 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Unreviewed morning gardening, skip new failing tests.

* platform/qt/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133560 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Use switch/case statements instead of if/elseif in CSSSelector.cpp
https://bugs.webkit.org/show_bug.cgi?id=100470

Reviewed by Ryosuke Niwa.

Minor clean up. We can get compiler warnings if we use switch/case statements here.

No changes to functionality, so no new tests.

* css/CSSSelector.cpp:
(WebCore::CSSSelector::selectorText):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133561 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Ensure acquireLineBreakIterator signature consistency on non-ICU ports.
https://bugs.webkit.org/show_bug.cgi?id=101281

Patch by Glenn Adams <glenn@skynav.com> on 2012-11-05
Reviewed by Ryosuke Niwa.

Fix (newly) inconsistent signature for acquireLineBreakIterator for non-ICU ports
caused by http://trac.webkit.org/changeset/133529.

See new tests added from https://bugs.webkit.org/show_bug.cgi?id=89235.

* platform/text/TextBreakIterator.cpp:
(WebCore::acquireLineBreakIterator):
* platform/text/gtk/TextBreakIteratorGtk.cpp:
(WebCore::setUpIterator):
(WebCore::acquireLineBreakIterator):
* platform/text/wince/TextBreakIteratorWinCE.cpp:
(WebCore::acquireLineBreakIterator):

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