[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
loislo at chromium.org
loislo at chromium.org
Wed Dec 22 11:23:17 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit 2b22d4dea745a97fc6c81b1d0094591a8e6c92cf
Author: loislo at chromium.org <loislo at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Wed Jul 21 15:51:18 2010 +0000
2010-07-21 Ilya Tikhonovsky <loislo at chromium.org>
Reviewed by Pavel Feldman.
WebInspector: Serialization to JSON in InspectorValue works incorrect
if comma is assigned as decimal separator. Windows with Russian locale.
https://bugs.webkit.org/show_bug.cgi?id=42755
* inspector/InspectorValues.cpp:
(WebCore::InspectorBasicValue::writeJSON):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63822 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index c3148f5..dccbab8 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,14 @@
+2010-07-21 Ilya Tikhonovsky <loislo at chromium.org>
+
+ Reviewed by Pavel Feldman.
+
+ WebInspector: Serialization to JSON in InspectorValue works incorrect
+ if comma is assigned as decimal separator. Windows with Russian locale.
+ https://bugs.webkit.org/show_bug.cgi?id=42755
+
+ * inspector/InspectorValues.cpp:
+ (WebCore::InspectorBasicValue::writeJSON):
+
2010-07-20 Simon Fraser <simon.fraser at apple.com>
Reviewed by Dan Bernstein.
diff --git a/WebCore/inspector/InspectorValues.cpp b/WebCore/inspector/InspectorValues.cpp
index fd42c65..90a40f9 100644
--- a/WebCore/inspector/InspectorValues.cpp
+++ b/WebCore/inspector/InspectorValues.cpp
@@ -550,6 +550,7 @@ void InspectorBasicValue::writeJSON(Vector<UChar>* output) const
output->append(falseString, 5);
} else if (type() == TypeDouble) {
String value = String::format("%f", m_doubleValue);
+ value.replace(',', '.');
output->append(value.characters(), value.length());
}
}
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list