Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: actorProto is undefined #85

Open
rpl opened this issue Aug 19, 2016 · 1 comment
Open

TypeError: actorProto is undefined #85

rpl opened this issue Aug 19, 2016 · 1 comment
Assignees
Labels

Comments

@rpl
Copy link
Member

rpl commented Aug 19, 2016

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:

@rpl rpl added the bug label Aug 19, 2016
@janodvarko
Copy link
Member

This will be fixed here:
https://bugzilla.mozilla.org/show_bug.cgi?id=1295171

Honza

@janodvarko janodvarko self-assigned this Aug 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants