christian-bromann/devtools-backend

App page not loading

gitkav opened this issue · 1 comments

Hi Christian,

I manually injected the script in my app code. When I load the app on TV, the page is not loading.
The devtool inspector shows my app and when I click it I see elements. But no console and network logs.
I can see some errors related to chrome-devtools-frontend in logs/devtools-backend_Page.log
Outgoing debugger message: {id: 22, error : Method startscreenshot not found}
Outgoing debugger message: {id: 25, error : Method stopscreenshot not found}
Outgoing debugger message: {id: 86, error : Method getBoxModel not found}

If I don't inject the script manually and use proxy, I can see the trigger for my app but when I click the red button I see NotAvailable on TV.
Also the chrome inspector gives error "Debugging connection was closed"

I can see some errors related to chrome-devtools-frontend in logs/devtools-backend_Page.log
Outgoing debugger message: {id: 22, error : Method startscreenshot not found}
Outgoing debugger message: {id: 25, error : Method stopscreenshot not found}
Outgoing debugger message: {id: 86, error : Method getBoxModel not found}

Probably some devtools methods that aren't implemented yet. Not sure how important they are.

when I click the red button I see NotAvailable on TV.

Looks like a JavaScript issue in the instrumentation script.

I am not actively maintaining this project anymore. I am busy with other open source projects and I don't really work with TV apps anymore. Sorry!