Javascript Errors and Fixes

G

Guest

Hi there,

We have some folks that cannot, for whatever reason, upgrade their IE
browsers. They run a combination of browsers prior to IE6SP2 on Windows XP.
They get Javascript errors, IE6SP2 and above do not. However, to complicate
things, IE6SP1 on Win2K also does not (but IE6SP1 on WinXP does).

Is there a list somewhere showing changes related to Javascript on IE from
IE6SP1 to IE6SP2? If we can show that this was a documented change in IE from
SP1 to SP2, then we're off the hook, and we'll have authority in not having
to spend the time to debug something that works for everyone that's current
(beyond the fact that even MS no longer supports those versions).

Any ideas on a list of changes from SP1 to SP2 for XP?

Thanks!
 
G

Guest

Thanks for your reply on this, Jon. Unfortunately, I wasn't able to find
anything Javascript-related in either of those pages.

In looking at it more, I'm wondering if it wasn't a change in how Javascript
handled regular expressions (additional detail wasn't provided in my initial
post: Sorry).

The actual error is:
Line: 1283
Char: 90
Expected ')' in regular expression

Although the line it points to looks like it 'might' be okay, the line right
above it is a regex.

1281: var params = this.params, expr = this.expression, match, modifier,
clause, rest;
1282: while (match =
expr.match(/^(.*)\[([a-z0-9_:-]+?)(?:([~\|!]?=)(?:"([^"]*)"|([^\]\s]*)))?\]$/i)) {
1283: params.attributes = params.attributes || [];
1284: params.attributes.push({name: match[2], operator: match[3], value:
match[4] || match[5] || ''});
1285: expr = match[1];
1286: }

Maybe that'll help distinguish or reveal something that might have changed
between IE6 SP1 and SP2?

Thanks again!

Keith D Commiskey
http://kdcinfo.com
 
K

KDCinfo

This topic/thread was more appropriately posted in the "Ruby on Rails:
Spinoffs" group (for its prototype.js association), and was provided a
couple great responses.

http://groups.google.com/group/ruby..._frm/thread/173f6e0299527736/9f75fa260bd34a0a

Ruby on Rails: Spinoffs
http://groups.google.com/group/rubyonrails-spinoffs

Keith D Commiskey
http://kdcinfo.com


KDCinfo.com said:
Thanks for your reply on this, Jon. Unfortunately, I wasn't able to find
anything Javascript-related in either of those pages.

In looking at it more, I'm wondering if it wasn't a change in how Javascript
handled regular expressions (additional detail wasn't provided in my initial
post: Sorry).

The actual error is:
Line: 1283
Char: 90
Expected ')' in regular expression

Although the line it points to looks like it 'might' be okay, the line right
above it is a regex.

1281: var params = this.params, expr = this.expression, match, modifier,
clause, rest;
1282: while (match =
expr.match(/^(.*)\[([a-z0-9_:-]+?)(?:([~\|!]?=)(?:"([^"]*)"|([^\]\s]*)))?\]$/i)) {
1283: params.attributes = params.attributes || [];
1284: params.attributes.push({name: match[2], operator: match[3], value:
match[4] || match[5] || ''});
1285: expr = match[1];
1286: }

Maybe that'll help distinguish or reveal something that might have changed
between IE6 SP1 and SP2?

Thanks again!

Keith D Commiskey
http://kdcinfo.com


Jon Kennedy said:
Understanding Security in Microsoft Internet Explorer 6 in Windows XP SP2
http://www.microsoft.com/downloads/...40-37A0-4541-B5E2-704AB386C3ED&displaylang=en

Changes to Functionality in Microsoft Windows XP Service Pack 2
Part 5: Enhanced Browsing Security
http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/sp2brows.mspx

--

Jon R. Kennedy MS MVP/IE
Charlotte, NC USA
(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top