Bug Tracker

Modify

Ticket #8985 (closed bug: invalid)

Opened 2 years ago

Last modified 15 months ago

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:
Blocking: Blocked by:

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

comment:1 follow-up: ↓ 3 Changed 2 years ago by timmywil

  • Owner set to caii
  • Priority changed from undecided to low
  • Status changed from new to pending
  • Component changed from unfiled to effects

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 2 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 2 years ago by caii

  • Status changed from pending to new

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 2 years ago by mathias

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

comment:5 Changed 2 years ago by caii

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

comment:6 Changed 2 years ago by timmywil

  • Status changed from new to closed
  • Resolution set to invalid

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.