Dan thank you for responding

"Dan Veditz" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 
news:[EMAIL PROTECTED]
> If you change the "security.fileuri.origin_policy" pref to a traditional
> value does it start working again?
> http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/modules/libpref/src/init/all.js&rev=3.717&mark=477-478#477
>
> Try '3' first, and if that's still not working try '4'.

I have tried 3 for "security.fileuri.origin_policy" and it works correctly.

>
> Is there a way to download a small example of the problem? The maps I 
> found
> at the link below were all on-line.

You will find an example under
www.uismedia.de/inout/security_test.zip

>
> The fixes should not prevent local pages from opening other pages, it just
> prevents reading or writing into them. What sorts of actions are you 
> doing?
> What errors are you getting on the error console? (XBL and XSLT seem to
> have problems due to this change).

if you move the mouse over the points the error occures if you click on a 
button in the legend the error comes up too.
Error message is: Error: uncaught exception: Permission denied to get 
property Window.mapTipOut

The behavior:
We have embedded svg files in the index.html The index.html references the 
javascripts

The javascript functions will be fired inside the svg files with 
parent.function() Example for mouseover:

In map.svg
onmouseover="parent.mapTipOver(evt,'Stieleiche');"

In syslib.js:
function mapTipOver(evt,info,recIdList) {
  if (!blnInit) return true;
  var thisParent = evt.currentTarget.parentNode;
  var thisProp = thisParent.getAttributeNS(theProgNS,'styleprop');
  while (thisProp == '' || thisProp == null) {
    var thisParent = thisParent.parentNode;
    var thisProp = thisParent.getAttributeNS(theProgNS,'styleprop');
  }
  var recId = evt.currentTarget.getAttributeNS(null,'id');
  if (recId.indexOf('grp') != -1 && recIdList) recId = 
recId.substring(0,recId.indexOf('grp'));
  addRecListColArray(thisProp,theHiColor,recId,recIdList);
  mapTipShow(evt,info);
}

In viewboxzoom.js:
function mapTipShow(evt,info) {
  if (!blnInit) return true;
  if (info == '') return true;
  var mapTipText = SVGRoot.getElementById('mapTipText');
  var faktor = theLegMapKoeff / curScale;
  var offsetX = (ViewboxArray[1][0]);
  var offsetY = (ViewboxArray[1][1]);
  mapTipText.firstChild.data = info;
  var rectLength = mapTipText.getComputedTextLength() + 16;
  SVGRoot.getElementById('mapTipRect').setAttributeNS(null,'width',rectLength);
  if ((evt.clientX + rectLength) > ExtentArray[1][0]) {
    var x = offsetX + (evt.clientX - rectLength - 5) * faktor;
  } else {
    var x = offsetX + evt.clientX * faktor;
  }
  if ((evt.clientY + 45) >=  ExtentArray[1][1]) {
    var y = offsetY + (evt.clientY - 25) * faktor;
  } else {
    var y = offsetY + (evt.clientY + 25) * faktor;
  }
  setAttributesSVG(SVGRoot.getElementById('mapTip'),{ 'transform':'matrix(' 
+ faktor +  ',0,0,' + faktor + ',' + x + ',' + y + ')', 
'visibility':'visible' } ); }

Regards
Armin


>
>
> Armin Mueller wrote:
>> First i want to say that i am new in this group and that i am not very
>> versed in security questions.
>> And, my english not very good, sorry.
>>
>> Now my problem.
>> We have several applications which show interactive SVG maps
>> (http://www.mapviewsvg.com/examples/index.html). These applications
>> should be run locally and on internet. To have a better overview all
>> files are sorted in different subdirectories the index.html is on top.
>> This works since several years on all browsers (Firefox, Opera, IE,
>> safari 3). Now with the new FF 3 Beta 2 our application brings security
>> errors. We have the information that this is because of
>> https://bugzilla.mozilla.org/show_bug.cgi?id=230606.
>> Now my question. Why does our applications run with all browsers but not
>> with FF 3. Have other browsers a lower security level? Is there a
>> possibility to organize the files without running in errors with FF3.
>> Why are subdirectories not allowed?
>>
>> Thank you very much
>>
>> Armin Müller
>>
>> 

_______________________________________________
dev-security mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-security

Reply via email to