Tobago.registerCurrentScripts in standard tobago.js misses a null check
-----------------------------------------------------------------------
Key: TOBAGO-484
URL: https://issues.apache.org/jira/browse/TOBAGO-484
Project: MyFaces Tobago
Issue Type: Bug
Components: Core
Affects Versions: 1.0.11
Reporter: Richard van Nieuwenhoven
in the javascript function Tobago.registerCurrentScripts in standard/standard
tobago.js the if is missing a null check
--------------
if (child.nodeType == 1 && child.tagName.toUpperCase() == "SCRIPT" ){
-------------
should be
--------------
if (child.nodeType == 1 && child.tagName.toUpperCase() == "SCRIPT" &&
child.src != null){
-------------
This very small bug prohibits using htmlunit as a testing framework because it
will stop processing javascript after this error, Firefox reports the error but
carries on.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.