From e65220adb07dbdb7fb9539c1910d54aa12c59257 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Fri, 20 Sep 2013 18:36:16 +0800 Subject: [PATCH] doc: Mention when protocol module is safe to use. --- docs/api/browser/protocol.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/api/browser/protocol.md b/docs/api/browser/protocol.md index ec6c1f2f055..7e566ba0ecb 100644 --- a/docs/api/browser/protocol.md +++ b/docs/api/browser/protocol.md @@ -14,6 +14,9 @@ protocol.registerProtocol('atom', function(request) { }); ``` +**Note:** This module can only be used after the `will-finish-launching` event +was emitted. + ## protocol.registerProtocol(scheme, handler) * `scheme` String