Ran into an error with the buildParams function breaking when using a JavaScript library that modified the Object.prototype, this small fix resolves the issue.
params =
instanceId: @viewInstanceId
userAgentOverride: @userAgentOverride
- for attributeName, attribute of @attributes
+ for own attributeName, attribute of @attributes
params[attributeName] = attribute.getValue()
# When the WebView is not participating in layout (display:none)
# then getBoundingClientRect() would report a width and height of 0.