[Webkit-unassigned] [Bug 123111] Upstream ENABLE(REMOTE_INSPECTOR) and enable on iOS and Mac

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 24 14:28:00 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=123111





--- Comment #7 from Joseph Pecoraro <joepeck at webkit.org>  2013-10-24 14:26:46 PST ---
(From update of attachment 214782)
View in context: https://bugs.webkit.org/attachment.cgi?id=214782&action=review

>> Source/WebKit/mac/WebInspector/remote/WebInspectorRelayDefinitions.h:38
>> +#define WIRServiceDisabledNotification          "com.apple.webinspectord.disabled"
> 
> These could be const NSString * instead. Also there isn't any reason for the symbol to keep the "WIR" prefix, it could differ even if the string content needs to keep "WIR".

These are used by XPC/notify APIs which take C strings, so I just kept them C String constants. Would there be an advantage to making them NSStrings? Just seems like more work unless they are actually used as NSStrings.

I agree that there is no need to keep the defines WIR prefixed. The consistency, and prefix makes it obvious to me that these are shared constants. If I changed them, I'd like to change them to "RWI", but of course the values need to stay "WIR" for backwards compatibility.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list