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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/console/console-search.html

Issue 2270033003: DevTools: include traces when exporting console log via 'Save as' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: a Created 4 years, 3 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
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/console-test.js"></script> 4 <script src="../../http/tests/inspector/console-test.js"></script>
5 <script> 5 <script>
6 function populateConsoleWithMessages() 6 function populateConsoleWithMessages()
7 { 7 {
8 console.log("FIRST MATCH, SECOND MATCH"); 8 console.log("FIRST MATCH, SECOND MATCH");
9 for (var i = 0; i < 200; ++i) 9 for (var i = 0; i < 200; ++i)
10 console.log("Message #" + i); 10 console.log("Message #" + i);
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 }); 221 });
222 }, 222 },
223 223
224 function testCaseSensitiveRegexWithMatches(next) 224 function testCaseSensitiveRegexWithMatches(next)
225 { 225 {
226 setQuery(". MATCH", true, true, function() { 226 setQuery(". MATCH", true, true, function() {
227 consoleView._searchableView.handleFindNextShortcut(); 227 consoleView._searchableView.handleFindNextShortcut();
228 dumpMatches(); 228 dumpMatches();
229 next(); 229 next();
230 }); 230 });
231 },
232
233 function testCanMatchAnchors(next) {
234 var anchorSourcePrefix = "console-search.html";
235 setQuery(anchorSourcePrefix, false, false, function() {
236 dumpMatches();
237 next();
238 });
231 } 239 }
232 ]); 240 ]);
233 } 241 }
234 </script> 242 </script>
235 </head> 243 </head>
236 <body onload="populateConsoleWithMessages()"> 244 <body onload="populateConsoleWithMessages()">
237 <p> 245 <p>
238 Tests console search. 246 Tests console search.
239 </p> 247 </p>
240 </body> 248 </body>
241 </html> 249 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698