Commit Graph
379 Commits
Author SHA1 Message Date
Tooru Fujisawa 3b1afd5ca0 Bug 1991607 - Part 10: Remove ScriptLoadRequest::mURI. r=bthrall,dom-worker-reviewers,edenchuang
Differential Revision: https://phabricator.services.mozilla.com/D267359
2025-10-22 04:38:17 +00:00
Tooru Fujisawa b4c09eb6e1 Bug 1991607 - Part 8: Remove ScriptLoadRequest::mFetchOptions. r=bthrall,dom-worker-reviewers,edenchuang
Differential Revision: https://phabricator.services.mozilla.com/D267357
2025-10-22 04:38:11 +00:00
Tooru Fujisawa 30f36a59be Bug 1991734 - Part 2: Remove unused PendingFetchingError state. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D267096
2025-10-22 01:32:30 +00:00
Tooru Fujisawa 75ecc00217 Bug 1991380 - Remove MarkedForCache state from the caching plan. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D266621
2025-10-20 17:48:28 +00:00
Tooru Fujisawa 1257f9e671 Bug 1991081 - Part 1: Rename Stencil variant to CachedStencil in LoadedScript. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D266610
2025-10-16 09:05:36 +00:00
agoloman 3352c88229 Revert "Bug 1991081 - Part 7: Rewrite EncodeBytecodeAndSave with LoadedScript. r=nbp" for causing failures @LoadedScript.h.
This reverts commit b10b7c8add.

Revert "Bug 1991081 - Part 6: Remove testing-only events from EncodeBytecodeAndSave. r=nbp"

This reverts commit caf275708e.

Revert "Bug 1991081 - Part 5: Use single field for SRI and optional bytecode, for bytecode case and for cached stencil case. r=nbp"

This reverts commit 86631a6e10.

Revert "Bug 1991081 - Part 4: Use LoadedScript for logging in EncodeBytecodeAndSave. r=nbp"

This reverts commit 0f9d7f11e8.

Revert "Bug 1991081 - Part 3: Store nsICacheInfoChannel to LoadedScript also in text and bytecode variants. r=nbp"

This reverts commit 370f5bcd48.

Revert "Bug 1991081 - Part 2: Store stencil to LoadedScript also in text and bytecode variants. r=nbp"

This reverts commit 7eaf4f425f.

Revert "Bug 1991081 - Part 1: Rename Stencil variant to CachedStencil in LoadedScript. r=nbp"

This reverts commit a7a6ce8f6f.
2025-10-15 13:30:07 +00:00
Tooru Fujisawa a7a6ce8f6f Bug 1991081 - Part 1: Rename Stencil variant to CachedStencil in LoadedScript. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D266610
2025-10-15 09:44:04 +00:00
Lando ea9361e474 Merge mozilla-central to autoland 2025-10-08 13:01:19 +00:00
Serban Stanca 713fa52191 Revert "Bug 1991370, Bug 1991380, Bug 1991358, Bug 1991081 - Part 4: Use FrontendContext-based EncodeStencil in ScriptPreloader. r=bthrall" for causing multiple bugs.
This reverts commit b1f784aebb.

This reverts commit 7f4d0b5564.

This reverts commit 7292c33902.

This reverts commit cbe156f214.

This reverts commit 3412fc5535.

This reverts commit 1b08161b6d.

This reverts commit d0cf6f5210.

This reverts commit da56ddfb2f.

This reverts commit 926bbd302a.

This reverts commit 8c38c4c093.

This reverts commit d6475781cd.

This reverts commit 8044e8dae9.

This reverts commit a3149ca9dd.

This reverts commit eca472223f.

This reverts commit 6bc2703f1a.
2025-10-08 12:57:20 +00:00
Yoshi Cheng-Hao Huang 4e61329ac0 Bug 1992588 - Align error handling with the HTML spec when loading imported module scripts. r=jonco,frontend-codestyle-reviewers
According to the spec, a ThrowCompletion should be performed if the module
script is null or has a parse error.
See https://html.spec.whatwg.org/#hostloadimportedmodule:fetch-a-single-imported-module-script
Step 14.

So this patch reverts ModuleLoadRequest::IsErrored() update in https://phabricator.services.mozilla.com/D264807

Additionally, a spec issue has been filed to clarify whether an error to
rethrow should also be treated as a ThrowCompletion:
https://github.com/whatwg/html/issues/11755

Differential Revision: https://phabricator.services.mozilla.com/D267603
2025-10-08 08:37:57 +00:00
Tooru Fujisawa 3412fc5535 Bug 1991380 - Remove MarkedForCache state from the caching plan. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D266621
2025-10-08 04:07:00 +00:00
Yoshi Cheng-Hao Huang 2dbf29e59b Bug 1968890 - Part 10: Check if the request has been canceled in reject handler. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D267274
2025-10-03 21:52:43 +00:00
Yoshi Cheng-Hao Huang 08904835b8 Bug 1968890 - Part 8: Remove FinishDynamicImportAndReject. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D264810
2025-10-03 21:52:36 +00:00
Yoshi Cheng-Hao Huang 8b743b6a79 Bug 1968890 - Part 7: Add Cancel method. r=jonco
Triggers FinishLoadingImportedModule in Cancel() to prevent memory leak.

Differential Revision: https://phabricator.services.mozilla.com/D264809
2025-10-03 21:52:32 +00:00
Yoshi Cheng-Hao Huang 1e5ddf19cf Bug 1968890 - Part 5: Add ModuleLoadRequest::SetErroredLoadingImports(). r=jonco
To indicate the loading error for a top-level of the module from the dynamic import
is successfully fetched and parsed, but one of its dependencies fails to fetch
or compile.

//Example
import("a.mjs");

// a.mjs
import "./404.mjs";

This patch allows the ModuleLoadRequest::IsErrored() for "a.mjs" returns
true.

Differential Revision: https://phabricator.services.mozilla.com/D264807
2025-10-03 21:52:24 +00:00
Yoshi Cheng-Hao Huang 548979d573 Bug 1968890 - Part 4: Handle Dynamic import in LoadRequestedModulesRejected. r=jonco
Reject the dynamic import when the LoadRequestedModules fails.

Differential Revision: https://phabricator.services.mozilla.com/D264806
2025-10-03 21:52:21 +00:00
Yoshi Cheng-Hao Huang c4ba35eab1 Bug 1968890 - Part 3: Call ModuleErrored in OnFetchFailed. r=jonco
Update the state of the ModuleLoadRequest in OnFetchFailed.

Differential Revision: https://phabricator.services.mozilla.com/D264805
2025-10-03 21:52:17 +00:00
Yoshi Cheng-Hao Huang 01ff6257fd Bug 1968890 - Part 2: Handle dynamic import in OnFetchFailed. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D264804
2025-10-03 21:52:13 +00:00
Yoshi Cheng-Hao Huang 982b4fcd35 Bug 1968890 - Part 1: Dynamic import is not a top-level request. r=jonco,dom-worker-reviewers,edenchuang
According to the spec, requests created in HostLoadImportedModule have
the isTopLevel flag set to false. This means both static and dynamic
import requests should also have this flag set to false.

[HostLoadImportedModule](https://html.spec.whatwg.org/#hostloadimportedmodule)
Step 14. Fetch a single imported module script ...

[Fetch a single imported module script](https://html.spec.whatwg.org/#fetch-a-single-imported-module-script)
Step 4. Fetch a single module script given url, fetchClient, destination, options, settingsObject, referrer, moduleRequest, false, and onComplete.

The false argument in the second-to-last parameter of 'Fetch a single
module script' corresponds to the top-levl flag.

[Fetch a single module script](https://html.spec.whatwg.org/#fetch-a-single-module-script)
given a URL url, an environment settings object fetchClient, a
destination destination, a script fetch options options, an environment
settings object settingsObject, a referrer referrer, an optional
ModuleRequest Record moduleRequest, a boolean isTopLevel, an algorithm
onComplete,

The spec was updated in https://github.com/whatwg/html/issues/7996. We’re
updating the implementation to reflect this change.

Differential Revision: https://phabricator.services.mozilla.com/D265593
2025-10-03 21:52:09 +00:00
Cristina Horotan 82cca9c5e0 Revert "Bug 1991380, Bug 1991358 - Remove MarkedForCache state from the caching plan. r=nbp" for causing build bustages
This reverts commit fbc2c40121.

Revert "Bug 1991358 - Part 3: Remove ScriptLoadRequest::MarkScriptForCache and ModuleLoadRequest::MarkModuleForCache. r=nbp"

This reverts commit ebec92d70e.

Revert "Bug 1991358 - Part 2: Remove ScriptLoadRequest::mScriptForCache. r=nbp"

This reverts commit f9e1c5eb8c.

Revert "Bug 1991358 - Part 1: Stop performing JS::FinishCollectingDelazifications/JS::AbortCollectingDelazifications. r=nbp"

This reverts commit 7fa3a4ebaf.
2025-10-01 11:03:26 +00:00
Tooru Fujisawa fbc2c40121 Bug 1991380 - Remove MarkedForCache state from the caching plan. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D266621
2025-10-01 09:58:54 +00:00
Tooru Fujisawa 6bc2703f1a Bug 1991081 - Part 1: Rename Stencil variant to CachedStencil in LoadedScript. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D266610
2025-09-30 11:39:07 +00:00
Alexandru Marc 17032d74be Revert "Bug 1968890 - Part 9: Add test for dynamic import. r=jonco" as potential cause of javascript engine crashes (bug 1991268)
This reverts commit c6e5d9e61c.

Revert "Bug 1968890 - Part 8: Remove FinishDynamicImportAndReject. r=jonco"

This reverts commit 0c71c535fc.

Revert "Bug 1968890 - Part 7: Add Cancel method. r=jonco"

This reverts commit 4efb29fcff.

Revert "Bug 1968890 - Part 6: ScriptLoaders update. r=jonco,dom-worker-reviewers,edenchuang"

This reverts commit 0bd0adafd8.

Revert "Bug 1968890 - Part 5: Add ModuleLoadRequest::SetErroredLoadingImports(). r=jonco"

This reverts commit 36f140b26b.

Revert "Bug 1968890 - Part 4: Handle Dynamic import in LoadRequestedModulesRejected. r=jonco"

This reverts commit 3837c393b5.

Revert "Bug 1968890 - Part 3: Call ModuleErrored in OnFetchFailed. r=jonco"

This reverts commit 33105bfe8d.

Revert "Bug 1968890 - Part 2: Handle dynamic import in OnFetchFailed. r=jonco"

This reverts commit 4396212837.

Revert "Bug 1968890 - Part 1: Dynamic import is not a top-level request. r=jonco,dom-worker-reviewers,edenchuang"

This reverts commit 43e95dfc62.
2025-09-27 09:31:04 +00:00
Yoshi Cheng-Hao Huang 0c71c535fc Bug 1968890 - Part 8: Remove FinishDynamicImportAndReject. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D264810
2025-09-26 06:47:37 +00:00
Yoshi Cheng-Hao Huang 4efb29fcff Bug 1968890 - Part 7: Add Cancel method. r=jonco
Triggers FinishLoadingImportedModule in Cancel() to prevent memory leak.

Differential Revision: https://phabricator.services.mozilla.com/D264809
2025-09-26 06:47:34 +00:00
Yoshi Cheng-Hao Huang 36f140b26b Bug 1968890 - Part 5: Add ModuleLoadRequest::SetErroredLoadingImports(). r=jonco
To indicate the loading error for a top-level of the module from the dynamic import
is successfully fetched and parsed, but one of its dependencies fails to fetch
or compile.

//Example
import("a.mjs");

// a.mjs
import "./404.mjs";

This patch allows the ModuleLoadRequest::IsErrored() for "a.mjs" returns
true.

Differential Revision: https://phabricator.services.mozilla.com/D264807
2025-09-26 06:47:28 +00:00
Yoshi Cheng-Hao Huang 3837c393b5 Bug 1968890 - Part 4: Handle Dynamic import in LoadRequestedModulesRejected. r=jonco
Reject the dynamic import when the LoadRequestedModules fails.

Differential Revision: https://phabricator.services.mozilla.com/D264806
2025-09-26 06:47:25 +00:00
Yoshi Cheng-Hao Huang 33105bfe8d Bug 1968890 - Part 3: Call ModuleErrored in OnFetchFailed. r=jonco
Update the state of the ModuleLoadRequest in OnFetchFailed.

Differential Revision: https://phabricator.services.mozilla.com/D264805
2025-09-26 06:47:22 +00:00
Yoshi Cheng-Hao Huang 4396212837 Bug 1968890 - Part 2: Handle dynamic import in OnFetchFailed. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D264804
2025-09-26 06:47:19 +00:00
Yoshi Cheng-Hao Huang 43e95dfc62 Bug 1968890 - Part 1: Dynamic import is not a top-level request. r=jonco,dom-worker-reviewers,edenchuang
According to the spec, requests created in HostLoadImportedModule have
the isTopLevel flag set to false. This means both static and dynamic
import requests should also have this flag set to false.

[HostLoadImportedModule](https://html.spec.whatwg.org/#hostloadimportedmodule)
Step 14. Fetch a single imported module script ...

[Fetch a single imported module script](https://html.spec.whatwg.org/#fetch-a-single-imported-module-script)
Step 4. Fetch a single module script given url, fetchClient, destination, options, settingsObject, referrer, moduleRequest, false, and onComplete.

The false argument in the second-to-last parameter of 'Fetch a single
module script' corresponds to the top-levl flag.

[Fetch a single module script](https://html.spec.whatwg.org/#fetch-a-single-module-script)
given a URL url, an environment settings object fetchClient, a
destination destination, a script fetch options options, an environment
settings object settingsObject, a referrer referrer, an optional
ModuleRequest Record moduleRequest, a boolean isTopLevel, an algorithm
onComplete,

The spec was updated in https://github.com/whatwg/html/issues/7996. We’re
updating the implementation to reflect this change.

Differential Revision: https://phabricator.services.mozilla.com/D265593
2025-09-26 06:47:16 +00:00
Alexandru Marc ea0e5ede0e Revert "Bug 1968890 - Part 9: Add test for dynamic import. r=jonco" for causing multiple wpt failures
This reverts commit 6126014923.

Revert "Bug 1968890 - Part 8: Remove FinishDynamicImportAndReject. r=jonco"

This reverts commit 111e590ac7.

Revert "Bug 1968890 - Part 7: Add Cancel method. r=jonco"

This reverts commit 6af0a75aa4.

Revert "Bug 1968890 - Part 6: ScriptLoaders update. r=jonco,dom-worker-reviewers,edenchuang"

This reverts commit 38def54b95.

Revert "Bug 1968890 - Part 5: Add ModuleLoadRequest::SetErroredLoadingImports(). r=jonco"

This reverts commit d3e0ec0a70.

Revert "Bug 1968890 - Part 4: Handle Dynamic import in LoadRequestedModulesRejected. r=jonco"

This reverts commit 59b34ef09e.

Revert "Bug 1968890 - Part 3: Call ModuleErrored in OnFetchFailed. r=jonco"

This reverts commit 3ef1571f6c.

Revert "Bug 1968890 - Part 2: Handle dynamic import in OnFetchFailed. r=jonco"

This reverts commit 4846001155.

Revert "Bug 1968890 - Part 1: Dynamic import is not a top-level request. r=jonco,dom-worker-reviewers,edenchuang"

This reverts commit 2f3764f5f6.
2025-09-25 02:50:52 +00:00
Yoshi Cheng-Hao Huang 111e590ac7 Bug 1968890 - Part 8: Remove FinishDynamicImportAndReject. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D264810
2025-09-24 18:19:54 +00:00
Yoshi Cheng-Hao Huang 6af0a75aa4 Bug 1968890 - Part 7: Add Cancel method. r=jonco
Triggers FinishLoadingImportedModule in Cancel() to prevent memory leak.

Differential Revision: https://phabricator.services.mozilla.com/D264809
2025-09-24 18:19:51 +00:00
Yoshi Cheng-Hao Huang d3e0ec0a70 Bug 1968890 - Part 5: Add ModuleLoadRequest::SetErroredLoadingImports(). r=jonco
To indicate the loading error for a top-level of the module from the dynamic import
is successfully fetched and parsed, but one of its dependencies fails to fetch
or compile.

//Example
import("a.mjs");

// a.mjs
import "./404.mjs";

This patch allows the ModuleLoadRequest::IsErrored() for "a.mjs" returns
true.

Differential Revision: https://phabricator.services.mozilla.com/D264807
2025-09-24 18:19:45 +00:00
Yoshi Cheng-Hao Huang 59b34ef09e Bug 1968890 - Part 4: Handle Dynamic import in LoadRequestedModulesRejected. r=jonco
Reject the dynamic import when the LoadRequestedModules fails.

Differential Revision: https://phabricator.services.mozilla.com/D264806
2025-09-24 18:19:42 +00:00
Yoshi Cheng-Hao Huang 3ef1571f6c Bug 1968890 - Part 3: Call ModuleErrored in OnFetchFailed. r=jonco
Update the state of the ModuleLoadRequest in OnFetchFailed.

Differential Revision: https://phabricator.services.mozilla.com/D264805
2025-09-24 18:19:39 +00:00
Yoshi Cheng-Hao Huang 4846001155 Bug 1968890 - Part 2: Handle dynamic import in OnFetchFailed. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D264804
2025-09-24 18:19:36 +00:00
Yoshi Cheng-Hao Huang 2f3764f5f6 Bug 1968890 - Part 1: Dynamic import is not a top-level request. r=jonco,dom-worker-reviewers,edenchuang
According to the spec, requests created in HostLoadImportedModule have
the isTopLevel flag set to false. This means both static and dynamic
import requests should also have this flag set to false.

[HostLoadImportedModule](https://html.spec.whatwg.org/#hostloadimportedmodule)
Step 14. Fetch a single imported module script ...

[Fetch a single imported module script](https://html.spec.whatwg.org/#fetch-a-single-imported-module-script)
Step 4. Fetch a single module script given url, fetchClient, destination, options, settingsObject, referrer, moduleRequest, false, and onComplete.

The false argument in the second-to-last parameter of 'Fetch a single
module script' corresponds to the top-levl flag.

[Fetch a single module script](https://html.spec.whatwg.org/#fetch-a-single-module-script)
given a URL url, an environment settings object fetchClient, a
destination destination, a script fetch options options, an environment
settings object settingsObject, a referrer referrer, an optional
ModuleRequest Record moduleRequest, a boolean isTopLevel, an algorithm
onComplete,

The spec was updated in https://github.com/whatwg/html/issues/7996. We’re
updating the implementation to reflect this change.

Differential Revision: https://phabricator.services.mozilla.com/D265593
2025-09-24 18:19:33 +00:00
Daniel Minor bec9f73c5c Bug 1720570 - Move ModuleTypeAllowed check into ModuleLoaderBase; r=allstarschh
CSS Modules are not supported in Workers and Worklets. This adds a
IsModuleTypeAllowed to ModuleLoaderBase so that the subclasses can
decide which modules are allowed.

Differential Revision: https://phabricator.services.mozilla.com/D263412
2025-09-15 21:24:05 +00:00
Alexandru Marc 982c15a70d Revert "Bug 1720570: apply code formatting via Lando" for causing build bustages @ ModuleLoaderBase.h
This reverts commit ba4e616475.

Revert "Bug 1720570 - Update web-platform test expectations; r=layout-reviewers,emilio"

This reverts commit 27214f9ae8.

Revert "Bug 1720570 - Use backgroundImage in relative-urls.html; r=layout-reviewers,emilio"

This reverts commit 97ec45d1db.

Revert "Bug 1720570 - Support fetching css module scripts; r=dom-core,smaug"

This reverts commit e54b57ec16.

Revert "Bug 1720570 - Add support for css modules in ModuleLoader, WorkerModuleLoader and WorkletModuleLoader; r=allstarschh,dom-core,emilio,smaug"

This reverts commit 2eb55b783d.

Revert "Bug 1720570 - Break out separate method to create constructed stylesheets; r=layout-reviewers,firefox-style-system-reviewers,emilio"

This reverts commit 2ccebf50bb.

Revert "Bug 1720570 - Move ModuleTypeAllowed check into ModuleLoaderBase; r=allstarschh"

This reverts commit 040b387d3e.

Revert "Bug 1720570 - Handle css module in GetModuleType; r=allstarschh"

This reverts commit 4b64b94cb1.

Revert "Bug 1720570 - Add CreateCssModule; r=allstarschh"

This reverts commit 3f20b1d5b7.

Revert "Bug 1720570 - Add ModuleType::CSS; r=allstarschh"

This reverts commit ef5e3a7151.

Revert "Bug 1720570 - Add pref for css module scripts; r=layout-reviewers,emilio"

This reverts commit 7a9b1fbac0.
2025-09-10 01:10:49 +00:00
Daniel Minor 040b387d3e Bug 1720570 - Move ModuleTypeAllowed check into ModuleLoaderBase; r=allstarschh
CSS Modules are not supported in Workers and Worklets. This adds a
IsModuleTypeAllowed to ModuleLoaderBase so that the subclasses can
decide which modules are allowed.

Differential Revision: https://phabricator.services.mozilla.com/D263412
2025-09-10 00:44:21 +00:00
Atila Butkovits c5ace57d5c Revert "Bug 1720570: apply code formatting via Lando" for causing Hazard failures.
This reverts commit 8267f4ae14.

Revert "Bug 1720570 - Update web-platform test expectations; r=layout-reviewers,emilio"

This reverts commit 0a8f6facf2.

Revert "Bug 1720570 - Use backgroundImage in relative-urls.html; r=layout-reviewers,emilio"

This reverts commit 886bec571a.

Revert "Bug 1720570 - Support fetching css module scripts; r=dom-core,smaug"

This reverts commit 161decf185.

Revert "Bug 1720570 - Add support for css modules in ModuleLoader, WorkerModuleLoader and WorkletModuleLoader; r=allstarschh,dom-core,emilio,smaug"

This reverts commit 1c0eba5a86.

Revert "Bug 1720570 - Break out separate method to create constructed stylesheets; r=layout-reviewers,firefox-style-system-reviewers,emilio"

This reverts commit 0552b0f555.

Revert "Bug 1720570 - Move ModuleTypeAllowed check into ModuleLoaderBase; r=allstarschh"

This reverts commit b3be3d8fc4.

Revert "Bug 1720570 - Handle css module in GetModuleType; r=allstarschh"

This reverts commit 6ff53c0877.

Revert "Bug 1720570 - Add CreateCssModule; r=allstarschh"

This reverts commit cf4c677737.

Revert "Bug 1720570 - Add ModuleType::CSS; r=allstarschh"

This reverts commit e5f6251479.

Revert "Bug 1720570 - Add pref for css module scripts; r=layout-reviewers,emilio"

This reverts commit 9155521841.
2025-09-09 00:35:54 +00:00
Daniel Minor b3be3d8fc4 Bug 1720570 - Move ModuleTypeAllowed check into ModuleLoaderBase; r=allstarschh
CSS Modules are not supported in Workers and Worklets. This adds a
IsModuleTypeAllowed to ModuleLoaderBase so that the subclasses can
decide which modules are allowed.

Differential Revision: https://phabricator.services.mozilla.com/D263412
2025-09-08 18:30:18 +00:00
Yoshi Cheng-Hao Huang 292eb157f6 Bug 1968895 - Part 7: Remove StartFetchingModuleAndDependencies. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D263376
2025-09-07 09:03:59 +00:00
Yoshi Cheng-Hao Huang 374f6ffb24 Bug 1968895 - Part 6: Replace CreateStaticImport/CreateDynamicImport with CreateRequest. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D263375
2025-09-07 09:03:55 +00:00
Yoshi Cheng-Hao Huang 05f8214d59 Bug 1968895 - Part 1: Check if dynamic import is supported earlier. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D263370
2025-09-07 09:03:35 +00:00
Cristina Horotan 1fe1c12f6e Revert "Bug 1968895: apply code formatting via Lando" for causing SM failures on Value.h
This reverts commit 40010a7da7.

Revert "Bug 1968895 - Part 7: Remove StartFetchingModuleAndDependencies. r=jonco"

This reverts commit 816a0a6015.

Revert "Bug 1968895 - Part 6: Replace CreateStaticImport/CreateDynamicImport with CreateRequest. r=jonco"

This reverts commit e29a957535.

Revert "Bug 1968895 - Part 5: Add CreateDefaultScriptFetchOptions and GetClientReferrerURI. r=jonco"

This reverts commit 4b21d41ec1.

Revert "Bug 1968895 - Part 4: Pass null for referrer in shadow realm import value. r=jonco"

This reverts commit a3417dbe89.

Revert "Bug 1968895 - Part 3: Update ModuleLoadRequest's referrer policy for workers. r=jonco"

This reverts commit 6a28639be8.

Revert "Bug 1968895 - Part 2: Pass BaseURL for static/dynamic import. r=jonco"

This reverts commit dab430a7b4.

Revert "Bug 1968895 - Part 1: Check if dynamic import is supported earlier. r=jonco"

This reverts commit 34f67fd697.
2025-09-03 18:44:42 +00:00
Yoshi Cheng-Hao Huang 816a0a6015 Bug 1968895 - Part 7: Remove StartFetchingModuleAndDependencies. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D263376
2025-09-03 17:58:55 +00:00
Yoshi Cheng-Hao Huang e29a957535 Bug 1968895 - Part 6: Replace CreateStaticImport/CreateDynamicImport with CreateRequest. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D263375
2025-09-03 17:58:52 +00:00
Yoshi Cheng-Hao Huang 34f67fd697 Bug 1968895 - Part 1: Check if dynamic import is supported earlier. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D263370
2025-09-03 17:58:37 +00:00