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

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

Issue 2939473002: DevTools: show all descendants if a console.group message title matches the filter
Patch Set: ac Created 3 years, 5 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 src="resources/log-source.js"></script> 5 <script src="resources/log-source.js"></script>
6 <script> 6 <script>
7 function log1() 7 function log1()
8 { 8 {
9 console.log.apply(console, arguments); 9 console.log.apply(console, arguments);
10 } 10 }
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 Console.ConsoleView.instance()._filter.addMessageURLFilter(url1); 91 Console.ConsoleView.instance()._filter.addMessageURLFilter(url1);
92 dumpVisibleMessages(); 92 dumpVisibleMessages();
93 next(); 93 next();
94 }, 94 },
95 function removeAllFilters(next) 95 function removeAllFilters(next)
96 { 96 {
97 Console.ConsoleView.instance()._filter.removeMessageURLFilter(); 97 Console.ConsoleView.instance()._filter.removeMessageURLFilter();
98 dumpVisibleMessages(); 98 dumpVisibleMessages();
99 next(); 99 next();
100 }, 100 },
101 function checkTextFilter(next) 101 function addTextFilter(next)
102 { 102 {
103 Console.ConsoleView.instance()._filter._textFilterUI.setValue("outer "); 103 Console.ConsoleView.instance()._filter._textFilterUI.setValue("outer ");
104 Console.ConsoleView.instance()._filter._textFilterChanged(); 104 Console.ConsoleView.instance()._filter._textFilterChanged();
105 dumpVisibleMessages(); 105 dumpVisibleMessages();
106 next(); 106 next();
107 }, 107 },
108 function addURL1FilterOntoTextFilter(next)
109 {
110 Console.ConsoleView.instance()._filter.addMessageURLFilter(url1);
111 dumpVisibleMessages();
112 next();
113 },
108 function checkResetFilter(next) 114 function checkResetFilter(next)
109 { 115 {
110 Console.ConsoleView.instance()._filter.reset(); 116 Console.ConsoleView.instance()._filter.reset();
111 dumpVisibleMessages(); 117 dumpVisibleMessages();
112 next(); 118 next();
113 } 119 }
114 ]); 120 ]);
115 } 121 }
116 122
117 </script> 123 </script>
118 </head> 124 </head>
119 125
120 <body onload="onload()"> 126 <body onload="onload()">
121 <p> 127 <p>
122 Tests that console can filter messages by source. 128 Tests that console can filter messages by source.
123 </p> 129 </p>
124 130
125 </body> 131 </body>
126 </html> 132 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698