browser_storage_sessionstorage_edit.js (798B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 // Basic test to check the editing of localStorage. 6 7 "use strict"; 8 9 add_task(async function () { 10 await openTabAndSetupStorage( 11 MAIN_DOMAIN_SECURED + "storage-sessionstorage.html" 12 ); 13 14 await selectTreeItem(["sessionStorage", "https://test1.example.org"]); 15 16 await editCell("TestSS1", "name", "newTestSS1"); 17 await editCell("newTestSS1", "value", "newValueSS1"); 18 19 await editCell("TestSS3", "name", "newTestSS3"); 20 await editCell("newTestSS3", "value", "newValueSS3"); 21 22 await editCell("TestSS5", "name", "newTestSS5"); 23 await editCell("newTestSS5", "value", "newValueSS5"); 24 });