Bug 895274 part.246 Rename NS_MESSAGE to eMessage r=smaug
authorMasayuki Nakano <masayuki@d-toybox.com>
Tue, 15 Sep 2015 00:14:35 +0900
changeset 294949 e7592497917894a6597b8c003388f3944a4d4648
parent 294948 2bbed060054e5118b27dfc6a3faf7b4c94dc101e
child 294950 5d2cba4706f66babe76ad2dd7883758a40552f26
push id5245
push userraliiev@mozilla.com
push dateThu, 29 Oct 2015 11:30:51 +0000
treeherdermozilla-beta@dac831dc1bd0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs895274
milestone43.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 895274 part.246 Rename NS_MESSAGE to eMessage r=smaug
dom/events/EventNameList.h
widget/EventMessageList.h
--- a/dom/events/EventNameList.h
+++ b/dom/events/EventNameList.h
@@ -491,17 +491,17 @@ WINDOW_EVENT(hashchange,
 WINDOW_EVENT(languagechange,
              eLanguageChange,
              EventNameType_HTMLBodyOrFramesetOnly,
              eBasicEventClass)
 // XXXbz Should the onmessage attribute on <body> really not work?  If so, do we
 // need a different macro to flag things like that (IDL, but not content
 // attributes on body/frameset), or is just using EventNameType_None enough?
 WINDOW_EVENT(message,
-             NS_MESSAGE,
+             eMessage,
              EventNameType_None,
              eBasicEventClass)
 WINDOW_EVENT(offline,
              eOffline,
              EventNameType_XUL | EventNameType_HTMLBodyOrFramesetOnly,
              eBasicEventClass)
 WINDOW_EVENT(online,
              eOnline,
--- a/widget/EventMessageList.h
+++ b/widget/EventMessageList.h
@@ -343,17 +343,17 @@ NS_EVENT_MESSAGE(eScriptEventFirst,     
 NS_EVENT_MESSAGE(eBeforeScriptExecute,  eScriptEventFirst)
 NS_EVENT_MESSAGE(eAfterScriptExecute,   eScriptEventFirst + 1)
 
 NS_EVENT_MESSAGE(ePrintEventFirst,      4600)
 NS_EVENT_MESSAGE(eBeforePrint,          ePrintEventFirst)
 NS_EVENT_MESSAGE(eAfterPrint,           ePrintEventFirst + 1)
 
 NS_EVENT_MESSAGE(NS_MESSAGE_EVENT_START, 4700)
-NS_EVENT_MESSAGE(NS_MESSAGE,            NS_MESSAGE_EVENT_START)
+NS_EVENT_MESSAGE(eMessage,              NS_MESSAGE_EVENT_START)
 
 // Open and close events
 NS_EVENT_MESSAGE(eOpenCloseEventFirst,  4800)
 NS_EVENT_MESSAGE(eOpen,                 eOpenCloseEventFirst)
 
 // Device motion and orientation
 NS_EVENT_MESSAGE(eDeviceEventFirst,      4900)
 NS_EVENT_MESSAGE(eDeviceOrientation,     eDeviceEventFirst)