Open Bug 1786831 Opened 3 years ago

[wpt-sync] Sync PR 35594 - Add globla=window-module for .any.js. (#35511)

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(Not tracked)

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 35594 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/35594
Details from upstream follow.

Yoshi Cheng-Hao Huang <allstars.chh@gmail.com> wrote:

Add globla=window-module for .any.js. (#35511)

This allows .any.js could be loaded as a ES module script, whereas
'global=window' loads the script as a classic JS script.

You need to log in before you can comment on or make changes to this bug.