Index: chrome/test/data/extensions/api_test/tabs/on_updated/historyPushStateUpdateUrl/a.js |
diff --git a/media/base/video_capturer_source.cc b/chrome/test/data/extensions/api_test/tabs/on_updated/historyPushStateUpdateUrl/a.js |
similarity index 52% |
copy from media/base/video_capturer_source.cc |
copy to chrome/test/data/extensions/api_test/tabs/on_updated/historyPushStateUpdateUrl/a.js |
index c1ebbe1dbff339455a2ef2e9b09efc95edfe79c1..22c5c48ab2fdeb194a1ef7b5d9731fba37e6dac7 100644 |
--- a/media/base/video_capturer_source.cc |
+++ b/chrome/test/data/extensions/api_test/tabs/on_updated/historyPushStateUpdateUrl/a.js |
@@ -2,10 +2,9 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "media/base/video_capturer_source.h" |
- |
-namespace media { |
- |
-VideoCapturerSource::~VideoCapturerSource() {} |
- |
-} // namespace media |
+window.onload = function() { |
+ // 'load' status is fired with a updated URL. |
+ setTimeout(function() { |
+ history.pushState(null, null, "#a"); |
+ }, 0); |
+} |