]> khamidou — GitHub mirrors - electron.git/commit
Add options check.
authorHaojian Wu <hokein.wu@gmail.com>
Mon, 19 Oct 2015 02:54:12 +0000 (10:54 +0800)
committerHaojian Wu <hokein.wu@gmail.com>
Mon, 19 Oct 2015 03:06:56 +0000 (11:06 +0800)
commitfb4efec55da118628263f21744a0ec8f6fce193a
treefc687d62a769c9035eab8c52c19515d363b47c72
parent214f8477b32e7d4067742ed5b49a933dfe4dcffb
Add options check.

This patch avoids main process never response back to renderer if the options is
invalid.
atom/browser/api/atom_api_desktop_capturer.cc
atom/browser/lib/desktop-capturer.coffee
atom/renderer/api/lib/desktop-capturer.coffee
docs/api/desktop-capturer.md