Index: chrome/browser/resources/file_manager/js/background.js |
diff --git a/chrome/browser/resources/file_manager/js/background.js b/chrome/browser/resources/file_manager/js/background.js |
index 5f646c280c62c78a29225f54015223ca33f3e3e2..206253422ddb8a03ef78eacbcad15a5a88fdd8a0 100644 |
--- a/chrome/browser/resources/file_manager/js/background.js |
+++ b/chrome/browser/resources/file_manager/js/background.js |
@@ -140,6 +140,8 @@ AppWindowWrapper.prototype.launch = function(appState, callback) { |
contentWindow.appID = this.id_; |
contentWindow.appState = this.appState_; |
contentWindow.appInitialURL = this.url_; |
+ if (window.IN_TEST) |
+ contentWindow.IN_TEST = true; |
appWindow.onClosed.addListener(function() { |
if (contentWindow.unload) |
contentWindow.unload(); |