[Chromium] Second part of Android's fast/ rebaselining.

Unreviewed rebaselining.

Second part of baselining in fast/. Equal to the first part (r129642),
most of the tests were failing because of the scrollbar of text selection
color. Bugs will be filed for all genuine failures, and every test has
been looked at and compared with Linux individually.

General info about the initial baselining is available in bug 96398.

* platform/chromium-android/fast/block/: 71 new results.
* platform/chromium-android/fast/multicol/: 93 new results.
* platform/chromium-android/fast/overflow/: 52 new results.
* platform/chromium-android/fast/repaint/: 67 new results.
* platform/chromium-android/fast/table/: 44 new results.
* platform/chromium-android/fast/text/: 22 new results.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129659 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] Reverting implementation for 407 error pages
https://bugs.webkit.org/show_bug.cgi?id=97455

Patch by Otto Derek Cheung <otcheung@rim.com> on 2012-09-26
Reviewed by Rob Buis.

Last fix to NetworkJob to invoke AuthenticationChallenge by resetting
BlackBerryPlatformSettings's proxy credentials to "" if authentication
failed.

* platform/network/blackberry/NetworkJob.cpp:
(WebCore::NetworkJob::sendRequestWithCredentials):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129660 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[GTK] Don't use the C API internally in WebKitJavascriptResult
https://bugs.webkit.org/show_bug.cgi?id=96780

Reviewed by Gustavo Noronha Silva.

Using the C++ classes directly instead of the C API wrappers we
avoid a lot of toImpl/toAPI casts, string conversions and
allocations. The code is also a lot simpler and easier to read.

* UIProcess/API/gtk/WebKitJavascriptResult.cpp:
(_WebKitJavascriptResult::_WebKitJavascriptResult):
(webkitJavascriptResultCreate):
* UIProcess/API/gtk/WebKitJavascriptResultPrivate.h:
* UIProcess/API/gtk/WebKitWebView.cpp:
(webkitWebViewRunJavaScriptCallback):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129661 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add Latin-1 Line Break Iterator to TextBreakIteratorICU.cpp
https://bugs.webkit.org/show_bug.cgi?id=96935

Reviewed by Geoffrey Garen.

Added a Latin-1 UText implementation for the ICU library to use.  Added a new acquireLineBreakIterator() for
8 bit strings that uses the Latin-1 UText implementation.  This code path is not being called with the current 
ToT code.  Subsequent changes will enable calling the new code.

* platform/text/TextBreakIterator.h:
(WebCore::LazyLineBreakIterator::LazyLineBreakIterator):
(LazyLineBreakIterator):
(WebCore::LazyLineBreakIterator::string):
(WebCore::LazyLineBreakIterator::get):
(WebCore::LazyLineBreakIterator::reset):
* platform/text/TextBreakIteratorICU.cpp:
(WebCore::uTextLatin1Clone):
(WebCore::uTextLatin1NativeLength):
(WebCore::uTextLatin1Access):
(WebCore::uTextLatin1Extract):
(WebCore::uTextLatin1MapOffsetToNative):
(WebCore::uTextLatin1MapNativeIndexToUTF16):
(WebCore::uTextLatin1Close):
(WebCore::UTextOpenLatin1):
(WebCore::acquireLineBreakIterator):
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::LineBreaker::nextLineBreak):
* rendering/RenderText.cpp:
(WebCore::RenderText::computePreferredLogicalWidths):
* rendering/break_lines.cpp:
(WebCore::nextBreakablePosition):
(WebCore::nextBreakablePositionIgnoringNBSP):


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

Reverting inadvertent change to project file.

* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129663 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Update ComplexTextController for 8 bit TextRun changes
https://bugs.webkit.org/show_bug.cgi?id=97378

Reviewed by Geoffrey Garen.

Source/WebCore: 

Since the ComplextTextController code is primarily used for UChar data, just upconvert an 8 bit
TextRun into a new String and hold on to the String with a vector for the life of the controller.

No change in functionality, therefore no new tests.

* platform/graphics/mac/ComplexTextController.cpp:
(WebCore::ComplexTextController::ComplexTextController):
(WebCore::ComplexTextController::collectComplexTextRuns):
* platform/graphics/mac/ComplexTextController.h:
(ComplexTextController):

Source/WTF: 

Add a new create method to make a 16 bit string from 8 bit source data.  This is used in 
ComplexTextController when we have LChar* + length text data, but we really want 16 bit
data for the complex text rendering code.

* wtf/text/WTFString.cpp:
(WTF::String::make16BitFrom8BitSource):
(WTF):
* wtf/text/WTFString.h:
(String):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129664 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed chromium mac rebaseline for r129656.

* css1/formatting_model/vertical_formatting-expected.txt: Added.
* fast/box-sizing/box-sizing-expected.png: Added.
* fast/css/hsl-color-expected.txt: Added.
* fast/dom/HTMLMeterElement/meter-styles-expected.txt: Replaced.
* fast/multicol/span/span-as-immediate-child-complex-splitting-expected.txt: Replaced.
* fast/multicol/span/span-as-immediate-child-generated-content-expected.txt: Replaced.
* fast/multicol/span/span-as-immediate-columns-child-dynamic-expected.txt: Replaced.
* fast/multicol/span/span-as-nested-columns-child-dynamic-expected.txt: Replaced.
* fast/multicol/span/span-as-nested-columns-child-expected.txt: Replaced.
* fast/multicol/span/span-margin-collapsing-expected.txt: Replaced.
* fast/text/whitespace/024-expected.txt: Added.
* platform/chromium-linux-x86/fast/html: Removed.
* platform/chromium-linux-x86/fast/html/details-writing-mode-expected.txt: Removed.
* platform/chromium-linux/fast/backgrounds/background-position-parsing-expected.txt: Removed.
* platform/chromium-linux/fast/parser/style-script-head-test-expected.txt: Removed.
* platform/chromium-mac-snowleopard/css1/formatting_model/inline_elements-expected.png:
* platform/chromium-mac-snowleopard/editing/selection/4397952-expected.png:
* platform/chromium-mac-snowleopard/fast/borders/border-radius-huge-assert-expected.png:
* platform/chromium-mac-snowleopard/fast/box-sizing/box-sizing-expected.png:
* platform/chromium-mac-snowleopard/fast/css/hsl-color-expected.png:
* platform/chromium-mac-snowleopard/fast/dom/HTMLMeterElement/meter-styles-expected.png:
* platform/chromium-mac-snowleopard/fast/events/updateLayoutForHitTest-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/date/date-appearance-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/formmove-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-button-sizes-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/time-multiple-fields/time-multiple-fields-appearance-basic-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/time-multiple-fields/time-multiple-fields-appearance-disabled-readonly-expected.png:
* platform/chromium-mac-snowleopard/fast/html/details-add-summary-1-expected.png:
* platform/chromium-mac-snowleopard/fast/html/details-add-summary-10-and-click-expected.png:
* platform/chromium-mac-snowleopard/fast/html/details-add-summary-2-expected.png:
* platform/chromium-mac-snowleopard/fast/html/details-add-summary-3-expected.png:
* platform/chromium-mac-snowleopard/fast/html/details-add-summary-4-expected.png:
* platform/chromium-mac-snowleopard/fast/html/details-add-summary-5-expected.png:
* platform/chromium-mac-snowleopard/fast/html/details-add-summary-6-and-click-expected.png:
* platform/chromium-mac-snowleopard/fast/html/details-add-summary-7-and-click-expected.png:
* platform/chromium-mac-snowleopard/fast/html/details-add-summary-8-and-click-expected.png:
* platform/chromium-mac-snowleopard/fast/html/details-add-summary-9-and-click-expected.png:
* platform/chromium-mac-snowleopard/fast/html/details-no-summary1-expected.png:
* platform/chromium-mac-snowleopard/fast/html/details-no-summary3-expected.png:
* platform/chromium-mac-snowleopard/fast/html/details-open-javascript-expected.png:
* platform/chromium-mac-snowleopard/fast/html/details-open1-expected.png:
* platform/chromium-mac-snowleopard/fast/html/details-open3-expected.png:
* platform/chromium-mac-snowleopard/fast/html/details-open5-expected.png:
* platform/chromium-mac-snowleopard/fast/html/details-position-expected.png:
* platform/chromium-mac-snowleopard/fast/html/details-remove-summary-1-expected.png:
* platform/chromium-mac-snowleopard/fast/html/details-remove-summary-2-expected.png:
* platform/chromium-mac-snowleopard/fast/html/details-remove-summary-3-expected.png:
* platform/chromium-mac-snowleopard/fast/html/details-remove-summary-4-and-click-expected.png:
* platform/chromium-mac-snowleopard/fast/html/details-remove-summary-5-and-click-expected.png:
* platform/chromium-mac-snowleopard/fast/html/details-remove-summary-6-and-click-expected.png:
* platform/chromium-mac-snowleopard/fast/html/details-writing-mode-expected.png:
* platform/chromium-mac-snowleopard/fast/text/international/vertical-text-glyph-test-expected.txt:
* platform/chromium-mac-snowleopard/fast/text/whitespace/normal-after-nowrap-breaking-expected.png:
* platform/chromium-mac-snowleopard/fast/writing-mode/Kusa-Makura-background-canvas-expected.png:
* platform/chromium-mac-snowleopard/svg/wicd/rightsizing-grid-expected.png:
* platform/chromium-mac-snowleopard/svg/wicd/test-rightsizing-b-expected.png:
* platform/chromium-mac-snowleopard/svg/zoom/page/zoom-mask-with-percentages-expected.png:
* platform/chromium-mac-snowleopard/svg/zoom/page/zoom-svg-float-border-padding-expected.png:
* platform/chromium-mac-snowleopard/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.png:
* platform/chromium-mac-snowleopard/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.png:
* platform/chromium-mac-snowleopard/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.png:
* platform/chromium-mac-snowleopard/svg/zoom/text/zoom-svg-float-border-padding-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug18359-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug46480-1-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug46480-2-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla_expected_failures/collapsing_borders/bug41262-5-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla_expected_failures/collapsing_borders/bug41262-6-expected.png:
* platform/chromium-mac/compositing/visibility/visibility-image-layers-dynamic-expected.txt:
* platform/chromium-mac/css1/formatting_model/inline_elements-expected.png:
* platform/chromium-mac/css1/formatting_model/inline_elements-expected.txt:
* platform/chromium-mac/css1/formatting_model/vertical_formatting-expected.txt:
* platform/chromium-mac/css2.1/t080301-c411-vt-mrgn-00-b-expected.txt:
* platform/chromium-mac/editing/selection/4397952-expected.png:
* platform/chromium-mac/fast/backgrounds/background-position-parsing-expected.txt:
* platform/chromium-mac/fast/block/float/shrink-to-avoid-float-complexity-expected.txt:
* platform/chromium-mac/fast/block/margin-collapse/103-expected.txt:
* platform/chromium-mac/fast/borders/border-antialiasing-expected.png:
* platform/chromium-mac/fast/borders/border-radius-huge-assert-expected.png:
* platform/chromium-mac/fast/box-sizing/box-sizing-expected.png:
* platform/chromium-mac/fast/css/bidi-override-in-anonymous-block-expected.txt:
* platform/chromium-mac/fast/css/hsl-color-expected.png:
* platform/chromium-mac/fast/css/hsl-color-expected.txt:
* platform/chromium-mac/fast/dom/HTMLMeterElement/meter-styles-expected.png:
* platform/chromium-mac/fast/dom/HTMLMeterElement/meter-styles-expected.txt:
* platform/chromium-mac/fast/encoding/utf-16-big-endian-expected.txt:
* platform/chromium-mac/fast/encoding/utf-16-little-endian-expected.txt:
* platform/chromium-mac/fast/events/updateLayoutForHitTest-expected.png:
* platform/chromium-mac/fast/forms/date/date-appearance-expected.png:
* platform/chromium-mac/fast/forms/form-element-geometry-expected.txt:
* platform/chromium-mac/fast/forms/formmove-expected.png:
* platform/chromium-mac/fast/forms/input-button-sizes-expected.png:
* platform/chromium-mac/fast/forms/input-button-sizes-expected.txt:
* platform/chromium-mac/fast/forms/time-multiple-fields/time-multiple-fields-appearance-basic-expected.png:
* platform/chromium-mac/fast/forms/time-multiple-fields/time-multiple-fields-appearance-disabled-readonly-expected.png:
* platform/chromium-mac/fast/html/details-add-summary-1-expected.png:
* platform/chromium-mac/fast/html/details-add-summary-10-and-click-expected.png:
* platform/chromium-mac/fast/html/details-add-summary-2-expected.png:
* platform/chromium-mac/fast/html/details-add-summary-3-expected.png:
* platform/chromium-mac/fast/html/details-add-summary-4-expected.png:
* platform/chromium-mac/fast/html/details-add-summary-5-expected.png:
* platform/chromium-mac/fast/html/details-add-summary-6-and-click-expected.png:
* platform/chromium-mac/fast/html/details-add-summary-7-and-click-expected.png:
* platform/chromium-mac/fast/html/details-add-summary-8-and-click-expected.png:
* platform/chromium-mac/fast/html/details-add-summary-9-and-click-expected.png:
* platform/chromium-mac/fast/html/details-marker-style-expected.png:
* platform/chromium-mac/fast/html/details-no-summary1-expected.png:
* platform/chromium-mac/fast/html/details-no-summary3-expected.png:
* platform/chromium-mac/fast/html/details-open-javascript-expected.png:
* platform/chromium-mac/fast/html/details-open1-expected.png:
* platform/chromium-mac/fast/html/details-open3-expected.png:
* platform/chromium-mac/fast/html/details-open5-expected.png:
* platform/chromium-mac/fast/html/details-position-expected.png:
* platform/chromium-mac/fast/html/details-remove-summary-1-expected.png:
* platform/chromium-mac/fast/html/details-remove-summary-2-expected.png:
* platform/chromium-mac/fast/html/details-remove-summary-3-expected.png:
* platform/chromium-mac/fast/html/details-remove-summary-4-and-click-expected.png:
* platform/chromium-mac/fast/html/details-remove-summary-5-and-click-expected.png:
* platform/chromium-mac/fast/html/details-remove-summary-6-and-click-expected.png:
* platform/chromium-mac/fast/html/details-writing-mode-expected.png:
* platform/chromium-mac/fast/html/details-writing-mode-expected.txt:
* platform/chromium-mac/fast/multicol/span/anonymous-split-block-crash-expected.txt:
* platform/chromium-mac/fast/multicol/span/span-as-immediate-child-complex-splitting-expected.txt:
* platform/chromium-mac/fast/multicol/span/span-as-immediate-child-generated-content-expected.txt:
* platform/chromium-mac/fast/multicol/span/span-as-immediate-columns-child-dynamic-expected.txt:
* platform/chromium-mac/fast/multicol/span/span-as-immediate-columns-child-expected.txt:
* platform/chromium-mac/fast/multicol/span/span-as-nested-columns-child-dynamic-expected.png:
* platform/chromium-mac/fast/multicol/span/span-as-nested-columns-child-dynamic-expected.txt:
* platform/chromium-mac/fast/multicol/span/span-as-nested-columns-child-expected.txt:
* platform/chromium-mac/fast/multicol/span/span-margin-collapsing-expected.txt:
* platform/chromium-mac/fast/text/international/vertical-text-glyph-test-expected.txt:
* platform/chromium-mac/fast/text/line-breaks-expected.txt:
* platform/chromium-mac/fast/text/whitespace/024-expected.txt:
* platform/chromium-mac/fast/text/whitespace/normal-after-nowrap-breaking-expected.png: Added.
* platform/chromium-mac/fast/text/whitespace/normal-after-nowrap-breaking-expected.txt:
* platform/chromium-mac/fast/transforms/transformed-focused-text-input-expected.png:
* platform/chromium-mac/fast/writing-mode/Kusa-Makura-background-canvas-expected.png:
* platform/chromium-mac/fast/writing-mode/Kusa-Makura-background-canvas-expected.txt:
* platform/chromium-mac/platform/chromium/virtual/threaded/compositing/visibility/visibility-image-layers-dynamic-expected.txt:
* platform/chromium-mac/svg/custom/use-css-no-effect-on-shadow-tree-expected.png:
* platform/chromium-mac/svg/custom/viewBox-hit-expected.png:
* platform/chromium-mac/svg/wicd/rightsizing-grid-expected.png:
* platform/chromium-mac/svg/wicd/rightsizing-grid-expected.txt:
* platform/chromium-mac/svg/wicd/test-rightsizing-b-expected.png:
* platform/chromium-mac/svg/wicd/test-rightsizing-b-expected.txt:
* platform/chromium-mac/svg/zoom/page/zoom-hixie-mixed-009-expected.txt:
* platform/chromium-mac/svg/zoom/page/zoom-mask-with-percentages-expected.png:
* platform/chromium-mac/svg/zoom/page/zoom-replaced-intrinsic-ratio-001-expected.txt:
* platform/chromium-mac/svg/zoom/page/zoom-svg-float-border-padding-expected.png:
* platform/chromium-mac/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.png:
* platform/chromium-mac/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.txt:
* platform/chromium-mac/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.png:
* platform/chromium-mac/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.txt:
* platform/chromium-mac/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.png:
* platform/chromium-mac/svg/zoom/text/zoom-svg-float-border-padding-expected.png:
* platform/chromium-mac/tables/mozilla/bugs/bug18359-expected.png:
* platform/chromium-mac/tables/mozilla/bugs/bug2479-1-expected.txt:
* platform/chromium-mac/tables/mozilla/bugs/bug2479-4-expected.txt:
* platform/chromium-mac/tables/mozilla/bugs/bug46480-1-expected.png:
* platform/chromium-mac/tables/mozilla/bugs/bug46480-2-expected.png:
* platform/chromium-mac/tables/mozilla/other/test3-expected.txt:
* platform/chromium-mac/tables/mozilla_expected_failures/bugs/bug91057-expected.txt:
* platform/chromium-mac/tables/mozilla_expected_failures/collapsing_borders/bug41262-5-expected.png:
* platform/chromium-mac/tables/mozilla_expected_failures/collapsing_borders/bug41262-6-expected.png:
* platform/chromium-win-xp/fast/box-sizing: Removed.
* platform/chromium-win-xp/fast/box-sizing/box-sizing-expected.png: Removed.
* platform/chromium-win/fast/parser/style-script-head-test-expected.txt: Removed.
* platform/chromium/TestExpectations:
* platform/chromium/fast/parser/style-script-head-test-expected.txt: Replaced.
* platform/efl/css1/formatting_model/vertical_formatting-expected.txt: Removed.
* platform/efl/fast/box-sizing/box-sizing-expected.png: Removed.
* platform/efl/fast/css/hsl-color-expected.txt: Removed.
* platform/efl/fast/dom/HTMLMeterElement/meter-styles-expected.txt: Removed.
* platform/efl/fast/multicol/span/span-as-immediate-child-complex-splitting-expected.txt: Removed.
* platform/efl/fast/multicol/span/span-as-immediate-child-generated-content-expected.txt: Removed.
* platform/efl/fast/multicol/span/span-as-immediate-columns-child-dynamic-expected.txt: Removed.
* platform/efl/fast/multicol/span/span-as-nested-columns-child-dynamic-expected.txt: Removed.
* platform/efl/fast/multicol/span/span-as-nested-columns-child-expected.txt: Removed.
* platform/efl/fast/multicol/span/span-margin-collapsing-expected.txt: Removed.
* platform/efl/fast/text/whitespace/024-expected.txt: Removed.
* platform/efl/svg/wicd/rightsizing-grid-expected.txt: Removed.
* platform/efl/svg/wicd/test-rightsizing-b-expected.txt: Removed.
* platform/efl/svg/zoom/page/zoom-replaced-intrinsic-ratio-001-expected.txt: Removed.
* platform/efl/tables/mozilla/bugs/bug2479-1-expected.txt: Removed.
* platform/efl/tables/mozilla/other/test3-expected.txt: Removed.
* platform/efl/tables/mozilla_expected_failures/bugs/bug91057-expected.txt: Removed.
* platform/gtk/css1/formatting_model/vertical_formatting-expected.txt: Removed.
* platform/gtk/fast/box-sizing/box-sizing-expected.png: Removed.
* platform/gtk/fast/css/hsl-color-expected.txt: Removed.
* platform/gtk/fast/dom/HTMLMeterElement/meter-styles-expected.txt: Removed.
* platform/gtk/fast/multicol/span/span-as-immediate-child-complex-splitting-expected.txt: Removed.
* platform/gtk/fast/multicol/span/span-as-immediate-child-generated-content-expected.txt: Removed.
* platform/gtk/fast/multicol/span/span-as-immediate-columns-child-dynamic-expected.txt: Removed.
* platform/gtk/fast/multicol/span/span-as-nested-columns-child-dynamic-expected.txt: Removed.
* platform/gtk/fast/multicol/span/span-as-nested-columns-child-expected.txt: Removed.
* platform/gtk/fast/multicol/span/span-margin-collapsing-expected.txt: Removed.
* platform/gtk/fast/text/whitespace/024-expected.txt: Removed.
* platform/gtk/svg/wicd/rightsizing-grid-expected.txt: Removed.
* platform/gtk/svg/wicd/test-rightsizing-b-expected.txt: Removed.
* platform/gtk/svg/zoom/page/zoom-replaced-intrinsic-ratio-001-expected.txt: Removed.
* platform/gtk/tables/mozilla/bugs/bug2479-1-expected.txt: Removed.
* platform/gtk/tables/mozilla/other/test3-expected.txt: Removed.
* platform/gtk/tables/mozilla_expected_failures/bugs/bug91057-expected.txt: Removed.
* platform/win-future/fast/multicol/span/span-as-immediate-child-complex-splitting-expected.txt: Added.
* platform/win-future/fast/multicol/span/span-as-immediate-child-generated-content-expected.txt: Added.
* platform/win-future/fast/multicol/span/span-as-immediate-columns-child-dynamic-expected.txt: Added.
* platform/win-future/fast/multicol/span/span-as-nested-columns-child-dynamic-expected.txt: Added.
* platform/win-future/fast/multicol/span/span-as-nested-columns-child-expected.txt: Added.
* platform/win-future/fast/multicol/span/span-margin-collapsing-expected.txt: Added.
* svg/wicd/rightsizing-grid-expected.txt: Added.
* svg/wicd/test-rightsizing-b-expected.txt: Added.
* svg/zoom/page/zoom-replaced-intrinsic-ratio-001-expected.txt: Added.
* tables/mozilla/bugs/bug2479-1-expected.txt: Added.
* tables/mozilla/other/test3-expected.txt: Added.
* tables/mozilla_expected_failures/bugs/bug91057-expected.txt: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129665 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Fix find-in-page corner case for detached frames
https://bugs.webkit.org/show_bug.cgi?id=97688

Reviewed by Adam Barth.

Adds a check to prevent crashes when running find-in-page requests
on detached frames.

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


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129666 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed fix for Chromium TestExpectations

* platform/chromium/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129667 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Update SVGFontData for 8 bit TextRun changes
https://bugs.webkit.org/show_bug.cgi?id=97379

Reviewed by Geoffrey Garen.

Educated applySVGGlyphSelection to be 8 / 16 bit TextRun aware.

No change in funcitonality, therefore no new tests.

* svg/SVGFontData.cpp:
(WebCore::SVGFontData::applySVGGlyphSelection):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129668 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Use runPerSecond in PerformanceTests/Bindings/typed-array* and event-target-wrapper
https://bugs.webkit.org/show_bug.cgi?id=97625

Reviewed by Eric Seidel.

Use PerfTestRunner.runPerSecond instead of PerfTestRunner.run. Also reduce the fixed number of
elements and iterations in these tests by a factor of 10 since runPerSecond can dynamically
adjust the number of function calls.

* Bindings/event-target-wrapper.html:
* Bindings/typed-array-construct-from-array.html:
* Bindings/typed-array-construct-from-same-type.html:
* Bindings/typed-array-construct-from-typed.html:
* Bindings/typed-array-set-from-typed.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129669 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Refactor SMILTimeContainer to maintain animation information instead of recalculating it every frame
https://bugs.webkit.org/show_bug.cgi?id=96697

Reviewed by Eric Seidel.

SVGTimeContainer can be improved by maintaining extra information about
animations during schedule/unschedule instead of re-calculating it
every frame.

After this patch, SMILTimeContainer maintains a GroupedAnimationsMap instead of
just a Vector. This map maps a list of animations to the specific ElementAttributePair
that will be animated.

On schedule/unschedule we modify this map instead of creating it in updateAnimations.
As a result, we need to be careful about always notifying (or, re-scheduling) the
time container when either an animation's target changes or an animation's attributeName
changes. This notification is managed by tracking changes with targetElementWillChange
and setAttributeName.

After this patch, updateAnimations only iterates over m_scheduledAnimations.
Furthermore, the sorting of animations by priority is now done over each Vector of
SVGSMILElements affecting a {SVGElement*, QualifiedName} pair instead of over all the
SVGSMILElements at once.

Lastly, a guard (m_preventScheduledAnimationsChanges) has been added
to prove that we do not modify the scheduled animations map out
from under ourselves.

No new tests as this is just a refactoring.

* svg/SVGAnimateElement.cpp:
(WebCore::SVGAnimateElement::hasValidAttributeType):

* svg/SVGAnimateMotionElement.cpp:
(WebCore::SVGAnimateMotionElement::hasValidAttributeName):

    Per the spec, AnimateMotion is not affected by attributeName. Instead
    of having a special case for this in SMILTimeContainer::updateAnimations
    we simply implement this method.

(WebCore):
* svg/SVGAnimateMotionElement.h:
(SVGAnimateMotionElement):
* svg/SVGAnimationElement.cpp:
(WebCore::SVGAnimationElement::updateAnimation):
* svg/animation/SMILTimeContainer.cpp:
(WebCore):
(WebCore::SMILTimeContainer::SMILTimeContainer):
(WebCore::SMILTimeContainer::~SMILTimeContainer):

    This method now cleans up the map since we have dynamically allocated
    Vectors in it.

(WebCore::SMILTimeContainer::schedule):

    Here we are just adding an entry to the map. There is some special handling
    for creating the Vector of one does not exist.

(WebCore::SMILTimeContainer::unschedule):
(WebCore::SMILTimeContainer::notifyIntervalsChanged):
(WebCore::SMILTimeContainer::setElapsed):
(WebCore::SMILTimeContainer::startTimer):
(WebCore::SMILTimeContainer::updateAnimations):
* svg/animation/SMILTimeContainer.h:
(WebCore::SMILTimeContainer::create):
(SMILTimeContainer):
* svg/animation/SVGSMILElement.cpp:
(WebCore::SVGSMILElement::~SVGSMILElement):
(WebCore::SVGSMILElement::insertedInto):
(WebCore::SVGSMILElement::removedFrom):
(WebCore):
(WebCore::SVGSMILElement::hasValidAttributeName):
(WebCore::SVGSMILElement::svgAttributeChanged):
(WebCore::SVGSMILElement::setAttributeName):
(WebCore::SVGSMILElement::targetElementWillChange):
(WebCore::SVGSMILElement::resetTargetElement):
(WebCore::SVGSMILElement::resolveFirstInterval):
(WebCore::SVGSMILElement::beginListChanged):
(WebCore::SVGSMILElement::endListChanged):
(WebCore::SVGSMILElement::progress):
* svg/animation/SVGSMILElement.h:
(SVGSMILElement):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129670 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Need implement isWordTextBreak for QT, and WinCE for visual word movement functionality
https://bugs.webkit.org/show_bug.cgi?id=81136

Patch by Tullio Lucena <tullio.lucena@openbossa.org> on 2012-09-26
Reviewed by Csaba Osztrogonác.

Unskip some tests that are passing.

* platform/qt/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129671 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r129654.
http://trac.webkit.org/changeset/129654
https://bugs.webkit.org/show_bug.cgi?id=97702

breaks chromium windows build (Requested by schenney on
#webkit).

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

Source/Platform:

* chromium/public/WebRTCPeerConnectionHandler.h:
(WebKit):
(WebRTCPeerConnectionHandler):
* chromium/public/WebRTCStatsRequest.h: Removed.

Source/WebCore:

* CMakeLists.txt:
* GNUmakefile.list.am:
* Modules/mediastream/RTCPeerConnection.cpp:
* Modules/mediastream/RTCPeerConnection.h:
(WebCore):
(RTCPeerConnection):
* Modules/mediastream/RTCPeerConnection.idl:
* Modules/mediastream/RTCStatsCallback.h: Removed.
* Modules/mediastream/RTCStatsCallback.idl: Removed.
* Modules/mediastream/RTCStatsElement.cpp: Removed.
* Modules/mediastream/RTCStatsElement.h: Removed.
* Modules/mediastream/RTCStatsElement.idl: Removed.
* Modules/mediastream/RTCStatsReport.cpp: Removed.
* Modules/mediastream/RTCStatsReport.h: Removed.
* Modules/mediastream/RTCStatsReport.idl: Removed.
* Modules/mediastream/RTCStatsRequestImpl.cpp: Removed.
* Modules/mediastream/RTCStatsRequestImpl.h: Removed.
* Modules/mediastream/RTCStatsResponse.cpp: Removed.
* Modules/mediastream/RTCStatsResponse.h: Removed.
* Modules/mediastream/RTCStatsResponse.idl: Removed.
* WebCore.gypi:
* platform/chromium/support/WebRTCStatsRequest.cpp: Removed.
* platform/mediastream/RTCPeerConnectionHandler.cpp:
(RTCPeerConnectionHandlerDummy):
* platform/mediastream/RTCPeerConnectionHandler.h:
(WebCore):
(RTCPeerConnectionHandler):
* platform/mediastream/RTCStatsRequest.h: Removed.
* platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp:
* platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h:
(RTCPeerConnectionHandlerChromium):

Tools:

* DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
* DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.h:
(MockWebRTCPeerConnectionHandler):

LayoutTests:

* fast/mediastream/RTCPeerConnection-stats-expected.txt: Removed.
* fast/mediastream/RTCPeerConnection-stats.html: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129672 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium][Win] Remove ensureFontLoaded from PlatformSupport
https://bugs.webkit.org/show_bug.cgi?id=97696

Reviewed by Adam Barth.

Part of a refactoring series. See tracking bug 82948.

Source/WebCore:

* platform/chromium/PlatformSupport.h:
(PlatformSupport):
* platform/graphics/skia/SkiaFontWin.cpp:
(WebCore::paintSkiaText):

Source/WebKit/chromium:

* src/PlatformSupport.cpp:
(WebCore::PlatformSupport::ensureFontLoaded):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129673 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Do not dispatch touch-events to plugins unless they explicitly request for touch-events.
https://bugs.webkit.org/show_bug.cgi?id=97685

Patch by Sadrul Habib Chowdhury <sadrul@chromium.org> on 2012-09-26
Reviewed by Adam Barth.

Plugins need to call setIsAcceptingTouchEvents if they want to receive touch-events. So
avoid dispatching touch-events to plugins unless they have explicitly requested for them.

* src/WebPluginContainerImpl.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129674 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed chromium mac rebaseline.

* platform/chromium-mac-snowleopard/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png:
* platform/chromium-mac/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129675 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add ability for JSArray::unshiftCount to unshift in middle of an array
https://bugs.webkit.org/show_bug.cgi?id=97691

Reviewed by Filip Pizlo.

Changed JSArray::unshiftCount and unshiftCountSlowCase to handle unshifting from the middle of an
array.  Depending on where the unshift point is, either the front part of the array will be moved
"left" or the back part will be moved right.  Given that unshiftCount only works on contiguous
arrays it is safe to use memmove for the moves.

This change is worth 25% performance improvement on pdfjs.  It doesn't seem to have any impact on
any other benchmarks.

* runtime/ArrayPrototype.cpp:
(JSC::unshift):
* runtime/JSArray.cpp:
(JSC::JSArray::unshiftCountSlowCase):
(JSC::JSArray::unshiftCount):
* runtime/JSArray.h:
(JSArray):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129676 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r129521.
http://trac.webkit.org/changeset/129521
https://bugs.webkit.org/show_bug.cgi?id=97710

Broke autocomplete on enter_bug.cgi (Requested by abarth on
#webkit).

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

* committers-autocomplete.js:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129677 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Rebase a few of Mozilla's tests in tables/ for Android.

Unreviewed rebaselining.

This rebaselines a few tests in Mozilla's suite for tables/. All of these
had differences because of Android's different scrollbar. For more context
on Android's baselining, see bug 96398.

* platform/wk2/tables/mozilla/: 33 new results.

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