Changeset 87072 in webkit
- Timestamp:
- May 23, 2011 7:20:30 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r87071 r87072 1 2011-05-23 Qi Zhang <qi.2.zhang@nokia.com> 2 3 Reviewed by Darin Adler. 4 5 WebKitTestRunner needs layoutTestController.setJavaScriptCanAccessClipboard 6 https://bugs.webkit.org/show_bug.cgi?id=42669 7 8 Unskip test case due to the implementation setJavaScriptCanAccessClipboard in WebKitTestRunner. 9 10 * platform/mac-wk2/Skipped: 11 * platform/qt-wk2/Skipped: 12 1 13 2011-05-18 Pavel Podivilov <podivilov@chromium.org> 2 14 -
trunk/LayoutTests/platform/mac-wk2/Skipped
r87022 r87072 1244 1244 svg/custom/svg-disallowed-in-dashboard-object.html 1245 1245 1246 # WebKitTestRunner needs layoutTestController.setJavaScriptCanAccessClipboard1247 # <https://bugs.webkit.org/show_bug.cgi?id=42669>1248 editing/execCommand/clipboard-access.html1249 1250 1246 # WebKitTestRunner needs layoutTestController.queueReload 1251 1247 # <https://bugs.webkit.org/show_bug.cgi?id=42672> -
trunk/LayoutTests/platform/qt-wk2/Skipped
r87069 r87072 1685 1685 transitions/transition-shorthand-delay.html 1686 1686 transitions/negative-delay.html 1687 1688 # WebKitTestRunner needs layoutTestController.setJavaScriptCanAccessClipboard1689 # <https://bugs.webkit.org/show_bug.cgi?id=42669>1690 editing/execCommand/clipboard-access.html1691 1687 1692 1688 # WebKitTestRunner needs layoutTestController.queueReload -
trunk/Source/WebKit2/ChangeLog
r87065 r87072 1 2011-05-23 Qi Zhang <qi.2.zhang@nokia.com> 2 3 Reviewed by Darin Adler. 4 5 WebKitTestRunner needs layoutTestController.setJavaScriptCanAccessClipboard 6 https://bugs.webkit.org/show_bug.cgi?id=42669 7 8 Implement setJavaScriptCanAccessClipboard in WebKitTestRunner. 9 10 * WebProcess/InjectedBundle/API/c/WKBundle.cpp: 11 (WKBundleSetJavaScriptCanAccessClipboard): 12 * WebProcess/InjectedBundle/API/c/WKBundlePrivate.h: 13 * WebProcess/InjectedBundle/InjectedBundle.cpp: 14 (WebKit::InjectedBundle::setJavaScriptCanAccessClipboard): 15 * WebProcess/InjectedBundle/InjectedBundle.h: 16 1 17 2011-05-23 Csaba Osztrogonác <ossy@webkit.org> 2 18 -
trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundle.cpp
r85019 r87072 144 144 } 145 145 146 WK_EXPORT void WKBundleSetJavaScriptCanAccessClipboard(WKBundleRef bundleRef, WKBundlePageGroupRef pageGroupRef, bool enabled) 147 { 148 toImpl(bundleRef)->setJavaScriptCanAccessClipboard(toImpl(pageGroupRef), enabled); 149 } 150 146 151 void WKBundleAddOriginAccessWhitelistEntry(WKBundleRef bundleRef, WKStringRef sourceOrigin, WKStringRef destinationProtocol, WKStringRef destinationHost, bool allowDestinationSubdomains) 147 152 { -
trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePrivate.h
r85019 r87072 69 69 WK_EXPORT void WKBundleSetAllowFileAccessFromFileURLs(WKBundleRef bundle, WKBundlePageGroupRef pageGroup, bool enabled); 70 70 WK_EXPORT void WKBundleSetFrameFlatteningEnabled(WKBundleRef bundle, WKBundlePageGroupRef pageGroup, bool enabled); 71 WK_EXPORT void WKBundleSetJavaScriptCanAccessClipboard(WKBundleRef bundle, WKBundlePageGroupRef pageGroup, bool enabled); 71 72 WK_EXPORT void WKBundleClearAllDatabases(WKBundleRef bundle); 72 73 WK_EXPORT void WKBundleSetDatabaseQuota(WKBundleRef bundle, uint64_t); -
trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp
r85603 r87072 136 136 } 137 137 138 void InjectedBundle::setJavaScriptCanAccessClipboard(WebPageGroupProxy* pageGroup, bool enabled) 139 { 140 const HashSet<Page*>& pages = PageGroup::pageGroup(pageGroup->identifier())->pages(); 141 for (HashSet<Page*>::iterator iter = pages.begin(); iter != pages.end(); ++iter) 142 (*iter)->settings()->setJavaScriptCanAccessClipboard(enabled); 143 } 144 138 145 void InjectedBundle::addOriginAccessWhitelistEntry(const String& sourceOrigin, const String& destinationProtocol, const String& destinationHost, bool allowDestinationSubdomains) 139 146 { -
trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.h
r85019 r87072 95 95 void setAllowFileAccessFromFileURLs(WebPageGroupProxy*, bool); 96 96 void setFrameFlatteningEnabled(WebPageGroupProxy*, bool); 97 void setJavaScriptCanAccessClipboard(WebPageGroupProxy*, bool); 97 98 void addOriginAccessWhitelistEntry(const String&, const String&, const String&, bool); 98 99 void removeOriginAccessWhitelistEntry(const String&, const String&, const String&, bool); -
trunk/Tools/ChangeLog
r87043 r87072 1 2011-05-23 Qi Zhang <qi.2.zhang@nokia.com> 2 3 Reviewed by Darin Adler. 4 5 WebKitTestRunner needs layoutTestController.setJavaScriptCanAccessClipboard 6 https://bugs.webkit.org/show_bug.cgi?id=42669 7 8 Implement setJavaScriptCanAccessClipboard in WebKitTestRunner. 9 10 * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl: 11 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp: 12 (WTR::LayoutTestController::setJavaScriptCanAccessClipboard): 13 * WebKitTestRunner/InjectedBundle/LayoutTestController.h: 14 1 15 2011-05-22 Robert Hogan <robert@webkit.org> 2 16 -
trunk/Tools/WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl
r86977 r87072 51 51 void setAllowFileAccessFromFileURLs(in boolean value); 52 52 void setFrameFlatteningEnabled(in boolean value); 53 void setJavaScriptCanAccessClipboard(in boolean value); 53 54 void addOriginAccessWhitelistEntry(in DOMString sourceOrigin, in DOMString destinationProtocol, in DOMString destinationHost, in boolean allowDestinationSubdomains); 54 55 void removeOriginAccessWhitelistEntry(in DOMString sourceOrigin, in DOMString destinationProtocol, in DOMString destinationHost, in boolean allowDestinationSubdomains); -
trunk/Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.cpp
r86977 r87072 340 340 } 341 341 342 void LayoutTestController::setJavaScriptCanAccessClipboard(bool enabled) 343 { 344 WKBundleSetJavaScriptCanAccessClipboard(InjectedBundle::shared().bundle(), InjectedBundle::shared().pageGroup(), enabled); 345 } 346 342 347 void LayoutTestController::addOriginAccessWhitelistEntry(JSStringRef sourceOrigin, JSStringRef destinationProtocol, JSStringRef destinationHost, bool allowDestinationSubdomains) 343 348 { -
trunk/Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.h
r86977 r87072 80 80 void setAllowFileAccessFromFileURLs(bool); 81 81 void setFrameFlatteningEnabled(bool); 82 void setJavaScriptCanAccessClipboard(bool); 82 83 void addOriginAccessWhitelistEntry(JSStringRef sourceOrigin, JSStringRef destinationProtocol, JSStringRef destinationHost, bool allowDestinationSubdomains); 83 84 void removeOriginAccessWhitelistEntry(JSStringRef sourceOrigin, JSStringRef destinationProtocol, JSStringRef destinationHost, bool allowDestinationSubdomains);
Note: See TracChangeset
for help on using the changeset viewer.