Torne (Richard Coles) | 5c87bf8 | 2012-11-14 11:46:17 +0000 | [diff] [blame] | 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> |
| 2 | |
| 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.log("hello, world") |
| 12 | </pre> |
| 13 | </ul> |
| 14 | |
| 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. |
| 21 | |
| 22 | |