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

Side by Side Diff: LayoutTests/inspector/sources/debugger/eval-on-pause-blocked.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
(Empty)
1 <html>
2 <head>
3 <script src="../../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../../http/tests/inspector/console-test.js"></script>
5 <script src="../../../http/tests/inspector/debugger-test.js"></script>
6 <meta http-equiv="Content-Security-Policy" content="script-src 'unsafe-inline'">
7 <script>
8 function testFunction()
9 {
10 var foo = 2012;
11 debugger;
12 }
13
14 var test = function()
15 {
16 InspectorTest.startDebuggerTest(step1);
17
18 function step1()
19 {
20 InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
21 }
22
23 function step2()
24 {
25 InspectorTest.evaluateInConsole("foo", step3);
26 }
27
28 function step3(result)
29 {
30 InspectorTest.addResult("Evaluated in console in the top frame context: foo = " + result);
31 InspectorTest.completeDebuggerTest();
32 }
33 }
34
35 </script>
36 </head>
37 <body onload="runTest()">
38 <p>
39 Test that evaluation in the context of top frame will not be blocked by Content- Security-Policy.
40 <a href="https://bugs.webkit.org/show_bug.cgi?id=77203">Bug 77203.</a>
41 </p>
42
43 </body>
44 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698