Ignore:
Timestamp:
Aug 31, 2018, 9:05:22 AM (7 years ago)
Author:
[email protected]
Message:

Fix exception check accounting in JSDataView::defineOwnProperty().
https://bugs.webkit.org/show_bug.cgi?id=189186
<rdar://problem/39786049>

Reviewed by Michael Saboff.

JSTests:

  • stress/regress-189186.js: Added.

Source/JavaScriptCore:

  • runtime/JSDataView.cpp:

(JSC::JSDataView::defineOwnProperty):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/JSDataView.cpp

    r233721 r235554  
    152152        return typeError(exec, scope, shouldThrow, "Attempting to define read-only typed array property."_s);
    153153
     154    scope.release();
    154155    return Base::defineOwnProperty(thisObject, exec, propertyName, descriptor, shouldThrow);
    155156}
Note: See TracChangeset for help on using the changeset viewer.