You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2010/11/28 12:12:37 UTC
[jira] Commented: (WICKET-3154) test for undefined in the same
manner throughtout the code.
[ https://issues.apache.org/jira/browse/WICKET-3154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12964532#action_12964532 ]
Hudson commented on WICKET-3154:
--------------------------------
Integrated in Apache Wicket 1.4.x #297 (See [https://hudson.apache.org/hudson/job/Apache%20Wicket%201.4.x/297/])
WICKET-3154 test for undefined in the same manner throughtout the code.
Always use 'typeof(xyz) <operator> "undefined"'.
It is more safe then using 'xyz <operator> undefined' because window.undefined can be overwritten by buggy/malicious code.
> test for undefined in the same manner throughtout the code.
> ------------------------------------------------------------
>
> Key: WICKET-3154
> URL: https://issues.apache.org/jira/browse/WICKET-3154
> Project: Wicket
> Issue Type: Improvement
> Components: wicket-extensions
> Affects Versions: 1.4.13
> Reporter: Rodolfo Hansen
> Priority: Trivial
> Fix For: 1.4.15, 1.5-M4
>
> Attachments: modal-undefined.patch
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> testing whether a variable is undefined should be done in a similar manner throughout a file.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.