Web Inspector: Timeline: fix test expectations
https://bugs.webkit.org/show_bug.cgi?id=101737

Patch by Eugene Klyuchnikov <eustas.bug@gmail.com> on 2012-11-12
Reviewed by Yury Semikhatsky.

The expected order of timeline records of specific types
have been changed: https://bugs.webkit.org/show_bug.cgi?id=101544

This change fixes test expectations.
Also removed expectation that test can fail.

* inspector/timeline/timeline-receive-response-event-expected.txt:
* platform/chromium/TestExpectations: Removed "fail" expectation.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134212 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Unreviewed gardening, skip a new crashing test.

* platform/qt/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134213 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Can not load MHTML documents
https://bugs.webkit.org/show_bug.cgi?id=101765

Reviewed by Simon Hausmann.

Source/WebCore:

Recognize common MHTML extensions so that we can recognize MHTML tests on the file-system.

Tested by existing mhtml/ tests.

* platform/qt/MIMETypeRegistryQt.cpp:
(WebCore):

Tools:

Enable MHTML feature.

* qmake/mkspecs/features/features.pri:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134214 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Pixel tests need rebaseline
https://bugs.webkit.org/show_bug.cgi?id=99323

Unreviewed gardening.

Fix my previous gardening commit: s/-actual.png/-expected.png

* platform/qt/css3/filters/effect-reference-ordering-hw-expected.png: Renamed from LayoutTests/platform/qt/css3/filters/effect-reference-ordering-hw-actual.png.
* platform/qt/fast/images/png-suite/test-expected.png: Renamed from LayoutTests/platform/qt/fast/images/png-suite/test-actual.png.
* platform/qt/svg/as-image/image-respects-pageScaleFactor-change-expected.png: Renamed from LayoutTests/platform/qt/svg/as-image/image-respects-pageScaleFactor-change-actual.png.
* platform/qt/svg/as-object/embedded-svg-size-changes-expected.png: Renamed from LayoutTests/platform/qt/svg/as-object/embedded-svg-size-changes-actual.png.
* platform/qt/svg/as-object/nested-embedded-svg-size-changes-expected.png: Renamed from LayoutTests/platform/qt/svg/as-object/nested-embedded-svg-size-changes-actual.png.
* platform/qt/svg/dynamic-updates/SVGMarkerElement-svgdom-refX-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGMarkerElement-svgdom-refX-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGMarkerElement-svgdom-refY-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGMarkerElement-svgdom-refY-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGMarkerElement-svgdom-setOrientToAngle-call-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGMarkerElement-svgdom-setOrientToAngle-call-actual.png.
* platform/qt/svg/dynamic-updates/SVGMarkerElement-svgdom-setOrientToAuto-call-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGMarkerElement-svgdom-setOrientToAuto-call-actual.png.
* platform/qt/svg/dynamic-updates/SVGMaskElement-dom-height-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGMaskElement-dom-height-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGMaskElement-dom-maskContentUnits-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGMaskElement-dom-maskContentUnits-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGMaskElement-dom-maskUnits-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGMaskElement-dom-maskUnits-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGMaskElement-dom-width-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGMaskElement-dom-width-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGMaskElement-dom-x-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGMaskElement-dom-x-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGMaskElement-dom-y-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGMaskElement-dom-y-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGMaskElement-svgdom-height-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGMaskElement-svgdom-height-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGMaskElement-svgdom-maskContentUnits-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGMaskElement-svgdom-maskContentUnits-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGMaskElement-svgdom-maskUnits-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGMaskElement-svgdom-maskUnits-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGMaskElement-svgdom-width-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGMaskElement-svgdom-width-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGMaskElement-svgdom-x-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGMaskElement-svgdom-x-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGMaskElement-svgdom-y-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGMaskElement-svgdom-y-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGPathElement-dom-requiredFeatures-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGPathElement-dom-requiredFeatures-actual.png.
* platform/qt/svg/dynamic-updates/SVGPathElement-svgdom-requiredFeatures-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGPathElement-svgdom-requiredFeatures-actual.png.
* platform/qt/svg/dynamic-updates/SVGPatternElement-dom-height-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGPatternElement-dom-height-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGPatternElement-dom-patternContentUnits-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGPatternElement-dom-patternContentUnits-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGPatternElement-dom-patternTransform-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGPatternElement-dom-patternTransform-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGPatternElement-dom-patternUnits-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGPatternElement-dom-patternUnits-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGPatternElement-dom-width-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGPatternElement-dom-width-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGPatternElement-dom-x-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGPatternElement-dom-x-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGPatternElement-dom-y-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGPatternElement-dom-y-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGPatternElement-svgdom-height-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGPatternElement-svgdom-height-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGPatternElement-svgdom-patternContentUnits-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGPatternElement-svgdom-patternContentUnits-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGPatternElement-svgdom-patternTransform-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGPatternElement-svgdom-patternTransform-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGPatternElement-svgdom-patternUnits-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGPatternElement-svgdom-patternUnits-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGPatternElement-svgdom-width-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGPatternElement-svgdom-width-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGPatternElement-svgdom-x-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGPatternElement-svgdom-x-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGPatternElement-svgdom-y-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGPatternElement-svgdom-y-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGPolygonElement-dom-requiredFeatures-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGPolygonElement-dom-requiredFeatures-actual.png.
* platform/qt/svg/dynamic-updates/SVGPolygonElement-svgdom-requiredFeatures-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGPolygonElement-svgdom-requiredFeatures-actual.png.
* platform/qt/svg/dynamic-updates/SVGPolylineElement-dom-requiredFeatures-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGPolylineElement-dom-requiredFeatures-actual.png.
* platform/qt/svg/dynamic-updates/SVGPolylineElement-svgdom-requiredFeatures-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGPolylineElement-svgdom-requiredFeatures-actual.png.
* platform/qt/svg/dynamic-updates/SVGRadialGradientElement-dom-cx-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGRadialGradientElement-dom-cx-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGRadialGradientElement-dom-cy-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGRadialGradientElement-dom-cy-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGRadialGradientElement-dom-fx-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGRadialGradientElement-dom-fx-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGRadialGradientElement-dom-fy-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGRadialGradientElement-dom-fy-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGRadialGradientElement-dom-gradientTransform-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGRadialGradientElement-dom-gradientTransform-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGRadialGradientElement-dom-gradientUnits-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGRadialGradientElement-dom-gradientUnits-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGRadialGradientElement-dom-r-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGRadialGradientElement-dom-r-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGRadialGradientElement-svgdom-cx-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGRadialGradientElement-svgdom-cx-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGRadialGradientElement-svgdom-cy-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGRadialGradientElement-svgdom-cy-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGRadialGradientElement-svgdom-fx-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGRadialGradientElement-svgdom-fx-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGRadialGradientElement-svgdom-fy-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGRadialGradientElement-svgdom-fy-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGRadialGradientElement-svgdom-gradientTransform-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGRadialGradientElement-svgdom-gradientTransform-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGRadialGradientElement-svgdom-gradientUnits-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGRadialGradientElement-svgdom-gradientUnits-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGRadialGradientElement-svgdom-r-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGRadialGradientElement-svgdom-r-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGRectElement-dom-height-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGRectElement-dom-height-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGRectElement-dom-requiredFeatures-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGRectElement-dom-requiredFeatures-actual.png.
* platform/qt/svg/dynamic-updates/SVGRectElement-dom-width-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGRectElement-dom-width-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGRectElement-dom-x-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGRectElement-dom-x-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGRectElement-dom-y-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGRectElement-dom-y-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGRectElement-svgdom-height-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGRectElement-svgdom-height-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGRectElement-svgdom-requiredFeatures-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGRectElement-svgdom-requiredFeatures-actual.png.
* platform/qt/svg/dynamic-updates/SVGRectElement-svgdom-width-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGRectElement-svgdom-width-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGRectElement-svgdom-x-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGRectElement-svgdom-x-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGRectElement-svgdom-y-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGRectElement-svgdom-y-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGSVGElement-dom-requiredFeatures-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGSVGElement-dom-requiredFeatures-actual.png.
* platform/qt/svg/dynamic-updates/SVGSVGElement-svgdom-requiredFeatures-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGSVGElement-svgdom-requiredFeatures-actual.png.
* platform/qt/svg/dynamic-updates/SVGTRefElement-dom-href-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGTRefElement-dom-href-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGTextElement-dom-dx-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGTextElement-dom-dx-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGTextElement-dom-dy-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGTextElement-dom-dy-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGTextElement-dom-lengthAdjust-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGTextElement-dom-lengthAdjust-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGTextElement-dom-requiredFeatures-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGTextElement-dom-requiredFeatures-actual.png.
* platform/qt/svg/dynamic-updates/SVGTextElement-dom-rotate-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGTextElement-dom-rotate-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGTextElement-dom-textLength-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGTextElement-dom-textLength-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGTextElement-dom-transform-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGTextElement-dom-transform-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGTextElement-dom-x-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGTextElement-dom-x-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGTextElement-dom-y-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGTextElement-dom-y-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGTextElement-svgdom-dx-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGTextElement-svgdom-dx-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGTextElement-svgdom-dy-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGTextElement-svgdom-dy-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGTextElement-svgdom-lengthAdjust-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGTextElement-svgdom-lengthAdjust-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGTextElement-svgdom-requiredFeatures-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGTextElement-svgdom-requiredFeatures-actual.png.
* platform/qt/svg/dynamic-updates/SVGTextElement-svgdom-rotate-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGTextElement-svgdom-rotate-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGTextElement-svgdom-textLength-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGTextElement-svgdom-textLength-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGTextElement-svgdom-transform-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGTextElement-svgdom-transform-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGTextElement-svgdom-x-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGTextElement-svgdom-x-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGTextElement-svgdom-y-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGTextElement-svgdom-y-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGUseElement-dom-href1-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGUseElement-dom-href1-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGUseElement-dom-href2-attr-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGUseElement-dom-href2-attr-actual.png.
* platform/qt/svg/dynamic-updates/SVGUseElement-dom-requiredFeatures-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGUseElement-dom-requiredFeatures-actual.png.
* platform/qt/svg/dynamic-updates/SVGUseElement-svgdom-href1-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGUseElement-svgdom-href1-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGUseElement-svgdom-href2-prop-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGUseElement-svgdom-href2-prop-actual.png.
* platform/qt/svg/dynamic-updates/SVGUseElement-svgdom-requiredFeatures-expected.png: Renamed from LayoutTests/platform/qt/svg/dynamic-updates/SVGUseElement-svgdom-requiredFeatures-actual.png.
* platform/qt/svg/filters/subRegion-one-effect-expected.png: Renamed from LayoutTests/platform/qt/svg/filters/subRegion-one-effect-actual.png.
* platform/qt/svg/filters/subRegion-two-effects-expected.png: Renamed from LayoutTests/platform/qt/svg/filters/subRegion-two-effects-actual.png.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134215 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add support for week/month to Locale::formatDateTime()
https://bugs.webkit.org/show_bug.cgi?id=101878

Reviewed by Kent Tamura.

Source/WebCore:

Adding support for week/month to Locale::formatDateTime() in preparation for datalist support for <input type=week/month>.

Added Chromium tests LocaleMacTest.formatWeek and LocaleMacTest.formatMonth.

* platform/text/PlatformLocale.cpp:
(WebCore::DateTimeStringBuilder::visitField):
(WebCore::Locale::formatDateTime): Support week and month types.

Source/WebKit/chromium:

* tests/LocaleMacTest.cpp:
(LocaleMacTest::formatWeek): Takes ISO string and returns localized string.
(LocaleMacTest):
(LocaleMacTest::formatMonth): Ditto.
(TEST_F):


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