blob: 402797402e6e7a8fa5fb8ceb8fd5e7fbf4509d95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<!DOCTYPE html>
<html>
<head>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/profile-utils.js"></script>
</head>
<body>
<script>
promise_test(async t => {
const f = function namedFunctionExpression(sample) {
sample();
};
await ProfileUtils.testFunction(f, {
name: 'namedFunctionExpression',
});
}, 'function expression names are logged correctly');
</script>
</body>
</html>
|