Skip to content

Commit f7f34ed

Browse files
add deb
1 parent 498385d commit f7f34ed

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

src/extension/background.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -207,17 +207,7 @@ async function axRecord(tabId) {
207207
}
208208
}
209209

210-
// Chrome Debugger API is unused unless accessibility features are toggled on with UI.
211-
// This function will replace the current empty snapshot if accessibility features are toggled on and the current location's accessibility snapshot has not yet been recorded.
212-
async function replaceEmptySnap(tabsObj, tabId, toggleAxRecord) {
213-
if (tabsObj[tabId].currLocation.axSnapshot === 'emptyAxSnap' && toggleAxRecord === true) {
214-
// add new ax snapshot to currlocation
215-
const addedAxSnap = await axRecord(tabId);
216-
tabsObj[tabId].currLocation.axSnapshot = addedAxSnap;
217-
// modify array to include the new recorded ax snapshot
218-
tabsObj[tabId].axSnapshots[tabsObj[tabId].currLocation.index] = addedAxSnap;
219-
}
220-
}
210+
221211

222212
// This function will create the first instance of the test app's tabs object
223213
// which will hold test app's snapshots, link fiber tree info, chrome tab info, etc.

0 commit comments

Comments
 (0)