Permalink
Browse files

Momentarily reveal last character when typing in a password field in

OpenWebOS. Set default time to 1 second.
  • Loading branch information...
1 parent d989f88 commit 89f3b1bcda11f754a657b712f0f527c3c96805ce @anupamkaul anupamkaul committed Jul 26, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 Source/WebKit/qt/Api/qwebsettings.cpp
@@ -280,6 +280,12 @@ void QWebSettingsPrivate::apply()
settings->setUsesPageCache(WebCore::pageCache()->capacity());
+#if PLATFORM(WEBOS)
+ // Momentarily reveal last character when typing in a password field.
+ settings->setPasswordEchoEnabled(true);
+ settings->setPasswordEchoDurationInSeconds(1);
+#endif
+
} else {
QList<QWebSettingsPrivate*> settings = *::allSettings();
for (int i = 0; i < settings.count(); ++i)

0 comments on commit 89f3b1b

Please sign in to comment.