Back to Chromium

Test Stack Overflow in EnableOutputsIfNecessary

third_party/blink/manual_tests/webaudio/enable-outputs-overflow.html

151.0.7898.1408 B
Original Source

This test attempts to trigger a stack overflow in AudioHandler::EnableOutputsIfNecessary. We create a chain of GainNodes, disconnect the first connection to disable the chain, and then reconnect it. Reconnecting triggers the enabling of downstream nodes. If the implementation is recursive, this will likely crash the tab due to stack overflow.

Node Count: 1,0005,00010,00050,000100,000500,000

Run Test