-
16 Sep 2010 3:11 AM #1
[OPEN-1278] SCRIPT438 error with IE9 Beta and ext-all-debug.js
[OPEN-1278] SCRIPT438 error with IE9 Beta and ext-all-debug.js
When including ext-all-debug.js from v3.2.1 the following error is presented in the console of the newly released IE9 Beta:-
SCRIPT438: Object doesn't support this property or method
ext-all-debug.js, line 191 character 21
Switching the document mode into IE8 standards doesn't produce this error.
-
16 Sep 2010 3:39 AM #2
When you go into the Tools menu, and set a breakpoint there, what's going on?
Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
16 Sep 2010 4:53 AM #3
To be honest I'm not sure if the following information will be of any use, so I'll also provide a simple example to reproduce the issue
...
It seems to be caused by a call to (a subclass of) Ext.Window's show() method.
Example: http://stevewilford.co.uk/playpen/ext-window-ie9-bug/
It also happens all over the Sencha website (when using IE9 beta).
I don't know whether it's a related or separate issue, but the drag-drop functionality of the window seems to be broken as well, dragging begins and displays the window ghost but on nothing happens mouse release (i.e. the window continues to drag)
Break at line 191 of ext-all-debug.js:
The contents of the "html" variable is:-Code:frag = range.createContextualFragment(html);
HTML Code:<div class="x-ie-shadow"></div>
Call Stack:-
insertHtml
pull
show
sync
setVisible
show
afterShow
show
show
Anonymous Function -- calls a subclass of Ext.Window's show() method
JScript global codeLast edited by stevenwilford; 12 Jan 2011 at 12:46 AM. Reason: Changed the example's URL
Steve Wilford
iOS development and personal site - http://stevewilford.co.uk/
CSS Library for iPhone and iPod touch - http://stevewilford.co.uk/ios-software/css-library/
Twitter: @stevewilford
-
17 Nov 2010 3:48 PM #4
IE9 beta doesn't have the DOM Range method createContextualFragment.
Here's the patch I'm using to fix this at the moment:
Code:if ((typeof Range !== "undefined") && !Range.prototype.createContextualFragment) { Range.prototype.createContextualFragment = function(html) { var frag = document.createDocumentFragment(), div = document.createElement("div"); frag.appendChild(div); div.outerHTML = html; return frag; }; }
-
7 Apr 2011 2:20 AM #5
Getting exactly the same with IE9 (final) + Ext.NET. It doesn't occur when my app is in IE7/8 compatibility mode though.
-
7 Jun 2011 8:35 AM #6
ie9 error createContextualFragment
ie9 error createContextualFragment
hi
i still have the problem with the rtm version of ie9, i apply the fix but it doesnt work
please help
-
15 Jun 2011 9:24 AM #7
-
15 Jun 2011 1:48 PM #8
hi
i inserted in the ext-all.js, but i tried to put in an override.js and this works perfect
thanks
-
9 Apr 2012 7:05 AM #9
Hi, still have some products using ExtJs3 so i used your patch but with a slight difference:
...I just commented the outerHTML part, i think this is read-only and keeps on throwing errors on IE9 and 10.Code:if ((typeof Range !== "undefined") && !Range.prototype.createContextualFragment) { Range.prototype.createContextualFragment = function (html) { var frag = document.createDocumentFragment(), div = document.createElement("div"); frag.appendChild(div); //div.outerHTML = html; return frag; }; }
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
[CLOSED][Ext 3.3 beta][OPEN-1187] Problem when using checkBoxSelectionModel
By sunil_vakotar in forum Ext 3.x: BugsReplies: 10Last Post: 10 Aug 2010, 6:57 AM -
[FIXED-713] ext.slider (error) to be corrected in ext-all.js/ext-all-debug.js
By jvandemerwe in forum Ext 3.x: BugsReplies: 4Last Post: 12 Mar 2010, 5:02 PM -
ext-all-debug error line 2505
By funz51 in forum Ext 2.x: Help & DiscussionReplies: 3Last Post: 20 Oct 2008, 12:06 PM -
ext-all-debug.js Error
By canesFan08 in forum Ext 2.x: Help & DiscussionReplies: 10Last Post: 19 Nov 2007, 11:23 AM


Reply With Quote