File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change
1
+ //-------------------------------------------------------------------------------------------------------
2
+ // Copyright (C) Microsoft. All rights reserved.
3
+ // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
4
+ //-------------------------------------------------------------------------------------------------------
5
+
6
+ WScript . RegisterModuleSource ( 'a.js' , " " ) ;
7
+ WScript . LoadScriptFile ( 'a.js' ) ;
8
+ WScript . LoadScriptFile ( 'a.js' ) ;
9
+ WScript . RegisterModuleSource ( 'b.js' , "import * as foo from 'a.js'" ) ;
10
+ WScript . LoadScriptFile ( 'b.js' , "module" ) ;
11
+ WScript . LoadScriptFile ( 'b.js' , "module" ) ;
12
+ print ( 'pass' ) ;
Original file line number Diff line number Diff line change 141
141
<tags >BugFix,exclude_sanitize_address</tags >
142
142
</default >
143
143
</test >
144
+ <test >
145
+ <default >
146
+ <files >module-load-twice.js</files >
147
+ </default >
148
+ </test >
144
149
</regress-exe >
You can’t perform that action at this time.
0 commit comments