diff options
-rw-r--r-- | chrome/browser/debugger/devtools_sanity_unittest.cc | 9 | ||||
-rw-r--r-- | chrome/test/data/devtools/debugger_closure.html | 22 |
2 files changed, 0 insertions, 31 deletions
diff --git a/chrome/browser/debugger/devtools_sanity_unittest.cc b/chrome/browser/debugger/devtools_sanity_unittest.cc index f33da62..27d01d1 100644 --- a/chrome/browser/debugger/devtools_sanity_unittest.cc +++ b/chrome/browser/debugger/devtools_sanity_unittest.cc @@ -62,8 +62,6 @@ const char kResourceTestPage[] = "files/devtools/resource_test_page.html"; const char kSimplePage[] = "files/devtools/simple_page.html"; const char kSyntaxErrorTestPage[] = "files/devtools/script_syntax_error.html"; -const char kDebuggerClosurePage[] = - "files/devtools/debugger_closure.html"; const char kCompletionOnPause[] = "files/devtools/completion_on_pause.html"; const char kPageWithContentScript[] = @@ -345,13 +343,6 @@ IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, RunTest("testPauseWhenScriptIsRunning", kPauseWhenScriptIsRunning); } -// Tests that scope can be expanded and contains expected variables. -// TODO(japhet): Disabled during webkit landing per bug http://crbug.com/52085 -// Failing: http://crbug.com/53664 -IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, FAILS_TestExpandScope) { - RunTest("testExpandScope", kDebuggerClosurePage); -} - // Tests that execution continues automatically when there is a syntax error in // script and DevTools are open. IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestAutoContinueOnSyntaxError) { diff --git a/chrome/test/data/devtools/debugger_closure.html b/chrome/test/data/devtools/debugger_closure.html deleted file mode 100644 index 92a92d7..0000000 --- a/chrome/test/data/devtools/debugger_closure.html +++ /dev/null @@ -1,22 +0,0 @@ -<html> -<head> -<script> -function makeClosure(n) { - var makeClosureLocalVar = 'local.' + n; - return function innerFunction(x) { - var innerFunctionLocalVar = x + 2; - debugger; - return n + makeClosureLocalVar + x + innerFunctionLocalVar; - } -} - -function handleClick() { - var f = makeClosure('TextParam'); - f(2009); -} -</script> -</head> -<body> -<input type='button' onclick='handleClick()' value='Test'/> -</body> -</html>
\ No newline at end of file |