Changeset 76908 in webkit
- Timestamp:
- Jan 27, 2011 7:09:48 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r76903 r76908 1 2011-01-27 Maciej Stachowiak <mjs@apple.com> 2 3 Reviewed by Darin Adler. 4 5 execCommand("Paste") doesn't work in WebKitTestRunner 6 https://bugs.webkit.org/show_bug.cgi?id=52785 7 8 Unskip paste tests, except the ones that still fail. 9 10 * platform/mac-wk2/Skipped: 11 1 12 2011-01-27 Emil A Eklund <eae@chromium.org> 2 13 -
trunk/LayoutTests/platform/mac-wk2/Skipped
r76846 r76908 57 57 # WebKitTestRunner needs an implementation of eventSender 58 58 # <https://bugs.webkit.org/show_bug.cgi?id=42194> 59 editing/pasteboard/emacs-ctrl-k-y-001.html 60 editing/pasteboard/drag-drop-dead-frame.html 61 editing/pasteboard/drag-drop-modifies-page.html 62 editing/pasteboard/drag-selected-image-to-contenteditable.html 63 editing/pasteboard/drop-link.html 64 editing/pasteboard/drop-text-events-sideeffect.html 65 editing/pasteboard/drop-text-events.html 66 editing/pasteboard/drop-text-without-selection.html 67 editing/pasteboard/emacs-ctrl-a-k-y.html 68 editing/pasteboard/smart-drag-drop.html 69 editing/pasteboard/smart-paste-001.html 70 editing/pasteboard/smart-paste-002.html 71 editing/pasteboard/smart-paste-003.html 72 editing/pasteboard/smart-paste-004.html 73 editing/pasteboard/smart-paste-005.html 74 editing/pasteboard/smart-paste-007.html 75 editing/pasteboard/smart-paste-008.html 76 editing/pasteboard/subframe-dragndrop-1.html 59 77 inspector/timeline-event-dispatch.html 60 78 fast/text/offsetForPosition-complex-fallback.html … … 1092 1110 media/restore-from-page-cache.html 1093 1111 1094 # execCommand("Paste") doesn't work in WebKitTestRunner1095 # <https://bugs.webkit.org/show_bug.cgi?id=52785>1096 editing/pasteboard/copy-null-characters.html1097 editing/execCommand/4128080-2.html1098 editing/execCommand/5939887.html1099 editing/execCommand/copy-without-selection.html1100 editing/execCommand/enabling-and-selection.html1101 editing/execCommand/paste-1.html1102 editing/execCommand/paste-2.html1103 editing/execCommand/paste-and-match-style-event.html1104 editing/pasteboard/19644-1.html1105 editing/pasteboard/19644-2.html1106 editing/pasteboard/3976872.html1107 editing/pasteboard/4076267-2.html1108 editing/pasteboard/4076267-3.html1109 editing/pasteboard/4076267.html1110 editing/pasteboard/4242293-1.html1111 editing/pasteboard/4242293.html1112 editing/pasteboard/4641033.html1113 editing/pasteboard/4922709.html1114 editing/pasteboard/4944770-1.html1115 editing/pasteboard/4989774.html1116 editing/pasteboard/5006779.html1117 editing/pasteboard/5027857.html1118 editing/pasteboard/5028447.html1119 editing/pasteboard/5065605.html1120 editing/pasteboard/5071074.html1121 editing/pasteboard/5075944-2.html1122 editing/pasteboard/5075944.html1123 editing/pasteboard/5247341.html1124 editing/pasteboard/5368833.html1125 editing/pasteboard/5478250.html1126 editing/pasteboard/5601583-1.html1127 editing/pasteboard/5665299.html1128 editing/pasteboard/5761530-1.html1129 editing/pasteboard/5780697-2.html1130 editing/pasteboard/block-wrappers-necessary.html1131 editing/pasteboard/copy-backslash-with-euc.html1132 editing/pasteboard/copy-in-password-field.html1133 editing/pasteboard/copy-paste-bidi.html1134 editing/pasteboard/copy-paste-float.html1135 editing/pasteboard/copy-resolves-urls.html1136 editing/pasteboard/copy-standalone-image.html1137 editing/pasteboard/cut-text-001.html1138 editing/pasteboard/display-block-on-spans.html1139 editing/pasteboard/drag-drop-dead-frame.html1140 editing/pasteboard/drag-drop-modifies-page.html1141 editing/pasteboard/drag-selected-image-to-contenteditable.html1142 editing/pasteboard/drop-link.html1143 editing/pasteboard/drop-text-events-sideeffect.html1144 editing/pasteboard/drop-text-events.html1145 editing/pasteboard/drop-text-without-selection.html1146 editing/pasteboard/emacs-ctrl-a-k-y.html1147 editing/pasteboard/emacs-ctrl-k-y-001.html1148 editing/pasteboard/get-data-text-plain-paste.html1149 editing/pasteboard/input-field-1.html1150 editing/pasteboard/page-zoom.html1151 editing/pasteboard/paste-4035648-fix.html1152 editing/pasteboard/paste-4038267-fix.html1153 editing/pasteboard/paste-4039777-fix.html1154 editing/pasteboard/paste-blockquote-before-blockquote.html1155 editing/pasteboard/paste-double-nested-blockquote-before-blockquote.html1156 editing/pasteboard/paste-event-only-once.html1157 editing/pasteboard/paste-line-endings-001.html1158 editing/pasteboard/paste-line-endings-002.html1159 editing/pasteboard/paste-line-endings-003.html1160 editing/pasteboard/paste-line-endings-004.html1161 editing/pasteboard/paste-line-endings-005.html1162 editing/pasteboard/paste-line-endings-006.html1163 editing/pasteboard/paste-line-endings-007.html1164 editing/pasteboard/paste-line-endings-008.html1165 editing/pasteboard/paste-line-endings-009.html1166 editing/pasteboard/paste-line-endings-010.html1167 editing/pasteboard/paste-list-001.html1168 editing/pasteboard/paste-list-002.html1169 editing/pasteboard/paste-list-003.html1170 editing/pasteboard/paste-list-004.html1171 editing/pasteboard/paste-match-style-001.html1172 editing/pasteboard/paste-match-style-002.html1173 editing/pasteboard/paste-noscript-svg.html1174 editing/pasteboard/paste-noscript-xhtml.xhtml1175 editing/pasteboard/paste-noscript.html1176 editing/pasteboard/paste-plaintext-user-select-none.html1177 editing/pasteboard/paste-pre-001.html1178 editing/pasteboard/paste-pre-002.html1179 editing/pasteboard/paste-RTFD.html1180 editing/pasteboard/paste-table-001.html1181 editing/pasteboard/paste-table-002.html1182 editing/pasteboard/paste-table-003.html1183 editing/pasteboard/paste-table-cells.html1184 editing/pasteboard/paste-text-001.html1185 editing/pasteboard/paste-text-002.html1186 editing/pasteboard/paste-text-003.html1187 editing/pasteboard/paste-text-004.html1188 editing/pasteboard/paste-text-005.html1189 editing/pasteboard/paste-text-006.html1190 editing/pasteboard/paste-text-007.html1191 editing/pasteboard/paste-text-008.html1192 editing/pasteboard/paste-text-009.html1193 editing/pasteboard/paste-text-010.html1194 editing/pasteboard/paste-text-011.html1195 editing/pasteboard/paste-text-012.html1196 editing/pasteboard/paste-text-013.html1197 editing/pasteboard/paste-text-014.html1198 editing/pasteboard/paste-text-015.html1199 editing/pasteboard/paste-text-016.html1200 editing/pasteboard/paste-text-017.html1201 editing/pasteboard/paste-text-018.html1202 editing/pasteboard/paste-text-019.html1203 editing/pasteboard/paste-text-at-tabspan-001.html1204 editing/pasteboard/paste-text-at-tabspan-002.html1205 editing/pasteboard/paste-text-at-tabspan-003.html1206 editing/pasteboard/paste-text-events.html1207 editing/pasteboard/paste-TIFF.html1208 editing/pasteboard/paste-unrendered-select.html1209 editing/pasteboard/paste-visible-script.html1210 editing/pasteboard/paste-xml.xhtml1211 editing/pasteboard/pasting-tabs.html1212 editing/pasteboard/select-element-1.html1213 editing/pasteboard/smart-drag-drop.html1214 editing/pasteboard/smart-paste-001.html1215 editing/pasteboard/smart-paste-002.html1216 editing/pasteboard/smart-paste-003-trailing-whitespace.html1217 editing/pasteboard/smart-paste-003.html1218 editing/pasteboard/smart-paste-004.html1219 editing/pasteboard/smart-paste-005.html1220 editing/pasteboard/smart-paste-006.html1221 editing/pasteboard/smart-paste-007.html1222 editing/pasteboard/smart-paste-008.html1223 editing/pasteboard/styled-element-markup.html1224 editing/pasteboard/subframe-dragndrop-1.html1225 editing/pasteboard/testcase-9507.html1226 editing/pasteboard/undoable-fragment-removes.html1227 editing/style/5065910.html1228 editing/style/apply-through-end-of-document.html1229 editing/style/font-family-with-space.html1230 fast/forms/plaintext-mode-1.html1231 fast/forms/plaintext-mode-2.html1232 fast/forms/textarea-paste-newline.html1233 http/tests/misc/copy-resolves-urls.html1234 platform/mac/editing/pasteboard/text-precomposed.html1235 1236 1112 # execCommand("undo") doesn't work in WebKit2 1237 1113 # <rdar://problem/8862023> 1114 fast/forms/input-paste-undo.html 1115 editing/pasteboard/undoable-fragment-removes.html 1116 fast/forms/plaintext-mode-1.html 1238 1117 editing/deleting/delete-and-undo.html 1239 1118 editing/execCommand/format-block-multiple-paragraphs-in-pre.html … … 2291 2170 inspector/timeline-script-tag-1.html 2292 2171 2172 # Crashes the WebProcess 2173 editing/pasteboard/copy-standalone-image.html 2174 2175 # Mysterious failure after enabling paste tests 2176 platform/mac/editing/pasteboard/text-precomposed.html 2177 2293 2178 ### END OF (3) Unclassified failures 2294 2179 ######################################## … … 2323 2208 platform/mac/plugins/throw-on-dealloc.html 2324 2209 2210 # WebKitTestRunner doesn't have objCPlugin 2211 # (but these tests sound like things we may want to test another way) 2212 editing/pasteboard/paste-RTFD.html 2213 editing/pasteboard/paste-TIFF.html 2214 2325 2215 # WebKitTestRunner doesn't have eventSender.enableDOMUIEventLogging 2326 2216 platform/mac/fast/events/objc-event-api.html -
trunk/Source/WebKit2/ChangeLog
r76872 r76908 1 2011-01-27 Maciej Stachowiak <mjs@apple.com> 2 3 Reviewed by Darin Adler. 4 5 execCommand("Paste") doesn't work in WebKitTestRunner 6 https://bugs.webkit.org/show_bug.cgi?id=52785 7 8 Thread through the new JavaScriptCanAccessClipboard setting. 9 10 * Shared/WebPreferencesStore.h: 11 * UIProcess/API/C/WKPreferences.cpp: 12 (WKPreferencesSetJavaScriptCanAccessClipboard): 13 (WKPreferencesGetJavaScriptCanAccessClipboard): 14 * UIProcess/API/C/WKPreferences.h: 15 * WebProcess/WebPage/WebPage.cpp: 16 (WebKit::WebPage::updatePreferences): 17 1 18 2011-01-27 Nate Chapin <japhet@chromium.org> 2 19 -
trunk/Source/WebKit2/Shared/WebPreferencesStore.h
r76817 r76908 66 66 macro(PaginateDuringLayoutEnabled, paginateDuringLayoutEnabled, Bool, bool, false) \ 67 67 macro(DOMPasteAllowed, domPasteAllowed, Bool, bool, false) \ 68 macro(JavaScriptCanAccessClipboard, javaScriptCanAccessClipboard, Bool, bool, false) \ 68 69 macro(ShouldPrintBackgrounds, shouldPrintBackgrounds, Bool, bool, false) \ 69 70 \ -
trunk/Source/WebKit2/UIProcess/API/C/WKPreferences.cpp
r76654 r76908 460 460 return toImpl(preferencesRef)->domPasteAllowed(); 461 461 } 462 463 void WKPreferencesSetJavaScriptCanAccessClipboard(WKPreferencesRef preferencesRef, bool enabled) 464 { 465 toImpl(preferencesRef)->setJavaScriptCanAccessClipboard(enabled); 466 } 467 468 bool WKPreferencesGetJavaScriptCanAccessClipboard(WKPreferencesRef preferencesRef) 469 { 470 return toImpl(preferencesRef)->javaScriptCanAccessClipboard(); 471 } -
trunk/Source/WebKit2/UIProcess/API/C/WKPreferences.h
r75979 r76908 147 147 WK_EXPORT bool WKPreferencesGetShouldPrintBackgrounds(WKPreferencesRef preferences); 148 148 149 // Defaults to false. 150 WK_EXPORT void WKPreferencesSetJavaScriptCanAccessClipboard(WKPreferencesRef preferencesRef, bool enabled); 151 WK_EXPORT bool WKPreferencesGetJavaScriptCanAccessClipboard(WKPreferencesRef preferencesRef); 152 149 153 #ifdef __cplusplus 150 154 } -
trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp
r76824 r76908 1265 1265 settings->setPaginateDuringLayoutEnabled(store.getBoolValueForKey(WebPreferencesKey::paginateDuringLayoutEnabledKey())); 1266 1266 settings->setDOMPasteAllowed(store.getBoolValueForKey(WebPreferencesKey::domPasteAllowedKey())); 1267 settings->setJavaScriptCanAccessClipboard(store.getBoolValueForKey(WebPreferencesKey::javaScriptCanAccessClipboardKey())); 1267 1268 settings->setShouldPrintBackgrounds(store.getBoolValueForKey(WebPreferencesKey::shouldPrintBackgroundsKey())); 1268 1269 -
trunk/Tools/ChangeLog
r76860 r76908 1 2011-01-27 Maciej Stachowiak <mjs@apple.com> 2 3 Reviewed by Darin Adler. 4 5 execCommand("Paste") doesn't work in WebKitTestRunner 6 https://bugs.webkit.org/show_bug.cgi?id=52785 7 8 Enable both of the settings needed to allow paste. 9 10 * WebKitTestRunner/TestController.cpp: 11 (WTR::TestController::resetStateToConsistentValues): 12 1 13 2011-01-27 Jacob Dinu <dinu.jacob@nokia.com> 2 14 -
trunk/Tools/WebKitTestRunner/TestController.cpp
r76811 r76908 347 347 WKPreferencesSetDeveloperExtrasEnabled(preferences, true); 348 348 WKPreferencesSetJavaScriptCanOpenWindowsAutomatically(preferences, true); 349 WKPreferencesSetJavaScriptCanAccessClipboard(preferences, true); 350 WKPreferencesSetDOMPasteAllowed(preferences, true); 349 351 350 352 static WKStringRef standardFontFamily = WKStringCreateWithUTF8CString("Times");
Note: See TracChangeset
for help on using the changeset viewer.