Bug 27953 - -[NSWorkspace openURL:] causing issues
Summary: -[NSWorkspace openURL:] causing issues
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-03 14:30 PDT by importedfromspace
Modified: 2009-08-04 02:44 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description importedfromspace 2009-08-03 14:30:44 PDT
NSURL *url = [NSURL URLWithString:@"http://www.amazon.com/Knife-Never-Letting-Go-Walking/dp/B002IDMC58%3FSubscriptionId%3D1CKE6MZ6S27EFQ458402%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB002IDMC58"];
[[NSWorkspace sharedWorkspace] openURL:url];

When this method launches the browser, it gives me two problems. (The WebKit nightly is my default browser.)

1. The "Check for WebKit Updates…" item simply isn't there.
2. It often, but not always, crashes, leaving the Console message "Exited abnormally: Interrupt". The OS X crash dialog does not appear.

And…that's about it. I've tried deleting all plugins, but that didn't help. (They're back now.)

I'm lost.
Comment 1 Mark Rowe (bdash) 2009-08-03 15:40:07 PDT
I cannot reproduce this.  Are any other console messages logged from WebKit?  Which version of Safari are you using and on which Mac OS X version are you testing this?
Comment 2 importedfromspace 2009-08-04 02:44:36 PDT
A quick test seems to show that this only happens to me when it is run from Xcode. When the app is launched from the Finder it does not show this problem.

Other than the launchd message

04/08/2009 10:35:41 com.apple.launchd[77] ([0x0-0x417417].org.webkit.nightly.WebKit[7427]) Exited abnormally: Interrupt 

the only message logged from WebKit is the "WebKit r46726 initialized." message.

WebKit r46726
Mac OS X 10.5.7 (9J61)
Safari 4.0.2.