build(hachidori): bump fork to upstream 6faca95

Upstream dropped Firefox, so the overlay copy now turns off custom JavaScript
from its plain capability flag. The Anki audio fixture follows the removal of
media capture options.
This commit is contained in:
2026-09-28 21:42:37 -07:00
parent b710822db2
commit 45212c7659
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ fs.cpSync(extension, output, { recursive: true });
const hostConfiguration = { const hostConfiguration = {
'overlay-mode.js': [ 'overlay-mode.js': [
['export const OVERLAY_MODE = false;', 'export const OVERLAY_MODE = true;'], ['export const OVERLAY_MODE = false;', 'export const OVERLAY_MODE = true;'],
['customJavaScript: !IS_FIREFOX,', 'customJavaScript: false,'], ['customJavaScript: true,', 'customJavaScript: false,'],
], ],
// Overlay hosts seed the lookup highlight off because their Anki screenshot is // Overlay hosts seed the lookup highlight off because their Anki screenshot is
// the see-through viewport. SubMiner captures media from mpv, and without the // the see-through viewport. SubMiner captures media from mpv, and without the
+1 -1
View File
@@ -90,7 +90,7 @@ async function mine({ proxy = true, audioFails = false } = {}) {
audioSources: [ audioSources: [
{ id: 'test', enabled: true, type: 'custom', url: 'https://example.test/{term}' }, { id: 'test', enabled: true, type: 'custom', url: 'https://example.test/{term}' },
], ],
mediaCapture: { enabled: false }, experimental: {},
}), }),
readDictionaries: async () => [], readDictionaries: async () => [],
engine: async () => ({ ready: true, loading: false, generation: 1 }), engine: async () => ({ ready: true, loading: false, generation: 1 }),