Closed julienw closed 3 years ago
Alright I debugged this today and there are three separate problems here:
this
) to the function.The first two of these are trivial to fix but the third will take some time.
There's also the question of what to do if the function here allocates or otherwise is not a simple getter but generates content for the output. That's essentially equivalent to internal issue 129 and we don't have an answer for it yet.
This is fixed now.
From https://github.com/Pernosco/pernosco/issues/43#issuecomment-804211826:
This doesn't work:
STR:
profiler_add_network_marker
aURI
is the first argument for this function.aURI->mSpec
=> this worksaURI->GetSpec()
=> this works (but is quite useless)aURI->GetSpecOrDefault()
=> this doesn't workThis is implemented here: https://searchfox.org/mozilla-central/source/__GENERATED__/dist/include/nsIURI.h#55-63