Pernosco / pernosco

General-purpose public wiki and issue tracking
13 stars 0 forks source link

Deferencing a `nsCOMPtr` pointer to access a property doesn't seem to always work #45

Closed julienw closed 3 years ago

julienw commented 3 years ago

STR:

  1. open this debug link
  2. search for executions of mozilla::net::nsHttpChannel::OnStopRequest
  3. print mURI.mRawPtr->mSpec => this works
  4. print mURI->mSpec => this doesn't work

This is implemented in https://searchfox.org/mozilla-central/rev/4e87b5392eafe1f1d49017e76f7317b06ec0b1d8/netwerk/base/nsBaseChannel.h#291

khuey commented 3 years ago

This will be fixed on our next deployment.