Skip to content

TypeError: actorProto is undefined #85

@rpl

Description

@rpl

It looks like we need to change the inspector-actor.js to support changes in the protocol.js ActorClass, which currently raises the following error:

console.error: rdpinspector: JPM [error]   Message: TypeError: actorProto is undefined   Stack:     ActorClass@resource://devtools/shared/protocol.js:1107:3 @resource://rdpinspector-at-getfirebug-dot-com/lib/inspector-actor.js:108:22
...

By looking at the usage of ActorClass in the actors define in the mozilla-central repo, it looks like we need to make the same change introduced to the standard RDP actors into our custom "lazily injected" inspector-actor, e.g. the protocol specs needs to be passed as a separate parameter and created using the new generateActorSpec helper defined in the protocol.js module.

Useful references:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions