mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-25 02:40:22 -10:00
Automatic update from web-platform-tests HTML: fix module script decoding test recources The modified resources signal correct execution by defining a global binding. Prior to this commit, they attempted to do this by assigning to an unresolvable reference. Because that produces a ReferenceError in strict mode and because conforming implementations are expected to interpret module code in strict mode, these tests could not pass. Update the resources to define the binding using a pattern that is not disallowed by strict mode (i.e. assignment to a property of the global object). -- wpt-commits: cbd8c8ca929bc1aea71087be3b826cf1ee189a52 wpt-pr: 19481 Differential Revision: https://phabricator.services.mozilla.com/D53513