IndexedDB: fix minor nits in databases() WPTs
Fixing minor nits with IndexedDBFactory databases() WPTs as suggested by jsbell@ over email -assert_object_equals is deprecated and shouldn't be used. Prefer to test the results explicitly, even though it's more code. -all of the test cases use 1 for the version - we should have tests for databases at other versions. -the assertion messages should have the form ".... should be ...", describing what is being asserted, rather than attempting to diagnose the problem (it's easier to verify that the assertions match the spec that way) -there are a handful of lines missing semicolons -the trailing done() should not be needed for .any.js tests Bug: 899085 Change-Id: Ie8831c26fabe0e043ccba8238925ac7f520d1d69 Reviewed-on: https://chromium-review.googlesource.com/c/1313275Reviewed-by:Daniel Murphy <dmurph@chromium.org> Reviewed-by:
Joshua Bell <jsbell@chromium.org> Commit-Queue: Andreas Butler <andreasbutler@google.com> Cr-Commit-Position: refs/heads/master@{#605128}
Showing
Please register or sign in to comment