Bug 28418
Summary: | changeVersion() doesn't seem to work | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ian 'Hixie' Hickson <ian> |
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | agrieve, beidson, sam |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | OS X 10.5 |
Ian 'Hixie' Hickson
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Andrew Grieve
Not sure how to mark it as such, but looks to be a dupe of https://bugs.webkit.org/show_bug.cgi?id=27836
Alexey Proskuryakov
*** This bug has been marked as a duplicate of bug 27836 ***