From c45b7ee3a985b2b4862fb182cdb34f644f737048 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Tue, 30 Jun 2020 11:32:07 +0000 Subject: Issue #1603 - Part 1: Reorganize ScriptLoader/ScriptElement - Moves scripting parts of DOM into 'dom/script' - Renames nsScript{Loader/Element} to Script{Loader/Element} - Adjusts all callers --- dom/script/ScriptLoader.cpp | 3063 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 3063 insertions(+) create mode 100644 dom/script/ScriptLoader.cpp (limited to 'dom/script/ScriptLoader.cpp') diff --git a/dom/script/ScriptLoader.cpp b/dom/script/ScriptLoader.cpp new file mode 100644 index 000000000..b5c8053e8 --- /dev/null +++ b/dom/script/ScriptLoader.cpp @@ -0,0 +1,3063 @@ +/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* vim: set ts=8 sts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +/* + * A class that handles loading and evaluation of