Skip to content

JSInitializer.importInitializersAsync doesn't respect initializerArguments #44586

@T-mp

Description

@T-mp

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

"JSInitializer.importInitializersAsync" always loads relative to "document.baseURI" and ignores "initializerArguments".

Expected Behavior

"JSInitializer.importInitializersAsync" uses "initializerArguments.loadBootResource", same as in "Blazor.start", and uses "document.baseURI" only as a fallback.

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

7.0.100-rc.2.22477.23

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-blazorIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing one

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions