[Webkit-unassigned] [Bug 49167] [Qt] Turning off Javascript in QWebSettings disables QWebFrame::evaluateJavaScript

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 10 06:16:57 PST 2010


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





--- Comment #2 from Bernhard Rosenkraenzer <bero at arklinux.org>  2010-11-10 06:16:57 PST ---
Use case 1:

User is paranoid about JS bits downloaded from the net and wants them turned off, but we use local JS contained in the application for features like highlighting parts of the document the user is reading.


Use case 2:

Implementing an editor that operates on HTML files with specific addons.
Basically the thing is a QWebView with contentEditable enabled; when the user is done, the content is saved through QWebElement::outerXml().

Some of the addons are done through JavaScript and must not be run while in the editor (because the scripts modify the DOM tree and therefore QWebElement::outerXml would return the script's output instead of the source material plus the invocations of the script), while local JS contained in the application is needed to control adding new elements.

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