Closed Bug 1148816 Opened 9 years ago Closed 8 years ago

SWF #686 doesn't attempt to load video on click; "AVM1 error: TypeError: can't convert b to primitive type"

Categories

(Firefox Graveyard :: Shumway, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: cpeterson, Assigned: yury)

References

()

Details

http://swf.codeazur.com.br/#3f2b2173f3a1ee843fd1c8449f56bdaac83fd93da58364a27ae15c1d45ad4dcd

"AVM1 warning: method 'addEventListener' on object" Object { __proto__avm1: Object, _context: Object, _as3Object: Object, _frameScripts: null, _boundExecuteFrameScripts: null, _events: Array[17], _eventsMap: Object, _eventsListeners: Object, $Bgadm_type: "video", $Bgaspect: "stretch", 8 more… } "is undefined" shumway.player.js:69889:12
"AVM1 warning: method 'stop' can't be called on undefined object" shumway.player.js:69889:12
"AVM1 warning: method 'toString' can't be called on undefined object" shumway.player.js:69889:12
"AVM1 warning: method 'undefinedHandler' on object" Object { $BgaddEventListener: avm1DefineFunction/fn(), $BgremoveEventListener: avm1DefineFunction/fn(), $BgdispatchEvent: avm1DefineFunction/fn(), $BgdispatchQueue: avm1DefineFunction/fn(), 1 more… } "is undefined" shumway.player.js:69889:12
"AVM1 warning: method 'stop' can't be called on undefined object" shumway.player.js:69889:12
Ad no longer flashes in Shumway 0.11.7 redux, but it still logs some AVM1 errors and warnings:

"Unable to resolve com on co (expr com.admotion.components.video.VideoPlayer)" shumway.player.js:71003:13
"AVM1 warning: cannot look up variable 'com.admotion.components.video.VideoPlayer'" shumway.player.js:71003:13
"Unable to resolve com on co (expr com.admotion.components.ui.MuteButton)" shumway.player.js:71003:13
"AVM1 warning: cannot look up variable 'com.admotion.components.ui.MuteButton'" shumway.player.js:71003:13
"Unable to resolve com on co (expr com.admotion.components.ui.PlayPauseButton)" shumway.player.js:71003:13
"AVM1 warning: cannot look up variable 'com.admotion.components.ui.PlayPauseButton'" shumway.player.js:71003:13
"Unable to resolve com on co (expr com.admotion.components.ui.PlayButton)" shumway.player.js:71003:13
"AVM1 warning: cannot look up variable 'com.admotion.components.ui.PlayButton'" shumway.player.js:71003:13
"[ ADM|3.0.0|AS2 ] [METHOD ADDED] activeFlashCookie" viewerPlayer.js:27:3
"[ ADM|3.0.0|AS2 ] [METHOD ADDED] setCookie" viewerPlayer.js:27:3
"[ ADM|3.0.0|AS2 ] [METHOD ADDED] getCookie" viewerPlayer.js:27:3
"object" shumway.player.js:72757:1
TypeError:  shumway.player.js:72758:1
Error:  shumway.player.js:72759:1
"AVM1 error: TypeError: can't convert b to primitive type" shumway.player.js:72760:25
avm1ErrorWrapper() shumway.player.js:72760
avm1gen_s0f0i24_f6236_f224() avm1gen-s0f0i24_f6236_f224:10
interpretActionsData() shumway.player.js:73272
AVM1InterpretedFunction.prototype.alCall() shumway.player.js:71568
AVM1FunctionPrototype.prototype.apply() shumway.player.js:69770
AVM1NativeFunction.prototype.alCall() shumway.player.js:69308
avm1_0x52_ActionCallMethod() shumway.player.js:72330
avm1ErrorWrapper() shumway.player.js:72739
avm1gen_s0f0i25_f865_f92() avm1gen-s0f0i25_f865_f92:18
interpretActionsData() shumway.player.js:73272
AVM1InterpretedFunction.prototype.alCall() shumway.player.js:71568
avm1_0x52_ActionCallMethod() shumway.player.js:72302
avm1ErrorWrapper() shumway.player.js:72739
avm1gen_s0f0i25_f728() avm1gen-s0f0i25_f728:25
interpretActionsData() shumway.player.js:73272
AVM1InterpretedFunction.prototype.alCall() shumway.player.js:71568
avm1_0x52_ActionCallMethod() shumway.player.js:72330
avm1ErrorWrapper() shumway.player.js:72739
avm1gen_s0f0i24_f6236() avm1gen-s0f0i24_f6236:51
interpretActionsData() shumway.player.js:73272
AVM1InterpretedFunction.prototype.alCall() shumway.player.js:71568
avm1_0x52_ActionCallMethod() shumway.player.js:72330
avm1ErrorWrapper() shumway.player.js:72739
avm1gen_s0f0i30_f1145() avm1gen-s0f0i30_f1145:23
interpretActionsData() shumway.player.js:73272
AVM1InterpretedFunction.prototype.alCall() shumway.player.js:71568
AVM1EvalFunction.prototype.alConstruct() shumway.player.js:69336
as2Construct() shumway.player.js:71346
avm1_0x53_ActionNewMethod() shumway.player.js:72460
avm1ErrorWrapper() shumway.player.js:72739
avm1gen_s0f0i24_f6236() avm1gen-s0f0i24_f6236:10
interpretActionsData() shumway.player.js:73272
AVM1InterpretedFunction.prototype.alCall() shumway.player.js:71568
avm1_0x52_ActionCallMethod() shumway.player.js:72330
avm1ErrorWrapper() shumway.player.js:72739
avm1gen_s0f0i23_f2597() avm1gen-s0f0i23_f2597:151
interpretActionsData() shumway.player.js:73272
AVM1InterpretedFunction.prototype.alCall() shumway.player.js:71568
avm1_0x52_ActionCallMethod() shumway.player.js:72330
avm1ErrorWrapper() shumway.player.js:72739
avm1gen_s0f0i0() avm1gen-s0f0i0:14
interpretActionsData() shumway.player.js:73272
executeActionsData() shumway.player.js:71395
AVM1ContextImpl.prototype.executeActions() shumway.player.js:71188
AVM1MovieClip.prototype._executeFrameScripts() shumway.player.js:75507
MovieClip.prototype.callFrame() shumway.player.js:47632
MovieClip.runFrameScripts() shumway.player.js:47153
DisplayObject.performFrameNavigation() shumway.player.js:41525
Player.prototype._eventLoopTick() shumway.player.js:85819
tick() shumway.player.js:85752

"[ ADM|3.0.0|AS2 ] [METHOD ADDED] activeMouseIdleNotifier" viewerPlayer.js:27:3
"[ ADM|3.0.0|AS2 ] [METHOD ADDED] setCloseState" viewerPlayer.js:27:3
"[ ADM|3.0.0|AS2 ] [METHOD ADDED] activeMoHandler" viewerPlayer.js:27:3
"[ ADM|3.0.0|AS2 ] [METHOD ADDED] addButton" viewerPlayer.js:27:3
"[ ADM|3.0.0|AS2 ] [METHOD ADDED] collapseIfMouseOut" viewerPlayer.js:27:3
"jump outside the action block;" shumway.player.js:68863:33
ActionsDataAnalyzer.prototype.analyze() shumway.player.js:68863
interpretActionsData() shumway.player.js:73237
avm1ProcessTry() shumway.player.js:71850
avm1_0x8F_ActionTry() shumway.player.js:72717
avm1ErrorWrapper() shumway.player.js:72739
avm1gen_s0f0i29_f1306() avm1gen-s0f0i29_f1306:14
interpretActionsData() shumway.player.js:73272
AVM1InterpretedFunction.prototype.alCall() shumway.player.js:71568
avm1_0x52_ActionCallMethod() shumway.player.js:72330
avm1ErrorWrapper() shumway.player.js:72739
avm1gen_s0f0i24_f7062_f134() avm1gen-s0f0i24_f7062_f134:10
interpretActionsData() shumway.player.js:73272
AVM1InterpretedFunction.prototype.alCall() shumway.player.js:71568
AVM1FunctionPrototype.prototype.apply() shumway.player.js:69770
AVM1NativeFunction.prototype.alCall() shumway.player.js:69308
avm1_0x52_ActionCallMethod() shumway.player.js:72330
avm1ErrorWrapper() shumway.player.js:72739
avm1gen_s0f0i25_f865_f92() avm1gen-s0f0i25_f865_f92:18
interpretActionsData() shumway.player.js:73272
AVM1InterpretedFunction.prototype.alCall() shumway.player.js:71568
avm1_0x52_ActionCallMethod() shumway.player.js:72302
avm1ErrorWrapper() shumway.player.js:72739
avm1gen_s0f0i25_f728() avm1gen-s0f0i25_f728:25
interpretActionsData() shumway.player.js:73272
AVM1InterpretedFunction.prototype.alCall() shumway.player.js:71568
avm1_0x52_ActionCallMethod() shumway.player.js:72330
avm1ErrorWrapper() shumway.player.js:72739
avm1gen_s0f0i24_f7062() avm1gen-s0f0i24_f7062:64
interpretActionsData() shumway.player.js:73272
AVM1InterpretedFunction.prototype.alCall() shumway.player.js:71568
avm1_0x52_ActionCallMethod() shumway.player.js:72330
avm1ErrorWrapper() shumway.player.js:72739
avm1gen_s0f0i24_f6806_f170() avm1gen-s0f0i24_f6806_f170:42
interpretActionsData() shumway.player.js:73272
AVM1InterpretedFunction.prototype.alCall() shumway.player.js:71568
AVM1FunctionPrototype.prototype.apply() shumway.player.js:69770
AVM1NativeFunction.prototype.alCall() shumway.player.js:69308
avm1_0x52_ActionCallMethod() shumway.player.js:72330
avm1ErrorWrapper() shumway.player.js:72739
avm1gen_s0f0i25_f865_f92() avm1gen-s0f0i25_f865_f92:18
interpretActionsData() shumway.player.js:73272
AVM1InterpretedFunction.prototype.alCall() shumway.player.js:71568
AVM1ContextImpl.prototype.executeFunction() shumway.player.js:71211
avm1BroadcastNativeEvent() shumway.player.js:73662
avm1EventHandler() shumway.player.js:73620
EventDispatcher.callListeners() shumway.player.js:39676
EventDispatcher.prototype.dispatchEvent() shumway.player.js:39641
BroadcastEventDispatchQueue.prototype.dispatchEvent() shumway.player.js:39403
DisplayObject._broadcastFrameEvent() shumway.player.js:41544
DisplayObject.performFrameNavigation() shumway.player.js:41489
Player.prototype._eventLoopTick() shumway.player.js:85819
tick() shumway.player.js:85752

"AVM1 warning: method 'toString' can't be called on undefined object" shumway.player.js:71003:13
"AVM1 warning: method 'before_removingHandler' on object" Object { _avm1Context: Object, _ownProperties: Object, _prototype: Object } "is undefined" shumway.player.js:71003:13
"FSCommand: remove|reportEvent; |{ "Type":"Automatic", "Identifier": "ADM_Close" , "Action":"" }" shumway.player.js:60683:25
"[ ADM|3.0.0|AS2 ] ------------------------------------ COMMAND SENT -------------------------------" viewerPlayer.js:27:3
"[ ADM|3.0.0|AS2 ] reportEvent : { "Type":"Automatic", "Identifier": "ADM_Close" , "Action":"" }" viewerPlayer.js:27:3
"[ ADM|3.0.0|AS2 ] remove : " viewerPlayer.js:27:3
Summary: SWF #686 flashes, logging many AVM1 warnings: "AVM1 warning: method 'addEventListener' on object" → SWF #686 doesn't load; click doesn't open new tab; "AVM1 error: TypeError: can't convert b to primitive type"
Much less warning, and the initial screen is displayed fine. Same AVM1 error as before and a new "jump outside the action block;" though.

The SWF contains an embedded video, which is probably just used to create a video display to load something into. Interpreting just the video tag for that purpose would probably get us much further here.


Clicking on the ad seemingly works fine, too, but doesn't try to load the video that the Flash plugin attempts to play. (The video isn't found, so nothing is actually played.)

Warning shown on click:

AVM1 warning: method 'addEventListener' on object Object { _avm1Context: Object, _ownProperties: Object, _prototype: Object, _as3Object: Object, _events: Array[18], _eventsMap: Object, _eventsListeners: Object, $Bgadm_type: "video", $Bgaspect: "stretch", $Bgasset: "video.flv", 6 more… } is undefined
Assignee: nobody → ydelendik
Blocks: shumway-m4
Summary: SWF #686 doesn't load; click doesn't open new tab; "AVM1 error: TypeError: can't convert b to primitive type" → SWF #686 doesn't attempt to load video on click; "AVM1 error: TypeError: can't convert b to primitive type"
Blocks: shumway-m5
No longer blocks: shumway-m4
Product: Firefox → Firefox Graveyard
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.