Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3b8e40a89941090f0124f81534f368b9d172bf32
      
https://github.com/WebKit/WebKit/commit/3b8e40a89941090f0124f81534f368b9d172bf32
  Author: Yusuke Suzuki <[email protected]>
  Date:   2025-01-15 (Wed, 15 Jan 2025)

  Changed paths:
    A JSTests/stress/enumerator-oom.js
    M Source/JavaScriptCore/runtime/JSPropertyNameEnumerator.cpp
    M Source/JavaScriptCore/runtime/JSPropertyNameEnumerator.h

  Log Message:
  -----------
  [JSC] Make JSPropertyNameEnumerator allocation robust
https://bugs.webkit.org/show_bug.cgi?id=286013
rdar://142972697

Reviewed by Justin Michaud.

This patch makes JSPropertyNameEnumerator allocation robust against OOM.

* JSTests/stress/enumerator-oom.js: Added.
(func_1_):
* Source/JavaScriptCore/runtime/JSPropertyNameEnumerator.cpp:
(JSC::JSPropertyNameEnumerator::tryCreate):
(JSC::JSPropertyNameEnumerator::create): Deleted.
* Source/JavaScriptCore/runtime/JSPropertyNameEnumerator.h:
(JSC::propertyNameEnumerator):

Canonical link: https://commits.webkit.org/288964@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to