Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pass *this* value to SetterThatIgnoresPrototypeProperties #289

Merged
merged 1 commit into from Dec 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 4 additions & 3 deletions spec.html
Expand Up @@ -110,6 +110,7 @@ <h1>Abstract Operations</h1>
<emu-clause id="sec-SetterThatIgnoresPrototypeProperties" type="abstract operation">
<h1>
SetterThatIgnoresPrototypeProperties (
_this_: an ECMAScript language value,
_home_: an Object,
_p_: a property key,
_v_: an ECMAScript language value,
Expand All @@ -118,7 +119,7 @@ <h1>
<dl class="header">
</dl>
<emu-alg>
1. Let _O_ be ? RequireObjectCoercible(*this* value).
1. Let _O_ be ? RequireObjectCoercible(_this_).
1. If _O_ is _home_, then
1. NOTE: Throwing here emulates assignment to a non-writable data property on the _home_ object in strict mode code.
1. Throw a *TypeError* exception.
Expand Down Expand Up @@ -327,7 +328,7 @@ <h1>get Iterator.prototype.constructor</h1>
<h1>set Iterator.prototype.constructor</h1>
<p>The value of the [[Set]] attribute is a built-in function that takes an argument _v_. It performs the following steps when called:</p>
<emu-alg>
1. Perform ? SetterThatIgnoresPrototypeProperties(%Iterator.prototype%, *"constructor"*, _v_).
1. Perform ? SetterThatIgnoresPrototypeProperties(*this* value, %Iterator.prototype%, *"constructor"*, _v_).
1. Return *undefined*.
</emu-alg>
</emu-clause>
Expand Down Expand Up @@ -622,7 +623,7 @@ <h1>get Iterator.prototype [ @@toStringTag ]</h1>
<h1>set Iterator.prototype [ @@toStringTag ]</h1>
<p>The value of the [[Set]] attribute is a built-in function that takes an argument _v_. It performs the following steps when called:</p>
<emu-alg>
1. Perform ? SetterThatIgnoresPrototypeProperties(%Iterator.prototype%, %Symbol.toStringTag%, _v_).
1. Perform ? SetterThatIgnoresPrototypeProperties(*this* value, %Iterator.prototype%, %Symbol.toStringTag%, _v_).
1. Return *undefined*.
</emu-alg>
</emu-clause>
Expand Down