Merge pull request #5781 from ara4n/master

support onLoad synthetic event attribute on 'object' tags
This commit is contained in:
Paul O’Shannessy
2016-03-06 18:57:37 -08:00
@@ -269,6 +269,7 @@ function trapBubbledEventsLocal() {
switch (inst._tag) {
case 'iframe':
case 'object':
inst._wrapperState.listeners = [
ReactBrowserEventEmitter.trapBubbledEvent(
EventConstants.topLevelTypes.topLoad,
@@ -463,6 +464,7 @@ ReactDOMComponent.Mixin = {
switch (this._tag) {
case 'iframe':
case 'object':
case 'img':
case 'form':
case 'video':
@@ -1018,6 +1020,7 @@ ReactDOMComponent.Mixin = {
unmountComponent: function(safely) {
switch (this._tag) {
case 'iframe':
case 'object':
case 'img':
case 'form':
case 'video':