Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Using latest Panels IPE, and latest clientside_validation, Internet Explorer 8 is completely crashing on every page load. I have tracked the problem down the the introduction of the Array.prototype.map
function in clientside_validation.ie8.js. Other than that, it's beyond me why that would be causing such a serious issue.
Comments
Comment #1
attiks CreditAttribution: attiks commentedProbably related to #1776242: Clientside Validation Webform stops Geofield Formatter Map display in versions of IE below 9
The cause is that some other javascript library is also declaring Array.prototype.map, can you check please?
Comment #2
mrfelton CreditAttribution: mrfelton commentedThe only place that "
Array.prototype.map
" appears in my codebase is in clientside_validation.ie8.js.Comment #3
mrfelton CreditAttribution: mrfelton commentedFor now, I've fixed my problem with the following:
clientside
It may break the IE8 support in some way, but it all looks to be working ok to me so far. But after 4 hours of debugging, I'd rather have slightly broken validation in IE8, than an IE8 that crashes on every page load!
Comment #4
attiks CreditAttribution: attiks commentedIsn't it defined in an external javascript library?
Do you get an error?
Comment #5
mrfelton CreditAttribution: mrfelton commentedGrepping through our codebase shows the string "
Array.prototype.map
" in only clientside_validation.ie8.js. The only external js in use is http://html5shiv.googlecode.com/svn/trunk/html5.js, which also doesn't define that function.I don't get an error. because the browser will not load that far. Literally the whole browser crashes and the only way to do anything else is to force quit it.
Comment #6
attiks CreditAttribution: attiks commentedintroduced in #1595576: IE8 fails validation / http://drupalcode.org/project/clientside_validation.git/commit/588a579a3...
I'll have a look to see how we can fix this.