|
@@ -25,7 +25,7 @@ void OptionConstructor::initialize(JS::Realm& realm)
|
|
|
auto& vm = this->vm();
|
|
|
|
|
|
NativeFunction::initialize(realm);
|
|
|
- define_direct_property(vm.names.prototype, &cached_web_prototype(realm, "HTMLOptionElement"), 0);
|
|
|
+ define_direct_property(vm.names.prototype, &ensure_web_prototype<Bindings::HTMLOptionElementPrototype>(realm, "HTMLOptionElement"), 0);
|
|
|
define_direct_property(vm.names.length, JS::Value(0), JS::Attribute::Configurable);
|
|
|
}
|
|
|
|