views:

314

answers:

1

Hey guys, I have been hitting my head against the wall trying to figure this out for two days with no luck. I have a basic UIWebview that is navigating to a page. That page has a Javscript function that seems to crash the UIWebView but works just fine in safari. I am at a loss. I get the following crash error:

2010-02-03 08:30:16.559 Wasp[11380:207] *** -[DOMElement structuralComplexityContribution]: unrecognized selector sent to instance 0xf53e60
2010-02-03 08:30:16.561 Wasp[11380:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[DOMElement structuralComplexityContribution]: unrecognized selector sent to instance 0xf53e60'

Thanks for any help or direction.

The problematic javascript file is the new gordon flash runtime. An example can be seen at http://davididas.com/gordon/test1.html.

+1  A: 

File a bug with Apple, with a reference to that page. The UIWebView should not crash. Even if the html, css or JavaScript is faulty.

St3fan