summaryrefslogtreecommitdiff
path: root/js/src/jit-test/tests/modules/requested-modules.js
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-11-28 10:17:43 +0000
committerMoonchild <moonchild@palemoon.org>2020-11-28 10:17:43 +0000
commite6b9d9cbeae7d90a7f368517c67775c0d72c6445 (patch)
treeb10c4075973d3949a47d60becd9db46b8e505fe4 /js/src/jit-test/tests/modules/requested-modules.js
parentb863bd2edc94c16498edc3274531f57fbfc30d3f (diff)
downloaduxp-modulefix.tar.gz
Issue #1624 - Add missing error handling and bail on null specifier.modulefix
Diffstat (limited to 'js/src/jit-test/tests/modules/requested-modules.js')
-rw-r--r--js/src/jit-test/tests/modules/requested-modules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jit-test/tests/modules/requested-modules.js b/js/src/jit-test/tests/modules/requested-modules.js
index ee572d12e3..acf58e5a6e 100644
--- a/js/src/jit-test/tests/modules/requested-modules.js
+++ b/js/src/jit-test/tests/modules/requested-modules.js
@@ -5,7 +5,7 @@ function testRequestedModules(source, expected) {
var actual = module.requestedModules;
assertEq(actual.length, expected.length);
for (var i = 0; i < actual.length; i++) {
- assertEq(actual[i], expected[i]);
+ assertEq(actual[i].moduleSpecifier, expected[i]);
}
}