[webkit-changes] [WebKit/WebKit] 060a2b: [JSC] Improve TypeError message when WeakMap const...

SUZUKI Sosuke noreply at github.com
Thu Sep 5 02:41:51 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 060a2be2c50372be08e4089cbe951a5aebcc668b
      https://github.com/WebKit/WebKit/commit/060a2be2c50372be08e4089cbe951a5aebcc668b
  Author: Sosuke Suzuki <aosukeke at gmail.com>
  Date:   2024-09-05 (Thu, 05 Sep 2024)

  Changed paths:
    M JSTests/stress/weak-map-constructor.js
    M Source/JavaScriptCore/runtime/WeakMapConstructor.cpp

  Log Message:
  -----------
  [JSC] Improve TypeError message when WeakMap constructor takes an iterable that yields invalid entry
https://bugs.webkit.org/show_bug.cgi?id=279015

Reviewed by Yusuke Suzuki.

This patch improves TypeError message when WeakMap constructor takes an iterable that yields invalid
entry.

* JSTests/stress/weak-map-constructor.js:
* Source/JavaScriptCore/runtime/WeakMapConstructor.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list