[webkit-changes] [WebKit/WebKit] 5712e4: [JSC] Align error message for non-callable ProxyOb...

Commit Queue noreply at github.com
Tue Mar 14 05:26:04 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5712e4c88966195c7b63070fef1dab2f18741fff
      https://github.com/WebKit/WebKit/commit/5712e4c88966195c7b63070fef1dab2f18741fff
  Author: Alexey Shvayka <ashvayka at apple.com>
  Date:   2023-03-14 (Tue, 14 Mar 2023)

  Changed paths:
    M JSTests/stress/proxy-basic.js
    M JSTests/stress/proxy-get-missing-handler-inline-cache.js
    M Source/JavaScriptCore/builtins/ProxyHelpers.js
    M Source/JavaScriptCore/runtime/ProxyObject.cpp

  Log Message:
  -----------
  [JSC] Align error message for non-callable ProxyObject's "get" trap with its counterparts
https://bugs.webkit.org/show_bug.cgi?id=253848
<rdar://problem/106664522>

Reviewed by Yusuke Suzuki.

With this change, [[ProxyHandler]] is referred to as "handler" instead "handler object",
just like in all other traps.

* JSTests/stress/proxy-basic.js:
* JSTests/stress/proxy-get-missing-handler-inline-cache.js:
* Source/JavaScriptCore/builtins/ProxyHelpers.js:
(linkTimeConstant.performProxyObjectGet):
* Source/JavaScriptCore/runtime/ProxyObject.cpp:
(JSC::performProxyGet):

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




More information about the webkit-changes mailing list