test-console-trace-duplicates.html (599B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="utf-8"> 5 <title>Test for checking that same console.trace() calls are duplicated</title> 6 <!-- Any copyright is dedicated to the Public Domain. 7 http://creativecommons.org/publicdomain/zero/1.0/ --> 8 9 <script type="application/javascript"> 10 /* eslint-disable */ 11 function foo1() { 12 foo2(); 13 } 14 15 function foo2() { 16 foo3(); 17 } 18 19 function foo3() { 20 console.trace(); 21 } 22 for (let i = 0; i < 3; i++){ 23 foo1(); 24 } 25 </script> 26 </head> 27 <body> 28 <p>Test that same console.trace <b>are</b> repeated in the console</p> 29 </body> 30 </html>