12011-03-15 Alexey Proskuryakov <ap@apple.com>
2
3 Reviewed by NOBODY (OOPS!).
4
5 REGRESSION (WebKit2): keygen element doesn't work
6 https://bugs.webkit.org/show_bug.cgi?id=56402
7 <rdar://problem/9006545>
8
9 Covered by existing regresison tests.
10
11 * English.lproj/Localizable.strings:
12
13 * WebCore.exp.in: Removed WebCoreKeyGenerator, which no longer exists. Added
14 _wkSignedPublicKeyAndChallengeString, so that this WKSI function could be used in WebCore.
15
16 * platform/mac/SSLKeyGeneratorMac.mm: Removed.
17 * platform/mac/WebCoreKeyGenerator.h: Removed.
18 * platform/mac/WebCoreKeyGenerator.m: Removed.
19 * platform/mac/WebCoreSystemInterface.h:
20 * platform/mac/WebCoreSystemInterface.mm:
21 * WebCore.xcodeproj/project.pbxproj:
22 Renamed SSLKeyGeneratorMac.mm to .cpp, as it doesn't use any Objective C any more.
23 Removed WebCoreKeyGenerator, as we no longer need an interface to WebKit.
24
25 * platform/LocalizationStrategy.h:
26 * platform/LocalizedStrings.cpp:
27 (WebCore::keygenMenuItem512):
28 (WebCore::keygenMenuItem1024):
29 (WebCore::keygenMenuItem2048):
30 (WebCore::keygenKeychainItemName):
31 * platform/LocalizedStrings.h:
32 Added strings used by keygen element, now that the code using them is in WebCore.
33
34 * platform/mac/SSLKeyGeneratorMac.cpp: Copied from Source/WebCore/platform/mac/SSLKeyGeneratorMac.mm.
35 (WebCore::getSupportedKeySizes):
36 (WebCore::signedPublicKeyAndChallengeString):
37 Moved the code from WebKit. There is never any need to provide implementation at runtime,
38 like old code was doing.
39
40 * platform/win/SSLKeyGeneratorWin.cpp: (WebCore::WebCore::getSupportedKeySizes):
41 Added a FIXME about localization. Note that Safari for Windows doesn't support keygen.
42