Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: webView:createWebViewWithRequest: - *request is NULL



On Jun 25, 2004, at 10:54 AM, Charles A. McBrian wrote:

For some reason I am getting a NULL request for
	webView:createWebViewWithRequest:(NSURLRequest *)request

My same test in CarbonWeb receives a valid request.

All my other WebUIDelegate stuff works. Is there a reason I am receiving NULL for request (and CarbonWeb is not).

As far as I know, all window.open calls result in a createWebViewWithRequest: with a null request, then later a location change on that WebView. This is something we'd like to change for future versions of WebKit. It would be much better if the initial create call had the request in it for this case, even though applications still need to handle the many cases where a window is created and then initial location is changed later on.


I'm surprised to hear that CarbonWeb is behaving differently.

Also, Apple may want to update its documentation for the new window policy delegate to indicate that windows created from JavaScript via window.open go through createWebViewWithRequest. It took a while for me to figure this out.

The most effective way to request documentation changes is through Radar. We assign the individual bugs to the documentation folks, and that's how it works.


    -- Darin
_______________________________________________
webkitsdk-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webkitsdk-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >webView:createWebViewWithRequest: - *request is NULL (From: "Charles A. McBrian" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.