| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html> |
| 2 <meta charset="utf-8"> |
| 3 <title>IndexedDB: Historical features</title> |
| 4 <script src="/resources/testharness.js"></script> |
| 5 <script src="/resources/testharnessreport.js"></script> |
| 6 <script> |
| 7 test(function() { |
| 8 // Replaced circa December 2011 by 'error'. |
| 9 assert_false('errorCode' in IDBRequest.prototype); |
| 10 }, '"errorCode" should not be supported on IDBRequest.'); |
| 11 |
| 12 test(function() { |
| 13 // Replaced circa May 2012 by a DOMString (later, IDBRequestReadyState enum). |
| 14 assert_false('LOADING' in IDBRequest); |
| 15 }, '"LOADING" should not be supported on IDBRequest.'); |
| 16 |
| 17 test(function() { |
| 18 // Replaced circa May 2012 by a DOMString (later, IDBRequestReadyState enum). |
| 19 assert_false('DONE' in IDBRequest); |
| 20 }, '"DONE" should not be supported on IDBRequest.'); |
| 21 |
| 22 test(function() { |
| 23 // Replaced circa December 2011 by 'oldVersion'/'newVersion'. |
| 24 assert_false('version' in IDBVersionChangeEvent.prototype); |
| 25 }, '"version" should not be supported on IDBVersionChangeEvent.'); |
| 26 |
| 27 test(function() { |
| 28 // Replaced circa December 2011 by open() with version. |
| 29 assert_false('setVersion' in IDBDatabase.prototype); |
| 30 }, '"setVersion" should not be supported on IDBDatabase.'); |
| 31 |
| 32 test(function() { |
| 33 // Replaced circa May 2012 by a DOMString (later, IDBCursorDirection enum). |
| 34 assert_false('NEXT' in IDBCursor); |
| 35 }, '"NEXT" should not be supported on IDBCursor.'); |
| 36 |
| 37 test(function() { |
| 38 // Replaced circa May 2012 by a DOMString (later, IDBCursorDirection enum). |
| 39 assert_false('NEXT_NO_DUPLICATE' in IDBCursor); |
| 40 }, '"NEXT_NO_DUPLICATE" should not be supported on IDBCursor.'); |
| 41 |
| 42 test(function() { |
| 43 // Replaced circa May 2012 by a DOMString (later, IDBCursorDirection enum). |
| 44 assert_false('PREV' in IDBCursor); |
| 45 }, '"PREV" should not be supported on IDBCursor.'); |
| 46 |
| 47 test(function() { |
| 48 // Replaced circa May 2012 by a DOMString (later, IDBCursorDirection enum). |
| 49 assert_false('PREV_NO_DUPLICATE' in IDBCursor); |
| 50 }, '"PREV_NO_DUPLICATE" should not be supported on IDBCursor.'); |
| 51 |
| 52 test(function() { |
| 53 // Replaced circa May 2012 by a DOMString (later, IDBTransactionMode enum). |
| 54 assert_false('READ_ONLY' in IDBTransaction); |
| 55 }, '"READ_ONLY" should not be supported on IDBTransaction.'); |
| 56 |
| 57 test(function() { |
| 58 // Replaced circa May 2012 by a DOMString (later, IDBTransactionMode enum). |
| 59 assert_false('READ_WRITE' in IDBTransaction); |
| 60 }, '"READ_WRITE" should not be supported on IDBTransaction.'); |
| 61 |
| 62 test(function() { |
| 63 // Replaced circa May 2012 by a DOMString (later, IDBTransactionMode enum). |
| 64 assert_false('VERSION_CHANGE' in IDBTransaction); |
| 65 }, '"VERSION_CHANGE" should not be supported on IDBTransaction.'); |
| 66 </script> |
| OLD | NEW |