Changeset 87175 in webkit


Ignore:
Timestamp:
May 24, 2011 11:39:04 AM (13 years ago)
Author:
qi.2.zhang@nokia.com
Message:

2011-05-24 Qi Zhang <qi.2.zhang@nokia.com>

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 <qi.2.zhang@nokia.com>

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):
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r87170 r87175  
     12011-05-24  Qi Zhang  <qi.2.zhang@nokia.com>
     2
     3        Reviewed by Adam Roben.
     4
     5        WebKitTestRunner needs layoutTestController.setJavaScriptCanAccessClipboard
     6        https://bugs.webkit.org/show_bug.cgi?id=42669
     7
     8        Fixes a typo issue for patch 94265.
     9
     10        * WebProcess/InjectedBundle/API/c/WKBundle.cpp:
     11        (WKBundleSetJavaScriptCanAccessClipboard):
     12
    1132011-05-24  Sam Weinig  <sam@webkit.org>
    214
  • trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundle.cpp

    r87072 r87175  
    144144}
    145145
    146 WK_EXPORT void WKBundleSetJavaScriptCanAccessClipboard(WKBundleRef bundleRef, WKBundlePageGroupRef pageGroupRef, bool enabled)
     146void WKBundleSetJavaScriptCanAccessClipboard(WKBundleRef bundleRef, WKBundlePageGroupRef pageGroupRef, bool enabled)
    147147{
    148148    toImpl(bundleRef)->setJavaScriptCanAccessClipboard(toImpl(pageGroupRef), enabled);
  • trunk/Tools/ChangeLog

    r87162 r87175  
     12011-05-24  Qi Zhang  <qi.2.zhang@nokia.com>
     2
     3        Reviewed by Adam Roben.
     4
     5        WebKitTestRunner needs layoutTestController.setJavaScriptCanAccessClipboard
     6        https://bugs.webkit.org/show_bug.cgi?id=42669
     7
     8        Fixes the regression issue caused by patch 94265. The patch didn't intialize the setting before the
     9        layouttest starting, it will make the test cases after editing/execCommand/clipboard-access.html failed.
     10        Because that case changed the setting.
     11
     12        * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
     13        (WTR::InjectedBundle::beginTesting):
     14
    1152011-05-24  Csaba Osztrogonác  <ossy@webkit.org>
    216
  • trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp

    r85019 r87175  
    179179    WKBundleRemoveAllVisitedLinks(m_bundle);
    180180    WKBundleSetAllowUniversalAccessFromFileURLs(m_bundle, m_pageGroup, true);
     181    WKBundleSetJavaScriptCanAccessClipboard(m_bundle, m_pageGroup, true);
    181182
    182183    WKBundleRemoveAllUserContent(m_bundle, m_pageGroup);
Note: See TracChangeset for help on using the changeset viewer.