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

Issue 10808113: Only allows extensions to create HTML notifications. (Closed)

Created:
8 years, 5 months ago by jianli
Modified:
8 years, 4 months ago
CC:
chromium-reviews, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Only allows extensions to create HTML notifications. createHTMLNotification has been removed from the W3C Notifications spec. We do not want it to be exposed for web pages. However, since quite a few extensions are still using it, we would still keep it to be exposed for extensions. BUG=98061 TEST=existing tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149054

Patch Set 1 #

Total comments: 2

Patch Set 2 : Test #

Total comments: 4

Patch Set 3 : Fix per feedback #

Messages

Total messages: 15 (0 generated)
jianli
8 years, 5 months ago (2012-07-24 22:22:15 UTC) #1
Mihai Parparita -not on Chrome
http://codereview.chromium.org/10808113/diff/1/chrome/renderer/chrome_render_view_observer.cc File chrome/renderer/chrome_render_view_observer.cc (right): http://codereview.chromium.org/10808113/diff/1/chrome/renderer/chrome_render_view_observer.cc#newcode522 chrome/renderer/chrome_render_view_observer.cc:522: bool ChromeRenderViewObserver::allowHTMLNotifications( Can you add a test for this? ...
8 years, 5 months ago (2012-07-26 17:27:12 UTC) #2
jianli
http://codereview.chromium.org/10808113/diff/1/chrome/renderer/chrome_render_view_observer.cc File chrome/renderer/chrome_render_view_observer.cc (right): http://codereview.chromium.org/10808113/diff/1/chrome/renderer/chrome_render_view_observer.cc#newcode522 chrome/renderer/chrome_render_view_observer.cc:522: bool ChromeRenderViewObserver::allowHTMLNotifications( On 2012/07/26 17:27:12, Mihai Parparita wrote: > ...
8 years, 5 months ago (2012-07-26 21:27:46 UTC) #3
Mihai Parparita -not on Chrome
http://codereview.chromium.org/10808113/diff/5001/chrome/test/data/extensions/api_test/notifications/has_permission_manifest/background.js File chrome/test/data/extensions/api_test/notifications/has_permission_manifest/background.js (left): http://codereview.chromium.org/10808113/diff/5001/chrome/test/data/extensions/api_test/notifications/has_permission_manifest/background.js#oldcode29 chrome/test/data/extensions/api_test/notifications/has_permission_manifest/background.js:29: if (tab.url == chromeExtensionsUrl) { Why remove this comparison? ...
8 years, 5 months ago (2012-07-26 23:59:04 UTC) #4
Mihai Parparita -not on Chrome
Also, should BUG=98061 be added to the CL? Mihai On Thu, Jul 26, 2012 at ...
8 years, 5 months ago (2012-07-26 23:59:38 UTC) #5
jianli
BUG=98061 is added to the CL. http://codereview.chromium.org/10808113/diff/5001/chrome/test/data/extensions/api_test/notifications/has_permission_manifest/background.js File chrome/test/data/extensions/api_test/notifications/has_permission_manifest/background.js (left): http://codereview.chromium.org/10808113/diff/5001/chrome/test/data/extensions/api_test/notifications/has_permission_manifest/background.js#oldcode29 chrome/test/data/extensions/api_test/notifications/has_permission_manifest/background.js:29: if (tab.url == ...
8 years, 5 months ago (2012-07-27 00:34:10 UTC) #6
Mihai Parparita -not on Chrome
LGTM
8 years, 5 months ago (2012-07-27 00:43:22 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jianli@chromium.org/10808113/6017
8 years, 5 months ago (2012-07-27 00:50:46 UTC) #8
commit-bot: I haz the power
Presubmit check for 10808113-6017 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 5 months ago (2012-07-27 00:50:55 UTC) #9
jianli
Sky, can you approve it as an OWNER? Thanks.
8 years, 5 months ago (2012-07-27 00:55:30 UTC) #10
jianli
John, could you please approve this patch as an owner? Thanks.
8 years, 4 months ago (2012-07-30 18:29:26 UTC) #11
jam
I'm heavily overloaded by reviews for content, so unless it's for code that I wrote, ...
8 years, 4 months ago (2012-07-30 20:19:45 UTC) #12
jam
lgtm
8 years, 4 months ago (2012-07-30 20:33:02 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jianli@chromium.org/10808113/6017
8 years, 4 months ago (2012-07-30 20:40:35 UTC) #14
commit-bot: I haz the power
8 years, 4 months ago (2012-07-30 22:24:36 UTC) #15
Change committed as 149054

Powered by Google App Engine
This is Rietveld 408576698