As a part of reorganizing core/dom files, we identified some of the files are more
related to script execution or ES6 modules rather than pure DOM implementation,
and we'd like to propose creating a "core/script" directory and move files there.
The merit of having the separate directory is a clear separation of responsibility
between dom and script execution, and the ownership of script related classes
will be clarified.
Current candidates for core/script are (.h/.cpp/Test.cpp suffixes omitted)
* Script related
- AncestorList
- ClassicPendingScript
- ClassicScript
- ExecutionContext
- FunctionStringCallback
- PendingScript
- Script
- ScriptedIdleTaskController
- ScriptElementBase
- ScriptLoader
- ScriptRunner
- TaskRunnerHelper
- TaskTypeTraits
* ES6 modules related
- DocumentModulatorImpl
- Modulator
- ModulatorImplBase
- ModuleMap
- ModulePendingScript
- ModuleScript
- ScriptModuleResolver
- ScriptModuleResolverImpl
- WorkletModulatorImpl
For more background about core/dom reorganization, see
spreadsheet (esp. row 111-134).
Any feedback is welcome.
--
Takayoshi Kochi