Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Unified Diff: LayoutTests/inspector/sources/debugger/debugger-eval-while-paused-throws.html

Issue 1153923005: DevTools: shard inspector/debugger tests for faster execution. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/inspector/sources/debugger/debugger-eval-while-paused-throws.html
diff --git a/LayoutTests/inspector/sources/debugger/debugger-eval-while-paused-throws.html b/LayoutTests/inspector/sources/debugger/debugger-eval-while-paused-throws.html
deleted file mode 100644
index 14f7f8dd7dbcca2072c57fb8e9dd4a838524c6e8..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/sources/debugger/debugger-eval-while-paused-throws.html
+++ /dev/null
@@ -1,86 +0,0 @@
-<html>
-<head>
-<script src="../../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../../http/tests/inspector/console-test.js"></script>
-<script src="../../../http/tests/inspector/debugger-test.js"></script>
-<script>
-
-var globalObj = {
- func: function()
- {
- throw new Error("globalObj.func");
- }
-};
-
-function testFunction()
-{
- var localObj = {
- func: function()
- {
- throw new Error("localObj.func");
- }
- };
- debugger;
-}
-
-var test = function()
-{
- InspectorTest.startDebuggerTest(step1, true);
-
- function injectedFunction()
- {
- var injectedObj = {
- func: function()
- {
- throw new Error("injectedObj.func");
- }
- };
- return injectedObj.func();
- }
-
- function step1()
- {
- InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
- }
-
- function step2()
- {
- InspectorTest.evaluateInPage(String(injectedFunction), step3);
- }
-
- function step3()
- {
- InspectorTest.evaluateInConsole("injectedFunction()", step4);
- }
-
- function step4()
- {
- InspectorTest.evaluateInConsole("localObj.func()", step5);
- }
-
- function step5()
- {
- InspectorTest.evaluateInConsole("globalObj.func()", dumpConsoleMessages);
- }
-
- function dumpConsoleMessages()
- {
- InspectorTest.addResult("Dumping console messages:\n");
- InspectorTest.dumpConsoleMessages(false, false, formatter);
- InspectorTest.completeDebuggerTest();
- }
-
- function formatter(element, message) {
- return message.messageText;
- }
-}
-
-</script>
-</head>
-
-<body onload="runTest()">
-<p>
-Tests that evaluation in console that throws works fine when script is paused.
-</p>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698