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

Unified Diff: LayoutTests/inspector/sources/debugger/frameworks-skip-exceptions.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/frameworks-skip-exceptions.html
diff --git a/LayoutTests/inspector/sources/debugger/frameworks-skip-exceptions.html b/LayoutTests/inspector/sources/debugger/frameworks-skip-exceptions.html
deleted file mode 100644
index 4f3fe620ea7f9a2c87777064a989779e553601a5..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/sources/debugger/frameworks-skip-exceptions.html
+++ /dev/null
@@ -1,53 +0,0 @@
-<html>
-<head>
-<script src="../../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../../http/tests/inspector/debugger-test.js"></script>
-<script src="resources/framework.js"></script>
-<script>
-
-function testFunction()
-{
- Framework.throwFrameworkExceptionAndCatch();
- Framework.throwInNativeAndCatch();
-
- // All above should be skipped.
- debugger;
-}
-
-function test()
-{
- var frameworkRegexString = "/framework\\.js$";
- WebInspector.settingForTest("skipStackFramesPattern").set(frameworkRegexString);
-
- InspectorTest.setQuiet(true);
- InspectorTest.startDebuggerTest(step1);
-
- function step1()
- {
- InspectorTest.DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerModel.PauseOnExceptionsState.PauseOnAllExceptions);
- InspectorTest.runTestFunctionAndWaitUntilPaused(didPause);
- }
-
- function didPause(callFrames, reason, breakpointIds, asyncStackTrace)
- {
- InspectorTest.captureStackTrace(callFrames);
- completeTest();
- }
-
- function completeTest()
- {
- InspectorTest.DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerModel.PauseOnExceptionsState.DontPauseOnExceptions);
- InspectorTest.completeDebuggerTest();
- }
-}
-
-</script>
-</head>
-
-<body onload="runTest()">
-<input type='button' onclick='testFunction()' value='Test'/>
-<p>
-Tests that framework black-boxing skips exceptions, including those that happened deeper inside V8 native script.
-</p>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698