Skip to content

Commit 31042a8

Browse files
authored
core: remove DOMStats artifact (#16753)
1 parent c80ba4f commit 31042a8

File tree

3 files changed

+0
-112
lines changed

3 files changed

+0
-112
lines changed

core/config/default-config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ const defaultConfig = {
117117
{id: 'ConsoleMessages', gatherer: 'console-messages'},
118118
{id: 'CSSUsage', gatherer: 'css-usage'},
119119
{id: 'Doctype', gatherer: 'dobetterweb/doctype'},
120-
{id: 'DOMStats', gatherer: 'dobetterweb/domstats'},
121120
{id: 'Inputs', gatherer: 'inputs'},
122121
{id: 'IFrameElements', gatherer: 'iframe-elements'},
123122
{id: 'ImageElements', gatherer: 'image-elements'},

core/gather/gatherers/dobetterweb/domstats.js

Lines changed: 0 additions & 102 deletions
This file was deleted.

types/artifacts.d.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,6 @@ export interface GathererArtifacts extends PublicGathererArtifacts {
114114
/** Information on the document's doctype(or null if not present), specifically the name, publicId, and systemId.
115115
All properties default to an empty string if not present */
116116
Doctype: Artifacts.Doctype | null;
117-
/** Information on the size of all DOM nodes in the page and the most extreme members. */
118-
DOMStats: Artifacts.DOMStats;
119117
/** All the iframe elements in the page. */
120118
IFrameElements: Artifacts.IFrameElement[];
121119
/** All the input elements, including associated form and label elements. */
@@ -222,13 +220,6 @@ declare module Artifacts {
222220
documentCompatMode: string;
223221
}
224222

225-
interface DOMStats {
226-
/** The total number of elements found within the page's body. */
227-
totalBodyElements: number;
228-
width: NodeDetails & {max: number;};
229-
depth: NodeDetails & {max: number;};
230-
}
231-
232223
interface IFrameElement {
233224
/** The `id` attribute of the iframe. */
234225
id: string,

0 commit comments

Comments
 (0)