Changeset 279683 in webkit


Ignore:
Timestamp:
Jul 7, 2021 4:00:36 PM (13 months ago)
Author:
Chris Dumez
Message:

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

Reviewed by Darin Adler.

LayoutTests/imported/w3c:

Rebaseline WPT tests that are now passing.

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

Source/WebCore:

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

No new tests, rebaselined existing tests.

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

Legend:

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

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

    r250347 r279683  
    11
    2 FAIL IDBObjectStore'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 IDBObjectStore's keyPath attribute returns the same object.
    33
  • trunk/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/idbobjectstore_keyPath.any.worker-expected.txt

    r250347 r279683  
    11
    2 FAIL IDBObjectStore'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 IDBObjectStore's keyPath attribute returns the same object.
    33
  • trunk/Source/WebCore/ChangeLog

    r279682 r279683  
     12021-07-07  Chris Dumez  <cdumez@apple.com>
     2
     3        IDBObjectStore.keyPath should keep returning the same object
     4        https://bugs.webkit.org/show_bug.cgi?id=227770
     5
     6        Reviewed by Darin Adler.
     7
     8        IDBObjectStore.keyPath should keep returning the same object to match other
     9        browser engines (Gecko and Blink).
     10
     11        No new tests, rebaselined existing tests.
     12
     13        * Modules/indexeddb/IDBObjectStore.idl:
     14
    1152021-07-07  Yoshiaki Jitsukawa  <yoshiaki.jitsukawa@sony.com>
    216
  • trunk/Source/WebCore/Modules/indexeddb/IDBObjectStore.idl

    r275151 r279683  
    3636] interface IDBObjectStore {
    3737    attribute DOMString name;
    38     readonly attribute IDBKeyPath? keyPath;
     38    [SameObject, CachedAttribute] readonly attribute IDBKeyPath? keyPath;
    3939    readonly attribute DOMStringList indexNames;
    4040    [SameObject] readonly attribute IDBTransaction transaction;
Note: See TracChangeset for help on using the changeset viewer.