summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/js-self-profiling/resources/external-script.js
blob: 6f6bd42b255eb994418ff6e7f80006cbd7cead8e (plain)
1
2
3
4
5
6
7
8
9
// NOTE: Modifying the location of functions in this file will cause
// `external-script.html` to fail! Please update the following constants
// accordingly.
const EXTERNAL_SCRIPT_FUNCTION_LINE = 7;
const EXTERNAL_SCRIPT_FUNCTION_COLUMN = 32;

function externalScriptFunction(sample) {
  sample();
}