Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Side by Side Diff: LayoutTests/storage/indexeddb/resources/events.js

Issue 17060008: Add dataLoss property to IDB's upgradeneeded event (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add blink API stub for compatibility with and without chromium changes Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 if (this.importScripts) { 1 if (this.importScripts) {
2 importScripts('../../../fast/js/resources/js-test-pre.js'); 2 importScripts('../../../fast/js/resources/js-test-pre.js');
3 importScripts('shared.js'); 3 importScripts('shared.js');
4 } 4 }
5 5
6 description("Test IndexedDB's event interfaces."); 6 description("Test IndexedDB's event interfaces.");
7 7
8 function test() 8 function test()
9 { 9 {
10 removeVendorPrefixes(); 10 removeVendorPrefixes();
11 shouldBeTrue("'IDBVersionChangeEvent' in self"); 11 shouldBeTrue("'IDBVersionChangeEvent' in self");
12 12
13 if ('document' in self) { 13 if ('document' in self) {
14 shouldBeTrue("'oldVersion' in document.createEvent('IDBVersionChangeEven t')"); 14 shouldBeTrue("'oldVersion' in document.createEvent('IDBVersionChangeEven t')");
15 shouldBeTrue("'newVersion' in document.createEvent('IDBVersionChangeEven t')"); 15 shouldBeTrue("'newVersion' in document.createEvent('IDBVersionChangeEven t')");
16 shouldBeTrue("'dataLoss' in document.createEvent('IDBVersionChangeEvent' )");
16 } 17 }
17 18
18 finishJSTest(); 19 finishJSTest();
19 } 20 }
20 21
21 test(); 22 test();
OLDNEW
« no previous file with comments | « LayoutTests/storage/indexeddb/resources/data-corruption.js ('k') | Source/WebKit/chromium/src/WebIDBCallbacksImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698