diff options
author | jsbell@chromium.org <jsbell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-29 01:50:22 +0000 |
---|---|---|
committer | jsbell@chromium.org <jsbell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-29 01:50:22 +0000 |
commit | f520d2f8f1e67516edb34d31bd8101fcb1a7a5ea (patch) | |
tree | 7636276e82b3c10c6acc3990f4f2a7b69fc37809 | |
parent | b5fa7abc9456e3046679e547ab763499464b2445 (diff) | |
download | chromium_src-f520d2f8f1e67516edb34d31bd8101fcb1a7a5ea.zip chromium_src-f520d2f8f1e67516edb34d31bd8101fcb1a7a5ea.tar.gz chromium_src-f520d2f8f1e67516edb34d31bd8101fcb1a7a5ea.tar.bz2 |
Re-enable test assertions about DOMException codes following WK102514
DOMException types new in IndexedDB follow the DOM4 spec and have code = 0.
Now that we implement this, uncomment some test assertions.
BUG=163162
Review URL: https://chromiumcodereview.appspot.com/11412234
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170116 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | content/test/data/indexeddb/key_types_test.js | 3 | ||||
-rw-r--r-- | content/test/data/indexeddb/value_size_test.js | 9 |
2 files changed, 4 insertions, 8 deletions
diff --git a/content/test/data/indexeddb/key_types_test.js b/content/test/data/indexeddb/key_types_test.js index 7f0f8e1..0b6454a 100644 --- a/content/test/data/indexeddb/key_types_test.js +++ b/content/test/data/indexeddb/key_types_test.js @@ -141,8 +141,7 @@ function testInvalidKeys() { return; } catch (e) { window.ex = e; - // TODO(jsbell): Uncomment when wkbug.com/102514 has landed/rolled. - //shouldBe("ex.code", "0"); + shouldBe("ex.code", "0"); shouldBe("ex.name", "'DataError'"); } }); diff --git a/content/test/data/indexeddb/value_size_test.js b/content/test/data/indexeddb/value_size_test.js index 78aff59..ddb02b9 100644 --- a/content/test/data/indexeddb/value_size_test.js +++ b/content/test/data/indexeddb/value_size_test.js @@ -97,8 +97,7 @@ function testOverLimit() } catch (e) { debug('Exception (expected)'); ex = e; - // TODO(jsbell): Uncomment when wkbug.com/102514 has landed/rolled. - //shouldBe("ex.code", "0"); + shouldBe("ex.code", "0"); shouldBe("ex.name", "'DataError'"); } @@ -110,8 +109,7 @@ function testOverLimit() } catch (e) { debug('Exception (expected)'); ex = e; - // TODO(jsbell): Uncomment when wkbug.com/102514 has landed/rolled. - //shouldBe("ex.code", "0"); + shouldBe("ex.code", "0"); shouldBe("ex.name", "'DataError'"); } @@ -127,8 +125,7 @@ function testOverLimit() } catch (e) { debug('Exception (expected)'); ex = e; - // TODO(jsbell): Uncomment when wkbug.com/102514 has landed/rolled. - //shouldBe("ex.code", "0"); + shouldBe("ex.code", "0"); shouldBe("ex.name", "'DataError'"); transaction.abort(); |