[TASK] Support FLAG_USE_TOP_WINDOW for ES6 module instructions

Implement top-frame-module loading for ES6 module.
This has been marked as todo in #96510 in order to
be implemented in a separately testable patch.

Migrate EXT:redirect and EXT:install to make use of this.

Resolves: #96610
Related: #96510
Related: #96323
Releases: main
Change-Id: I699a7a39beb788c843e3c8292e29bf3db97e8cd9
53 jobs for main.73025.2 in 15 minutes and 19 seconds (queued for 4 seconds)
latest
Name Stage Failure
failed
grunt clean pre-merge Main

Cleaning up project directory and file based variables
Removing .cache/
Removing Build/.cache/
Removing Build/JavaScript/
Removing Build/node_modules/
Removing Build/testing-docker/local/.env
HEAD is now at 1e30ed34d1 [TASK] Support FLAG_USE_TOP_WINDOW for ES6 module instructions
ERROR: Job failed: exit code 1