[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:07:15 PDT 2012


--- Comment #14 from Martin Robinson <mrobinson at webkit.org>  2012-03-14 09:07:15 PST ---
(In reply to comment #7)
> (From update of attachment 131798 [details])
> So this setting only affects to Paste command when invoked from JavaScript or DOM bindings API? That could be clarified in the documentation. I think it would be interesting to test not only the settings API but the effect of enabling/disabling this setting, adding a test case to TestEditor.cpp. There are not DOM bindings in WebKit2, so the name dom paste could be confusing.

The DOM you access from JavaScript is actually a type of DOM binding. I think "DOM" or something like it is important here to disassociate this from other pastes, which this does not affect.

What I'm really missing from this patch is why anyone would want to enable or disable the DOM paste setting. Is it for security reasons? Is it nonstandard? I think someone without WebKit experience isn't really going to know what this is for. In fact, I only have a vague intuition that it's for security reasons. The documentaiton should really explain it.

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