DescriptionDon'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
Committed: https://crrev.com/0b40913d6e0cff095e373ea216680870d1215336
Cr-Commit-Position: refs/heads/master@{#299040}
Patch Set 1 #Patch Set 2 : #Messages
Total messages: 8 (2 generated)
|