Don't call SetProperty on the plugin unless HasProperty is true
The default implementation of SetProperty in the plugin (inside ScriptableObject) will throw an exception. This can result in an unexpected exception in JS when properties are set on the plugin element. We should only call SetProperty if the plugin has that property. BUG=414842 TBR=dmichael@chromium.org Review URL: https://codereview.chromium.org/640033003 Cr-Commit-Position: refs/heads/master@{#299040}
Showing
Please register or sign in to comment