Bug Tracker

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#8985 closed bug (invalid)

Animate fali with Forbidden error in IE domain set page

Reported by: caii Owned by: caii
Priority: low Milestone: 1.next
Component: effects Version: 1.6b1
Keywords: Cc:
Blocked by: Blocking:

Description

The jsfiddle.net has problem in create the testcase so I create the case in my site:

http://cmc3.cn/c/domain1.6.html

In IE the page(has been set domain) throw error :Forbidden

The defaultDisplay function in effect.js create new IFRAME cause this problem.

Change History (6)

comment:1 Changed 8 years ago by timmywil

Component: unfiledeffects
Owner: set to caii
Priority: undecidedlow
Status: newpending

Firstly, you didn't put the show in document ready. Not sure if that will solve your problem tho. Let us know.

comment:2 Changed 8 years ago by mathias

Setting document.domain throws an Uncaught Error: SECURITY_ERR: DOM Exception 18. That’s where the error is coming from.

timmywill, the show doesn’t need to be in document ready since the <script> appears below the element in the document source.

I recreated the test case here without the document.domain madness: http://mathiasbynens.be/demo/jquery-bug-8985 No errors, even in IE6.

There’s another bug here though, i.e. the IE Throbber of Doom, which I fixed in my patch here: https://github.com/jquery/jquery/pull/352

comment:3 in reply to:  1 Changed 8 years ago by caii

Status: pendingnew

Replying to timmywil:

Firstly, you didn't put the show in document ready. Not sure if that will solve your problem tho. Let us know.

OK,in domready : http://cmc3.cn/c/domain1.6-2.html

still throws an Uncaught Error: in chinaese system say "拒绝访问" as SECURITY_ERR: DOM Exception 18. describe by mathias,

comment:4 Changed 8 years ago by mathias

I filed bug 8994 for the IE Throbber of Doom issue.

comment:5 Changed 8 years ago by caii

Last edited 8 years ago by caii (previous) (diff)

comment:6 Changed 8 years ago by timmywil

Resolution: invalid
Status: newclosed

The error in this ticket is caused by setting document.domain in IE, which throws "Access Denied". See #8994 for the throbber issue.

Note: See TracTickets for help on using tickets.