[bindings] treat interface constructors as side-effect-free
Side-effect-free evaluation may call ScriptWrappable::Wrap() or ToV8(), which can invoke constructors. Since wrapping is assumed to be safe, this CL automatically whitelists bindings-generated constructors. Bug: 829571 Change-Id: I00133e04eb6b8307ea9c4924aafc5332f69f0abd Reviewed-on: https://chromium-review.googlesource.com/1000813Reviewed-by:Kentaro Hara <haraken@chromium.org> Reviewed-by:
Yuki Shiino <yukishiino@chromium.org> Commit-Queue: Erik Luo <luoe@chromium.org> Cr-Commit-Position: refs/heads/master@{#550584}
Showing
Please register or sign in to comment