Closed Bug 1906529 Opened 1 year ago Closed 1 year ago

Debug console flooded with WARNING: NS_ENSURE_SUCCESS(mStatus, mStatus) failed with result 0x804B000A (NS_ERROR_MALFORMED_URI): file /builds/worker/workspace/obj-build/dist/include/nsIURIMutator.h:598

Categories

(MailNews Core :: General, defect)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1906992

People

(Reporter: betterbird.project+17, Unassigned)

References

(Regression)

Details

(Keywords: regression)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0

Steps to reproduce:

Debug console flooded with WARNING: NS_ENSURE_SUCCESS(mStatus, mStatus) failed with result 0x804B000A (NS_ERROR_MALFORMED_URI): file /builds/worker/workspace/obj-build/dist/include/nsIURIMutator.h:598

The error comes from here when the IDL file is processed into a header file:
https://searchfox.org/mozilla-central/source/__GENERATED__/dist/include/nsIURIMutator.h#598

  [[nodiscard]] nsresult Finalize(nsCOMPtr<C>& aURI)
  {
    NS_ENSURE_SUCCESS(mStatus, mStatus); <<-- line 598
    nsCOMPtr<nsIURI> uri;
    mStatus = mMutator->Finalize(getter_AddRefs(uri));
    NS_ENSURE_SUCCESS(mStatus, mStatus);
    aURI = do_QueryInterface(uri, &mStatus);
    NS_ENSURE_SUCCESS(mStatus, mStatus);
    mStatus = NS_ERROR_NOT_AVAILABLE; // Second call to Finalize should fail.
    return NS_OK;
  }

https://searchfox.org/mozilla-central/source/netwerk/base/nsIURIMutator.idl#483

We traced it down to this code:
https://searchfox.org/comm-central/rev/b904d8acfdd5572ff6b9e8b519b0db7c58271fb6/mailnews/base/src/nsMsgAccountManager.cpp#1876-1881

Keywords: regression
Regressed by: 1869685
See Also: → 1906992
Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1906992
Resolution: --- → DUPLICATE
See Also: 1906992
You need to log in before you can comment on or make changes to this bug.