Closed Bug 994250 Opened 10 years ago Closed 7 years ago

Investigate how Web Audio Editor works with caching

Categories

(DevTools Graveyard :: Web Audio Editor, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jsantell, Unassigned)

Details

Make sure the WAE works with bfcache
Component: Developer Tools → Developer Tools: Web Audio Editor
Was working previously, now when the WAE starts and finds the AudioContext, after reloading, the tool will not restart unless closing/reopening the dev tools panel.
No longer blocks: webaudioeditorv1
Blocks: 1022248
No longer blocks: 1022248
Blocks: 1040352
Disregard comment #1, that is now fixed.

Caching situation can be recreated by navigating to a page with a context. Go back, then forward again, and the tool waits for "waiting for AudioContext to be created", which makes sense since we don't have the initial creation event as the page is popped from bfcache. If there's not much overhead to store the AudioNodeActors during a bfcache, then we can recreate it, but worry that it might be a lot of information on complicated pages, and would be better to just prompt for a refresh in the tool.

Any thoughts Victor, as you did this for the shader editor? Some complicated audio usages have 50-100 audio nodes.
Flags: needinfo?(vporof)
The Shader Editor stores everything (i.e. programs) until the inner window owning them is destroyed. Sounds like the Audio Editor should either do the same, or try to retrieve all audio nodes when navigating to a page in the bfcache (which seems hard).
Flags: needinfo?(vporof)
Blocks: 1055215
No longer blocks: 1040352
No longer blocks: 1055215
Mass-closing inactive (2 years+) bugs on unmaintained devtools components.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.