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

Issue 1318293002: Only expose Notification.requestPermission() on the Window global. (Closed)

Created:
5 years, 3 months ago by Peter Beverloo
Modified:
5 years, 3 months ago
Reviewers:
haraken
CC:
blink-reviews, peter+watch_chromium.org
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Only expose Notification.requestPermission() on the Window global. BUG=442139 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201555

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : handle detached contexts #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -8 lines) Patch
A LayoutTests/http/tests/notifications/request-permission-in-service-workers.html View 1 1 chunk +17 lines, -0 lines 0 comments Download
M LayoutTests/http/tests/notifications/resources/instrumentation-service-worker.js View 1 1 chunk +5 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/notifications/resources/request-permission-worker.js View 1 1 chunk +9 lines, -0 lines 0 comments Download
M Source/bindings/templates/interface_base.cpp View 1 1 chunk +4 lines, -0 lines 2 comments Download
M Source/bindings/tests/results/core/V8TestException.cpp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestInterface.cpp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestInterface3.cpp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.cpp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceWillBeGarbageCollected.cpp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestObject.cpp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/modules/V8TestInterface5.cpp View 1 1 chunk +2 lines, -0 lines 1 comment Download
M Source/modules/notifications/Notification.cpp View 1 2 1 chunk +5 lines, -7 lines 0 comments Download
M Source/modules/notifications/Notification.idl View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (2 generated)
Peter Beverloo
https://codereview.chromium.org/1318293002/diff/40001/Source/bindings/templates/interface_base.cpp File Source/bindings/templates/interface_base.cpp (right): https://codereview.chromium.org/1318293002/diff/40001/Source/bindings/templates/interface_base.cpp#newcode343 Source/bindings/templates/interface_base.cpp:343: ExecutionContext* context = currentExecutionContext(isolate); This will only be needed ...
5 years, 3 months ago (2015-08-28 15:58:58 UTC) #2
haraken
https://codereview.chromium.org/1318293002/diff/40001/Source/bindings/templates/interface_base.cpp File Source/bindings/templates/interface_base.cpp (right): https://codereview.chromium.org/1318293002/diff/40001/Source/bindings/templates/interface_base.cpp#newcode343 Source/bindings/templates/interface_base.cpp:343: ExecutionContext* context = currentExecutionContext(isolate); On 2015/08/28 15:58:58, Peter Beverloo ...
5 years, 3 months ago (2015-08-29 08:04:57 UTC) #3
Peter Beverloo
Certainly! The [Exposed] annotation allows the user to select the global on which a member ...
5 years, 3 months ago (2015-08-29 11:39:39 UTC) #4
haraken
On 2015/08/29 11:39:39, Peter Beverloo wrote: > Certainly! > > The [Exposed] annotation allows the ...
5 years, 3 months ago (2015-08-30 01:23:58 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1318293002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1318293002/40001
5 years, 3 months ago (2015-09-01 12:30:44 UTC) #7
commit-bot: I haz the power
5 years, 3 months ago (2015-09-01 13:46:52 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=201555

Powered by Google App Engine
This is Rietveld 408576698