JSValue jsHTMLDocumentPlugins(ExecState* exec, JSValue slotBase, const Identifier&) { JSHTMLDocument* castedThis = static_cast<JSHTMLDocument*>(asObject(slotBase)); UNUSED_PARAM(exec); HTMLDocument* imp = static_cast<HTMLDocument*>(castedThis->impl()); JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->plugins())); return result; }