Changeset 150090 in webkit
- Timestamp:
- May 14, 2013 3:20:51 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 13 added
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r150087 r150090 1 2013-05-14 Alexey Proskuryakov <ap@apple.com> 2 3 [Mac] Add tests for secure event input 4 https://bugs.webkit.org/show_bug.cgi?id=116121 5 6 Reviewed by Mark Rowe. 7 8 * editing/secure-input: Added. 9 * editing/secure-input/password-input-changed-type-expected.txt: Added. 10 * editing/secure-input/password-input-changed-type.html: Added. 11 * editing/secure-input/password-input-focusing-expected.txt: Added. 12 * editing/secure-input/password-input-focusing-to-different-frame-expected.txt: Added. 13 * editing/secure-input/password-input-focusing-to-different-frame.html: Added. 14 * editing/secure-input/password-input-focusing.html: Added. 15 * editing/secure-input/removed-password-input-expected.txt: Added. 16 * editing/secure-input/removed-password-input.html: Added. 17 * editing/secure-input/reset-state-on-navigation-expected.txt: Added. 18 * editing/secure-input/reset-state-on-navigation.html: Added. 19 * editing/secure-input/resources: Added. 20 * editing/secure-input/resources/reset-state-on-navigation-target.html: Added. 21 * platform/efl/TestExpectations: 22 * platform/gtk/TestExpectations: 23 * platform/mac-wk2/TestExpectations: 24 * platform/mac/TestExpectations: 25 * platform/qt/TestExpectations: 26 * platform/win/TestExpectations: 27 * platform/wincairo/TestExpectations: 28 1 29 2013-05-14 David Hyatt <hyatt@apple.com> 2 30 -
trunk/LayoutTests/platform/efl/TestExpectations
r150059 r150090 608 608 webkit.org/b/105542 fast/canvas/canvas-blend-image.html [ Skip ] 609 609 webkit.org/b/105542 fast/canvas/canvas-blend-solid.html [ Skip ] 610 611 # No concept of secure text input 612 editing/secure-input [ Failure ] 610 613 611 614 #//////////////////////////////////////////////////////////////////////////////////////// -
trunk/LayoutTests/platform/gtk/TestExpectations
r150083 r150090 415 415 webkit.org/b/115374 editing/shadow [ Skip ] 416 416 webkit.org/b/115374 fast/dom/shadow [ Skip ] 417 418 # No concept of secure text input 419 editing/secure-input [ Failure ] 417 420 418 421 #//////////////////////////////////////////////////////////////////////////////////////// -
trunk/LayoutTests/platform/mac-wk2/TestExpectations
r149333 r150090 315 315 sputnik/Unicode/Unicode_218/S7.6_A5.2_T1.html 316 316 317 # Unclear yet why this test fails. 318 editing/secure-input/password-input-focusing-to-different-frame.html [ Failure ] 319 317 320 ### END OF (3) Unclassified failures 318 321 ######################################## … … 332 335 plugins/snapshotting [ Skip ] 333 336 337 # This test fails with WebKit1 only. 338 editing/secure-input/reset-state-on-navigation.html [ Pass ] 339 334 340 ### END OF (5) Features that are not supported in WebKit1, so skipped in mac/TestExpectations then re-enabled here 335 341 ######################################## -
trunk/LayoutTests/platform/mac/TestExpectations
r150083 r150090 1536 1536 webkit.org/b/115292 fast/writing-mode/vertical-baseline-alignment.html 1537 1537 webkit.org/b/115292 fast/writing-mode/vertical-font-fallback.html 1538 1539 # Fails with WebKit1 only. 1540 editing/secure-input/reset-state-on-navigation.html [ Failure ] 1541 1542 # Needs rebaseline after bug https://bugs.webkit.org/show_bug.cgi?id=52185 1543 webkit.org/b/52185 fast/table/007.html [ Failure Rebaseline ] 1544 webkit.org/b/52185 fast/table/colspanMinWidth.html [ Failure Rebaseline ] 1545 webkit.org/b/52185 fast/table/colspanMinWidth-vertical.html [ Failure Rebaseline ] 1546 webkit.org/b/52185 fast/table/spanOverlapRepaint.html [ Failure Rebaseline ] 1547 webkit.org/b/52185 tables/mozilla/bugs/bug13169.html [ Failure Rebaseline ] 1548 webkit.org/b/52185 tables/mozilla/bugs/bug133756-1.html [ Failure Rebaseline ] 1549 webkit.org/b/52185 tables/mozilla/bugs/bug133756-2.html [ Failure Rebaseline ] 1550 webkit.org/b/52185 tables/mozilla/bugs/bug17138.html [ Failure Rebaseline ] 1551 webkit.org/b/52185 tables/mozilla/bugs/bug17548.html [ Failure Rebaseline ] 1552 webkit.org/b/52185 tables/mozilla/bugs/bug220536.html [ Failure Rebaseline ] 1553 webkit.org/b/52185 tables/mozilla/bugs/bug6304.html [ Failure Rebaseline ] 1554 webkit.org/b/52185 tables/mozilla/bugs/bug73321.html [ Failure Rebaseline ] 1555 webkit.org/b/52185 tables/mozilla/bugs/bug7714.html [ Failure Rebaseline ] 1556 webkit.org/b/52185 tables/mozilla/bugs/bug86708.html [ ImageOnlyFailure Rebaseline ] 1557 webkit.org/b/52185 tables/mozilla/bugs/bug8858.html [ Failure Rebaseline ] 1558 webkit.org/b/52185 tables/mozilla/core/bloomberg.html [ Failure Rebaseline ] 1559 webkit.org/b/52185 tables/mozilla/core/cell_heights.html [ Failure Rebaseline ] 1560 webkit.org/b/52185 tables/mozilla/other/test6.html [ Failure Rebaseline ] 1561 webkit.org/b/52185 tables/mozilla_expected_failures/bugs/bug1010.html [ Failure Rebaseline ] 1562 webkit.org/b/52185 tables/mozilla_expected_failures/bugs/bug131020-3.html [ Failure Rebaseline ] 1563 webkit.org/b/52185 tables/mozilla_expected_failures/bugs/bug23847.html [ Failure Rebaseline ] 1564 webkit.org/b/52185 tables/mozilla_expected_failures/bugs/bug58402-2.html [ Failure Rebaseline ] 1565 webkit.org/b/52185 tables/mozilla_expected_failures/bugs/bug65372.html [ Failure Rebaseline ] 1566 webkit.org/b/52185 tables/mozilla_expected_failures/bugs/bug6933.html [ Failure Rebaseline ] 1567 webkit.org/b/52185 accessibility/table-cells.html [ Failure Rebaseline ] 1568 webkit.org/b/52185 accessibility/table-attributes.html [ Failure Rebaseline ] -
trunk/LayoutTests/platform/qt/TestExpectations
r150083 r150090 496 496 # X-Content-Type-Options (ENABLE_NOSNIFF) is not enabled. 497 497 http/tests/security/contentTypeOptions 498 499 # No concept of secure text input other than on Mac; support not yet implemented on Mac. 500 editing/secure-input [ Failure ] 498 501 499 502 # =========================================================================== # -
trunk/LayoutTests/platform/win/TestExpectations
r149906 r150090 2743 2743 compositing/filters/sw-shadow-overlaps-hw-layer.html 2744 2744 compositing/filters/sw-shadow-overlaps-hw-shadow.html 2745 2746 # No concept of secure text input 2747 editing/secure-input [ Failure ] -
trunk/LayoutTests/platform/wincairo/TestExpectations
r149068 r150090 2990 2990 # Need support for ResourceHandle::didChangePriority and DRT support 2991 2991 webkit.org/b/?????? http/tests/loading/promote-img-preload-priority.html [ Failure ] 2992 2993 # No concept of secure text input 2994 editing/secure-input [ Failure ] -
trunk/Tools/ChangeLog
r150089 r150090 1 2013-05-14 Alexey Proskuryakov <ap@apple.com> 2 3 [Mac] Add tests for secure event input 4 https://bugs.webkit.org/show_bug.cgi?id=116121 5 6 Reviewed by Mark Rowe. 7 8 * DumpRenderTree/TestRunner.cpp: 9 (getSecureEventInputIsEnabledCallback): 10 (TestRunner::staticValues): 11 Expose an accessor for current secure event input state. 12 13 * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: 14 * WebKitTestRunner/InjectedBundle/TestRunner.cpp: 15 (WTR::TestRunner::secureEventInputIsEnabled): 16 * WebKitTestRunner/InjectedBundle/TestRunner.h: 17 * WebKitTestRunner/TestInvocation.cpp: 18 (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle): 19 Expose an accessor for current secure event input state. This has to be done in 20 UI process, as this is where it's changed by WebKit. 21 1 22 2013-05-14 Alexey Proskuryakov <ap@apple.com> 2 23 -
trunk/Tools/DumpRenderTree/TestRunner.cpp
r149087 r150090 44 44 #include <wtf/OwnArrayPtr.h> 45 45 #include <wtf/RefPtr.h> 46 47 #if PLATFORM(MAC) 48 #include <Carbon/Carbon.h> 49 #endif 46 50 47 51 const unsigned TestRunner::viewWidth = 800; … … 1835 1839 #endif 1836 1840 1841 static JSValueRef getSecureEventInputIsEnabledCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef propertyName, JSValueRef* exception) 1842 { 1843 return JSValueMakeBoolean(context, IsSecureEventInputEnabled()); 1844 } 1845 1837 1846 static JSValueRef getTitleTextDirectionCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef propertyName, JSValueRef* exception) 1838 1847 { … … 2002 2011 { "platformName", getPlatformNameCallback, 0, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete }, 2003 2012 #endif 2013 { "secureEventInputIsEnabled", getSecureEventInputIsEnabledCallback, 0, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete }, 2004 2014 { "titleTextDirection", getTitleTextDirectionCallback, 0, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete }, 2005 2015 { 0, 0, 0, 0 } -
trunk/Tools/WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl
r150046 r150090 188 188 void setAuthenticationUsername(DOMString username); 189 189 void setAuthenticationPassword(DOMString password); 190 191 // Secure text input mode (Mac only) 192 readonly attribute boolean secureEventInputIsEnabled; 190 193 }; 191 194 -
trunk/Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp
r150046 r150090 804 804 } 805 805 806 bool TestRunner::secureEventInputIsEnabled() const 807 { 808 WKRetainPtr<WKStringRef> messageName(AdoptWK, WKStringCreateWithUTF8CString("SecureEventInputIsEnabled")); 809 WKTypeRef returnData = 0; 810 811 WKBundlePostSynchronousMessage(InjectedBundle::shared().bundle(), messageName.get(), 0, &returnData); 812 return WKBooleanGetValue(static_cast<WKBooleanRef>(returnData)); 813 } 814 806 815 } // namespace WTR -
trunk/Tools/WebKitTestRunner/InjectedBundle/TestRunner.h
r150046 r150090 274 274 void queueNonLoadingScript(JSStringRef script); 275 275 276 bool secureEventInputIsEnabled() const; 277 276 278 private: 277 279 static const double waitToDumpWatchdogTimerInterval; -
trunk/Tools/WebKitTestRunner/TestInvocation.cpp
r149087 r150090 44 44 45 45 #if PLATFORM(MAC) 46 #include <Carbon/Carbon.h> 46 47 #include <WebKit2/WKPagePrivateMac.h> 47 48 #endif … … 664 665 } 665 666 667 if (WKStringIsEqualToUTF8CString(messageName, "SecureEventInputIsEnabled")) { 668 #if PLATFORM(MAC) 669 WKRetainPtr<WKBooleanRef> result(AdoptWK, WKBooleanCreate(IsSecureEventInputEnabled())); 670 #else 671 WKRetainPtr<WKBooleanRef> result(AdoptWK, WKBooleanCreate(false); 672 #endif 673 return result; 674 } 666 675 ASSERT_NOT_REACHED(); 667 676 return 0; -
trunk/Tools/WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj
r149692 r150090 86 86 BCDA2B9A1191051F00C3BC47 /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BCDA2B991191051F00C3BC47 /* JavaScriptCore.framework */; }; 87 87 C0CE720B1247C93300BC0EC4 /* TestRunnerMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = C0CE720A1247C93300BC0EC4 /* TestRunnerMac.mm */; }; 88 E1BA671E1742DA6A00C20251 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E1BA671D1742DA5A00C20251 /* Carbon.framework */; }; 88 89 /* End PBXBuildFile section */ 89 90 … … 219 220 BCDA2B991191051F00C3BC47 /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = JavaScriptCore.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 220 221 C0CE720A1247C93300BC0EC4 /* TestRunnerMac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = TestRunnerMac.mm; path = mac/TestRunnerMac.mm; sourceTree = "<group>"; }; 222 E1BA671D1742DA5A00C20251 /* Carbon.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Carbon.framework; path = System/Library/Frameworks/Carbon.framework; sourceTree = SDKROOT; }; 221 223 /* End PBXFileReference section */ 222 224 … … 229 231 BCDA2B9A1191051F00C3BC47 /* JavaScriptCore.framework in Frameworks */, 230 232 0F5169CB1445222D00E0A9D7 /* WebKit.framework in Frameworks */, 233 E1BA671E1742DA6A00C20251 /* Carbon.framework in Frameworks */, 231 234 BC7934AC1190658C005EA8E2 /* WebKit2.framework in Frameworks */, 232 235 ); … … 292 295 isa = PBXGroup; 293 296 children = ( 297 E1BA671D1742DA5A00C20251 /* Carbon.framework */, 294 298 BC7934A411906584005EA8E2 /* Cocoa.framework */, 295 299 BCDA2B991191051F00C3BC47 /* JavaScriptCore.framework */,
Note: See TracChangeset
for help on using the changeset viewer.