You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
void downloadWebData(String path) {
// Simple download code for web testing
final anchor = html.document.createElement('a') as html.AnchorElement
..href = path
..style.display = 'none'
..download = 'audio.wav';
html.document.body!.children.add(anchor);
anchor.click();
html.document.body!.children.remove(anchor);
html.Url.revokeObjectUrl(path); <<<========= works if this is commented out
}
To Reproduce
Just run the example on web, record then play
Steps to reproduce the behavior:
do the thing
Expected behavior
should not crash
Additional context
Add any other context about the problem here.
problem is here:
html.Url.revokeObjectUrl(path);
The text was updated successfully, but these errors were encountered:
Package version
latest
Environment
Chrome Linux
Describe the bug
Example crashes on web when you click Play
To Reproduce
Just run the example on web, record then play
Steps to reproduce the behavior:
do the thing
Expected behavior
should not crash
Additional context
Add any other context about the problem here.
problem is here:
html.Url.revokeObjectUrl(path);
The text was updated successfully, but these errors were encountered: