JS security and enumerating a Window

Harri Porten porten at kde.org
Fri Oct 25 17:24:22 BST 2002


On Fri, 25 Oct 2002, Koos Vriezen wrote:

> > So that would be simply "return window"  (implicitly: return Value(window)).
> 
> GCC 3.2 doesn't like this implicitly conversion:

I made the Value ctor explicit to detect unsafe usage :)

> Made two patches, either we go for the jssecurity.diff and don't introduce
> a SecurityError in kjs or apply kjssecurity.diff and change the
> jssecurity.diff to make a SecurityError instead.

I have no problems with adding a new error type to kjs.

Harri.






More information about the kfm-devel mailing list