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

Unified Diff: chrome/common/extensions/docs/templates/articles/app_external.html

Issue 1107163002: Sandbox windows not provided to chrome.app.window.create. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | extensions/renderer/resources/app_window_custom_bindings.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/templates/articles/app_external.html
diff --git a/chrome/common/extensions/docs/templates/articles/app_external.html b/chrome/common/extensions/docs/templates/articles/app_external.html
index e702ddce55caebd48206d17a75562505f8e07c6e..4a13504ce5a4a35c316fb03a5627cc07472b035d 100644
--- a/chrome/common/extensions/docs/templates/articles/app_external.html
+++ b/chrome/common/extensions/docs/templates/articles/app_external.html
@@ -178,14 +178,11 @@ one for the main app window that isn't sandboxed,
and one for the sandboxed page:
</p>
-<p class="warning">
+<p class="note">
NOTE:
-<a href="https://code.google.com/p/chromium/issues/detail?id=154662">issue 154662</a>
-is a bug when using sandbox pages to create windows.
-The effect is that an error "Uncaught TypeError: Cannot call method
-'initializeAppWindow' of undefined" is output to the developer console
-and that the app.window.create call does not call the callback function
-with a window object. However, the sandbox page is created as a new window.
+A sandboxed window will not have access to the chrome.app APIs. If a
+callback is provided to app.window.create it will be run, but will not have
+the sandboxed window provided to it.
</p>
<pre data-filename="background.js">
« no previous file with comments | « no previous file | extensions/renderer/resources/app_window_custom_bindings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698