REGRESSION (r172172): Multiple regression tests fail when primary system language...
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Oct 2014 17:35:59 +0000 (17:35 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Oct 2014 17:35:59 +0000 (17:35 +0000)
commitbd69177409d9cb12d5456055147deaf39f7615c3
treef7fa8c274b1b82367ae37cb1224534bd50089a4c
parent91901db16f89d617a649c13714703f2b048e6499
REGRESSION (r172172): Multiple regression tests fail when primary system language is Russian
https://bugs.webkit.org/show_bug.cgi?id=136987

Reviewed by Daniel Bates.

Tools:

* WebKitTestRunner/TestController.cpp: (WTR::TestController::resetPreferencesToConsistentValues):
Specify the default encoding for all WebKit developers to get consistent results.

LayoutTests:

These test changes are not strictly necessary to fix the issue, as I'm also adding
a default to WebKitTestRunner. But it's nice to have tests work identically in WKTR
and in a browser, for which it's necessary to have them specify charset.

* accessibility/table-scope-expected.txt:
* accessibility/table-scope.html:
* fast/borders/bidi-002.html:
* fast/borders/bidi-009a.html:
* fast/frames/sandboxed-iframe-attribute-parsing-03-expected.txt:
* fast/frames/sandboxed-iframe-attribute-parsing-03.html:
* platform/mac/accessibility/table-headers-attribute-expected.txt:
* platform/mac/accessibility/table-headers-attribute.html:
* platform/mac/accessibility/table-with-zebra-rows-expected.txt:
* platform/mac/accessibility/table-with-zebra-rows.html:
* platform/mac/fast/borders/bidi-002-expected.png:
* platform/mac/fast/borders/bidi-002-expected.txt:
* platform/mac/fast/borders/bidi-009a-expected.png:
* platform/mac/fast/borders/bidi-009a-expected.txt:
* plugins/plugin-remove-subframe-expected.txt:
* plugins/plugin-remove-subframe.html:
These tests were actually expected to use UTF-8, so we used to be running them in
an inconsequentially wrong way.

* fast/css/text-transform-select.html:
* fast/encoding/high-bit-latin1.html:
* fast/encoding/parser-tests-10.html:
* fast/encoding/parser-tests-100.html:
* fast/encoding/parser-tests-110.html:
* fast/encoding/parser-tests-120.html:
* fast/encoding/parser-tests-20.html:
* fast/encoding/parser-tests-30.html:
* fast/encoding/parser-tests-50.html:
* fast/encoding/parser-tests-60.html:
* fast/encoding/parser-tests-70.html:
* fast/encoding/parser-tests-80.html:
* fast/encoding/parser-tests-90.html:
* fast/encoding/parser-tests.html:
* fast/url/anchor.html:
* fast/url/file-http-base.html:
* fast/url/file.html:
* fast/url/query.html:
* fast/url/standard-url.html:
* http/tests/misc/char-encoding-in-hidden-charset-field-default.html:
* js/dom/regexp-overflow.html:
* tables/mozilla_expected_failures/bugs/bug47163.html:
Specified the encoding, windows-1252 is what we use for Latin1 and ISO-8859-1 alike.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@174160 268f45cc-cd09-0410-ab3c-d52691b4dbfc
41 files changed:
LayoutTests/ChangeLog
LayoutTests/accessibility/table-scope-expected.txt
LayoutTests/accessibility/table-scope.html
LayoutTests/fast/borders/bidi-002.html
LayoutTests/fast/borders/bidi-009a.html
LayoutTests/fast/css/text-transform-select.html
LayoutTests/fast/encoding/high-bit-latin1.html
LayoutTests/fast/encoding/parser-tests-10.html
LayoutTests/fast/encoding/parser-tests-100.html
LayoutTests/fast/encoding/parser-tests-110.html
LayoutTests/fast/encoding/parser-tests-120.html
LayoutTests/fast/encoding/parser-tests-20.html
LayoutTests/fast/encoding/parser-tests-30.html
LayoutTests/fast/encoding/parser-tests-50.html
LayoutTests/fast/encoding/parser-tests-60.html
LayoutTests/fast/encoding/parser-tests-70.html
LayoutTests/fast/encoding/parser-tests-80.html
LayoutTests/fast/encoding/parser-tests-90.html
LayoutTests/fast/encoding/parser-tests.html
LayoutTests/fast/frames/sandboxed-iframe-attribute-parsing-03-expected.txt
LayoutTests/fast/frames/sandboxed-iframe-attribute-parsing-03.html
LayoutTests/fast/url/anchor.html
LayoutTests/fast/url/file-http-base.html
LayoutTests/fast/url/file.html
LayoutTests/fast/url/query.html
LayoutTests/fast/url/standard-url.html
LayoutTests/http/tests/misc/char-encoding-in-hidden-charset-field-default.html
LayoutTests/js/dom/regexp-overflow.html
LayoutTests/platform/mac/accessibility/table-headers-attribute-expected.txt
LayoutTests/platform/mac/accessibility/table-headers-attribute.html
LayoutTests/platform/mac/accessibility/table-with-zebra-rows-expected.txt
LayoutTests/platform/mac/accessibility/table-with-zebra-rows.html
LayoutTests/platform/mac/fast/borders/bidi-002-expected.png
LayoutTests/platform/mac/fast/borders/bidi-002-expected.txt
LayoutTests/platform/mac/fast/borders/bidi-009a-expected.png
LayoutTests/platform/mac/fast/borders/bidi-009a-expected.txt
LayoutTests/plugins/plugin-remove-subframe-expected.txt
LayoutTests/plugins/plugin-remove-subframe.html
LayoutTests/tables/mozilla_expected_failures/bugs/bug47163.html
Tools/ChangeLog
Tools/WebKitTestRunner/TestController.cpp