Debian Codegraph @

testing/web-platform/mozilla/tests/webgpu/common/util/timeout.js

raw
1 /**
2 * AUTO-GENERATED - DO NOT EDIT. Source: https://github.com/gpuweb/cts
3 **/ /** Defined by WPT. Like `setTimeout`, but applies a timeout multiplier for slow test systems. */
4 /**
5 * Equivalent of `setTimeout`, but redirects to WPT's `step_timeout` when it is defined.
6 */
7 export const timeout = typeof step_timeout !== 'undefined' ? step_timeout : setTimeout;