7 testRunner
.notifyDone();
12 document
.getElementById("console").innerText
+= message
+ "\n";
16 if (window
.testRunner
) {
17 testRunner
.dumpAsText();
18 testRunner
.waitUntilDone();
21 var db
= window
.openDatabase("ChangeVersionFailureTest", "1", "Test the preflight step", 1024);
22 db
.changeVersion("2", "3", null, function(error
) {
23 log("PASS: db.changeVersion() failed as expected, and no assertions were triggered.");
26 log("FAIL: db.changeVersion() was expected to fail.");
32 <body onload=
"runTest();">
33 This test verifies that no assertion is triggered when changeVersion()'s preflight step fails.
34 <pre id=
"console"></pre>