webinspector-log.html   [plain text]

<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>

<li>Open a browser, go to any web page.
<li>Open web inspector
<li>Open the console panel
<li>Open a web inspector on the web inspector
<li>Open that inspector's console panel
<li>In that panel, run the code:
   WebInspector.log("hello, world")

<br>In the original inspector window, there should now be a message
in the console with the text "hello, world".  There will be a blue
maginifying glass icon to the left of the message.  Run the same 
command again, and you should see the repeat count go to 2.
The message and repeat count are blue.