WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
107694
[Qt][WK1] Remember denied permission for notifications
https://bugs.webkit.org/show_bug.cgi?id=107694
Summary
[Qt][WK1] Remember denied permission for notifications
Allan Sandfeld Jensen
Reported
2013-01-23 07:50:21 PST
We currently only remember granted permissions for notifications. While the basic permission level for the application is the same without a user permission, it means the webpage can ask over and over after the user specifically denied it.
Attachments
Patch
(7.68 KB, patch)
2013-01-23 08:00 PST
,
Allan Sandfeld Jensen
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Allan Sandfeld Jensen
Comment 1
2013-01-23 08:00:46 PST
Created
attachment 184236
[details]
Patch
Jocelyn Turcotte
Comment 2
2013-01-24 06:15:49 PST
Comment on
attachment 184236
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=184236&action=review
> Source/WebKit/qt/WebCoreSupport/NotificationPresenterClientQt.cpp:424 > - callback->handleEvent(Notification::permissionString(NotificationClient::PermissionAllowed)); > + callback->handleEvent(Notification::permissionString(permission));
Is this a patch split artifact?
Jocelyn Turcotte
Comment 3
2013-01-24 06:22:38 PST
Comment on
attachment 184236
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=184236&action=review
>> Source/WebKit/qt/WebCoreSupport/NotificationPresenterClientQt.cpp:424 >> + callback->handleEvent(Notification::permissionString(permission)); > > Is this a patch split artifact?
Looks good to me otherwise, please remove this before landing.
Allan Sandfeld Jensen
Comment 4
2013-01-24 06:34:52 PST
(In reply to
comment #2
)
> (From update of
attachment 184236
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=184236&action=review
> > > Source/WebKit/qt/WebCoreSupport/NotificationPresenterClientQt.cpp:424 > > - callback->handleEvent(Notification::permissionString(NotificationClient::PermissionAllowed)); > > + callback->handleEvent(Notification::permissionString(permission)); > > Is this a patch split artifact?
No that is correct. This method was renamed to be able to both approve and reject permissions.
WebKit Review Bot
Comment 5
2013-01-24 06:41:07 PST
Comment on
attachment 184236
[details]
Patch Rejecting
attachment 184236
[details]
from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '--bot-id=gce-cq-04', 'apply-attachment', '--no-update', '--non-interactive', 184236, '--port=chromium-xvfb']" exit_code: 2 cwd: /mnt/git/webkit-commit-queue Last 500 characters of output: create file /tmp/pp3OGHLx : No space left on device patch: **** Can't create file /tmp/ppNkY7VA : No space left on device patch: **** Can't create file /tmp/ppR4mo8A : No space left on device patch: **** Can't create file /tmp/pp1eYnHA : No space left on device patch: **** Can't create file /tmp/ppzAoqwB : No space left on device Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/svn-apply', '--force', '--reviewer', 'Jocelyn Turcotte']" exit_code: 2 cwd: /mnt/git/webkit-commit-queue Full output:
http://queues.webkit.org/results/16110081
Jocelyn Turcotte
Comment 6
2013-01-24 06:49:00 PST
(In reply to
comment #4
)
> No that is correct. This method was renamed to be able to both approve and reject permissions.
Alright, I see it now.
Allan Sandfeld Jensen
Comment 7
2013-01-30 01:29:50 PST
Comment on
attachment 184236
[details]
Patch Clearing flags on attachment: 184236 Committed
r141233
: <
http://trac.webkit.org/changeset/141233
>
Allan Sandfeld Jensen
Comment 8
2013-01-30 01:29:54 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug