You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Werner Punz (JIRA)" <de...@myfaces.apache.org> on 2009/09/07 13:43:57 UTC
[jira] Created: (MYFACES-2348) Eval in the javascript codebase has
some bugs
Eval in the javascript codebase has some bugs
---------------------------------------------
Key: MYFACES-2348
URL: https://issues.apache.org/jira/browse/MYFACES-2348
Project: MyFaces Core
Issue Type: Bug
Components: JSR-314
Affects Versions: 2.0.0-alpha
Reporter: Werner Punz
The eval in the javascript codebase does not work in a unified way across browsers, the main issue mostly is that eval itself and window.eval does not work in a clean way across browser platforms, but <eval> itself expects to be executed in a global scope.
The fix is to unify all window evals and evals so that they are executed in a global manner and this for the internal scripts points towards window instead of leaving it to the eval.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (MYFACES-2348) Eval in the javascript codebase has
some bugs
Posted by "Werner Punz (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-2348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Werner Punz resolved MYFACES-2348.
----------------------------------
Resolution: Fixed
fixed,
note this is not really a bug in our codebase but it is a workaround for various browser bugs in that area, also see various references in the net regarding the eval issues
for example
http://piecesofrakesh.blogspot.com/2008/10/understanding-eval-scope-spoiler-its.html
> Eval in the javascript codebase has some bugs
> ---------------------------------------------
>
> Key: MYFACES-2348
> URL: https://issues.apache.org/jira/browse/MYFACES-2348
> Project: MyFaces Core
> Issue Type: Bug
> Components: JSR-314
> Affects Versions: 2.0.0-alpha
> Reporter: Werner Punz
>
> The eval in the javascript codebase does not work in a unified way across browsers, the main issue mostly is that eval itself and window.eval does not work in a clean way across browser platforms, but <eval> itself expects to be executed in a global scope.
> The fix is to unify all window evals and evals so that they are executed in a global manner and this for the internal scripts points towards window instead of leaving it to the eval.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (MYFACES-2348) Eval in the javascript codebase has
some bugs
Posted by "Werner Punz (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-2348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Werner Punz reopened MYFACES-2348:
----------------------------------
There is a simplification for this mozilla bug
> Eval in the javascript codebase has some bugs
> ---------------------------------------------
>
> Key: MYFACES-2348
> URL: https://issues.apache.org/jira/browse/MYFACES-2348
> Project: MyFaces Core
> Issue Type: Bug
> Components: JSR-314
> Affects Versions: 2.0.0-alpha
> Reporter: Werner Punz
>
> The eval in the javascript codebase does not work in a unified way across browsers, the main issue mostly is that eval itself and window.eval does not work in a clean way across browser platforms, but <eval> itself expects to be executed in a global scope.
> The fix is to unify all window evals and evals so that they are executed in a global manner and this for the internal scripts points towards window instead of leaving it to the eval.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (MYFACES-2348) Eval in the javascript codebase has
some bugs
Posted by "Werner Punz (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-2348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Werner Punz resolved MYFACES-2348.
----------------------------------
Resolution: Fixed
fixed, again
> Eval in the javascript codebase has some bugs
> ---------------------------------------------
>
> Key: MYFACES-2348
> URL: https://issues.apache.org/jira/browse/MYFACES-2348
> Project: MyFaces Core
> Issue Type: Bug
> Components: JSR-314
> Affects Versions: 2.0.0-alpha
> Reporter: Werner Punz
>
> The eval in the javascript codebase does not work in a unified way across browsers, the main issue mostly is that eval itself and window.eval does not work in a clean way across browser platforms, but <eval> itself expects to be executed in a global scope.
> The fix is to unify all window evals and evals so that they are executed in a global manner and this for the internal scripts points towards window instead of leaving it to the eval.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.