зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1621920 - Fix some comments in test_unknownFiles.js; r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D80165
This commit is contained in:
Родитель
219d10e7ce
Коммит
3048b298b2
|
@ -57,7 +57,7 @@ async function testSteps() {
|
|||
createUnknownFileIn(repoRelativePath);
|
||||
}
|
||||
|
||||
// Unknown file in the origin directory
|
||||
// Unknown file and unknown directory in the origin directory
|
||||
{
|
||||
const request = initStorageAndOrigin(principal, "default");
|
||||
await requestFinished(request);
|
||||
|
@ -65,19 +65,10 @@ async function testSteps() {
|
|||
ok(request.result === true, "The origin directory was created");
|
||||
|
||||
createUnknownFileIn(originRelativePath);
|
||||
}
|
||||
|
||||
// Unknown directory in the origin directory
|
||||
{
|
||||
const request = initStorageAndOrigin(principal, "default");
|
||||
await requestFinished(request);
|
||||
|
||||
ok(request.result === false, "The origin directory was not created");
|
||||
|
||||
createUnknownDirectoryIn(originRelativePath);
|
||||
}
|
||||
|
||||
// Unknown file in idb client directory
|
||||
// Unknown files in idb client directory and its subdirectories
|
||||
{
|
||||
const request = indexedDB.openForPrincipal(principal, "myIndexedDB");
|
||||
await openDBRequestUpgradeNeeded(request);
|
||||
|
@ -101,7 +92,7 @@ async function testSteps() {
|
|||
);
|
||||
}
|
||||
|
||||
// Unknown file in cache client directory
|
||||
// Unknown files in cache client directory and its subdirectories
|
||||
{
|
||||
async function sandboxScript() {
|
||||
const cache = await caches.open("myCache");
|
||||
|
|
Загрузка…
Ссылка в новой задаче