browser_storage_localstorage_add.js (765B)
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 adding of localStorage entries. 6 7 "use strict"; 8 9 add_task(async function () { 10 await openTabAndSetupStorage( 11 MAIN_DOMAIN_SECURED + "storage-localstorage.html" 12 ); 13 showAllColumns(true); 14 15 await performAdd(["localStorage", "https://test1.example.org"]); 16 await performAdd(["localStorage", "https://test1.example.org"]); 17 await performAdd(["localStorage", "https://test1.example.org"]); 18 await performAdd(["localStorage", "https://test1.example.org"]); 19 await performAdd(["localStorage", "https://test1.example.org"]); 20 });