Closed Scony closed 5 months ago
I built WPE WebKit (latest wpe-2.38) on x86_64 (Ubuntu 20.04 and JH_BUILD). The logs from application or the ones called from RWI (console.log()
) are printed without any problems. I have never got the error which you provided.
Well, in that case it looks like it may be some issue related to caching from older version of WebKit or some other nuance. Let's stop any activities on that then and let me investigate a little bit more on my side. Please note I'll be working on it with low priority.
It turned out I was using /usr/local/lib/wpe-webkit-1.0/libWPEWebInspectorResources.so
from different build by accident and hence this issue was occurring.
With correct shared object everything works as expected.
When WPE WebKit is built on x86_64 (e.g. Ubuntu 20 LTS) and run with remote web inspector (RWI) enabled, the logs printed from RWI or from the HTML app itself using
console.log()
are not displayed in RWI. I've tracked the flows of such console logs through WPEWebKit and it turned out the logs are actually delivered to the RWI frontend but there's an JS exception during processing of stactrace:which happens due to the fact that
payload.callFrames
is an object while it's expected to be array. Interestingly the expected array can be found within that object under thepayload.callFrames.callFrames
field.I haven't investigated that further, but on ARM builds it works fine.