Summary: | Add an beforeunload alert to the WebKitLegacy MiniBrowser | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Anders Carlsson <andersca> | ||||
Component: | New Bugs | Assignee: | Anders Carlsson <andersca> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | ||||||
Priority: | P2 | ||||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Anders Carlsson
2016-10-18 17:12:29 PDT
Created attachment 292007 [details]
Patch
Comment on attachment 292007 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=292007&action=review > Tools/MiniBrowser/mac/WK1BrowserWindowController.m:376 > + NSAlert* alert = [[NSAlert alloc] init]; * on the wrong side. Comment on attachment 292007 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=292007&action=review > Tools/MiniBrowser/mac/WK1BrowserWindowController.m:379 > + [alert setMessageText:[NSString stringWithFormat:@"JavaScript before unload dialog from %@.", frame.dataSource.request.URL.absoluteString]]; > + [alert setInformativeText:message]; Should use property notation. Committed r207508: <http://trac.webkit.org/changeset/207508> |