MOZ_DEFAULT_BROWSER_AGENT is not defined under some circumstances, so the [check](https://searchfox.org/mozilla-central/rev/2f109387cc6886859d3f985ed9aca352fff653b8/toolkit/content/license.html#190) (also [here](https://searchfox.org/mozilla-central/rev/2f109387cc6886859d3f985ed9aca352fff653b8/toolkit/content/license.html#7386)) to include the WinToast license fails. We build and package license.html twice: once in omni.ja (chrome/toolkit/content/global/license.html), which *does* include the WinToast license, once in browser/omni.ja (chrome/browser/content/browser/license.html), which doesn't (though it does include [this override](https://searchfox.org/mozilla-central/source/browser/base/content/overrides/app-license.html)). The on in browser/omni.js is the one shown in about:license. * Why are the defines different? * Why are there two copies shipped with only two differences? (see also bug 751599) * Why does about:license show the browser file even though it seems to be [mapped to global](https://searchfox.org/mozilla-central/rev/2f109387cc6886859d3f985ed9aca352fff653b8/docshell/base/nsAboutRedirector.cpp#89)?
Bug 1709522 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
MOZ_DEFAULT_BROWSER_AGENT is not defined under some circumstances, so the [check](https://searchfox.org/mozilla-central/rev/2f109387cc6886859d3f985ed9aca352fff653b8/toolkit/content/license.html#190) (also [here](https://searchfox.org/mozilla-central/rev/2f109387cc6886859d3f985ed9aca352fff653b8/toolkit/content/license.html#7386)) to include the WinToast license fails. We build and package license.html twice: once in omni.ja (chrome/toolkit/content/global/license.html), which *does* include the WinToast license, once in browser/omni.ja (chrome/browser/content/browser/license.html), which doesn't (though it does include [this override](https://searchfox.org/mozilla-central/source/browser/base/content/overrides/app-license.html)). The one in browser/omni.js is the one shown in about:license. * Why are the defines different? * Why are there two copies shipped with only two differences? (see also bug 751599) * Why does about:license show the browser file even though it seems to be [mapped to global](https://searchfox.org/mozilla-central/rev/2f109387cc6886859d3f985ed9aca352fff653b8/docshell/base/nsAboutRedirector.cpp#89)?