Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Unified Diff: LayoutTests/storage/indexeddb/resources/index-basics.js

Issue 152413005: IDL: allow optional values to be undefined in overload resolution (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/storage/indexeddb/resources/index-basics.js
diff --git a/LayoutTests/storage/indexeddb/resources/index-basics.js b/LayoutTests/storage/indexeddb/resources/index-basics.js
index cfdbfb20dde9395d8dde414630c7d46c4b13af95..55954be5474bc000c597955061b606f8990597b8 100644
--- a/LayoutTests/storage/indexeddb/resources/index-basics.js
+++ b/LayoutTests/storage/indexeddb/resources/index-basics.js
@@ -15,6 +15,7 @@ function prepareDatabase(evt)
self.indexObject = evalAndLog("store.createIndex('indexName', 'x')");
self.indexObject2 = evalAndLog("store.createIndex('indexName2', 'y', {unique: false})");
self.indexObject3 = evalAndLog("store.createIndex('zIndex', 'z', {unique: true})");
+ shouldNotThrow("store.createIndex('index4', 'path', undefined)");
shouldBeFalse("indexObject2.unique");
shouldBeTrue("indexObject3.unique");
evalAndExpectExceptionClass("store.createIndex('failureIndex', 'zzz', true)", "TypeError");
« no previous file with comments | « LayoutTests/storage/indexeddb/index-basics-workers-expected.txt ('k') | Source/bindings/scripts/code_generator_v8.pm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698