[Webkit-unassigned] [Bug 90603] [EFL] Support the permission function of the Web Notification.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 15 23:58:05 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=90603





--- Comment #11 from Kihong Kwon <kihong.kwon at samsung.com>  2012-07-15 23:58:04 PST ---
(In reply to comment #9)
> (From update of attachment 151199 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=151199&action=review
> 
> >>> Source/WebKit/efl/WebCoreSupport/NotificationPresenterClientEfl.cpp:80
> >>> +    PermissionsMap::iterator iter = m_cachedPermissions.find(context->url().host());
> >> 
> >> Is it intentional to use host()? For example, is it OK to ignore the port number?
> >> It looks WebKit2/mac uses SecurityOrigin for that same purpose.
> > 
> > You are right.
> > I think I need to change about that.
> > Thank you. :)
> 
> You could take a look at how we are doing this for Qt (I am not sure the patch was ever landed but one exists in bugzilla).

OK. I'll do that, thanks~ :)
> 
> > Source/WebKit/efl/WebCoreSupport/NotificationPresenterClientEfl.cpp:115
> > +#if ENABLE(LEGACY_NOTIFICATIONS)
> > +    LegacyPermissionRequestMap::iterator legacyIter = m_pendingLegacyPermissionRequests.find(String(domain));
> 
> Why support legacy notifications at all? They should go away no?
> 
> > Source/WebKit/efl/WebCoreSupport/NotificationPresenterClientEfl.h:41
> > +#if ENABLE(LEGACY_NOTIFICATIONS)
> 
> I would really let EFL just not support legacy notifications. You are adding much code and it makes it even harder removing the feature later.

I agree with you on one hand but almost sites support legacy notification until now on the other. (html5test.com, html5rocks.com...)
Actually I haven't seen yet a site support W3C "Web Notifications".

In addition, even firefox supports legacy notifications with this link (http://www.chromium.org/developers/design-documents/desktop-notifications/api-specification)

That's why I would like to add LEGACY_NOTIFICATIONS.

I would like to get your opinion about this.
Thank you. :)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list