Fix 'Operation not supported' on Firefox and 'No such interface supported' on IE #90

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

At my work some days ago I need to be compatible the same view on Firefox 3.5 and Internet Explorer 8 after update to jquery 1.7.1 can observe an error on Firefox with the message: 'Operation not supported' and I discover on the internet a solution to this error, put the line:

Sizzle.contains = function(a, b) {
      return !!(a.compareDocumentPosition(b) & 16);
}

Inside a try catch and if throw an exception the method returning false. The same behavior occur with the implementation that IE 8 call some lines before:

Sizzle.contains = function( a, b ) {
    return a !== b && (a.contains ? a.contains(b) : true);
};

And the same solution was resolved to me!

Owner

timmywil commented Jan 18, 2012

This is not a feasible solution and should not be necessary. Please open a bug report at http://bugs.jquery.com with a reduced test case from http://jsfiddle.net to help us assess the issue.

@timmywil timmywil closed this Jan 18, 2012

@timmywil,

The bug No such interface supported is recurrent on jQuery and I was found
many tickets with the same message an older versions of jQuery and my
solution shouldn't necessary for the jQuery but resolve for my problem.

I had open a new ticket now: http://bugs.jquery.com/ticket/11189

Thanks in advance,

2012/1/18 timmywil <
reply@reply.github.com

This is not a feasible solution and should not be necessary. Please open a
bug report at http://bugs.jquery.com with a reduced test case from
http://jsfiddle.net to help us assess the issue.


Reply to this email directly or view it on GitHub:
#90 (comment)

Bruno Arueira
site: http://www.brunoarueira.com
blog: http://brunoarueira.wordpress.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment