Bug 1508672 - Fix some minor test262 issues in dynamic import tests r=jorendorff
authorJon Coppeard <jcoppeard@mozilla.com>
Mon, 26 Nov 2018 16:11:44 +0000
changeset 507230 93445c3027525c80ac196074b58976a6c648fd83
parent 507229 0ee93898e415524e9ffbf569cbcedadd35a67ac6
child 507231 46ce47bd336841a2d71eb53e3bf76f360784e040
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorendorff
bugs1508672
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1508672 - Fix some minor test262 issues in dynamic import tests r=jorendorff
js/src/tests/jstests.list
js/src/tests/test262/language/expressions/dynamic-import/indirect-resolution-1_FIXTURE.js
js/src/tests/test262/language/expressions/dynamic-import/namespace/default-property-not-set-own.js
--- a/js/src/tests/jstests.list
+++ b/js/src/tests/jstests.list
@@ -500,17 +500,16 @@ skip script test262/language/expressions
 skip script test262/language/expressions/dynamic-import/eval-self-once-module.js
 skip script test262/language/expressions/dynamic-import/eval-export-dflt-expr-gen-named.js
 skip script test262/language/expressions/dynamic-import/eval-export-dflt-cls-anon.js
 skip script test262/language/expressions/dynamic-import/eval-export-dflt-expr-cls-name-meth.js
 skip script test262/language/expressions/dynamic-import/eval-export-dflt-expr-in.js
 skip script test262/language/expressions/dynamic-import/for-await-resolution-and-error.js
 skip script test262/language/expressions/dynamic-import/eval-export-dflt-cls-named.js
 skip script test262/language/expressions/dynamic-import/eval-export-dflt-expr-gen-anon.js
-skip script test262/language/expressions/dynamic-import/indirect-resolution.js
 skip script test262/language/expressions/dynamic-import/eval-export-dflt-expr-cls-named.js
 skip script test262/language/expressions/dynamic-import/for-await-resolution-and-error-agen.js
 skip script test262/language/expressions/dynamic-import/eval-export-dflt-expr-fn-anon.js
 skip script test262/language/expressions/dynamic-import/double-error-resolution-promise.js
 skip script test262/language/expressions/dynamic-import/double-error-resolution.js
 skip script test262/language/expressions/dynamic-import/eval-export-dflt-expr-cls-anon.js
 skip script test262/language/expressions/dynamic-import/namespace/default-property-not-set-own.js
 
--- a/js/src/tests/test262/language/expressions/dynamic-import/indirect-resolution-1_FIXTURE.js
+++ b/js/src/tests/test262/language/expressions/dynamic-import/indirect-resolution-1_FIXTURE.js
@@ -1,5 +1,5 @@
 // |reftest| skip -- not a test file
 // Copyright (C) 2018 Leo Balter. All rights reserved.
 // This code is governed by the BSD license found in the LICENSE file.
 
-export default import('indirect-resolution-2_FIXTURE.js');
+export default import('./indirect-resolution-2_FIXTURE.js');
--- a/js/src/tests/test262/language/expressions/dynamic-import/namespace/default-property-not-set-own.js
+++ b/js/src/tests/test262/language/expressions/dynamic-import/namespace/default-property-not-set-own.js
@@ -21,13 +21,13 @@ info: |
         ...
         3. Let namespace be module.[[Namespace]].
         4. If namespace is undefined, then
             ...
             d. Set namespace to ModuleNamespaceCreate(module, unambiguousNames).
         5. Return namespace.
 ---*/
 
-import('./default-property-not-set-own.js').then(ns => {
+import('./empty_FIXTURE.js').then(ns => {
 
     assert.sameValue(Object.prototype.hasOwnProperty.call(ns, 'default'), false);
 
 }).then($DONE, $DONE).catch($DONE);