Chromium Code Reviews| Index: content/common/indexed_db/indexed_db_dispatcher_unittest.cc |
| diff --git a/content/common/indexed_db/indexed_db_dispatcher_unittest.cc b/content/common/indexed_db/indexed_db_dispatcher_unittest.cc |
| index 36f52ca4e184850ea764323ad039275c4d57870e..fc290aed00bfb35219628d031f4bbab671e52301 100644 |
| --- a/content/common/indexed_db/indexed_db_dispatcher_unittest.cc |
| +++ b/content/common/indexed_db/indexed_db_dispatcher_unittest.cc |
| @@ -22,7 +22,9 @@ class FakeWebIDBTransaction : public WebKit::WebIDBTransaction { |
| FakeWebIDBTransaction() {} |
| }; |
| -TEST(IndexedDBDispatcherTest, ValueSizeTest) { |
| +// TODO(alecflett): Reenable this test when IDB code in webkit |
|
jsbell
2012/11/12 19:38:50
Add a tracking bug for this and reference it?
See
|
| +// enforces size limits. |
| +TEST(IndexedDBDispatcherTest, DISABLED_ValueSizeTest) { |
| string16 data; |
| data.resize(kMaxIDBValueSizeInBytes / sizeof(char16) + 1, 'x'); |
| const bool kIsNull = false; |
| @@ -34,7 +36,6 @@ TEST(IndexedDBDispatcherTest, ValueSizeTest) { |
| IndexedDBDispatcher dispatcher; |
| IndexedDBKey key; |
| key.SetNumber(0); |
| - WebKit::WebExceptionCode ec = 0; |
| dispatcher.RequestIDBObjectStorePut( |
| value, |
| key, |
| @@ -42,10 +43,8 @@ TEST(IndexedDBDispatcherTest, ValueSizeTest) { |
| static_cast<WebKit::WebIDBCallbacks*>(NULL), |
| dummy_id, |
| FakeWebIDBTransaction(), |
| - WebVector<WebString>(), |
| - WebVector<WebVector<WebKit::WebIDBKey> >(), |
| - &ec); |
| - EXPECT_NE(ec, 0); |
| + WebVector<long long>(), |
| + WebVector<WebVector<WebKit::WebIDBKey> >()); |
| } |
| } |