[Webkit-unassigned] [Bug 28418] New: changeVersion() doesn't seem to work

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 17 17:57:57 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=28418

           Summary: changeVersion() doesn't seem to work
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ian at hixie.ch


This code (which you can type into
http://software.hixie.ch/utilities/js/js-eval-window/ for easy debugging):

var n = 'test ' + new Date();
var db1 = openDatabase(n, '1', '', 0);
db1.changeVersion('1', '2', function () {
  // ...
}, function (e) {
  alert('FAIL in changeVersion:' + e);
}, function () {
  try {
    var db2 = openDatabase(n, '2', '', 0);
  } catch (e) {
    alert('FAIL in openDatabase: ' + e);
  }
  alert(db1.version);
  alert(db2.version);
});

...doesn't seem to actually change the database version.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list