chromium/third_party/blink/renderer/core/html/html_script_element.cc

/*
 * Copyright (C) 1999 Lars Knoll ([email protected])
 *           (C) 1999 Antti Koivisto ([email protected])
 *           (C) 2001 Dirk Mueller ([email protected])
 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights
 * reserved.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public License
 * along with this library; see the file COPYING.LIB.  If not, write to
 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA 02110-1301, USA.
 */

#include "third_party/blink/renderer/core/html/html_script_element.h"

#include "third_party/blink/public/common/features.h"
#include "third_party/blink/public/mojom/script/script_type.mojom-blink.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_union_htmlscriptelement_svgscriptelement.h"
#include "third_party/blink/renderer/core/dom/attribute.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/dom_node_ids.h"
#include "third_party/blink/renderer/core/dom/events/event.h"
#include "third_party/blink/renderer/core/dom/text.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/core/frame/attribution_src_loader.h"
#include "third_party/blink/renderer/core/frame/csp/content_security_policy.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/frame/web_feature.h"
#include "third_party/blink/renderer/core/html_names.h"
#include "third_party/blink/renderer/core/loader/render_blocking_resource_manager.h"
#include "third_party/blink/renderer/core/script/script_loader.h"
#include "third_party/blink/renderer/core/script/script_runner.h"
#include "third_party/blink/renderer/core/script_type_names.h"
#include "third_party/blink/renderer/core/trustedtypes/trusted_script.h"
#include "third_party/blink/renderer/core/trustedtypes/trusted_types_util.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/instrumentation/use_counter.h"
#include "third_party/blink/renderer/platform/weborigin/security_policy.h"

namespace blink {

HTMLScriptElement::HTMLScriptElement(Document& document,
                                     const CreateElementFlags flags)
    :{}

const AttrNameToTrustedType& HTMLScriptElement::GetCheckedAttributeTypes()
    const {}

bool HTMLScriptElement::IsURLAttribute(const Attribute& attribute) const {}

bool HTMLScriptElement::HasLegalLinkAttribute(const QualifiedName& name) const {}

void HTMLScriptElement::ChildrenChanged(const ChildrenChange& change) {}

void HTMLScriptElement::ParseAttribute(
    const AttributeModificationParams& params) {}

Node::InsertionNotificationRequest HTMLScriptElement::InsertedInto(
    ContainerNode& insertion_point) {}

void HTMLScriptElement::RemovedFrom(ContainerNode& insertion_point) {}

void HTMLScriptElement::DidNotifySubtreeInsertionsToDocument() {}

void HTMLScriptElement::setText(const String& string) {}

void HTMLScriptElement::setInnerTextForBinding(
    const V8UnionStringLegacyNullToEmptyStringOrTrustedScript*
        string_or_trusted_script,
    ExceptionState& exception_state) {}

void HTMLScriptElement::setTextContentForBinding(
    const V8UnionStringOrTrustedScript* value,
    ExceptionState& exception_state) {}

void HTMLScriptElement::setTextContent(const String& string) {}

void HTMLScriptElement::setAsync(bool async) {}

void HTMLScriptElement::FinishParsingChildren() {}

bool HTMLScriptElement::async() const {}

String HTMLScriptElement::SourceAttributeValue() const {}

String HTMLScriptElement::CharsetAttributeValue() const {}

String HTMLScriptElement::TypeAttributeValue() const {}

String HTMLScriptElement::LanguageAttributeValue() const {}

bool HTMLScriptElement::NomoduleAttributeValue() const {}

String HTMLScriptElement::ForAttributeValue() const {}

String HTMLScriptElement::EventAttributeValue() const {}

String HTMLScriptElement::CrossOriginAttributeValue() const {}

String HTMLScriptElement::IntegrityAttributeValue() const {}

String HTMLScriptElement::ReferrerPolicyAttributeValue() const {}

String HTMLScriptElement::FetchPriorityAttributeValue() const {}

String HTMLScriptElement::ChildTextContent() {}

String HTMLScriptElement::ScriptTextInternalSlot() const {}

bool HTMLScriptElement::AsyncAttributeValue() const {}

bool HTMLScriptElement::DeferAttributeValue() const {}

bool HTMLScriptElement::HasSourceAttribute() const {}

bool HTMLScriptElement::HasAttributionsrcAttribute() const {}

bool HTMLScriptElement::IsConnected() const {}

bool HTMLScriptElement::HasChildren() const {}

const AtomicString& HTMLScriptElement::GetNonceForElement() const {}

bool HTMLScriptElement::AllowInlineScriptForCSP(
    const AtomicString& nonce,
    const WTF::OrdinalNumber& context_line,
    const String& script_content) {}

Document& HTMLScriptElement::GetDocument() const {}

ExecutionContext* HTMLScriptElement::GetExecutionContext() const {}

V8HTMLOrSVGScriptElement* HTMLScriptElement::AsV8HTMLOrSVGScriptElement() {}

DOMNodeId HTMLScriptElement::GetDOMNodeId() {}

void HTMLScriptElement::DispatchLoadEvent() {}

void HTMLScriptElement::DispatchErrorEvent() {}

ScriptElementBase::Type HTMLScriptElement::GetScriptElementType() {}

Element& HTMLScriptElement::CloneWithoutAttributesAndChildren(
    Document& factory) const {}

bool HTMLScriptElement::IsPotentiallyRenderBlocking() const {}

// static
bool HTMLScriptElement::supports(const AtomicString& type) {}

void HTMLScriptElement::Trace(Visitor* visitor) const {}

}  // namespace blink