[Webkit-unassigned] [Bug 80981] [GTK] [WK2] Add javascript clipboard functionality settings to WebKit2 GTK+ API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 14 09:10:29 PDT 2012


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





--- Comment #15 from Martin Robinson <mrobinson at webkit.org>  2012-03-14 09:10:29 PST ---

(In reply to comment #11)
> Just add a little more info, the Clipboard functionality "paste" is covered by -enable-dom-paste and the "cut/copy" is covered by "javascript-can-access-clipboard". And I think I should have cover the "cut/copy" funtionality first.

Yeah, we should add all of the clipboard settings in one patch, I think.

(In reply to comment #13)
> If I enable the web settings it passes the test works as expected and fails if the websettings is disabled.

Take a look at the other tests that are in Source/WebKit2/UIProcess/API/gtk/tests to see how to add a new test. There are some basic sanity tests we do for simple settings like this. I think just the basic sanity test is fine, since all this does is flip a switch in WebCore. This is especially true if there are already layout tests that test the WebCore setting.

-- 
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