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

Side by Side Diff: LayoutTests/inspector/sources/debugger-frameworks/frameworks-skip-break-program.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, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../../http/tests/inspector/debugger-test.js"></script> 4 <script src="../../../http/tests/inspector/debugger-test.js"></script>
5 <script src="resources/framework.js"></script> 5 <script src="../debugger/resources/framework.js"></script>
6 <script> 6 <script>
7 7
8 function testFunction() 8 function testFunction()
9 { 9 {
10 debugger; 10 debugger;
11 Promise.resolve() 11 Promise.resolve()
12 // Should not pause on console.assert() inside framework. 12 // Should not pause on console.assert() inside framework.
13 .then(Framework.bind(Framework.assert, null, false, "Assert from test")) 13 .then(Framework.bind(Framework.assert, null, false, "Assert from test"))
14 // Should not pause on setTimeout inside the framework. 14 // Should not pause on setTimeout inside the framework.
15 .then(Framework.willSchedule(Framework.empty, 0)) 15 .then(Framework.willSchedule(Framework.empty, 0))
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 </script> 60 </script>
61 </head> 61 </head>
62 62
63 <body onload="runTest()"> 63 <body onload="runTest()">
64 <input type='button' onclick='testFunction()' value='Test'/> 64 <input type='button' onclick='testFunction()' value='Test'/>
65 <p> 65 <p>
66 Tests that framework blackboxing skips instant pauses (e.g. breakpoints on conso le.assert(), setTimeout(), etc.) if they happen entirely inside the framework. 66 Tests that framework blackboxing skips instant pauses (e.g. breakpoints on conso le.assert(), setTimeout(), etc.) if they happen entirely inside the framework.
67 </p> 67 </p>
68 </body> 68 </body>
69 </html> 69 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698