Skip to main content

Bug Tracker

Side navigation

#8985 closed bug (invalid)

Opened April 27, 2011 09:04AM UTC

Closed May 02, 2011 02:22AM UTC

Last modified March 14, 2012 06:00AM UTC

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.

Attachments (0)
Change History (6)

Changed April 27, 2011 04:11PM UTC by timmywil comment:1

component: unfiledeffects
owner: → 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.

Changed April 27, 2011 06:15PM UTC by mathias comment:2

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

Changed April 27, 2011 11:37PM UTC by caii comment:3

status: pendingnew

Replying to [comment:1 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,

Changed April 28, 2011 07:06AM UTC by mathias comment:4

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

Changed April 29, 2011 11:49AM UTC by caii comment:5

_comment0: pull repquests: \ \ https://github.com/cmc3cn/jquery/commit/6586b11b968cfb90cb3aaa5cc5688197130ec5b51304078234634285
_comment1: pull repquests: \ \ https://github.com/jquery/jquery/pull/3511304093734617743

Changed May 02, 2011 02:22AM UTC by timmywil comment:6

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.