Bug 782524 - window.navigator instanceof window.Window throws unexpected error [r=bz,a=akeybl] CALENDAR_1_8_BUILD1 CALENDAR_1_8_RELEASE RELEASE_BASE_20121005 THUNDERBIRD_16_0b4_BUILD1 THUNDERBIRD_16_0b4_RELEASE
authorFabrice Desré <fabrice@mozilla.com>
Mon, 01 Oct 2012 16:55:24 -0700
changeset 104867 8a8a932fbef4b403f998f60adaafc4d2acb5c4e3
parent 104866 773303abaae9752f378ced2a91ab7984aa80b2fa
child 104868 b522f9c2515d319715c005def491e25924d05141
child 104870 a26a5447eaf91cca248fb1de6dceeb55210fe182
child 104872 b24057bfd5099cdd1d8ade7f6e6b925db53d7bd5
child 104875 dfcf6c7b8bab8926293b1b1e8094954597b4f4ad
child 104877 e082370e053f5aac0949db479a4e6043c73460d8
push id1
push usersledru@mozilla.com
push dateThu, 04 Dec 2014 17:57:20 +0000
reviewersbz, akeybl
bugs782524
milestone16.0
Bug 782524 - window.navigator instanceof window.Window throws unexpected error [r=bz,a=akeybl]
dom/base/nsDOMClassInfo.cpp
--- a/dom/base/nsDOMClassInfo.cpp
+++ b/dom/base/nsDOMClassInfo.cpp
@@ -2484,17 +2484,19 @@ nsDOMClassInfo::Init()
 #ifdef MOZ_B2G_RIL
     DOM_CLASSINFO_MAP_ENTRY(nsIDOMNavigatorTelephony)
 #endif
     DOM_CLASSINFO_MAP_CONDITIONAL_ENTRY(nsIDOMMozNavigatorNetwork,
                                         network::IsAPIEnabled())
 #ifdef MOZ_B2G_BT
     DOM_CLASSINFO_MAP_ENTRY(nsIDOMNavigatorBluetooth)
 #endif
+#ifdef MOZ_SYS_MSG
     DOM_CLASSINFO_MAP_ENTRY(nsIDOMNavigatorSystemMessages)
+#endif
   DOM_CLASSINFO_MAP_END
 
   DOM_CLASSINFO_MAP_BEGIN(Plugin, nsIDOMPlugin)
     DOM_CLASSINFO_MAP_ENTRY(nsIDOMPlugin)
   DOM_CLASSINFO_MAP_END
 
   DOM_CLASSINFO_MAP_BEGIN(PluginArray, nsIDOMPluginArray)
     DOM_CLASSINFO_MAP_ENTRY(nsIDOMPluginArray)