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

Side by Side Diff: LayoutTests/storage/indexeddb/resources/odd-strings.js

Issue 1317593005: Indexed DB: Remove vendor prefix removal from tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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('../../../resources/js-test.js'); 2 importScripts('../../../resources/js-test.js');
3 importScripts('shared.js'); 3 importScripts('shared.js');
4 } 4 }
5 5
6 description("Test IndexedDB odd value datatypes"); 6 description("Test IndexedDB odd value datatypes");
7 7
8 function test() 8 function test()
9 { 9 {
10 removeVendorPrefixes();
11
12 testData = [{ description: 'empty string', name: '' }, 10 testData = [{ description: 'empty string', name: '' },
13 { description: 'null', name: '\u0000' }, 11 { description: 'null', name: '\u0000' },
14 { description: 'faihu', name: '\ud800\udf46' }, 12 { description: 'faihu', name: '\ud800\udf46' },
15 { description: 'unpaired surrogate', name: '\ud800' }, 13 { description: 'unpaired surrogate', name: '\ud800' },
16 { description: 'fffe', name: '\ufffe' }, 14 { description: 'fffe', name: '\ufffe' },
17 { description: 'ffff', name: '\uffff' }, 15 { description: 'ffff', name: '\uffff' },
18 { description: 'line separator', name: '\u2028' } 16 { description: 'line separator', name: '\u2028' }
19 ]; 17 ];
20 nextToOpen = 0; 18 nextToOpen = 0;
21 var numDeleted = 0; 19 var numDeleted = 0;
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 shouldBe("cursor.value", "testData[nextToOpen].name"); 88 shouldBe("cursor.value", "testData[nextToOpen].name");
91 if (++nextToOpen < testData.length) { 89 if (++nextToOpen < testData.length) {
92 debug(""); 90 debug("");
93 verifyNextDatabase(); 91 verifyNextDatabase();
94 } else { 92 } else {
95 finishJSTest(); 93 finishJSTest();
96 } 94 }
97 } 95 }
98 96
99 test(); 97 test();
OLDNEW
« no previous file with comments | « LayoutTests/storage/indexeddb/resources/lazy-index-types.js ('k') | LayoutTests/storage/indexeddb/resources/open-twice.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698