haikuwebkit/LayoutTests/editing/input/password-echo-passnode-expe...

7 lines
276 B
Plaintext
Raw Permalink Normal View History

Tests if input chars are secured correctly
Add support of setPasswordEchoEnabled and setPasswordEchoDuration for password echo feature https://bugs.webkit.org/show_bug.cgi?id=66052 Patch by Chang Shu <cshu@webkit.org> on 2011-08-18 Reviewed by Alexey Proskuryakov. Source/WebCore: Added runtime settings in WebCore. Added support in window.internals for testing. Tests: editing/input/password-echo-passnode.html editing/input/password-echo-passnode2.html editing/input/password-echo-passnode3.html editing/input/password-echo-textnode.html * page/Settings.cpp: (WebCore::Settings::Settings): * page/Settings.h: (WebCore::Settings::setPasswordEchoEnabled): (WebCore::Settings::passwordEchoEnabled): (WebCore::Settings::setPasswordEchoDurationInSeconds): (WebCore::Settings::passwordEchoDurationInSeconds): * testing/Internals.cpp: (WebCore::Internals::Internals): (WebCore::Internals::setPasswordEchoEnabled): (WebCore::Internals::setPasswordEchoDurationInSeconds): (WebCore::Internals::reset): * testing/Internals.h: * testing/Internals.idl: Source/WebKit/qt: Enable password echo under the build flag. * Api/qwebsettings.cpp: (QWebSettingsPrivate::apply): LayoutTests: Added tests. * editing/input/password-echo-passnode-expected.txt: Added. * editing/input/password-echo-passnode.html: Added. * editing/input/password-echo-passnode2-expected.txt: Added. * editing/input/password-echo-passnode2.html: Added. * editing/input/password-echo-passnode3-expected.txt: Added. * editing/input/password-echo-passnode3.html: Added. * editing/input/password-echo-textnode-expected.txt: Added. * editing/input/password-echo-textnode.html: Added. * editing/input/resources: Added. * editing/input/resources/password-echo.js: Added. (secureChar): (secureText): (log): (assert): (run.else): (run): (init): * platform/wk2/Skipped: No support yet. Canonical link: https://commits.webkit.org/82287@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@93291 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-08-18 10:19:50 +00:00
Success: secured right after. expected=false, actual=false
Add support of setPasswordEchoEnabled and setPasswordEchoDuration for password echo feature https://bugs.webkit.org/show_bug.cgi?id=66052 Patch by Chang Shu <cshu@webkit.org> on 2011-08-18 Reviewed by Alexey Proskuryakov. Source/WebCore: Added runtime settings in WebCore. Added support in window.internals for testing. Tests: editing/input/password-echo-passnode.html editing/input/password-echo-passnode2.html editing/input/password-echo-passnode3.html editing/input/password-echo-textnode.html * page/Settings.cpp: (WebCore::Settings::Settings): * page/Settings.h: (WebCore::Settings::setPasswordEchoEnabled): (WebCore::Settings::passwordEchoEnabled): (WebCore::Settings::setPasswordEchoDurationInSeconds): (WebCore::Settings::passwordEchoDurationInSeconds): * testing/Internals.cpp: (WebCore::Internals::Internals): (WebCore::Internals::setPasswordEchoEnabled): (WebCore::Internals::setPasswordEchoDurationInSeconds): (WebCore::Internals::reset): * testing/Internals.h: * testing/Internals.idl: Source/WebKit/qt: Enable password echo under the build flag. * Api/qwebsettings.cpp: (QWebSettingsPrivate::apply): LayoutTests: Added tests. * editing/input/password-echo-passnode-expected.txt: Added. * editing/input/password-echo-passnode.html: Added. * editing/input/password-echo-passnode2-expected.txt: Added. * editing/input/password-echo-passnode2.html: Added. * editing/input/password-echo-passnode3-expected.txt: Added. * editing/input/password-echo-passnode3.html: Added. * editing/input/password-echo-textnode-expected.txt: Added. * editing/input/password-echo-textnode.html: Added. * editing/input/resources: Added. * editing/input/resources/password-echo.js: Added. (secureChar): (secureText): (log): (assert): (run.else): (run): (init): * platform/wk2/Skipped: No support yet. Canonical link: https://commits.webkit.org/82287@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@93291 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-08-18 10:19:50 +00:00
Success: secured after delay. expected=true, actual=true
Success: secured right after. expected=false, actual=false
Add support of setPasswordEchoEnabled and setPasswordEchoDuration for password echo feature https://bugs.webkit.org/show_bug.cgi?id=66052 Patch by Chang Shu <cshu@webkit.org> on 2011-08-18 Reviewed by Alexey Proskuryakov. Source/WebCore: Added runtime settings in WebCore. Added support in window.internals for testing. Tests: editing/input/password-echo-passnode.html editing/input/password-echo-passnode2.html editing/input/password-echo-passnode3.html editing/input/password-echo-textnode.html * page/Settings.cpp: (WebCore::Settings::Settings): * page/Settings.h: (WebCore::Settings::setPasswordEchoEnabled): (WebCore::Settings::passwordEchoEnabled): (WebCore::Settings::setPasswordEchoDurationInSeconds): (WebCore::Settings::passwordEchoDurationInSeconds): * testing/Internals.cpp: (WebCore::Internals::Internals): (WebCore::Internals::setPasswordEchoEnabled): (WebCore::Internals::setPasswordEchoDurationInSeconds): (WebCore::Internals::reset): * testing/Internals.h: * testing/Internals.idl: Source/WebKit/qt: Enable password echo under the build flag. * Api/qwebsettings.cpp: (QWebSettingsPrivate::apply): LayoutTests: Added tests. * editing/input/password-echo-passnode-expected.txt: Added. * editing/input/password-echo-passnode.html: Added. * editing/input/password-echo-passnode2-expected.txt: Added. * editing/input/password-echo-passnode2.html: Added. * editing/input/password-echo-passnode3-expected.txt: Added. * editing/input/password-echo-passnode3.html: Added. * editing/input/password-echo-textnode-expected.txt: Added. * editing/input/password-echo-textnode.html: Added. * editing/input/resources: Added. * editing/input/resources/password-echo.js: Added. (secureChar): (secureText): (log): (assert): (run.else): (run): (init): * platform/wk2/Skipped: No support yet. Canonical link: https://commits.webkit.org/82287@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@93291 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-08-18 10:19:50 +00:00
Success: secured after delay. expected=true, actual=true