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

Side by Side Diff: chrome/common/extensions/docs/templates/intros/experimental_devtools_console.html

Issue 2179673002: Clean up DevTools API docs following removal of old APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 <p> 1 <p>
2 Use <code>chrome.experimental.devtools.console</code> to retrieve messages from 2 The <code>chrome.experimental.devtools.console</code> experimental API
3 the inspected page console and post messages there. <code>getMessages()</code> 3 is no longer available. Consider using
4 returns the list of messages on the console, <code>onMessageAdded</code> 4 <code>chrome.detvools.inspectedWindow.eval()</code> in conjunction with
5 event provides notifications on new messages, and <code>addMessage()</code> 5 <code>console.log()</code> to add messages to console.
6 allows an extension to add new messages. 6 </p>
7 </p>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698