#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 { … }
bool HTMLScriptElement::supports(const AtomicString& type) { … }
void HTMLScriptElement::Trace(Visitor* visitor) const { … }
}