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

Issue 866983004: Allow creating new windows from a notificationclick event in SW. (Closed)

Created:
5 years, 10 months ago by mlamouri (slow - plz ping)
Modified:
5 years, 10 months ago
CC:
blink-reviews, blink-reviews-dom_chromium.org, dglazkov+blink, eae+blinkwatch, falken, horo+watch_chromium.org, jsbell+serviceworker_chromium.org, kinuko+serviceworker, michaeln, nhiroki, rwlbuis, serviceworker-reviews, sof, tzik
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Allow creating new windows from a notificationclick event in SW. This is re-using ExecutionContext windowfocus tokens but generalize them for window interactions. In addition, the token has to be used in the 10s after granting, otherwise it is lost. BUG=437151 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189530 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189557

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : re-rebase #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -34 lines) Patch
M Source/core/dom/ExecutionContext.h View 3 2 chunks +10 lines, -8 lines 0 comments Download
M Source/core/dom/ExecutionContext.cpp View 3 2 chunks +8 lines, -8 lines 0 comments Download
M Source/core/dom/ScopedWindowFocusAllowedIndicator.h View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/frame/LocalDOMWindow.cpp View 1 3 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerGlobalScope.h View 1 chunk +4 lines, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerWindowClient.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/serviceworkers/WaitUntilObserver.h View 2 chunks +4 lines, -0 lines 0 comments Download
M Source/modules/serviceworkers/WaitUntilObserver.cpp View 3 4 chunks +17 lines, -6 lines 0 comments Download
M Source/web/tests/WebScopedWindowFocusAllowedIndicatorTest.cpp View 1 chunk +5 lines, -5 lines 0 comments Download

Messages

Total messages: 22 (5 generated)
mlamouri (slow - plz ping)
Jochen, can you have a look? :)
5 years, 10 months ago (2015-01-27 16:46:18 UTC) #2
jochen (gone - plz use gerrit)
instead of using a delayed task, could you just record the last time it was ...
5 years, 10 months ago (2015-01-29 14:39:19 UTC) #3
mlamouri (slow - plz ping)
On 2015/01/29 at 14:39:19, jochen wrote: > instead of using a delayed task, could you ...
5 years, 10 months ago (2015-01-29 15:30:10 UTC) #4
mlamouri (slow - plz ping)
Jochen, could you PTAL?
5 years, 10 months ago (2015-02-02 15:52:21 UTC) #5
jochen (gone - plz use gerrit)
On 2015/01/29 at 15:30:10, mlamouri wrote: > On 2015/01/29 at 14:39:19, jochen wrote: > > ...
5 years, 10 months ago (2015-02-04 12:44:10 UTC) #6
mlamouri (slow - plz ping)
After discussing offline with jochen@, he agreed to keep the current design. Using a timestamp ...
5 years, 10 months ago (2015-02-04 14:22:38 UTC) #7
mlamouri (slow - plz ping)
After investigation, I will need to write some LayoutTests because unit tests will be hard ...
5 years, 10 months ago (2015-02-04 16:13:21 UTC) #9
jochen (gone - plz use gerrit)
assuming you can get it to pass tests and will have layout tests really soon ...
5 years, 10 months ago (2015-02-04 17:05:51 UTC) #10
mlamouri (slow - plz ping)
Rebased again (previous one was on Blink revision in Chromium).
5 years, 10 months ago (2015-02-04 17:14:02 UTC) #11
mlamouri (slow - plz ping)
On 2015/02/04 at 17:05:51, jochen wrote: > assuming you can get it to pass tests ...
5 years, 10 months ago (2015-02-04 17:52:22 UTC) #12
Mike West
LGTM.
5 years, 10 months ago (2015-02-04 18:43:43 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/866983004/40001
5 years, 10 months ago (2015-02-04 19:49:14 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://src.chromium.org/viewvc/blink?view=rev&revision=189530
5 years, 10 months ago (2015-02-04 20:51:05 UTC) #16
mlamouri (slow - plz ping)
Rebasing and relanding because it was reverted as a result of collateral damage from https://codereview.chromium.org/901663005/
5 years, 10 months ago (2015-02-05 10:37:13 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/866983004/60001
5 years, 10 months ago (2015-02-05 10:38:32 UTC) #20
pfeldman
Sorry, this was reverted since it was blocking the breakage revert: https://codereview.chromium.org/901663005/. Please rebaseline it ...
5 years, 10 months ago (2015-02-05 13:47:07 UTC) #21
commit-bot: I haz the power
5 years, 10 months ago (2015-02-05 15:11:21 UTC) #22
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=189557

Powered by Google App Engine
This is Rietveld 408576698