Automatic update from web-platform-tests Mark some idlharness.html tests as timeout=long These are symptomatic of crbug.com/1047818, but to stop the pain for sheriffs lets mark them timeout=long for now. TBR=robertma@chromium.org Bug: 1092097, 1092089, 1092082, 1092076, 1091715 Change-Id: I8fbc0d687ea9b5c3e7dbccfdacc879eed3e377e0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2232884 Reviewed-by: Stephen McGruer <smcgruer@chromium.org> Commit-Queue: Stephen McGruer <smcgruer@chromium.org> Cr-Commit-Position: refs/heads/master@{#775906} -- wpt-commits: 0a8973504851eb9128e186864f73529ce5b6e1bb wpt-pr: 24027
34 lines
784 B
JavaScript
34 lines
784 B
JavaScript
// META: global=window,worker
|
|
// META: script=/resources/WebIDLParser.js
|
|
// META: script=/resources/idlharness.js
|
|
// META: timeout=long
|
|
|
|
// https://w3c.github.io/user-timing/
|
|
|
|
'use strict';
|
|
|
|
idl_test(
|
|
['user-timing'],
|
|
['hr-time', 'performance-timeline', 'dom'],
|
|
idl_array => {
|
|
try {
|
|
performance.mark('test');
|
|
performance.measure('test');
|
|
for (const m of performance.getEntriesByType('mark')) {
|
|
self.mark = m;
|
|
}
|
|
for (const m of performance.getEntriesByType('measure')) {
|
|
self.measure = m;
|
|
}
|
|
} catch (e) {
|
|
// Will be surfaced when mark is undefined below.
|
|
}
|
|
|
|
idl_array.add_objects({
|
|
Performance: ['performance'],
|
|
PerformanceMark: ['mark'],
|
|
PerformanceMeasure: ['measure'],
|
|
});
|
|
}
|
|
);
|