Changeset 144752 in webkit
- Timestamp:
- Mar 5, 2013 5:29:37 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r144748 r144752 1 2013-03-05 Tim Horton <timothy_horton@apple.com>, Grzegorz Czajkowski <g.czajkowski@samsung.com> 2 3 [WK2] WTR needs an implementation of setAsynchronousSpellCheckingEnabled 4 https://bugs.webkit.org/show_bug.cgi?id=81042 5 6 Reviewed by Enrica Casucci. 7 8 Gardening of the asynchronous spell checking tests. 9 10 * platform/efl-wk2/TestExpectations: 11 * platform/efl/TestExpectations: 12 Some tests need to be skipped as they require features not 13 implemented for EFL yet (pasteboard, grammar checking, text replacement). 14 15 * platform/gtk-wk2/TestExpectations: 16 * platform/mac-wk2/TestExpectations: 17 * platform/qt-5.0-wk2/TestExpectations: 18 Skip asynchronous spell checking for GTK+, Mac, Qt unless 19 they implement TextChecker::requestCheckingOfText. 20 21 * platform/wk2/TestExpectations: 22 Remove asynchronous spell checking tests from global wk2's 23 as they are passing for EFL. 24 1 25 2013-03-05 Tommy Widenflycht <tommyw@google.com> 2 26 -
trunk/LayoutTests/platform/efl-wk2/TestExpectations
r144639 r144752 326 326 # Needs grammar checking 327 327 Bug(EFL) editing/spelling/grammar-edit-word.html [ Failure ] 328 Bug(EFL) editing/spelling/grammar-markers.html [ Failure ] 329 Bug(EFL) editing/spelling/grammar-markers-hidpi.html [ Failure ] 330 Bug(EFL) editing/spelling/grammar-paste.html [ Failure ] 328 331 Bug(EFL) editing/spelling/markers.html [ Failure ] 332 333 # EFL's text checker doesn't support the text replacement feature. 334 Bug(EFL) editing/spelling/spelling-marker-description.html [ Failure ] 329 335 330 336 # Fails because MutationObservers are not notified at end-of-task. -
trunk/LayoutTests/platform/efl/TestExpectations
r144737 r144752 1022 1022 webkit.org/b/84338 editing/pasteboard/style-from-rules.html [ Failure ] 1023 1023 webkit.org/b/84338 editing/pasteboard/testcase-9507.html [ Failure ] 1024 webkit.org/b/84338 editing/spelling/spellcheck-async-mutation.html [ Failure ] 1025 webkit.org/b/84338 editing/spelling/spellcheck-queue.html [ Failure ] 1026 webkit.org/b/84338 editing/spelling/spellcheck-paste-disabled.html [ Failure ] 1027 webkit.org/b/84338 editing/spelling/spellcheck-paste.html [ Failure ] 1024 1028 webkit.org/b/84338 editing/style/apply-through-end-of-document.html [ Failure ] 1025 1029 webkit.org/b/84338 editing/style/non-inheritable-styles.html [ Failure ] … … 1414 1418 webkit.org/b/89830 fast/text/hyphenate-locale.html [ Skip ] 1415 1419 1416 # EFL's LayoutTestController does not implement setAsynchronousSpellCheckingEnabled1417 webkit.org/b/86637 editing/spelling/spellcheck-async.html [ Failure ]1418 webkit.org/b/86637 editing/spelling/spellcheck-async-mutation.html [ Failure ]1419 webkit.org/b/86637 editing/spelling/spellcheck-paste.html [ Failure ]1420 webkit.org/b/86637 editing/spelling/spellcheck-paste-disabled.html [ Failure ]1421 webkit.org/b/86637 editing/spelling/spellcheck-queue.html [ Failure ]1422 webkit.org/b/86637 editing/spelling/spellcheck-sequencenum.html [ Failure ]1423 webkit.org/b/86637 editing/spelling/spelling-marker-description.html [ Failure ]1424 1425 1420 # Missing test infrastructure, no gamepads available. 1426 1421 Bug(EFL) gamepad/gamepad-polling-access.html [ Failure ] -
trunk/LayoutTests/platform/gtk-wk2/TestExpectations
r143234 r144752 185 185 webkit.org/b/42194 fast/events/5056619.html [ Failure ] 186 186 webkit.org/b/42194 http/tests/security/drag-drop-same-unique-origin.html [ Failure ] 187 188 # Missing TextChecker::requestCheckingOfString() implementation for Gtk. 189 Bug(GTK) editing/spelling/grammar-markers.html [ Skip ] 190 Bug(GTK) editing/spelling/grammar-paste.html [ Skip ] 191 Bug(GTK) editing/spelling/grammar-markers-hidpi.html [ Skip ] 192 Bug(GTK) editing/spelling/spellcheck-async-mutation.html [ Skip ] 193 Bug(GTK) editing/spelling/spellcheck-async-remove-frame.html [ Skip ] 194 Bug(GTK) editing/spelling/spellcheck-async.html [ Skip ] 195 Bug(GTK) editing/spelling/spellcheck-queue.html [ Skip ] 196 Bug(GTK) editing/spelling/spellcheck-sequencenum.html [ Skip ] 197 Bug(GTK) editing/spelling/spelling-marker-description.html [ Skip ] 187 198 188 199 #//////////////////////////////////////////////////////////////////////////////////////// -
trunk/LayoutTests/platform/mac-wk2/TestExpectations
r144430 r144752 321 321 ### START OF (2) Classified failures without bug reports (yet) 322 322 323 # Missing TextChecker::requestCheckingOfString() implementation for Mac. 324 editing/spelling/grammar-markers.html 325 editing/spelling/grammar-paste.html 326 editing/spelling/grammar-markers-hidpi.html 327 editing/spelling/spellcheck-async-mutation.html 328 editing/spelling/spellcheck-async-remove-frame.html 329 editing/spelling/spellcheck-async.html 330 editing/spelling/spellcheck-queue.html 331 editing/spelling/spellcheck-sequencenum.html 332 editing/spelling/spelling-marker-description.html 333 323 334 ### END OF (2) Classified failures without bug reports (yet) 324 335 ######################################## -
trunk/LayoutTests/platform/qt-5.0-wk2/TestExpectations
r144639 r144752 739 739 svg/text/select-x-list-with-tspans-1.svg 740 740 svg/text/select-x-list-1.svg 741 742 # Missing TextChecker::requestCheckingOfString() implementation for Qt. 743 editing/spelling/grammar-markers.html 744 editing/spelling/grammar-paste.html 745 editing/spelling/grammar-markers-hidpi.html 746 editing/spelling/spellcheck-async-mutation.html 747 editing/spelling/spellcheck-async-remove-frame.html 748 editing/spelling/spellcheck-async.html 749 editing/spelling/spellcheck-queue.html 750 editing/spelling/spellcheck-sequencenum.html 751 editing/spelling/spelling-marker-description.html -
trunk/LayoutTests/platform/wk2/TestExpectations
r144677 r144752 528 528 fast/block/lineboxcontain/block-glyphs.html 529 529 fast/block/lineboxcontain/font.html 530 531 # [WK2] WTR needs an implementation of setAsynchronousSpellCheckingEnabled.532 # https://bugs.webkit.org/show_bug.cgi?id=81042533 editing/spelling/grammar-markers.html534 editing/spelling/grammar-paste.html535 editing/spelling/grammar-markers-hidpi.html536 editing/spelling/spellcheck-async-mutation.html537 editing/spelling/spellcheck-async-remove-frame.html538 editing/spelling/spellcheck-async.html539 editing/spelling/spellcheck-queue.html540 editing/spelling/spellcheck-sequencenum.html541 editing/spelling/spelling-marker-description.html542 530 543 531 # WTR needs an implementation of setAutomaticLinkDetectionEnabled. -
trunk/Source/WebKit2/ChangeLog
r144745 r144752 1 2013-03-05 Tim Horton <timothy_horton@apple.com>, Grzegorz Czajkowski <g.czajkowski@samsung.com> 2 3 [WK2] WTR needs an implementation of setAsynchronousSpellCheckingEnabled 4 https://bugs.webkit.org/show_bug.cgi?id=81042 5 6 Reviewed by Enrica Casucci. 7 8 Expose WK2 setting to enable/disabled asynchronous spell checking. 9 It's used by WebKitTestRunner to reset the setting at the beginning 10 of the test. 11 WebKit2 ports might be interested in this setting if they are going 12 to enable this feature. 13 14 * Shared/WebPreferencesStore.h: 15 * UIProcess/API/C/WKPreferences.cpp: 16 (WKPreferencesSetAsynchronousSpellCheckingEnabled): 17 (WKPreferencesGetAsynchronousSpellCheckingEnabled): 18 * UIProcess/API/C/WKPreferences.h: 19 * WebProcess/InjectedBundle/API/c/WKBundle.cpp: 20 (WKBundleSetAsynchronousSpellCheckingEnabled): 21 * WebProcess/InjectedBundle/API/c/WKBundlePrivate.h: 22 * WebProcess/InjectedBundle/InjectedBundle.cpp: 23 (WebKit::InjectedBundle::setAsynchronousSpellCheckingEnabled): 24 * WebProcess/InjectedBundle/InjectedBundle.h: 25 * WebProcess/WebPage/WebPage.cpp: 26 (WebKit::WebPage::updatePreferences): 27 1 28 2013-03-03 Grzegorz Czajkowski <g.czajkowski@samsung.com> 2 29 -
trunk/Source/WebKit2/Shared/WebPreferencesStore.h
r144550 r144752 100 100 macro(ShouldPrintBackgrounds, shouldPrintBackgrounds, Bool, bool, false) \ 101 101 macro(FullScreenEnabled, fullScreenEnabled, Bool, bool, false) \ 102 macro(AsynchronousSpellCheckingEnabled, asynchronousSpellCheckingEnabled, Bool, bool, false) \ 102 103 macro(WebSecurityEnabled, webSecurityEnabled, Bool, bool, true) \ 103 104 macro(AllowUniversalAccessFromFileURLs, allowUniversalAccessFromFileURLs, Bool, bool, false) \ -
trunk/Source/WebKit2/UIProcess/API/C/WKPreferences.cpp
r144550 r144752 659 659 } 660 660 661 void WKPreferencesSetAsynchronousSpellCheckingEnabled(WKPreferencesRef preferencesRef, bool enabled) 662 { 663 toImpl(preferencesRef)->setAsynchronousSpellCheckingEnabled(enabled); 664 } 665 666 bool WKPreferencesGetAsynchronousSpellCheckingEnabled(WKPreferencesRef preferencesRef) 667 { 668 return toImpl(preferencesRef)->asynchronousSpellCheckingEnabled(); 669 } 670 661 671 void WKPreferencesSetAVFoundationEnabled(WKPreferencesRef preferencesRef, bool enabled) 662 672 { -
trunk/Source/WebKit2/UIProcess/API/C/WKPreferences.h
r139899 r144752 233 233 WK_EXPORT bool WKPreferencesGetQTKitEnabled(WKPreferencesRef preferencesRef); 234 234 235 // Defaults to false 236 WK_EXPORT void WKPreferencesSetAsynchronousSpellCheckingEnabled(WKPreferencesRef preferencesRef, bool enabled); 237 WK_EXPORT bool WKPreferencesGetAsynchronousSpellCheckingEnabled(WKPreferencesRef preferencesRef); 238 235 239 #ifdef __cplusplus 236 240 } -
trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundle.cpp
r142509 r144752 214 214 } 215 215 216 void WKBundleSetAsynchronousSpellCheckingEnabled(WKBundleRef bundleRef, WKBundlePageGroupRef pageGroupRef, bool enabled) 217 { 218 toImpl(bundleRef)->setAsynchronousSpellCheckingEnabled(toImpl(pageGroupRef), enabled); 219 } 220 216 221 void WKBundleReportException(JSContextRef context, JSValueRef exception) 217 222 { -
trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePrivate.h
r142509 r144752 68 68 WK_EXPORT uint64_t WKBundleGetWebNotificationID(WKBundleRef bundle, JSContextRef context, JSValueRef notification); 69 69 WK_EXPORT WKDataRef WKBundleCreateWKDataFromUInt8Array(WKBundleRef bundle, JSContextRef context, JSValueRef data); 70 WK_EXPORT void WKBundleSetAsynchronousSpellCheckingEnabled(WKBundleRef bundleRef, WKBundlePageGroupRef pageGroupRef, bool enabled); 70 71 71 72 // UserContent API -
trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp
r144568 r144752 348 348 } 349 349 350 void InjectedBundle::setAsynchronousSpellCheckingEnabled(WebPageGroupProxy* pageGroup, bool enabled) 351 { 352 const HashSet<Page*>& pages = PageGroup::pageGroup(pageGroup->identifier())->pages(); 353 for (HashSet<Page*>::iterator iter = pages.begin(); iter != pages.end(); ++iter) 354 (*iter)->settings()->setAsynchronousSpellCheckingEnabled(enabled); 355 } 356 350 357 void InjectedBundle::clearAllDatabases() 351 358 { -
trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.h
r142509 r144752 120 120 void removeOriginAccessWhitelistEntry(const String&, const String&, const String&, bool); 121 121 void resetOriginAccessWhitelists(); 122 void setAsynchronousSpellCheckingEnabled(WebPageGroupProxy*, bool); 122 123 int numberOfPages(WebFrame*, double, double); 123 124 int pageNumberForElementById(WebFrame*, const String&, double, double); -
trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp
r144670 r144752 2402 2402 2403 2403 settings->setLogsPageMessagesToSystemConsoleEnabled(store.getBoolValueForKey(WebPreferencesKey::logsPageMessagesToSystemConsoleEnabledKey())); 2404 settings->setAsynchronousSpellCheckingEnabled(store.getBoolValueForKey(WebPreferencesKey::asynchronousSpellCheckingEnabledKey())); 2404 2405 2405 2406 settings->setSmartInsertDeleteEnabled(store.getBoolValueForKey(WebPreferencesKey::smartInsertDeleteEnabledKey())); -
trunk/Tools/ChangeLog
r144748 r144752 1 2013-03-05 Tim Horton <timothy_horton@apple.com>, Grzegorz Czajkowski <g.czajkowski@samsung.com> 2 3 [WK2] WTR needs an implementation of setAsynchronousSpellCheckingEnabled 4 https://bugs.webkit.org/show_bug.cgi?id=81042 5 6 Reviewed by Enrica Casucci. 7 8 Add setAsynchronousSpellCheckingEnabled implementation for 9 WebKitTestRunner to have the possibility to test asynchronous 10 spell checking implementation from bug 109577. 11 12 * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: 13 * WebKitTestRunner/InjectedBundle/TestRunner.cpp: 14 (WTR::TestRunner::setAsynchronousSpellCheckingEnabled): 15 * WebKitTestRunner/InjectedBundle/TestRunner.h: 16 * WebKitTestRunner/TestController.cpp: 17 (WTR::TestController::resetStateToConsistentValues): 18 1 19 2013-03-05 Tommy Widenflycht <tommyw@google.com> 2 20 -
trunk/Tools/WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl
r144547 r144752 72 72 void dispatchPendingLoadRequests(); 73 73 void setCacheModel(in int model); 74 void setAsynchronousSpellCheckingEnabled(in boolean value); 74 75 75 76 // Special DOM functions. -
trunk/Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp
r144547 r144752 652 652 } 653 653 654 void TestRunner::setAsynchronousSpellCheckingEnabled(bool enabled) 655 { 656 WKBundleSetAsynchronousSpellCheckingEnabled(InjectedBundle::shared().bundle(), InjectedBundle::shared().pageGroup(), enabled); 657 } 658 654 659 void TestRunner::grantWebNotificationPermission(JSStringRef origin) 655 660 { -
trunk/Tools/WebKitTestRunner/InjectedBundle/TestRunner.h
r144547 r144752 116 116 void dispatchPendingLoadRequests(); 117 117 void setCacheModel(int); 118 void setAsynchronousSpellCheckingEnabled(bool); 118 119 119 120 // Special DOM functions. -
trunk/Tools/WebKitTestRunner/TestController.cpp
r144415 r144752 570 570 WKPreferencesSetScreenFontSubstitutionEnabled(preferences, true); 571 571 WKPreferencesSetInspectorUsesWebKitUserInterface(preferences, true); 572 WKPreferencesSetAsynchronousSpellCheckingEnabled(preferences, false); 572 573 #if !PLATFORM(MAC) 573 574 WKTextCheckerContinuousSpellCheckingEnabledStateChanged(true);
Note: See TracChangeset
for help on using the changeset viewer.