mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
Bug 1570260
[wpt PR 18195] - Add an idlharness.js test for the Layout Instability API, a=testonly
Automatic update from web-platform-tests Add an idlharness.js test for the Layout Instability API (#18195) * Add interfaces/layout-instability.idl Source: https://github.com/tidoust/reffy-reports/blob/bc5dd3d/whatwg/idl/layout-instability.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/565853073 * Add an idlharness.js test for the Layout Instability API -- wpt-commits: d101e76f54f654b308f33bf99e43b3f43ba85712 wpt-pr: 18195
This commit is contained in:
parent
ec1a5d4a96
commit
4b517760d7
10
testing/web-platform/tests/interfaces/layout-instability.idl
Normal file
10
testing/web-platform/tests/interfaces/layout-instability.idl
Normal file
@ -0,0 +1,10 @@
|
||||
// GENERATED CONTENT - DO NOT EDIT
|
||||
// Content was automatically extracted by Reffy into reffy-reports
|
||||
// (https://github.com/tidoust/reffy-reports)
|
||||
// Source: Layout Instability API (https://wicg.github.io/layout-instability/)
|
||||
|
||||
interface LayoutShift : PerformanceEntry {
|
||||
readonly attribute long value;
|
||||
readonly attribute boolean hadRecentInput;
|
||||
readonly attribute DOMHighResTimeStamp lastInputTime;
|
||||
};
|
@ -0,0 +1,16 @@
|
||||
// META: script=/resources/WebIDLParser.js
|
||||
// META: script=/resources/idlharness.js
|
||||
|
||||
// https://wicg.github.io/layout-instability/
|
||||
|
||||
'use strict';
|
||||
|
||||
idl_test(
|
||||
['layout-instability'],
|
||||
['performance-timeline'],
|
||||
idl_array => {
|
||||
idl_array.add_objects({
|
||||
// LayoutShift: [ TODO ]
|
||||
});
|
||||
}
|
||||
);
|
Loading…
Reference in New Issue
Block a user