blob: dd869ffc06458f578e71197ca626f5342efc4902 [file] [log] [blame] [edit]
// Copyright (C) 2018 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: >
Non existent file can't resolve to a Script or Module Record
esid: sec-hostresolveimportedmodule
info: |
If a Module Record corresponding to the pair referencingModulereferencingScriptOrModule,
specifier does not exist or cannot be created, an exception must be thrown.
template: catch
---*/
//- import
import('./THIS_FILE_DOES_NOT_EXIST.js')
//- body
assert.notSameValue(typeof error, 'undefined');