1
0
Fork 0
firefox/testing/web-platform/tests/resources/chromium/content-index-helpers.js
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

9 lines
374 B
JavaScript

import {ContentIndexService} from '/gen/third_party/blink/public/mojom/content_index/content_index.mojom.m.js';
// Returns a promise if the chromium based browser fetches icons for
// content-index.
export async function fetchesIcons() {
const remote = ContentIndexService.getRemote();
const {iconSizes} = await remote.getIconSizes();
return iconSizes.length > 0;
};