Changeset 279669 in webkit


Ignore:
Timestamp:
Jul 7, 2021 2:12:29 PM (13 months ago)
Author:
Chris Dumez
Message:

IDBIndex.keyPath should keep returning the same object
https://bugs.webkit.org/show_bug.cgi?id=227758

Reviewed by Geoffrey Garen.

LayoutTests/imported/w3c:

Rebaseline WPT tests that are now passing.

  • web-platform-tests/IndexedDB/idbindex_keyPath.any-expected.txt:
  • web-platform-tests/IndexedDB/idbindex_keyPath.any.worker-expected.txt:

Source/WebCore:

IDBIndex.keyPath should keep returning the same object to match other browser
engines (Gecko and Blink).

No new tests, rebaselined existing tests.

  • Modules/indexeddb/IDBIndex.idl:
Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r279666 r279669  
     12021-07-07  Chris Dumez  <cdumez@apple.com>
     2
     3        IDBIndex.keyPath should keep returning the same object
     4        https://bugs.webkit.org/show_bug.cgi?id=227758
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        Rebaseline WPT tests that are now passing.
     9
     10        * web-platform-tests/IndexedDB/idbindex_keyPath.any-expected.txt:
     11        * web-platform-tests/IndexedDB/idbindex_keyPath.any.worker-expected.txt:
     12
    1132021-07-07  Alex Christensen  <achristensen@webkit.org>
    214
  • trunk/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/idbindex_keyPath.any-expected.txt

    r250347 r279669  
    11
    2 FAIL IDBIndex's keyPath attribute returns the same object. assert_equals: Same object instance is returned each time keyPath is inspected expected ["a", "b"] but got ["a", "b"]
     2PASS IDBIndex's keyPath attribute returns the same object.
    33
  • trunk/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/idbindex_keyPath.any.worker-expected.txt

    r250347 r279669  
    11
    2 FAIL IDBIndex's keyPath attribute returns the same object. assert_equals: Same object instance is returned each time keyPath is inspected expected ["a", "b"] but got ["a", "b"]
     2PASS IDBIndex's keyPath attribute returns the same object.
    33
  • trunk/Source/WebCore/ChangeLog

    r279666 r279669  
     12021-07-07  Chris Dumez  <cdumez@apple.com>
     2
     3        IDBIndex.keyPath should keep returning the same object
     4        https://bugs.webkit.org/show_bug.cgi?id=227758
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        IDBIndex.keyPath should keep returning the same object to match other browser
     9        engines (Gecko and Blink).
     10
     11        No new tests, rebaselined existing tests.
     12
     13        * Modules/indexeddb/IDBIndex.idl:
     14
    1152021-07-07  Alex Christensen  <achristensen@webkit.org>
    216
  • trunk/Source/WebCore/Modules/indexeddb/IDBIndex.idl

    r275151 r279669  
    3737    attribute DOMString name;
    3838    [SameObject] readonly attribute IDBObjectStore objectStore;
    39     readonly attribute IDBKeyPath? keyPath;
     39    [SameObject, CachedAttribute] readonly attribute IDBKeyPath keyPath;
    4040    readonly attribute boolean multiEntry;
    4141    readonly attribute boolean unique;
Note: See TracChangeset for help on using the changeset viewer.