diff --git a/spec.html b/spec.html
index b383aa145f4..fe3b1b811c8 100644
--- a/spec.html
+++ b/spec.html
@@ -40302,12 +40302,13 @@
Promise.prototype.finally ( _onFinally_ )
1. Let _thenFinally_ be _onFinally_.
1. Let _catchFinally_ be _onFinally_.
1. Else,
+ 1. Let realm be ? GetFunctionRealm(_onFinally_).
1. Let _stepsThenFinally_ be the algorithm steps defined in .
- 1. Let _thenFinally_ be ! CreateBuiltinFunction(_stepsThenFinally_, « [[Constructor]], [[OnFinally]] »).
+ 1. Let _thenFinally_ be ! CreateBuiltinFunction(_stepsThenFinally_, « [[Constructor]], [[OnFinally]] », realm).
1. Set _thenFinally_.[[Constructor]] to _C_.
1. Set _thenFinally_.[[OnFinally]] to _onFinally_.
1. Let _stepsCatchFinally_ be the algorithm steps defined in .
- 1. Let _catchFinally_ be ! CreateBuiltinFunction(_stepsCatchFinally_, « [[Constructor]], [[OnFinally]] »).
+ 1. Let _catchFinally_ be ! CreateBuiltinFunction(_stepsCatchFinally_, « [[Constructor]], [[OnFinally]] », realm).
1. Set _catchFinally_.[[Constructor]] to _C_.
1. Set _catchFinally_.[[OnFinally]] to _onFinally_.
1. Return ? Invoke(_promise_, *"then"*, « _thenFinally_, _catchFinally_ »).