diff options
Diffstat (limited to 'Source/WebCore/manual-tests/inspector/forzen-ui-while-paused.html')
-rw-r--r-- | Source/WebCore/manual-tests/inspector/forzen-ui-while-paused.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/WebCore/manual-tests/inspector/forzen-ui-while-paused.html b/Source/WebCore/manual-tests/inspector/forzen-ui-while-paused.html new file mode 100644 index 0000000..b8d50b0 --- /dev/null +++ b/Source/WebCore/manual-tests/inspector/forzen-ui-while-paused.html @@ -0,0 +1,11 @@ +<script> +function foo() { + var timeout = setTimeout(function() { alert("This should not happen. If you do see this alert, then timers on the page are firing while paused!") }, 0); + debugger; + clearTimeout(timeout); +} + +setTimeout(foo, 100); +</script> +<p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=20042">Bug 20042: UI frozen when the debugger is paused</a>.</p> +<p>Open the inspector and start debugging in the Scripts panel. While paused, try to open the Console. The Console should animate open fully.</p> |