[Webkit-unassigned] [Bug 31887] [Qt] QWebFrame::addToJavaScriptWindowObject() can be used to customize the properties of 'default' JS objects such as 'navigator'.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Dec 29 05:38:12 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=31887
Simon Hausmann <hausmann at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hausmann at webkit.org
--- Comment #3 from Simon Hausmann <hausmann at webkit.org> 2009-12-29 05:38:11 PST ---
The window.navigator object is explicitly marked as "[Replaceable]". The
behaviour of addToJavaScriptWindowObject() being able to replace replaceable
objects is sensible. I think it would be best to make a simple and explicit
test for that (doesn't have to use the navigator example).
I would not rely on it being possible though to replace non-deletable
properties in the window object.
--
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