| Index: third_party/WebKit/Source/bindings/templates/interface.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/templates/interface.cpp b/third_party/WebKit/Source/bindings/templates/interface.cpp
|
| index a44d2d110b06e0dbfd8930d396d3763e9fa062da..63fb775e58df93b5986e411c6323f77b29c4bd47 100644
|
| --- a/third_party/WebKit/Source/bindings/templates/interface.cpp
|
| +++ b/third_party/WebKit/Source/bindings/templates/interface.cpp
|
| @@ -903,10 +903,12 @@ if (v8CallBoolean(prototypeObject->HasOwnProperty(context, unscopablesSymbol)))
|
| unscopeables = prototypeObject->Get(context, unscopablesSymbol).ToLocalChecked().As<v8::Object>();
|
| else
|
| unscopeables = v8::Object::New(isolate);
|
| -{% for name, runtime_enabled_function in unscopeables %}
|
| +{% for name, runtime_enabled_function, api_experiment_name in unscopeables %}
|
| {% filter runtime_enabled(runtime_enabled_function) %}
|
| +{% filter api_experiment_enabled(api_experiment_name) %}
|
| unscopeables->CreateDataProperty(context, v8AtomicString(isolate, "{{name}}"), v8::True(isolate)).FromJust();
|
| {% endfilter %}
|
| +{% endfilter %}
|
| {% endfor %}
|
| prototypeObject->CreateDataProperty(context, unscopablesSymbol, unscopeables).FromJust();
|
| {% endmacro %}
|
|
|