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:
Philip Jägenstedt 2019-08-01 15:31:11 +00:00 committed by moz-wptsync-bot
parent ec1a5d4a96
commit 4b517760d7
2 changed files with 26 additions and 0 deletions

View 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;
};

View File

@ -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 ]
});
}
);