IE9 Javascript error - object doesn't support property or method 'decay'


#1

Hi Guys,

I’ve a profile widget built into the homepage of a few websites, but IE9 is returning an error:

Object doesn’t support or method 'decay’
widget.js
Code: 0
Line: 53
Char: 23317

URI: http://widgets.twimg.com/j/2/widget.js

It works in all other browsers.

Cheers,
Ciaran


#2

Yep, I get that too. It only started happening today. I’ve reported it to the helpdesk.


#3

EDIT : I just realized that this discussion is about a different error :wink: and created a new one here https://dev.twitter.com/discussions/1283

I’ve got the profile widget embedded on my site and started to see this since yesterday as well.
While testing IE9 (IE9 standards mode) it throws up this:

SEC7112: Script from http://api.twitter.com/1/statuses/user_timeline.json?screen_name=itthinx&callback=TWTR.Widget.receiveCallback_1&include_rts=true&count=8&clientsource=TWITTERINC_WIDGET&1314381230462=cachebust was blocked due to mime type mismatch

All other browsers I tested work perfectly with the widget and it looks like a IE9 bug to me, because the response header has the right type: Content-Type: application/json; charset=utf-8


#4

That error occurs just after the following:

SEC7112: Script from http://api.twitter.com/1/statuses/user_timeline.json?xxxxx… was blocked due to mime type mismatch

I believe this is the cause of the issue. The script is literally being denied by IE 9 due to mimetype mismatch.


#5

Thanks for all the reports; we’re looking into it.


#6

SEC7112: Script from http://api.twitter.com/1/statuses/user_timeline.json?screen_name=usacapitol&callback=TWTR.Widget.receiveCallback_1&include_rts=true&count=4&clientsource=TWITTERINC_WIDGET&1314456333343=cachebust was blocked due to mime type mismatch

Businesses use widget also - let’s put some folks on this…


#7

It’s not like this is IE6 or 7 either–it’s Microsoft’s latest browser.

Could you do a postmortem blogpost after this has been dealt with?


#8

Having the same problem here on an intranet site. Very odd, works fine everywhere but in IE9.


#9

I am facing same problem on ie please fix this asap.


#10

I’m getting the same problem. It displays in IE8 on one computer but not now IE9.
It also works perfectly well when I view the site on my IPad.

I’ve seen it being discussed in other forums about the widget working in every browser but IE
http://getsatisfaction.com/twitter/topics/twitter_widget_doesnt_work_in_ie#reply_2749854

Do they not check these things???


#11

I’m seeing the same error. IE 9 is the only browser not able to display my feed. Check out http://www.hanoverschools.org and scroll to the bottom of the page. The code is simple and straight forward. I’ve been searching for a solution but have found nothing yet…


#12

Hi
The problem is the mime type of the twitter json file.
For two days IE gives error for the application/json mime type. It has to be application/javascript for IE browser. Firefox doesnt give any error for now.


#13

Indeed. We’re going to change the JSON-P Requests MIME Type to “application/javascript”. We’ll update this thread as soon as it will be done: [node:1232]


#14

The widget has been down almost a week now. In addition now even seeing IE problems when viewing normal twitter pages on twitter itself, where only the background appears and a blank page in IE. Working fine in other browsers.


#15

ok the pages on twitter are now working again. Hopefully it will last :slight_smile:

Widgets still down in IE.


#16

The problem is with IE9, others browsers OK…
How can I do? thaks


#17

I also get no action at all from the twitter profile widget only on ie9.
However I get no error… just nothing… even from the twitter site: http://twitter.com/about/resources/widgets/widget_profile
I read a thread where the code on the twitter site itself had been fixed… but this is simply not true.
Please help! thanks.


#18

Silly me… just realised I had not turned on script errors in IE… so yes got the error as mentioned above!
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; InfoPath.3; MS-RTC EA 2; MS-RTC LM 8)
Timestamp: Tue, 30 Aug 2011 19:01:16 UTC
Message: Object doesn’t support property or method 'decay’
Line: 1731
Char: 13
Code: 0
URI: http://twitter.com/javascripts/widgets/widget.js


#19

Do you guys know when it will be fixed?
Long wait to get a fix for a very anoying problem…


#20

Trust me to choose this week to launch my site with a Twitter feed. But glad to find out that it’s relatively recent. I am a great advocate of Chrome, but IE is IE - it just has to work in it if it’s any kind of public website. Cheers.