diff options
author | yurys@google.com <yurys@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-11 17:08:31 +0000 |
---|---|---|
committer | yurys@google.com <yurys@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-11 17:08:31 +0000 |
commit | 53976e824cf83d5151b8415b1a0f5c67ec97f7aa (patch) | |
tree | 4e2fbf410a668243db7b2cb9c642d0ff01b41077 /chrome/test/data/devtools | |
parent | 419eb2a7c0a4186d43a9b9d68aaf24a22fff9855 (diff) | |
download | chromium_src-53976e824cf83d5151b8415b1a0f5c67ec97f7aa.zip chromium_src-53976e824cf83d5151b8415b1a0f5c67ec97f7aa.tar.gz chromium_src-53976e824cf83d5151b8415b1a0f5c67ec97f7aa.tar.bz2 |
DevTools: add test for pause event during frontend load.
BUG=27366
TEST=DevToolsSanityTest.TestPauseWhenLoadingDevTools
Review URL: http://codereview.chromium.org/392002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31668 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/data/devtools')
-rw-r--r-- | chrome/test/data/devtools/pause_when_loading_devtools.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/chrome/test/data/devtools/pause_when_loading_devtools.html b/chrome/test/data/devtools/pause_when_loading_devtools.html new file mode 100644 index 0000000..3cd39e1 --- /dev/null +++ b/chrome/test/data/devtools/pause_when_loading_devtools.html @@ -0,0 +1,17 @@ +<html> +<head> +<script> + +// Try to call debugger in loop so that pause event happens +// during DevTools frontend load. +function callDebugger() { + debugger; + setTimeout(callDebugger, 0); +} + +</script> +</head> +<body onload='callDebugger()'> +Call debugger repeatedly. +</body> +</html> |