summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_message_unittest.cc
diff options
context:
space:
mode:
authorkalman@chromium.org <kalman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-19 05:59:57 +0000
committerkalman@chromium.org <kalman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-19 05:59:57 +0000
commitd8b4aa4a5912b7a1d05aa00a80917b9de38a3a9e (patch)
treeacde083a4a4ad6343c0b3d572d533199aa040153 /ipc/ipc_message_unittest.cc
parente1600c3e418ce7c4ab13a35394b0093717808da1 (diff)
downloadchromium_src-d8b4aa4a5912b7a1d05aa00a80917b9de38a3a9e.zip
chromium_src-d8b4aa4a5912b7a1d05aa00a80917b9de38a3a9e.tar.gz
chromium_src-d8b4aa4a5912b7a1d05aa00a80917b9de38a3a9e.tar.bz2
Fix IPC marshalling of dictionaries with dots in their key names.
BUG= TEST=unit test Review URL: http://codereview.chromium.org/7671057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97435 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_message_unittest.cc')
-rw-r--r--ipc/ipc_message_unittest.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipc/ipc_message_unittest.cc b/ipc/ipc_message_unittest.cc
index 7b1d3be..7339e30 100644
--- a/ipc/ipc_message_unittest.cc
+++ b/ipc/ipc_message_unittest.cc
@@ -38,6 +38,7 @@ TEST(IPCMessageTest, DictionaryValue) {
input.Set("null", Value::CreateNullValue());
input.Set("bool", Value::CreateBooleanValue(true));
input.Set("int", Value::CreateIntegerValue(42));
+ input.SetWithoutPathExpansion("int.with.dot", Value::CreateIntegerValue(43));
scoped_ptr<DictionaryValue> subdict(new DictionaryValue());
subdict->Set("str", Value::CreateStringValue("forty two"));