Summary: | [Mac] Add iconURL to WebNotification | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Jon Lee <jonlee> | ||||
Component: | DOM | Assignee: | Jon Lee <jonlee> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | ap, jberlin, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.8 | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 77969, 95232 | ||||||
Attachments: |
|
Description
Jon Lee
2012-08-28 14:46:50 PDT
Created attachment 161065 [details]
Patch
Comment on attachment 161065 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=161065&action=review > Source/WebKit/mac/WebView/WebNotification.mm:118 > + ASSERT(core(self)); > + return core(self)->iconURL(); I'm not sure if this kind of ASSERT is useful. We'd get a very unambiguous crash in actual code, so there is no need to help debugging by adding the assertion. (In reply to comment #3) > (From update of attachment 161065 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=161065&action=review > > > Source/WebKit/mac/WebView/WebNotification.mm:118 > > + ASSERT(core(self)); > > + return core(self)->iconURL(); > > I'm not sure if this kind of ASSERT is useful. We'd get a very unambiguous crash in actual code, so there is no need to help debugging by adding the assertion. I can remove it, as well as all the other instances in the file. Committed r127009: <http://trac.webkit.org/changeset/127009> |