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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-frameworks/frameworks-dom-xhr-event-breakpoints.html

Issue 1936993002: LayoutTests: adapt framework blackboxing test to V8's interpreter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/elements-test.js"></script> 4 <script src="../../../http/tests/inspector/elements-test.js"></script>
5 <script src="../../../http/tests/inspector/debugger-test.js"></script> 5 <script src="../../../http/tests/inspector/debugger-test.js"></script>
6 <script src="../debugger/resources/framework.js"></script> 6 <script src="../debugger/resources/framework.js"></script>
7 <script> 7 <script>
8 8
9 function appendElement(parentId, childId) 9 function appendElement(parentId, childId)
10 { 10 {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 var remover4 = function() {}; 60 var remover4 = function() {};
61 if (addNonBlackboxedListener) 61 if (addNonBlackboxedListener)
62 remover4 = Framework.addEventListener(button, "click", Framework.bin d(Framework.safeRun, null, Framework.empty, testElementClicked, Framework.empty) , true); 62 remover4 = Framework.addEventListener(button, "click", Framework.bin d(Framework.safeRun, null, Framework.empty, testElementClicked, Framework.empty) , true);
63 debugger; 63 debugger;
64 button.click(); 64 button.click();
65 remover1(); 65 remover1();
66 remover2(); 66 remover2();
67 remover3(); 67 remover3();
68 remover4(); 68 remover4();
69 } 69 }
70 var result = inner(); 70 return inner();
71 return result;
72 } 71 }
73 72
74 function test() 73 function test()
75 { 74 {
76 var frameworkRegexString = "/framework\\.js$"; 75 var frameworkRegexString = "/framework\\.js$";
77 WebInspector.settingForTest("skipStackFramesPattern").set(frameworkRegexStri ng); 76 WebInspector.settingForTest("skipStackFramesPattern").set(frameworkRegexStri ng);
78 77
79 InspectorTest.setQuiet(true); 78 InspectorTest.setQuiet(true);
80 79
81 InspectorTest.runDebuggerTestSuite([ 80 InspectorTest.runDebuggerTestSuite([
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 </head> 175 </head>
177 176
178 <body onload="runTest()"> 177 <body onload="runTest()">
179 <p> 178 <p>
180 Tests framework black-boxing on DOM, XHR and Event breakpoints. 179 Tests framework black-boxing on DOM, XHR and Event breakpoints.
181 </p> 180 </p>
182 <div id="rootElement"></div> 181 <div id="rootElement"></div>
183 <input type=button id="test"></input> 182 <input type=button id="test"></input>
184 </body> 183 </body>
185 </html> 184 </html>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698