blob: c1542c8417a1e3d88eea19d2ce2b4fe82c8f69b5 [file] [log] [blame]
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//-------------------------------------------------------------------------------------------------------
function mainFunc(inName) {
for (i in this) {
if (i == inName) {
WScript.Echo("PASS");
}
}
}
mainFunc.one = 20;
child = WScript.LoadScriptFile("crosssite_bind_child.js", "samethread");
childFunc = child.setupFunc(mainFunc);
childFunc();