forked from mirrors/gecko-dev
Automatic update from web-platform-tests Split jssp wpt tests into single test files Runtimes on linux-rel ranges from 4s to 12s rendering the test flaky on default timeouts. Due to the nature of the tests busy waiting to ensure a sample is captured, breaking JSSP wpt tests into single test files should help. Bug: chromium:1226936 Change-Id: Ib113f85510a4c9b0bcdcdc10c540565a41d300f4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3406580 Auto-Submit: Corentin Pescheloche <cpescheloche@fb.com> Reviewed-by: Nicolás Peña <npm@chromium.org> Commit-Queue: Nicolás Peña <npm@chromium.org> Cr-Commit-Position: refs/heads/main@{#962169} -- wpt-commits: 45db93f2d470ba0155eb15ca50ea2fab24f46862 wpt-pr: 32497
24 lines
483 B
HTML
24 lines
483 B
HTML
<!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 (sample) {
|
|
sample();
|
|
};
|
|
await ProfileUtils.testFunction(f, {
|
|
name: '',
|
|
});
|
|
}, 'anonymous function expression names are logged correctly');
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|