[ https://issues.apache.org/jira/browse/TOBAGO-1373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13987934#comment-13987934 ]
Hudson commented on TOBAGO-1373: -------------------------------- FAILURE: Integrated in tobago-trunk #1173 (See [https://builds.apache.org/job/tobago-trunk/1173/]) TOBAGO-1373: Better JavaScript logging: using browser console and fill browser gaps. (lofwyr: http://svn.apache.org/viewvc/?view=rev&rev=1583326) * /myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-console.js TOBAGO-1373 - Better JavaScript logging: using browser console and fill browser gaps. - backport from 3.0 (lofwyr: http://svn.apache.org/viewvc/?view=rev&rev=1577496) * /myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/css/Style.java * /myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/tobago-config.xml TOBAGO-1373 - Better JavaScript logging: using browser console and fill browser gaps. (lofwyr: http://svn.apache.org/viewvc/?view=rev&rev=1577048) * /myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-utils.js TOBAGO-1373 - Better JavaScript logging: using browser console and fill browser gaps. - backport from 3.0 (lofwyr: http://svn.apache.org/viewvc/?view=rev&rev=1574633) * /myfaces/tobago/trunk/tobago-core/src/test/java/org/apache/myfaces/tobago/internal/context/ThemeParserUnitTest.java * /myfaces/tobago/trunk/tobago-core/src/test/resources/theme-config.xml * /myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/tags/layout/overview.tag * /myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/tags/layout/overview.xhtml * /myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/demo.js * /myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/tobago-resource/html/standard/standard/property/overview.properties.xml * /myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/tobago-resource/html/standard/standard/property/overview_de.properties.xml * /myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/script/tobago-assert.js * /myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/test/sheet/sheet-reload.js * /myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/pom.xml * /myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-popup.js * /myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js * /myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-suggest.js * /myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js TOBAGO-1373 - Better JavaScript logging: using browser console and fill browser gaps. (lofwyr: http://svn.apache.org/viewvc/?view=rev&rev=1574610) * /myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-console.js * /myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-logging.js > Better JavaScript logging: using browser console and fill browser gaps. > ----------------------------------------------------------------------- > > Key: TOBAGO-1373 > URL: https://issues.apache.org/jira/browse/TOBAGO-1373 > Project: MyFaces Tobago > Issue Type: New Feature > Components: Themes > Reporter: Udo Schnurpfeil > Assignee: Udo Schnurpfeil > Fix For: 2.0.0-beta-1, 2.0.0, 3.0.0-alpha-1, 3.0.0 > > > Currently Tobago uses its own wrapper for logging in JavaScript. > This should be replaced with the browsers console object like: > LOG.info() -> console.info() > Old browsers are not supporting some or all of it functionality. Here you can > see what is possible in Firefox > https://developer.mozilla.org/en-US/docs/Web/API/console > or Chrome > https://developers.google.com/chrome-developer-tools/docs/console-api > For all undefined functions we should define a replacement, so the JavaScript > code can use them all. > One important advantage of not wrapping the calls is, that you can see the > Code-Pointer in the Debugger-Console in the browser and jump into the code > (if the browser supports that). > Don't forget: all debugging code in Tobago will be markted with this suffix > // @DEV_ONLY > which will be removed in the compressed version, so it will not influence the > production performance. -- This message was sent by Atlassian JIRA (v6.2#6252)