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

Side by Side Diff: LayoutTests/storage/indexeddb/resources/factory-cmp.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 key comparison using IDBFactory.cmp()."); 6 description("Test IndexedDB key comparison using IDBFactory.cmp().");
7 7
8 function test() 8 function test()
9 { 9 {
10 removeVendorPrefixes();
11
12 shouldBeEqualToString("typeof indexedDB.cmp", "function"); 10 shouldBeEqualToString("typeof indexedDB.cmp", "function");
13 11
14 testValidKeys(); 12 testValidKeys();
15 testInvalidKeys(); 13 testInvalidKeys();
16 testIdenticalKeys(); 14 testIdenticalKeys();
17 finishJSTest(); 15 finishJSTest();
18 } 16 }
19 17
20 function testValidKeys() 18 function testValidKeys()
21 { 19 {
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 148
151 function testIdenticalKeys() 149 function testIdenticalKeys()
152 { 150 {
153 debug(""); 151 debug("");
154 debug("compare identical keys"); 152 debug("compare identical keys");
155 153
156 shouldBe("indexedDB.cmp(0, -0)", "0"); 154 shouldBe("indexedDB.cmp(0, -0)", "0");
157 } 155 }
158 156
159 test(); 157 test();
OLDNEW
« no previous file with comments | « LayoutTests/storage/indexeddb/resources/factory-basics.js ('k') | LayoutTests/storage/indexeddb/resources/interfaces.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698