| Index: chrome/test/chromedriver/js/call_function_test.html
|
| diff --git a/chrome/test/chromedriver/js/call_function_test.html b/chrome/test/chromedriver/js/call_function_test.html
|
| index 3eee20ea005ff03a85bed37920e9b172efd737a6..7651a3ad0eab8da71587c936026e3a47d4e8d12d 100644
|
| --- a/chrome/test/chromedriver/js/call_function_test.html
|
| +++ b/chrome/test/chromedriver/js/call_function_test.html
|
| @@ -63,7 +63,7 @@ function testCacheWrap() {
|
|
|
| var arr = [1, new Array(1, new Object({a: 1, b: {a: 1, b: {}, c: 3}}), 3)];
|
| var originalJson = JSON.stringify(arr);
|
| - arr[1][1].b.b[ELEMENT_KEY] = cache.nextId_;
|
| + arr[1][1].b.b[ELEMENT_KEY] = cache.nextId_.toString();
|
| var wrappedJson = JSON.stringify(arr);
|
| arr[1][1].b.b = document;
|
| assertEquals(wrappedJson, JSON.stringify(cache.wrap(arr)));
|
| @@ -83,7 +83,7 @@ function testCacheUnwrapThrows() {
|
| try {
|
| var cache = new Cache();
|
| var wrapped = {};
|
| - wrapped[ELEMENT_KEY] = 1;
|
| + wrapped[ELEMENT_KEY] = '1';
|
| cache.unwrap(wrapped);
|
| } catch (e) {
|
| return;
|
|
|