| Index: third_party/WebKit/LayoutTests/http/tests/inspector-enabled/database-open.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector-enabled/database-open.html b/third_party/WebKit/LayoutTests/http/tests/inspector-enabled/database-open.html
|
| index 927a4908e35fdbe26450f3d4c3a689acd5913762..a99c9c6d31cedb79ff374d1f49dd4f4d097aae35 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/inspector-enabled/database-open.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector-enabled/database-open.html
|
| @@ -12,6 +12,7 @@ function onload()
|
| testRunner.waitUntilDone();
|
|
|
| var db = openDatabase("InspectorDatabaseTest", "1.0", "Test of database instrumentation", 1);
|
| + var db2 = openDatabase("InspectorDatabaseTest2", "1.0", "Test of database instrumentation 2", 1);
|
|
|
| if (window.testRunner)
|
| testRunner.showWebInspector();
|
| @@ -23,7 +24,17 @@ function test()
|
| InspectorTest.databaseModel().enable();
|
| function run()
|
| {
|
| + function compareByName(d1, d2)
|
| + {
|
| + if (d1.name < d2.name)
|
| + return -1;
|
| + if (d1.name > d2.name)
|
| + return 1;
|
| + return 0;
|
| + }
|
| +
|
| var databases = InspectorTest.databaseModel().databases();
|
| + databases.sort(compareByName);
|
| for (var i = 0; i < databases.length; ++i) {
|
| InspectorTest.addResult("Name: " + databases[i].name);
|
| InspectorTest.addResult("Version: " + databases[i].version);
|
|
|