A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | AB | AC | AD | AE | AF | ||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Parent Doc: | Design Doc: ES6 modules in Blink | Fields | ||||||||||||||||||||||||||||||
2 | Spec Algorithm | Blink Entrypoint | Blink Impl | module script | url | fetch client settings object | module map settings object | destination | cryptographic nonce | parser state | credentials mode | referrer | ancestor list | top-level module fetch flag | type | mode | source text | muted errors | module record | instantiation state | instantiation error | ||||||||||||
3 | Fetch a module script graph | Mtor::fetchTree | ModulatorImpl | N/A | arg | arg | arg | arg | arg | arg | fill "client" | N/A | fill "top level fetch" | N/A | N/A | N/A | N/A | N/A | N/A | N/A | |||||||||||||
4 | Fetch a module worker script graph | TODO | ModulatorImpl | N/A | arg | arg | arg | arg | fill "" (empty string) | fill "not parser inserted" | arg | fill "client" | N/A | fill "top level fetch" | N/A | N/A | N/A | N/A | N/A | N/A | N/A | ||||||||||||
5 | Internal module script graph fetching | Mtor::fetchTreeInternal | ModuleTreeLinker | N/A | arg | arg | arg | arg | arg | arg | arg | arg | arg | arg | N/A | N/A | N/A | N/A | N/A | N/A | N/A | ||||||||||||
6 | Fetch a single module script | Mtor::fetchSingle | ModuleMap | N/A | arg | arg | arg | arg | arg | arg | arg | arg | N/A | arg | N/A | N/A | N/A | N/A | N/A | N/A | N/A | ||||||||||||
7 | ^^ Steps 5-9 (new module script fetch) | Mtor::fetchNewSingle | ModuleScriptLoader | N/A | arg | arg | N/A | arg | arg | arg | arg | arg | N/A | N/A | fill "script" | fill "cors" | N/A | N/A | N/A | N/A | N/A | ||||||||||||
8 | Perform a fetch | N/A | ScriptResource::fetch | N/A | arg | arg | N/A | arg | arg | arg | arg | arg | N/A | N/A | arg | arg | N/A | N/A | N/A | N/A | N/A | ||||||||||||
9 | Fetch the descendants of a module script | N/A | MTLinker::fetchDescendants | arg | from MS | from MS | from MS | arg | from MS | from MS | from MS | from MS baseURL | arg | fill "Not top level fetch" | N/A | N/A | N/A | N/A | N/A | N/A | N/A | ||||||||||||
10 | base url | ||||||||||||||||||||||||||||||||
11 | Create a module script | MSLoader::createModuleScript | N/A | N/A | arg | N/A | arg | arg | arg | arg | N/A | N/A | N/A | N/A | N/A | N/A | N/A | fill "uninstantiated" | fill None | ||||||||||||||
12 | |||||||||||||||||||||||||||||||||
13 | Spec Concepts: {Structure, Enum, Flag} | Blink Impl | |||||||||||||||||||||||||||||||
14 | "script" | TODO | N/A | N/A | has_a | N/A | |||||||||||||||||||||||||||
15 | "classic script" | PendingScript??? | N/A | N/A | ↑ | N/A | N/A | N/A | N/A | N/A | has_a | has_a | N/A | N/A | N/A | ||||||||||||||||||
16 | "module script" | ModuleScript | N/A | N/A | ↑ | N/A | has_a | has_a | has_a | has_a | N/A | N/A | N/A | N/A | N/A | N/A | N/A | has_a | has_a | ||||||||||||||
17 | "module record" | ScriptModule | → | v8::Module | |||||||||||||||||||||||||||||
18 | "environment settings object" | ScriptState | Note: ScriptState owns V8PerContextData which owns Modulator which owns ModuleMap | ||||||||||||||||||||||||||||||
19 | "module map settings object" | Modulator | Note: a module map settings object *is* an environment settings object in the spec (from domenic@) | ||||||||||||||||||||||||||||||
20 | "fetch client settings object" | ResourceFetcher Modulator::m_fetcher | |||||||||||||||||||||||||||||||
21 | "cryptographic nonce" | WTFString | |||||||||||||||||||||||||||||||
22 | "parser state" | ParserDisposition | |||||||||||||||||||||||||||||||
23 | "credentials mode" | WebURLRequest::FetchCredentialsMode | |||||||||||||||||||||||||||||||
24 | "instantiation state" | InstantiationState | |||||||||||||||||||||||||||||||
25 | "referrer" in fetch spec | {Atomic,}String | |||||||||||||||||||||||||||||||
26 | "referrer policy" in fetch spec | weborigin/ReferrerPolicy | |||||||||||||||||||||||||||||||
27 | the environment settings object's Realm | v8::Context | |||||||||||||||||||||||||||||||
28 | |||||||||||||||||||||||||||||||||
29 | Blink Parameter Object | ||||||||||||||||||||||||||||||||
30 | ModuleScriptFetchRequest | has_a | has_a | has_a | has_a | has_a | has_a | ||||||||||||||||||||||||||
31 | |||||||||||||||||||||||||||||||||
32 | Legend | N/A | The value doesn't make sense for the algorithm. | ||||||||||||||||||||||||||||||
33 | arg | The algorithm takes the value from its caller for its argument | |||||||||||||||||||||||||||||||
34 | fill X | The algorithm fills in value X to use when invoking other algorithms | |||||||||||||||||||||||||||||||
35 | from MS | The algorithm extracts and use the value from its "module script" argument. | |||||||||||||||||||||||||||||||
36 | has_a | The spec structure + corresponding Blink class instance "has_a" value | |||||||||||||||||||||||||||||||
37 | Blink has_a | The corresponding Blink class instance "has_a" value, although the corresponding spec structure doesn't have the value. | |||||||||||||||||||||||||||||||
38 | ↑ | The parent "has_a" value | |||||||||||||||||||||||||||||||
39 | |||||||||||||||||||||||||||||||||
40 | |||||||||||||||||||||||||||||||||
41 | |||||||||||||||||||||||||||||||||
42 | |||||||||||||||||||||||||||||||||
43 | |||||||||||||||||||||||||||||||||
44 | |||||||||||||||||||||||||||||||||
45 | |||||||||||||||||||||||||||||||||
46 | |||||||||||||||||||||||||||||||||
47 | |||||||||||||||||||||||||||||||||
48 | |||||||||||||||||||||||||||||||||
49 | |||||||||||||||||||||||||||||||||
50 | |||||||||||||||||||||||||||||||||
51 | |||||||||||||||||||||||||||||||||
52 | |||||||||||||||||||||||||||||||||
53 | |||||||||||||||||||||||||||||||||
54 | |||||||||||||||||||||||||||||||||
55 | |||||||||||||||||||||||||||||||||
56 | |||||||||||||||||||||||||||||||||
57 | |||||||||||||||||||||||||||||||||
58 | |||||||||||||||||||||||||||||||||
59 | |||||||||||||||||||||||||||||||||
60 | |||||||||||||||||||||||||||||||||
61 | |||||||||||||||||||||||||||||||||
62 | |||||||||||||||||||||||||||||||||
63 | |||||||||||||||||||||||||||||||||
64 | |||||||||||||||||||||||||||||||||
65 | |||||||||||||||||||||||||||||||||
66 | |||||||||||||||||||||||||||||||||
67 | |||||||||||||||||||||||||||||||||
68 | |||||||||||||||||||||||||||||||||
69 | |||||||||||||||||||||||||||||||||
70 | |||||||||||||||||||||||||||||||||
71 | |||||||||||||||||||||||||||||||||
72 | |||||||||||||||||||||||||||||||||
73 | |||||||||||||||||||||||||||||||||
74 | |||||||||||||||||||||||||||||||||
75 | |||||||||||||||||||||||||||||||||
76 | |||||||||||||||||||||||||||||||||
77 | |||||||||||||||||||||||||||||||||
78 | |||||||||||||||||||||||||||||||||
79 | |||||||||||||||||||||||||||||||||
80 | |||||||||||||||||||||||||||||||||
81 | |||||||||||||||||||||||||||||||||
82 | |||||||||||||||||||||||||||||||||
83 | |||||||||||||||||||||||||||||||||
84 | |||||||||||||||||||||||||||||||||
85 | |||||||||||||||||||||||||||||||||
86 | |||||||||||||||||||||||||||||||||
87 | |||||||||||||||||||||||||||||||||
88 | |||||||||||||||||||||||||||||||||
89 | |||||||||||||||||||||||||||||||||
90 | |||||||||||||||||||||||||||||||||
91 | |||||||||||||||||||||||||||||||||
92 | |||||||||||||||||||||||||||||||||
93 | |||||||||||||||||||||||||||||||||
94 | |||||||||||||||||||||||||||||||||
95 | |||||||||||||||||||||||||||||||||
96 | |||||||||||||||||||||||||||||||||
97 | |||||||||||||||||||||||||||||||||
98 | |||||||||||||||||||||||||||||||||
99 | |||||||||||||||||||||||||||||||||
100 |