repo.or.cz
/
gecko.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Bug 1915045 Ensure decode tasks are scheduled on BufferingState::Enter() r=media...
[gecko.git]
/
js
/
xpconnect
/
tests
/
unit
/
es6module_dynamic_import_syntax_error.js
blob
039bb41785b08911825cdef188e6fc1f93e7c7d6
1
let resolve;
2
3
export const result = new Promise(r => { resolve = r; });
4
5
import("./es6module_dynamic_import_syntax_error2.js").then(ns => {}, e => {
6
resolve(e);
7
});
8
9
export async function doImport() {
10
try {
11
await import("./es6module_dynamic_import_syntax_error3.js");
12
} catch (e) {
13
return e;
14
}
15
16
return null;
17
}