| Index: tools/perf/page_sets/perf_week/resources/web-animations-api-check.js
|
| diff --git a/tools/perf/page_sets/perf_week/resources/web-animations-api-check.js b/tools/perf/page_sets/perf_week/resources/web-animations-api-check.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..33ebb4ecd760781b4945faf71943394e309cb21a
|
| --- /dev/null
|
| +++ b/tools/perf/page_sets/perf_week/resources/web-animations-api-check.js
|
| @@ -0,0 +1,5 @@
|
| +if (!Element.prototype.animate) {
|
| + // Generate 0 frames and fail if Web Animations is not present.
|
| + document.documentElement.style.display = 'none';
|
| + window.measurementReady = true;
|
| +}
|
|
|