Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | <!-- |
michael@0 | 2 | Any copyright is dedicated to the Public Domain. |
michael@0 | 3 | http://creativecommons.org/publicdomain/zero/1.0/ |
michael@0 | 4 | --> |
michael@0 | 5 | <html> |
michael@0 | 6 | <head> |
michael@0 | 7 | <title>Indexed Database Property Test</title> |
michael@0 | 8 | |
michael@0 | 9 | <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script> |
michael@0 | 10 | <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/> |
michael@0 | 11 | |
michael@0 | 12 | <script type="text/javascript;version=1.7"> |
michael@0 | 13 | function testSteps() |
michael@0 | 14 | { |
michael@0 | 15 | is("open" in indexedDB, true, "open() defined"); |
michael@0 | 16 | is("openForPrincipal" in indexedDB, false, "openForPrincipal() not defined"); |
michael@0 | 17 | |
michael@0 | 18 | is("deleteDatabase" in indexedDB, true, "deleteDatabase() defined"); |
michael@0 | 19 | is("deleteForPrincipal" in indexedDB, false, "deleteForPrincipal() not defined"); |
michael@0 | 20 | |
michael@0 | 21 | finishTest(); |
michael@0 | 22 | yield undefined; |
michael@0 | 23 | } |
michael@0 | 24 | </script> |
michael@0 | 25 | <script type="text/javascript;version=1.7" src="helpers.js"></script> |
michael@0 | 26 | |
michael@0 | 27 | </head> |
michael@0 | 28 | |
michael@0 | 29 | <body onload="runTest();"></body> |
michael@0 | 30 | |
michael@0 | 31 | </html> |