blob: f7bbafe6ab4305183f50fed6b9b306a226bfd8ba [file] [log] [blame]
if (this.importScripts) {
importScripts('../../../resources/js-test.js');
importScripts('shared.js');
}
description("Test IndexedDB's event interfaces.");
function test()
{
removeVendorPrefixes();
shouldBeTrue("'IDBVersionChangeEvent' in self");
if ('document' in self) {
shouldBeTrue("'oldVersion' in document.createEvent('IDBVersionChangeEvent')");
shouldBeTrue("'newVersion' in document.createEvent('IDBVersionChangeEvent')");
}
finishJSTest();
}
test();