Skip to main content

Bug Tracker

Side navigation

#11402 closed bug (fixed)

Opened February 27, 2012 05:30PM UTC

Closed May 12, 2012 09:26PM UTC

Last modified November 30, 2012 01:22PM UTC

evalScript function fails with error error 80020101 in IE

Reported by: HearnMichael Owned by: jaubourg
Priority: low Milestone: 1.8
Component: ajax Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:

Line # 6433 is cleaning script text before calling globalEval but only cleans the opening "<!--" tag leaving the closing "-->" tag. This causes error "Could not complete the operation due to error 80020101" in IE8 & 9 but works in other non IE browsers.

I would suggest cleaning both the opening and closing tag to eliminate the error.

Also see Ticket #10285

Attachments (0)
Change History (13)

Changed March 01, 2012 02:55PM UTC by HearnMichael comment:2

Found bug was introduced from this fix

Changed March 12, 2012 04:39PM UTC by mikesherov comment:3

resolution: → duplicate
status: newclosed

Changed March 12, 2012 04:39PM UTC by mikesherov comment:4

Duplicate of #9221.

Changed March 28, 2012 12:00AM UTC by anonymous comment:5

Replying to [comment:4 mikesherov]:

Duplicate of #9221.

This is not a duplicate of 9221... the code change made from 9221 is causing this bug. 9221 only comments out the opening tag but IE throws an error if the opening tag is commented but the closing tag remains. Both the opening tag and the closing tag need to be commented. This is still an issue.

Changed March 31, 2012 12:05AM UTC by mikesherov comment:6

resolution: duplicate
status: closedreopened


Changed May 05, 2012 06:32PM UTC by dmethvin comment:7

component: unfiledajax
milestone: None1.8
priority: undecidedlow
status: reopenedopen

Changed May 05, 2012 10:03PM UTC by jaubourg comment:8

owner: → jaubourg
status: openassigned

How is this related to ajax? I'll look into this anyway ;)

Changed May 12, 2012 09:26PM UTC by jaubourg comment:10

resolution: → duplicate
status: assignedclosed

Changed May 12, 2012 09:26PM UTC by jaubourg comment:11

Duplicate of #10285.

Changed May 16, 2012 06:04PM UTC by jaubourg comment:12

resolution: duplicatefixed

Fixes #11402. domManip now also removes the closing part of HTML comments or CDATA surrounding executed scripts. Unit tests added.

Changeset: a743be19bd3622071c22e9874c92024bc3f5367a

Changed November 30, 2012 01:22PM UTC by anonymous comment:13

I got the same error 80020101

Then while checking the code line by line,i came to know by mistake i added <script<script>(twice,which is unwanted)

once is removed these ,error is not coming.

so please check all your javascript code ,especially opening tag are closed properly