Index: chrome/common/extensions/docs/examples/api/webNavigation/basic/background.js |
diff --git a/chrome/common/extensions/docs/examples/api/webNavigation/basic/background.js b/chrome/common/extensions/docs/examples/api/webNavigation/basic/background.js |
index 09e3699d855897598718cf401b18221094f7519e..66a4e4b89640ff5c1c45bc5a8a2ec4e807a0b018 100644 |
--- a/chrome/common/extensions/docs/examples/api/webNavigation/basic/background.js |
+++ b/chrome/common/extensions/docs/examples/api/webNavigation/basic/background.js |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -10,7 +10,7 @@ var nav = new NavigationCollector(); |
var eventList = ['onBeforeNavigate', 'onCreatedNavigationTarget', |
'onCommitted', 'onCompleted', 'onDOMContentLoaded', |
- 'onErrorOccurred', 'onReferenceFragmentUpdated']; |
+ 'onErrorOccurred', 'onReferenceFragmentUpdated', 'onTabReplaced']; |
eventList.forEach(function(e) { |
chrome.webNavigation[e].addListener(function(data) { |