[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
Thu Mar 15 09:43:52 PDT 2012


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





--- Comment #20 from Martin Robinson <mrobinson at webkit.org>  2012-03-15 09:43:52 PST ---
(From update of attachment 132005)
View in context: https://bugs.webkit.org/attachment.cgi?id=132005&action=review

Did you see my comment? Perhaps we should just expose WebKitSettings:javascript-can-access-clipboard and make it control both WKPreferencesSetJavaScriptCanAccessClipboard and WKPreferencesSetDOMPasteAllowed. I'm curious to here what others think.

> Source/WebKit2/UIProcess/API/gtk/WebKitSettings.cpp:861
> +     * set to %TRUE, then it allows cut/copy command to be executed when

Nit: allows cut and copy commands

> Source/WebKit2/UIProcess/API/gtk/WebKitSettings.cpp:862
> +     * invoked from java script by using document.execCommand().

java script -> JavaScript

> Source/WebKit2/UIProcess/API/gtk/WebKitSettings.cpp:867
> +                                                         _("JavaScript can access Clipboard"),

Clipboard -> clipboard

> Source/WebKit2/UIProcess/API/gtk/WebKitSettings.cpp:876
> +     * is %FALSE. If set to %TRUE, then it allows paste command to be

allows paste command -> allows paste commands

> Source/WebKit2/UIProcess/API/gtk/WebKitSettings.cpp:877
> +     * executed when invoked from java script by using document.execCommand().

JavaScipt

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