InternalSettings::create() is simply crazy. We need to simplify it before it becomes worse.
Created attachment 130229 [details] Patch
Comment on attachment 130229 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=130229&action=review rs=me > Source/WebCore/ChangeLog:4 > + https://bugs.webkit.org/show_bug.cgi?id=80257 > + Lifecycle of InternalSettings should be simplified. The order is wrong :( > Source/WebCore/testing/InternalSettings.cpp:94 > + , m_passwordEchoDurationInSecondsBackup(settings()->passwordEchoDurationInSeconds()) > + , m_passwordEchoEnabledBackup(settings()->passwordEchoEnabled()) It's better to call these two variables m_originalPasswordEchoDurationInSeconds and m_originalPasswordEchoEnabled to be consistent with similar variables in WebKit.
Committed r109817: <http://trac.webkit.org/changeset/109817>