Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / ManualTests / inspector / webinspector-log.html
blob4b3cc36cf7422a8196600288caa5382ed17a77cd
1 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=28047">Bug 28047: add utility method to enable logging messages for inspector development</a>.</p>
3 <ul>
4 <li>Open a browser, go to any web page.
5 <li>Open web inspector
6 <li>Open the console panel
7 <li>Open a web inspector on the web inspector
8 <li>Open that inspector's console panel
9 <li>In that panel, run the code:
10 <pre>
11 WebInspector.console.log("hello, world")
12 </pre>
13 </ul>
15 <p>Results:
16 <br>In the original inspector window, there should now be a message
17 in the console with the text "hello, world". There will be a blue
18 maginifying glass icon to the left of the message. Run the same
19 command again, and you should see the repeat count go to 2.
20 The message and repeat count are blue.