proxybug3.js 1.3 KB

1234567891011121314151617181920212223242526272829
  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. //Configuration: es6.xml
  6. //Testcase Number: 2407
  7. //Switches: -PrintSystemException -maxinterpretcount:3 -maxsimplejitruncount:6 -werexceptionsupport -forcejitloopbody -force:rejit -force:ScriptFunctionWithInlineCache -force:fixdataprops -force:atom -ForceArrayBTree -off:lossyinttypespec -off:trackintusage -off:ParallelParse -off:fefixedmethods -off:LoopCountBasedBoundCheckHoist
  8. //Baseline Switches: -nonative -werexceptionsupport -PrintSystemException
  9. //Arch: X86
  10. //Flavor: chk
  11. //Branch: fbl_ie_stage_dev3
  12. //Build: 150425-1820
  13. //FullBuild: 10102.0.150425
  14. //MachineName: BPT42065
  15. //InstructionSet:
  16. //reduced switches: -maxsimplejitruncount:6 -maxinterpretcount:3
  17. var arrObj0 = {};
  18. var func4 = function () {
  19. arrObj0 = new Proxy(arrObj0, {});
  20. };
  21. for (i =0; i < 2; i++) {
  22. function v0() {
  23. }
  24. v0.prototype = arrObj0;
  25. var v1 = new v0();
  26. var test = { prop4: func4() };
  27. }
  28. WScript.Echo("PASS");