[webkit-dev] [webkit-changes] [50959] trunk/WebKitTools
Alexey Proskuryakov
ap at webkit.org
Fri Nov 13 12:34:07 PST 2009
I'm not sure if this is a great approach. Previously, people with
other default locales exercised code paths that aren't normally taken
on U.S. systems, and thus could catch problems affecting shipping
products early.
It is beneficial that DRT results get more predictable, but tests are
most useful when they fail, not when they pass :)
- WBR, Alexey Proskuryakov
13.11.2009, в 12:04, kenneth at webkit.org написал(а):
> Revision
> 50959
> Author
> kenneth at webkit.org
> Date
> 2009-11-13 12:04:24 -0800 (Fri, 13 Nov 2009)
> Log Message
>
> Set the locale to C and not to the current one in use on the system.
>
> Reviewed by Simon Hausmann.
>
> * DumpRenderTree/qt/DumpRenderTree.cpp:
> (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
> Modified Paths
>
> trunk/WebKitTools/ChangeLog
> trunk/WebKitTools/DumpRenderTree/qt/DumpRenderTree.cpp
> Diff
>
> Modified: trunk/WebKitTools/ChangeLog (50958 => 50959)
>
> --- trunk/WebKitTools/ChangeLog 2009-11-13 19:56:43 UTC (rev 50958)
> +++ trunk/WebKitTools/ChangeLog 2009-11-13 20:04:24 UTC (rev 50959)
> @@ -1,3 +1,12 @@
> +2009-11-13 Kenneth Rohde Christiansen <kenneth at webkit.org>
> +
> + Reviewed by Simon Hausmann.
> +
> + Set the locale to C and not to the current one in use on
> the system.
> +
> + * DumpRenderTree/qt/DumpRenderTree.cpp:
> +
> (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
> +
> 2009-11-13 Adam Roben <aroben at apple.com>
>
> Finish replacing worldIDs with world objects
> Modified: trunk/WebKitTools/DumpRenderTree/qt/DumpRenderTree.cpp
> (50958 => 50959)
>
> --- trunk/WebKitTools/DumpRenderTree/qt/DumpRenderTree.cpp
> 2009-11-13 19:56:43 UTC (rev 50958)
> +++ trunk/WebKitTools/DumpRenderTree/qt/DumpRenderTree.cpp
> 2009-11-13 20:04:24 UTC (rev 50959)
> @@ -304,8 +304,8 @@
>
> m_page->undoStack()->clear();
>
> - QLocale qlocale;
> - QLocale::setDefault(qlocale);
> + QLocale::setDefault(QLocale::c());
> + setlocale(LC_ALL, "");
> }
>
> void DumpRenderTree::open(const QUrl& aurl)
> _______________________________________________
> webkit-changes mailing list
> webkit-changes at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20091113/d80784e6/attachment.html>
More information about the webkit-dev
mailing list