From: Kevin Sawicki Date: Fri, 17 Jun 2016 22:01:16 +0000 (-0700) Subject: Mark which APIs are unavailable before app ready X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6709e3c338babb02c29b4a043b3cd1693f268255;p=platform%2Fframework%2Fweb%2Fcrosswalk-tizen.git Mark which APIs are unavailable before app ready --- diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index eaa074e..2cae696 100644 --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@ -438,12 +438,18 @@ console. Method will also not return if the extension's manifest is missing or incomplete. +**Note:** This API cannot be called before the `ready` event of the `app` module +is emitted. + ### `BrowserWindow.removeDevToolsExtension(name)` * `name` String Remove the DevTools extension whose name is `name`. +**Note:** This API cannot be called before the `ready` event of the `app` module +is emitted. + ### `BrowserWindow.getDevToolsExtensions()` Returns an Object where the keys are the extension names and each value is @@ -455,6 +461,9 @@ To check if a DevTools extension is installed you can run the following: let installed = BrowserWindow.getDevToolsExtensions().hasOwnProperty('devtron') ``` +**Note:** This API cannot be called before the `ready` event of the `app` module +is emitted. + ## Instance Properties Objects created with `new BrowserWindow` have the following properties: