Title: [87175] trunk
- Revision
- 87175
- Author
- [email protected]
- Date
- 2011-05-24 11:39:04 -0700 (Tue, 24 May 2011)
Log Message
2011-05-24 Qi Zhang <[email protected]>
Reviewed by Adam Roben.
WebKitTestRunner needs layoutTestController.setJavaScriptCanAccessClipboard
https://bugs.webkit.org/show_bug.cgi?id=42669
Fixes a typo issue for patch 94265.
* WebProcess/InjectedBundle/API/c/WKBundle.cpp:
(WKBundleSetJavaScriptCanAccessClipboard):
2011-05-24 Qi Zhang <[email protected]>
Reviewed by Adam Roben.
WebKitTestRunner needs layoutTestController.setJavaScriptCanAccessClipboard
https://bugs.webkit.org/show_bug.cgi?id=42669
Fixes the regression issue caused by patch 94265. The patch didn't intialize the setting before the
layouttest starting, it will make the test cases after editing/execCommand/clipboard-access.html failed.
Because that case changed the setting.
* WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
(WTR::InjectedBundle::beginTesting):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (87174 => 87175)
--- trunk/Source/WebKit2/ChangeLog 2011-05-24 18:24:56 UTC (rev 87174)
+++ trunk/Source/WebKit2/ChangeLog 2011-05-24 18:39:04 UTC (rev 87175)
@@ -1,3 +1,15 @@
+2011-05-24 Qi Zhang <[email protected]>
+
+ Reviewed by Adam Roben.
+
+ WebKitTestRunner needs layoutTestController.setJavaScriptCanAccessClipboard
+ https://bugs.webkit.org/show_bug.cgi?id=42669
+
+ Fixes a typo issue for patch 94265.
+
+ * WebProcess/InjectedBundle/API/c/WKBundle.cpp:
+ (WKBundleSetJavaScriptCanAccessClipboard):
+
2011-05-24 Sam Weinig <[email protected]>
Reviewed by John Sullivan.
Modified: trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundle.cpp (87174 => 87175)
--- trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundle.cpp 2011-05-24 18:24:56 UTC (rev 87174)
+++ trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundle.cpp 2011-05-24 18:39:04 UTC (rev 87175)
@@ -143,7 +143,7 @@
toImpl(bundleRef)->setFrameFlatteningEnabled(toImpl(pageGroupRef), enabled);
}
-WK_EXPORT void WKBundleSetJavaScriptCanAccessClipboard(WKBundleRef bundleRef, WKBundlePageGroupRef pageGroupRef, bool enabled)
+void WKBundleSetJavaScriptCanAccessClipboard(WKBundleRef bundleRef, WKBundlePageGroupRef pageGroupRef, bool enabled)
{
toImpl(bundleRef)->setJavaScriptCanAccessClipboard(toImpl(pageGroupRef), enabled);
}
Modified: trunk/Tools/ChangeLog (87174 => 87175)
--- trunk/Tools/ChangeLog 2011-05-24 18:24:56 UTC (rev 87174)
+++ trunk/Tools/ChangeLog 2011-05-24 18:39:04 UTC (rev 87175)
@@ -1,3 +1,17 @@
+2011-05-24 Qi Zhang <[email protected]>
+
+ Reviewed by Adam Roben.
+
+ WebKitTestRunner needs layoutTestController.setJavaScriptCanAccessClipboard
+ https://bugs.webkit.org/show_bug.cgi?id=42669
+
+ Fixes the regression issue caused by patch 94265. The patch didn't intialize the setting before the
+ layouttest starting, it will make the test cases after editing/execCommand/clipboard-access.html failed.
+ Because that case changed the setting.
+
+ * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
+ (WTR::InjectedBundle::beginTesting):
+
2011-05-24 Csaba Osztrogonác <[email protected]>
Reviewed by Kenneth Rohde Christiansen.
Modified: trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp (87174 => 87175)
--- trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp 2011-05-24 18:24:56 UTC (rev 87174)
+++ trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp 2011-05-24 18:39:04 UTC (rev 87175)
@@ -178,6 +178,7 @@
WKBundleSetShouldTrackVisitedLinks(m_bundle, false);
WKBundleRemoveAllVisitedLinks(m_bundle);
WKBundleSetAllowUniversalAccessFromFileURLs(m_bundle, m_pageGroup, true);
+ WKBundleSetJavaScriptCanAccessClipboard(m_bundle, m_pageGroup, true);
WKBundleRemoveAllUserContent(m_bundle, m_pageGroup);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes