[Webkit-unassigned] [Bug 52785] execCommand("Paste") doesn't work in WebKitTestRunner

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 20 13:32:41 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=52785


Ryosuke Niwa <rniwa at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rniwa at webkit.org




--- Comment #2 from Ryosuke Niwa <rniwa at webkit.org>  2011-01-20 13:32:41 PST ---
Both javaScriptCanAccessClipboard and isDOMPasteAllowed must return true for paste to work:

static bool supportedPaste(Frame* frame)
{
    Settings* settings = frame ? frame->settings() : 0;
    return settings && (settings->javaScriptCanAccessClipboard() ? settings->isDOMPasteAllowed() : 0);
}

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list