Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test gets skipped with pattern: os == 'linux' && os_version == '18.04' && processor == 'x86_64' && debug && http3 OR os == 'linux' && os_version == '24.04' && processor == 'x86_64' && display == 'x11' && debug && http3
- Manifest: devtools/client/storage/test/browser.toml
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
// Test endless scrolling when a lot of items are present in the storage
// inspector table for Cache storage.
"use strict";
const ITEMS_PER_PAGE = 50;
add_task(async function () {
await openTabAndSetupStorage(
URL_ROOT_COM_SSL + "storage-cache-overflow.html"
);
gUI.tree.expandAll();
await waitFor(
() => getCellLength() == ITEMS_PER_PAGE,
"Wait until the first 50 messages have been rendered"
);
await scroll();
await waitFor(
() => getCellLength() == ITEMS_PER_PAGE * 2,
"Wait until 100 messages have been rendered"
);
info("Close Toolbox");
await gDevTools.closeToolboxForTab(gBrowser.selectedTab);
});