You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jochen Kemnade (JIRA)" <ji...@apache.org> on 2013/12/03 14:48:35 UTC
[jira] [Updated] (TAP5-2246) Internet Explorer 8 JavaScript Error
in pageinit.js / development mode
[ https://issues.apache.org/jira/browse/TAP5-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jochen Kemnade updated TAP5-2246:
---------------------------------
Attachment: 0001-use-CoffeeScript-list-comprehension-to-log-init-argu.patch
Using list comprehension instead of {{_.map}} fixes the issue.
> Internet Explorer 8 JavaScript Error in pageinit.js / development mode
> ----------------------------------------------------------------------
>
> Key: TAP5-2246
> URL: https://issues.apache.org/jira/browse/TAP5-2246
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.4
> Reporter: Felix Gonschorek
> Priority: Minor
> Attachments: 0001-use-CoffeeScript-list-comprehension-to-log-init-argu.patch
>
>
> Version: 5.4 alpha 29
> Browser: Windows XP / Internet Explorer 8
> pageinit.js:
> the following code
> if (console.debugEnabled) {
> argsString = _.map(initArguments, JSON.stringify).join(", ");
> raises an exception in Internet Explorer 8: "Invalid replacer argument". See http://msdn.microsoft.com/en-us/library/ie/cc836459(v=vs.94).aspx
> The method "JSON.stringify" is natively implemented in IE 8 and it seems one can not use it as a parameter.
> intermediate fix:
> include in header of your border / layout component:
> <!--[if IE 8]>
> <script language="javascript">
> document.getElementsByTagName("HTML")[0].removeAttribute("data-debug-enabled");
> </script>
> -->
> long-term fix: unknown
> hint: for debugging, www.browserstack.com is great!
--
This message was sent by Atlassian JIRA
(v6.1#6144)