You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/04/26 14:07:15 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13981960#comment-13981960 ]
ASF subversion and git services commented on TAP5-2246:
-------------------------------------------------------
Commit d8ec30d41b9e38f04d4dde7b2352c38eed1972c0 in tapestry-5's branch refs/heads/master from [~jkemnade]
[ https://git-wip-us.apache.org/repos/asf?p=tapestry-5.git;h=d8ec30d ]
TAP5-2246: Use CofeeScript list comprehension to log init arguments, fixes JavaScript error in IE8
> 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
> Assignee: Jochen Kemnade
> 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.2#6252)