Open Bug 1334324 Opened 7 years ago Updated 2 years ago

gAppMessageWindowName likely doesn't behave as expected

Categories

(Toolkit :: Startup and Profile System, defect, P3)

defect

Tracking

()

People

(Reporter: away, Unassigned)

References

Details

Nobody ever writes to gAppMessageWindowName: https://dxr.mozilla.org/mozilla-central/search?q=regexp%3AgAppMessageWindowName%5CW&redirect=false

That nsDependentString looks like maybe it was intended to forward the write, but it doesn't.

If this were up to me I'd just remove the variable and associated code because, hey, that's what we've been shipping for years. Jim, any objection?

I suppose we could also try make the logic work correctly. If so, I'll leave that for someone else to do!
Flags: needinfo?(jmathies)
I think we want to fix this, the native app window can process command line data in response to a Windows message. 

http://searchfox.org/mozilla-central/source/toolkit/xre/nsNativeAppSupportWin.cpp#542
Flags: needinfo?(jmathies)
Component: IPC → Startup and Profile System
Priority: -- → P3
Product: Core → Toolkit
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.