File tree Expand file tree Collapse file tree 3 files changed +24
-1
lines changed Expand file tree Collapse file tree 3 files changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -210,7 +210,8 @@ namespace Js
210210
211211 static bool Is (void * instance)
212212 {
213- return VirtualTableInfo<Js::ActivationObjectEx>::HasVirtualTable (instance);
213+ return VirtualTableInfo<ActivationObjectEx>::HasVirtualTable (instance) ||
214+ VirtualTableInfo<CrossSiteObject<ActivationObjectEx>>::HasVirtualTable (instance);
214215 }
215216
216217 static ActivationObjectEx * FromVar (Var instance)
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+ var x = 'outside' ;
7+ var result ;
8+
9+ ( function ( ) {
10+ var eval = WScript . LoadScript ( "" , "samethread" ) . eval ;
11+
12+ eval ( 'var x = "inside";' ) ;
13+
14+ result = x ;
15+ } ( ) ) ;
16+ print ( "passed" ) ;
Original file line number Diff line number Diff line change 181181 <baseline >copy-prop-stack-slot.baseline</baseline >
182182 </default >
183183 </test >
184+ <test >
185+ <default >
186+ <files >bug_OS_13412380.js</files >
187+ <tags >BugFix,exclude_dynapogo</tags >
188+ </default >
189+ </test >
184190</regress-exe >
You can’t perform that action at this time.
0 commit comments