browser_dbg-idb-run-to-completion.js (584B)
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 // Test that IDB transactions are not processed at microtask checkpoints 6 // introduced by debugger hooks. 7 8 "use strict"; 9 10 add_task(async function () { 11 const dbg = await initDebugger("doc-idb-run-to-completion.html"); 12 invokeInTab("test", "doc-xhr-run-to-completion.html"); 13 await waitForPaused(dbg); 14 ok(true, "paused after successfully processing IDB transaction"); 15 });