tizen beta release
[framework/web/webkit-efl.git] / LayoutTests / storage / indexeddb / keyrange.html
index 5af2401..add355a 100755 (executable)
@@ -1,8 +1,6 @@
 <html>
 <head>
-<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
 <script src="../../fast/js/resources/js-test-pre.js"></script>
-<script src="../../fast/js/resources/js-test-post-function.js"></script>
 <script src="resources/shared.js"></script>
 </head>
 <body>
@@ -127,48 +125,48 @@ function test()
     checkBoundKeyRange("'aaf'", "'abf'", true, true);
 
     try {
-        debug("Passing an invalid key into only([])");
-        webkitIDBKeyRange.only([]);
+        debug("Passing an invalid key into only({})");
+        webkitIDBKeyRange.only({});
         testFailed("No exception thrown");
     } catch (e) {
         testPassed("Caught exception: " + e.toString());
     }
 
     try {
-        debug("Passing an invalid key into upperBound([])");
-        webkitIDBKeyRange.upperBound([]);
+        debug("Passing an invalid key into upperBound({})");
+        webkitIDBKeyRange.upperBound({});
         testFailed("No exception thrown");
     } catch (e) {
         testPassed("Caught exception: " + e.toString());
     }
  
     try {
-        debug("Passing an invalid key into lowerBound([])");
-        webkitIDBKeyRange.lowerBound([]);
+        debug("Passing an invalid key into lowerBound({})");
+        webkitIDBKeyRange.lowerBound({});
         testFailed("No exception thrown");
     } catch (e) {
         testPassed("Caught exception: " + e.toString());
     }
 
     try {
-        debug("Passing an invalid key into bound(null, [])");
-        webkitIDBKeyRange.bound(null, []);
+        debug("Passing an invalid key into bound(null, {})");
+        webkitIDBKeyRange.bound(null, {});
         testFailed("No exception thrown");
     } catch (e) {
         testPassed("Caught exception: " + e.toString());
     }
 
     try {
-        debug("Passing an invalid key into bound([],null)");
-        webkitIDBKeyRange.bound([], null);
+        debug("Passing an invalid key into bound({},null)");
+        webkitIDBKeyRange.bound({}, null);
         testFailed("No exception thrown");
     } catch (e) {
         testPassed("Caught exception: " + e.toString());
     }
 
     try {
-        debug("Passing an invalid key into bound([], [])");
-        webkitIDBKeyRange.bound([], []);
+        debug("Passing an invalid key into bound({}, {})");
+        webkitIDBKeyRange.bound({}, {});
         testFailed("No exception thrown");
     } catch (e) {
         testPassed("Caught exception: " + e.toString());
@@ -177,7 +175,6 @@ function test()
 
 test();
 
-var successfullyParsed = true;
 done();
 
 </script>