Index: chrome/test/data/extensions/bookmarks/bookmark_view.html |
diff --git a/chrome/test/data/extensions/bookmarks/bookmark_view.html b/chrome/test/data/extensions/bookmarks/bookmark_view.html |
index f3f45b5beb0da5df1ed2c562f1c4598895fc39fc..f038e9703b85c75b052f496e98a3803ee31435c9 100644 |
--- a/chrome/test/data/extensions/bookmarks/bookmark_view.html |
+++ b/chrome/test/data/extensions/bookmarks/bookmark_view.html |
@@ -20,6 +20,14 @@ |
</style> |
<script> |
+// XXX Hack: When you call window.open('chrome-extension://...'), the window is |
+// first navigated to about:blank, and then to the final URL. This confuses the |
+// code that sets up our v8 extensions, and we don't end up with them running. |
+// |
+// If we noticed this happened, reload ourselves, which should fix it. |
+if (!chromium.bookmarks) |
+ location.reload(); |
+ |
var prefix = "bookmark_"; |
var toggleBookmark = function(event) { |