Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 102781a12435d7f2c2bd85b7b08e69e96eb61606
      
https://github.com/WebKit/WebKit/commit/102781a12435d7f2c2bd85b7b08e69e96eb61606
  Author: Yijia Huang <[email protected]>
  Date:   2024-05-26 (Sun, 26 May 2024)

  Changed paths:
    M Source/JavaScriptCore/runtime/MapPrototype.cpp
    M Source/JavaScriptCore/runtime/SetPrototype.cpp

  Log Message:
  -----------
  [JSC] Use ThrowScope to catch exceptions thrown by getSet and getMap
https://bugs.webkit.org/show_bug.cgi?id=274618
rdar://128638541

Reviewed by Yusuke Suzuki.

Stop checking nullptr's for handling exceptions and
use ThrowScope instead.

* Source/JavaScriptCore/runtime/MapPrototype.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
(JSC::createMapIteratorObject):
* Source/JavaScriptCore/runtime/SetPrototype.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
(JSC::createSetIteratorObject):

Canonical link: https://commits.webkit.org/279337@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