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

Unified Diff: chrome/test/data/extensions/api_test/webnavigation/api/test.html

Issue 3061041: Add the definition of the webRequest and webNavigation APIs. (Closed)
Patch Set: updates Created 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/extensions/api_test/webnavigation/api/test.html
diff --git a/chrome/test/data/extensions/api_test/webnavigation/api/test.html b/chrome/test/data/extensions/api_test/webnavigation/api/test.html
new file mode 100644
index 0000000000000000000000000000000000000000..03c70a5312de41510985b5dea59d4da67bdd55dc
--- /dev/null
+++ b/chrome/test/data/extensions/api_test/webnavigation/api/test.html
@@ -0,0 +1,15 @@
+<script>
+chrome.experimental.webNavigation.onBeforeNavigate.addListener(
+ function(details) {});
+chrome.experimental.webNavigation.onCommitted.addListener(
+ function(details) {});
+chrome.experimental.webNavigation.onDOMContentLoaded.addListener(
+ function(details) {});
+chrome.experimental.webNavigation.onCompleted.addListener(
+ function(details) {});
+chrome.experimental.webNavigation.onErrorOccurred.addListener(
+ function(details) {});
+chrome.experimental.webNavigation.onBeforeRetarget.addListener(
+ function(details) {});
+chrome.test.notifyPass();
+</script>

Powered by Google App Engine
This is Rietveld 408576698