• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WebView crashes with JavaScript enabled
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WebView crashes with JavaScript enabled


  • Subject: Re: WebView crashes with JavaScript enabled
  • From: Benjamin Dobson <email@hidden>
  • Date: Sun, 19 Oct 2008 14:35:38 +0100

And I forgot to mention – the application does not crash when started with Instruments.

On 19 Oct 2008, at 14:33:41, Benjamin Dobson wrote:

Hi all,

If I enable JavaScript in my WebView, it exits with status 2, after printing "Debugger() was called!" to the console. When I disable it, it works fine – but without JavaScript. My code (URL given as an example):

[[webView mainFrame] loadRequest:[NSURLRequest requestWithURL: [NSURL URLWithString:@"http://www.w3schools.com/js/ js_examples.asp"]]];

That's it. Simply loading the page crashes the application. If this doesn't crash it, clicking on the "Next" link at the bottom will.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >WebView crashes with JavaScript enabled (From: Benjamin Dobson <email@hidden>)

  • Prev by Date: WebView crashes with JavaScript enabled
  • Next by Date: Re: what do you use to make icons and similar?
  • Previous by thread: WebView crashes with JavaScript enabled
  • Next by thread: Re: WebView crashes with JavaScript enabled
  • Index(es):
    • Date
    • Thread