<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>158014</bug_id>
          
          <creation_ts>2016-05-23 22:41:52 -0700</creation_ts>
          <short_desc>[JSC][DOM] Always pass receiver and slotBase to custom (value/accessor) getter</short_desc>
          <delta_ts>2020-10-11 11:31:51 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=216533</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yusuke Suzuki">ysuzuki</reporter>
          <assigned_to name="Yusuke Suzuki">ysuzuki</assigned_to>
          <cc>sam</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1195733</commentid>
    <comment_count>0</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2016-05-23 22:41:52 -0700</bug_when>
    <thetext>Currently, custom value getter receives slotBase as the second argument, but custom accessor getter takes the receiver as the second argument.
We should unify this behavior.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1301385</commentid>
    <comment_count>1</comment_count>
    <who name="Sam Weinig">sam</who>
    <bug_when>2017-04-25 18:29:19 -0700</bug_when>
    <thetext>I&apos;ve lost track of the terminology. What are &quot;custom value getters&quot; and what are &quot;custom accessor getters&quot;?  Do we use both for the DOM?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1301504</commentid>
    <comment_count>2</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2017-04-25 23:26:45 -0700</bug_when>
    <thetext>(In reply to Sam Weinig from comment #1)
&gt; I&apos;ve lost track of the terminology. What are &quot;custom value getters&quot; and what
&gt; are &quot;custom accessor getters&quot;?  Do we use both for the DOM?

The custom value getters are shown as usual value from the user. But internally it invokes a custom function.
The custom accessor getter is shown as a JS accessor which invokes a custom function.

After considering this, I think now it is not necessary.
It is better to leave the current one since

1. All the current custom accessor just requires this value. Previously ES6 Proxy was an exception. But now the design is changed and it is not necessary.
2. All the current custom value accessor requires slot base.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>