lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sami Siren (JIRA)" <j...@apache.org>
Subject [jira] Created: (LUCENE-2461) Forrest skin resource docs/skin/fontsize.js causes annoying javascript alert when embedded docs are viewed locally with Chrome
Date Fri, 14 May 2010 09:45:41 GMT
Forrest skin resource docs/skin/fontsize.js causes annoying javascript alert when embedded
docs are viewed locally with Chrome
------------------------------------------------------------------------------------------------------------------------------

                 Key: LUCENE-2461
                 URL: https://issues.apache.org/jira/browse/LUCENE-2461
             Project: Lucene - Java
          Issue Type: Bug
          Components: Other
    Affects Versions: 3.0.1
         Environment: linux/Google chrome
            Reporter: Sami Siren
            Priority: Trivial


When displaying the documentation from local filesystem (file:// urls) a JavaScript alert
popup is displayed on every forrest generated page:

"Error: SECURITY_ERR: DOM Exception 18"

This seems to be related to Chrome not allowing reading cookies for such urls.

One could fix this by patching the javascript file (docs/skin/fontsize.js) to check for the
protocol. 

It does not seem to be currently possible to alter the text size on the skin at all? If so
then perhaps the whole .js file could be disabled instead?


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message