| Index: Source/bindings/templates/interface.cpp
|
| diff --git a/Source/bindings/templates/interface.cpp b/Source/bindings/templates/interface.cpp
|
| index c736a026d980b26815bb35978f8932c83643e13c..62152a9a39a32a68db574d690d5f6855c61ba199 100644
|
| --- a/Source/bindings/templates/interface.cpp
|
| +++ b/Source/bindings/templates/interface.cpp
|
| @@ -853,10 +853,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 %}
|
|
|
|
|
|
|