Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 26cc47d853a89def4d0bef67512dd158c3e7e56d
      
https://github.com/WebKit/WebKit/commit/26cc47d853a89def4d0bef67512dd158c3e7e56d
  Author: Keita Nonaka <[email protected]>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M JSTests/stress/proxy-revoke.js
    M JSTests/test262/expectations.yaml
    M Source/JavaScriptCore/runtime/ProxyObject.cpp

  Log Message:
  -----------
  [JSC] Fix `Proxy` Construct Trap to Throw `TypeError` from the current Realm 
to Align with ECMA-262
https://bugs.webkit.org/show_bug.cgi?id=306217

Reviewed by Keith Miller.

This patch fixes Proxy construct to throw `TypeError`
from the current Realm to align with ECMA-262 [1].

[1]: https://tc39.es/ecma262/#sec-proxycreate

* JSTests/stress/proxy-revoke.js:
(allHandlersShouldThrow):
* JSTests/test262/expectations.yaml:
* Source/JavaScriptCore/runtime/ProxyObject.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):

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



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

Reply via email to