Skip to content

Commit 34ca9e5

Browse files
TimothyGudomenic
authored andcommitted
Initialize script's base URL earlier
The "resolve a module specifier" algorithm uses the module script's base URL, so while creating scripts it needs to be set before that algorithm is called.
1 parent 97d8432 commit 34ca9e5

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

source

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -87264,6 +87264,12 @@ interface <dfn>ApplicationCache</dfn> : <span>EventTarget</span> {
8726487264

8726587265
<li><p>Set <var>script</var>'s <span>settings object</span> to <var>settings</var>.</p></li>
8726687266

87267+
<li><p>Set <var>script</var>'s <span data-x="concept-script-base-url">base URL</span> to
87268+
<var>baseURL</var>.</p></li>
87269+
87270+
<li><p>Set <var>script</var>'s <span data-x="concept-script-script-fetch-options">fetch
87271+
options</span> to <var>options</var>.</p></li>
87272+
8726787273
<li><p>Set <var>script</var>'s <span>muted errors</span> to <var>muted errors</var>.</p></li>
8726887274

8726987275
<li><p>Set <var>script</var>'s <span data-x="concept-script-parse-error">parse error</span> and
@@ -87293,12 +87299,6 @@ interface <dfn>ApplicationCache</dfn> : <span>EventTarget</span> {
8729387299
<li><p>Set <var>script</var>'s <span data-x="concept-script-record">record</span> to
8729487300
<var>result</var>.</p></li>
8729587301

87296-
<li><p>Set <var>script</var>'s <span data-x="concept-script-base-url">base URL</span> to
87297-
<var>baseURL</var>.</p></li>
87298-
87299-
<li><p>Set <var>script</var>'s <span data-x="concept-script-script-fetch-options">fetch
87300-
options</span> to <var>options</var>.</p></li>
87301-
8730287302
<li><p>Return <var>script</var>.</p></li>
8730387303
</ol>
8730487304

@@ -87317,6 +87317,12 @@ interface <dfn>ApplicationCache</dfn> : <span>EventTarget</span> {
8731787317

8731887318
<li><p>Set <var>script</var>'s <span>settings object</span> to <var>settings</var>.</p></li>
8731987319

87320+
<li><p>Set <var>script</var>'s <span data-x="concept-script-base-url">base URL</span> to
87321+
<var>baseURL</var>.</p></li>
87322+
87323+
<li><p>Set <var>script</var>'s <span data-x="concept-script-script-fetch-options">fetch
87324+
options</span> to <var>options</var>.</p></li>
87325+
8732087326
<li><p>Set <var>script</var>'s <span data-x="concept-script-parse-error">parse error</span> and
8732187327
<span data-x="concept-script-error-to-rethrow">error to rethrow</span> to null.</p></li>
8732287328

@@ -87371,12 +87377,6 @@ interface <dfn>ApplicationCache</dfn> : <span>EventTarget</span> {
8737187377
<li><p>Set <var>script</var>'s <span data-x="concept-script-record">record</span> to
8737287378
<var>result</var>.</p></li>
8737387379

87374-
<li><p>Set <var>script</var>'s <span data-x="concept-script-base-url">base URL</span> to
87375-
<var>baseURL</var>.</p></li>
87376-
87377-
<li><p>Set <var>script</var>'s <span data-x="concept-script-script-fetch-options">fetch
87378-
options</span> to <var>options</var>.</p></li>
87379-
8738087380
<li><p>Return <var>script</var>.</p></li>
8738187381
</ol>
8738287382

0 commit comments

Comments
 (0)