Revision 5d3d98450ed243074ead60b3dd06c94c8608bc77 authored by Chris Nardi on 08 April 2018, 02:03:44 UTC, committed by Chris Nardi on 08 April 2018, 02:03:44 UTC
Many tests in variable-presentation-attribute.html went against their relative specs. For most attributes, this change corrects their default values. This change also removes the default value test for font-family, since the default value is implementation-dependent.

This change also removes the tests for `glyph-orientation-horizontal`, `glyph-orientation-vertical`, and `kerning`, as these properties have been removed by Chrome and Firefox as they are obsolete.
1 parent d0d6224
Raw File
idbindex-objectStore-SameObject.html
<!doctype html>
<meta charset=utf-8>
<title>IndexedDB: Verify [SameObject] behavior of IDBIndex's objectStore attribute</title>
<meta name="help" href="https://w3c.github.io/IndexedDB/#dom-idbindex-objectstore">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="support.js"></script>
<script>

indexeddb_test(
  (t, db) => {
    const store = db.createObjectStore('store');
    const index = store.createIndex('index', 'keyPath');
    assert_equals(index.objectStore, index.objectStore,
                  'Attribute should yield the same object each time');

  },
  (t, db) => {
    const tx = db.transaction('store');
    const store = tx.objectStore('store');
    const index = store.index('index');
    assert_equals(index.objectStore, index.objectStore,
                  'Attribute should yield the same object each time');
    t.done();
  },
  'IDBIndex.objectStore [SameObject]'
);
</script>
back to top