| Index: Source/bindings/templates/interface.cpp
|
| diff --git a/Source/bindings/templates/interface.cpp b/Source/bindings/templates/interface.cpp
|
| index b9f8e095cc3f05614ac75f10a4e8b0d61b38e0cd..415d5b64ff30fecbd85a8bc199f21a2d6e3c8394 100644
|
| --- a/Source/bindings/templates/interface.cpp
|
| +++ b/Source/bindings/templates/interface.cpp
|
| @@ -950,8 +950,10 @@ if (v8CallBoolean(prototypeObject->HasOwnProperty(v8Context, unscopablesSymbol))
|
| unscopeables = prototypeObject->Get(v8Context, unscopablesSymbol).ToLocalChecked().As<v8::Object>();
|
| else
|
| unscopeables = v8::Object::New(isolate);
|
| -{% for name in unscopeables %}
|
| +{% for name, runtime_enabled_function in unscopeables %}
|
| +{% filter runtime_enabled(runtime_enabled_function) %}
|
| unscopeables->ForceSet(v8Context, v8AtomicString(isolate, "{{name}}"), v8::True(isolate)).FromJust();
|
| +{% endfilter %}
|
| {% endfor %}
|
| prototypeObject->ForceSet(v8Context, unscopablesSymbol, unscopeables).FromJust();
|
| {% endmacro %}
|
|
|