[Webkit-unassigned] [Bug 80981] [GTK] [WK2] Add dom paste setting to WebKit2 GTK+ API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 13 11:29:16 PDT 2012


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





--- Comment #4 from Carlos Garcia Campos <cgarcia at igalia.com>  2012-03-13 11:29:16 PST ---
(From update of attachment 131591)
View in context: https://bugs.webkit.org/attachment.cgi?id=131591&action=review

Patch looks good to me in general, but I'm a bit confusing about what dom paste is reading the gtk-doc comments.

> Source/WebKit2/UIProcess/API/gtk/WebKitSettings.cpp:851
> +     * WebKitSettings:enable-dom-paste

Trailing : missing here.

>> Source/WebKit2/UIProcess/API/gtk/WebKitSettings.cpp:854
>> +     * Whether to enable DOM paste. If set to %TRUE, document.execCommand("Paste")
>> +     * will correctly execute and paste content of the clipboard.
> 
> What's missing here is some context as to why this is disabled by default and why one would want to enable it.

What is dom paste? Does this mean if this setting is disabled "Paste" editing command doesn't work? What does "correctly" means in this case? why this setting guarantees the command is executed correctly.

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