| Index: Source/bindings/templates/interface.cpp
|
| diff --git a/Source/bindings/templates/interface.cpp b/Source/bindings/templates/interface.cpp
|
| index 7b4f5ee96c512bbe44454a832745552d989bde50..09695a3e02d2ac61d3561c942f6e3b9cde449fca 100644
|
| --- a/Source/bindings/templates/interface.cpp
|
| +++ b/Source/bindings/templates/interface.cpp
|
| @@ -948,10 +948,10 @@ else
|
| unscopeables = v8::Object::New(isolate);
|
| {% for name, runtime_enabled_function in unscopeables %}
|
| {% filter runtime_enabled(runtime_enabled_function) %}
|
| -unscopeables->ForceSet(v8Context, v8AtomicString(isolate, "{{name}}"), v8::True(isolate)).FromJust();
|
| +unscopeables->CreateDataProperty(v8Context, v8AtomicString(isolate, "{{name}}"), v8::True(isolate)).FromJust();
|
| {% endfilter %}
|
| {% endfor %}
|
| -prototypeObject->ForceSet(v8Context, unscopablesSymbol, unscopeables).FromJust();
|
| +prototypeObject->CreateDataProperty(v8Context, unscopablesSymbol, unscopeables).FromJust();
|
| {% endmacro %}
|
|
|
|
|
|
|