When the user changes system preferences to enable or disable text replacement and spellchecking features, we should be reflecting those changes instead of caching the values set at the time WebView was created.
Created attachment 200201 [details] Work in progress
Created attachment 200203 [details] Work in progress 2
Created attachment 200205 [details] Work in progress 3
Created attachment 200206 [details] Fixes the bug
<rdar://problem/13779030>
Created attachment 200256 [details] Updated per Sam's comments
Comment on attachment 200256 [details] Updated per Sam's comments View in context: https://bugs.webkit.org/attachment.cgi?id=200256&action=review > Source/WebKit2/ChangeLog:13 > + (WebKit): > + (TextChecker): Should remove these, or fix the script so they don’t get added in the first place. > Source/WebKit2/ChangeLog:15 > + (WebContext): Ditto. > Source/WebKit2/ChangeLog:18 > + (WebKit): Ditto. > Source/WebKit2/UIProcess/mac/WebContextMac.mm:555 > + [[NSNotificationCenter defaultCenter] removeObserver:(id)m_automaticTextReplacementNotificationObserver.get()]; Can’t these be RetainPtr<NSObject> instead of RetainPtr<CFTypeRef>, to avoid all these (id) casts?
Created attachment 200291 [details] Updated per Sam's in-person review
Comment on attachment 200291 [details] Updated per Sam's in-person review Oops, I didn't realize Darin had already reviewed. Thanks for the review!
Committed r149476: <http://trac.webkit.org/changeset/149476>