Changeset 260995 in webkit


Ignore:
Timestamp:
May 1, 2020 4:26:07 AM (4 years ago)
Author:
Alexey Shvayka
Message:

[WebIDL] Interface prototype objects should define @@toStringTag
https://bugs.webkit.org/show_bug.cgi?id=211020

Unreviewed follow-up to r260992.

  • runtime/JSArrayBufferPrototype.cpp:

(JSC::JSArrayBufferPrototype::finishCreation): Revert change in attempt to fix ARMv7 test.

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r260993 r260995  
     12020-05-01  Alexey Shvayka  <shvaikalesh@gmail.com>
     2
     3        [WebIDL] Interface prototype objects should define @@toStringTag
     4        https://bugs.webkit.org/show_bug.cgi?id=211020
     5
     6        Unreviewed follow-up to r260992.
     7
     8        * runtime/JSArrayBufferPrototype.cpp:
     9        (JSC::JSArrayBufferPrototype::finishCreation): Revert change in attempt to fix ARMv7 test.
     10
    1112020-05-01  David Kilzer  <ddkilzer@apple.com>
    212
  • trunk/Source/JavaScriptCore/runtime/JSArrayBufferPrototype.cpp

    r260992 r260995  
    116116   
    117117    JSC_NATIVE_FUNCTION_WITHOUT_TRANSITION(vm.propertyNames->slice, arrayBufferProtoFuncSlice, static_cast<unsigned>(PropertyAttribute::DontEnum), 2);
    118     JSC_TO_STRING_TAG_WITHOUT_TRANSITION();
     118    putDirectWithoutTransition(vm, vm.propertyNames->toStringTagSymbol, jsString(vm, arrayBufferSharingModeName(sharingMode)), PropertyAttribute::DontEnum | PropertyAttribute::ReadOnly);
    119119    if (sharingMode == ArrayBufferSharingMode::Default)
    120120        JSC_NATIVE_GETTER_WITHOUT_TRANSITION(vm.propertyNames->byteLength, arrayBufferProtoGetterFuncByteLength, PropertyAttribute::DontEnum | PropertyAttribute::ReadOnly);
Note: See TracChangeset for help on using the changeset viewer.