#11402 closed bug (fixed)
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: |
Description
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 http://bugs.jquery.com/ticket/10285
Change History (13)
comment:1 follow-up: 13 Changed 11 years ago by
comment:2 Changed 11 years ago by
Found bug was introduced from this fix http://bugs.jquery.com/ticket/9221
comment:3 Changed 11 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:5 Changed 11 years ago by
Replying to 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.
comment:7 Changed 11 years ago by
Component: | unfiled → ajax |
---|---|
Milestone: | None → 1.8 |
Priority: | undecided → low |
Status: | reopened → open |
comment:8 Changed 11 years ago by
Owner: | set to jaubourg |
---|---|
Status: | open → assigned |
How is this related to ajax? I'll look into this anyway ;)
comment:9 Changed 11 years ago by
comment:10 Changed 11 years ago by
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
comment:12 Changed 11 years ago by
Resolution: | duplicate → fixed |
---|
Fixes #11402. domManip now also removes the closing part of HTML comments or CDATA surrounding executed scripts. Unit tests added.
Changeset: a743be19bd3622071c22e9874c92024bc3f5367a
comment:13 Changed 10 years ago by
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
Also see Comments on 1.7.0 release http://blog.jquery.com/2011/11/03/jquery-1-7-released/#comment-528384 http://blog.jquery.com/2011/11/03/jquery-1-7-released/#comment-528386