Summary: | In the WebUIDelegate protocol, allow JavaScript alert panels to be sheets so that JavaScript cannot hijack your application | ||
---|---|---|---|
Product: | WebKit | Reporter: | Alexandre |
Component: | WebKit API | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW --- | ||
Severity: | Normal | CC: | Alexandre, mitz, tben42 |
Priority: | P2 | ||
Version: | 420+ | ||
Hardware: | Mac | ||
OS: | OS X 10.4 |
Description
Alexandre
2006-11-05 08:54:33 PST
Sorry for posting again, but I found a little bit of information I missed before. It seems that there are already plans to deprecate the three methods I mentioned in favour of replacements, as noted here: http://www.opendarwin.org/pipermail/webkit-changes/2005-November/001409.html Perhaps their replacements can be changed to work more like webView:runOpenPanelForFileButtonWithResultListener: (by using a listener instead of a return value)? I find it highly undesirable that an application that uses a WebView can be completely taken over by that WebView, even if the WebView is only used as a very minor part of the application. This is resolved in the Modern WebKit API, where the equivalent WKUIDelegate methods all pass the delegate a completion handler. This is resolved in the Modern WebKit API, where the equivalent WKUIDelegate methods all pass the delegate a completion handler. |