⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 235554 in webkit


Ignore:
Timestamp:
Aug 31, 2018, 9:05:22 AM (8 years ago)
Author:
mark.lam@apple.com
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):

Location:
trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/JSTests/ChangeLog

    r235540 r235554  
     12018-08-31  Mark Lam  <mark.lam@apple.com>
     2
     3        Fix exception check accounting in JSDataView::defineOwnProperty().
     4        https://bugs.webkit.org/show_bug.cgi?id=189186
     5        <rdar://problem/39786049>
     6
     7        Reviewed by Michael Saboff.
     8
     9        * stress/regress-189186.js: Added.
     10
    1112018-08-31  Mark Lam  <mark.lam@apple.com>
    212
  • trunk/Source/JavaScriptCore/ChangeLog

    r235540 r235554  
     12018-08-31  Mark Lam  <mark.lam@apple.com>
     2
     3        Fix exception check accounting in JSDataView::defineOwnProperty().
     4        https://bugs.webkit.org/show_bug.cgi?id=189186
     5        <rdar://problem/39786049>
     6
     7        Reviewed by Michael Saboff.
     8
     9        * runtime/JSDataView.cpp:
     10        (JSC::JSDataView::defineOwnProperty):
     11
    1122018-08-31  Mark Lam  <mark.lam@apple.com>
    213
  • 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.