mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-09 02:47:45 +08:00
fix: restore security hardening compatibility and validation
Restore authorized rule reveal, explicit full HTTP capture and retention, video task business fields, and valid payment URLs. Add opt-in credential preservation for trusted recovery, fix frontend type contracts and async races, and eliminate PostgreSQL test fixture resource leaks. Document audit coverage and successful fmt and CI-scoped Clippy checks.
This commit is contained in:
@@ -30,7 +30,7 @@ describe('JsonImportInput', () => {
|
||||
expect(filePanel?.getAttribute('aria-hidden')).toBe('false')
|
||||
expect(filePanel?.hasAttribute('inert')).toBe(false)
|
||||
expect(manualPanel?.getAttribute('aria-hidden')).toBe('true')
|
||||
expect(manualPanel?.getAttribute('inert')).toBe('')
|
||||
expect(manualPanel?.hasAttribute('inert')).toBe(true)
|
||||
|
||||
root.querySelector<HTMLButtonElement>('[data-testid="json-import-mode-toggle"]')?.click()
|
||||
await nextTick()
|
||||
@@ -38,7 +38,7 @@ describe('JsonImportInput', () => {
|
||||
expect(root.querySelector('[data-testid="json-import-file-panel"]')).toBe(filePanel)
|
||||
expect(root.querySelector('[data-testid="json-import-manual-panel"]')).toBe(manualPanel)
|
||||
expect(filePanel?.getAttribute('aria-hidden')).toBe('true')
|
||||
expect(filePanel?.getAttribute('inert')).toBe('')
|
||||
expect(filePanel?.hasAttribute('inert')).toBe(true)
|
||||
expect(manualPanel?.getAttribute('aria-hidden')).toBe('false')
|
||||
expect(manualPanel?.hasAttribute('inert')).toBe(false)
|
||||
|
||||
@@ -53,7 +53,7 @@ describe('JsonImportInput', () => {
|
||||
await nextTick()
|
||||
expect(value.value).toBe('')
|
||||
expect(filePanel?.hasAttribute('inert')).toBe(false)
|
||||
expect(manualPanel?.getAttribute('inert')).toBe('')
|
||||
expect(manualPanel?.hasAttribute('inert')).toBe(true)
|
||||
|
||||
app.unmount()
|
||||
root.remove()
|
||||
|
||||
Reference in New Issue
Block a user