e.target.result) {
        assert_equals(count, 1, 'count');
        t.done();
        return;
      }
      var cursor = e.target.result;

      switch(count) {
        case 0:
          assert_equals(cursor.value, "pancake");
          assert_equals(cursor.primaryKey, 3);
          cursor.continue("pie");
          break;

        default:
          assert_unreached("Unexpected count: " + count);
      }

      count++;
    });
    rq.onerror = t.unreached_func("unexpected error1")
  },
  document.title +