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

Side by Side Diff: LayoutTests/inspector/console/clients-ignored-in-privatebrowsing.html

Issue 14142009: Remove Apple's unused implementation of private browsing from WebCore (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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>
6
7 function test()
8 {
9 if (window.testRunner)
10 testRunner.setPrivateBrowsingEnabled(true);
11
12 console.log('This should show up once console messages are dumped, but shoul d _not_ show up as a "CONSOLE MESSAGE:" at the top of the output.');
13
14 InspectorTest.dumpConsoleMessages();
15
16 if (window.testRunner)
17 testRunner.setPrivateBrowsingEnabled(false);
18 InspectorTest.completeTest();
19 }
20
21 </script>
22 </head>
23
24 <body onload="runTest()">
25 <p>In PrivateBrowsing mode, console messages are visible in the Console, but
26 aren't sent to ChromeClients (or printf'd) in order to ensure they never end
27 up in logs. Better safe than sorry.</p>
28
29 </body>
30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698