Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Issue 593153002: Restore the iframe behavior of notification permissions (Closed)

Created:
6 years, 2 months ago by Miguel Garcia
Modified:
6 years, 2 months ago
CC:
chromium-reviews, markusheintz_, peter+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Restore the iframe behavior of notification permissions Unlike other permissions, granting notifications for a given domain will grant them even if such domain happens to be an iframe of an embedder. Most other permissions are granted only for a combination of iframe + embedder. This reverts an unintentional behavioral change, and moves us back to the situation we currently ship in stable while we figure out if it is a good idea or not to change the behavior. BUG=416645 Committed: https://crrev.com/bdfadb831ade3952a192d2487daebdf73df71ed7 Cr-Commit-Position: refs/heads/master@{#296372}

Patch Set 1 #

Patch Set 2 : #

Total comments: 18

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -5 lines) Patch
M chrome/browser/content_settings/permission_context_base.h View 1 2 1 chunk +7 lines, -4 lines 0 comments Download
M chrome/browser/content_settings/permission_queue_controller.cc View 1 2 1 chunk +7 lines, -1 line 0 comments Download
M chrome/browser/notifications/desktop_notification_service.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/notifications/desktop_notification_service.cc View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
Miguel Garcia
This is an unfortunate finding that notification permissions behave differently with regards to iframe behaviour ...
6 years, 2 months ago (2014-09-23 15:44:01 UTC) #2
Peter Beverloo
lgtm % 3 things. (1) Comments. (2) Please clarify in the description that this reverts ...
6 years, 2 months ago (2014-09-23 15:58:47 UTC) #3
Bernhard Bauer
LGTM with some more nits: https://codereview.chromium.org/593153002/diff/20001/chrome/browser/content_settings/permission_context_base.h File chrome/browser/content_settings/permission_context_base.h (right): https://codereview.chromium.org/593153002/diff/20001/chrome/browser/content_settings/permission_context_base.h#newcode101 chrome/browser/content_settings/permission_context_base.h:101: // Store the decided ...
6 years, 2 months ago (2014-09-23 16:13:02 UTC) #4
Miguel Garcia
+dewittj for browser/notifications/ OWNERS https://codereview.chromium.org/593153002/diff/20001/chrome/browser/content_settings/permission_context_base.h File chrome/browser/content_settings/permission_context_base.h (right): https://codereview.chromium.org/593153002/diff/20001/chrome/browser/content_settings/permission_context_base.h#newcode101 chrome/browser/content_settings/permission_context_base.h:101: // Store the decided permission ...
6 years, 2 months ago (2014-09-23 16:53:39 UTC) #6
Miguel Garcia
Friendly ping on this review. I have also added Jun in case dewittj is OOO
6 years, 2 months ago (2014-09-24 07:48:32 UTC) #8
Jun Mukai
I am not sure why notification is so special. I didn't realize this case but ...
6 years, 2 months ago (2014-09-24 08:15:13 UTC) #9
Jun Mukai
If you recognize this solution is not ideal but simply want to change the behavior ...
6 years, 2 months ago (2014-09-24 08:24:09 UTC) #10
Miguel Garcia
On 2014/09/24 08:24:09, Jun Mukai wrote: > If you recognize this solution is not ideal ...
6 years, 2 months ago (2014-09-24 08:27:36 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/593153002/60001
6 years, 2 months ago (2014-09-24 08:36:14 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001) as 4ee487ba9a071f9742061e3814a752787a207394
6 years, 2 months ago (2014-09-24 09:20:35 UTC) #14
commit-bot: I haz the power
6 years, 2 months ago (2014-09-24 09:21:14 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/bdfadb831ade3952a192d2487daebdf73df71ed7
Cr-Commit-Position: refs/heads/master@{#296372}

Powered by Google App Engine
This is Rietveld 408576698